:root {
    --brand-primary: #0047BA;
    /* Gallup Blue */
    --brand-secondary: #00A3E0;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --card-bg: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0, 159, 224);
}

/* Animated decorative elements */
.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1) 0%, rgba(0, 71, 186, 0.1) 100%);
    z-index: 0;
    animation: float-circle 10s infinite ease-in-out alternate;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float-circle {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.05);
    }
}

.main-card {
    position: relative;
    z-index: 10;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 4rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 71, 186, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    max-width: 650px;
    width: 90%;
    text-align: center;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrap {
    margin-bottom: 2rem;
    display: inline-block;
}

.logo-wrap img {
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 71, 186, 0.08);
    color: var(--brand-primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 71, 186, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 71, 186, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 71, 186, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 71, 186, 0);
    }
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    word-break: keep-all;
}

.info-box {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: var(--brand-primary);
    width: 90px;
    font-size: 0.95rem;
}

.info-val {
    font-size: 0.95rem;
    color: var(--text-dark);
    flex: 1;
}

.highlight-text {
    color: #E11D48;
    font-weight: 700;
}

.progress-wrap {
    position: relative;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 3px;
    width: 30%;
    animation: loadProgress 2s ease-in-out infinite alternate;
}

@keyframes loadProgress {
    0% {
        width: 10%;
    }

    100% {
        width: 90%;
    }
}

.footer-text {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 400;
}

.icon-wrap {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.15), rgba(0, 71, 186, 0.1));
    border-radius: 50%;
    margin: 0 auto 1.2rem auto;
    color: var(--brand-primary);
    box-shadow: 0 4px 15px rgba(0, 71, 186, 0.05);
}

.megaphone-icon {
    width: 34px;
    height: 34px;
    animation: ring 2.5s ease-in-out infinite;
    transform-origin: left bottom;
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(-10deg);
    }

    20% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(-5deg);
    }

    40% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

/* Mobile Responsiveness & Landscape support */
@media (max-width: 640px),
(max-height: 600px) {
    body {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 2rem 1rem;
        align-items: flex-start;
        /* 스크롤 시 위쪽 여백 확보 */
    }

    .main-card {
        padding: 1.5rem 1.2rem;
        max-height: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 1.2rem;
        margin: auto 0;
        /* flex-start 상태에서 수직 중앙 정렬 유지를 위해 */
    }

    .logo-wrap {
        margin-bottom: 1.2rem;
    }

    .logo-wrap img {
        height: 45px;
    }

    .icon-wrap {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }

    .megaphone-icon {
        width: 24px;
        height: 24px;
    }

    .status-pill {
        margin-bottom: 1rem;
        padding: 4px 12px;
        font-size: 0.75rem;
    }

    h1 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .desc {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }

    .info-box {
        padding: 1rem;
        margin-bottom: 1.2rem;
        border-radius: 0.8rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        margin-bottom: 0.8rem;
    }

    .info-label {
        font-size: 0.8rem;
        width: auto;
    }

    .info-val {
        font-size: 0.85rem;
    }

    .progress-wrap {
        margin-bottom: 1rem;
    }

    .footer-text {
        font-size: 0.75rem;
    }

    .circle {
        display: none;
    }
}
