

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg:            #07080d;
    --surface:       #0d0f1a;
    --glass-bg:      rgba(255, 255, 255, 0.04);
    --glass-border:  rgba(255, 255, 255, 0.08);
    --glass-shadow:  0 32px 80px rgba(0, 0, 0, 0.6);

    --brand:         #6c63ff;
    --brand-glow:    rgba(108, 99, 255, 0.35);
    --brand-light:   #a29bfe;
    --accent:        #00d2ff;
    --accent-glow:   rgba(0, 210, 255, 0.2);

    --text-primary:  #f0f0ff;
    --text-muted:    #8a8aaa;
    --text-subtle:   #4a4a6a;

    --radius-card:   28px;
    --radius-pill:   100px;

    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}


.background-effects {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.background-effects::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: drift 14s ease-in-out infinite alternate;
    will-change: transform;
}

.blob-1 {
    width: 55vw;
    height: 55vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
    top: -20%;
    left: -15%;
    opacity: 0.18;
}

.blob-2 {
    width: 45vw;
    height: 45vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -20%;
    right: -10%;
    opacity: 0.12;
    animation-delay: -7s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    width: 30vw;
    height: 30vw;
    max-width: 400px;
    max-height: 400px;
    background: radial-gradient(circle, #ff6b9d 0%, transparent 70%);
    top: 40%;
    left: 60%;
    opacity: 0.06;
    animation-delay: -3s;
}

@keyframes drift {
    0%   { transform: translate(0px,  0px) scale(1);   }
    100% { transform: translate(50px, 35px) scale(1.08); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

.header {
    display: flex;
    align-items: center;
    padding: 1.4rem 5%;
    gap: 1rem;
    z-index: 10;
    flex-shrink: 0;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    animation: fadeDown 0.8s var(--ease-smooth) forwards;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent);
    opacity: 0.5;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0);      }
}

.logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px var(--brand-glow));
    transition: transform 0.4s var(--ease-bounce), filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 0 20px var(--brand-glow));
}

.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 99, 99, 0.1);
    border: 1px rgba(98, 90, 90, 0.1), 0.2);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff7b7b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6b6b;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1);   box-shadow: 0 0 0 0 rgba(255,107,107,0.4); }
    50%       { opacity: 0.7; transform: scale(1.2); box-shadow: 0 0 0 4px rgba(255,107,107,0); }
}


.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 3rem;  
    z-index: 10;
    overflow: hidden;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: var(--radius-card);
    padding: 2.8rem 3rem 1.5rem;
    text-align: center;
    max-width: 900px;      
    width: 100%;
    height: 100%;           
    max-height: 100%;       
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.07);
    animation: cardReveal 1s var(--ease-smooth) 0.2s both;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent);
    opacity: 0.6;
}

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(48px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)     scale(1);    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 0.3rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--brand-light);
    margin-bottom: 1.2rem;
    animation: fadeIn 0.6s var(--ease-smooth) 0.5s both;
}

.eyebrow svg {
    width: 12px;
    height: 12px;
    fill: var(--brand-light);
}

.maintenance-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    flex-shrink: 0;
    margin-bottom: 1rem;
    animation: fadeIn 0.6s var(--ease-smooth) 0.65s both;
    background: linear-gradient(135deg, #ffffff 30%, var(--brand-light) 65%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maintenance-text {
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.65;
    max-width: 820px;
    margin-bottom: 1.6rem;
    flex-shrink: 0;
    animation: fadeIn 0.6s var(--ease-smooth) 0.8s both;
}

.progress-area {
    width: 100%;
    max-width: 460px;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.6s var(--ease-smooth) 0.95s both;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.55rem;
}

.progress-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.progress-pct {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-light);
}

.progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--brand), var(--accent));
    box-shadow: 0 0 12px var(--brand-glow);
    animation: fillBar 2.5s var(--ease-smooth) 1.2s forwards;
}

@keyframes fillBar {
    to { width: 43%; }
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s ease 3.8s infinite;
}

@keyframes shimmer {
    to { left: 200%; }
}

.animation-container {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lottie-anim {
    width: 100%;
    height: 100%;
    max-width: 780px;
    filter: drop-shadow(0 0 30px var(--brand-glow));
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0);    }
}


footer {
    z-index: 10;
    text-align: center;
    padding: 0.8rem 1rem;
    flex-shrink: 0;
    font-size: 0.72rem;
    color: var(--text-subtle);
    letter-spacing: 0.3px;
    border-top: 1px solid rgba(255,255,255,0.04);
    animation: fadeIn 0.6s var(--ease-smooth) 1.5s both;
}

footer span {
    color: var(--brand-light);
    font-weight: 600;
}


@media (max-width: 900px) {
    .main-content {
        padding: 1.2rem 1.5rem;
    }

    .glass-card {
        max-width: 100%;
        padding: 2rem 2rem 1.2rem;
    }

    .maintenance-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;  
        height: auto;
        min-height: 100vh;
    }

    .header {
        padding: 1rem 5%;
        flex-wrap: wrap;
        gap: 0.6rem;
        height: auto;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .status-badge {
        margin-left: auto;
        font-size: 0.68rem;
        padding: 0.28rem 0.7rem;
    }

    .main-content {
        padding: 1rem 1rem;
        height: auto;
        overflow: visible;
    }

    .glass-card {
        padding: 1.8rem 1.4rem 1.2rem;
        border-radius: 20px;
        height: auto;
        max-height: none;
    }

    .eyebrow {
        font-size: 0.68rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 0.9rem;
    }

    .maintenance-title {
        font-size: clamp(1.9rem, 7vw, 2.8rem);
        letter-spacing: -0.8px;
        margin-bottom: 0.75rem;
    }

    .maintenance-text {
        font-size: 0.9rem;
        line-height: 1.55;
        max-width: 100%;
        margin-bottom: 1.2rem;
    }

    .progress-area {
        max-width: 100%;
    }

    .animation-container {
        flex: none;
        height: 40vw;
        min-height: 180px;
        max-height: 280px;
    }

    .lottie-anim {
        max-width: 100%;
        transform: none;
    }

    footer {
        padding: 0.7rem 1rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.85rem 4%;
    }

    .logo {
        height: 34px;
    }

    .brand-title {
        font-size: 0.9rem;
        flex: 1;
        margin: 0 0.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .glass-card {
        padding: 1.4rem 1rem 1rem;
        border-radius: 16px;
    }

    .maintenance-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .maintenance-text {
        font-size: 0.85rem;
    }

    .progress-label {
        font-size: 0.65rem;
    }

    .progress-pct {
        font-size: 0.72rem;
    }

    .animation-container {
        height: 45vw;
        min-height: 160px;
    }
}

@media (max-height: 600px) and (max-width: 900px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .main-content {
        height: auto;
        overflow: visible;
        padding: 0.75rem 1rem;
    }

    .glass-card {
        height: auto;
        max-height: none;
        padding: 1.2rem 1.4rem 0.8rem;
    }

    .eyebrow {
        margin-bottom: 0.6rem;
    }

    .maintenance-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .maintenance-text {
        font-size: 0.82rem;
        margin-bottom: 0.8rem;
    }

    .animation-container {
        flex: none;
        height: 30vh;
        min-height: 120px;
    }
}

