* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #091225;
    --bg-deep: #050b18;
    --card: rgba(17, 28, 52, 0.72);
    --card-border: rgba(120, 170, 255, 0.16);
    --text: #edf4ff;
    --muted: #9fb0c8;
    --cyan: #20c6e9;
    --cyan-soft: rgba(32, 198, 233, 0.24);
    --blue: #5f9dff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

html, body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(32, 198, 233, 0.14), transparent 30%),
        radial-gradient(circle at 20% 20%, rgba(95, 157, 255, 0.12), transparent 25%),
        linear-gradient(135deg, var(--bg) 0%, #0b1630 45%, var(--bg-deep) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
    opacity: 0.16;
    pointer-events: none;
}

.aurora {
    position: fixed;
    inset: auto;
    width: 42vw;
    height: 42vw;
    min-width: 320px;
    min-height: 320px;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.5;
    pointer-events: none;
    animation: floatGlow 14s ease-in-out infinite alternate;
}

.aurora-one {
    top: -10vw;
    left: -8vw;
    background: radial-gradient(circle, rgba(32, 198, 233, 0.35), transparent 65%);
}

.aurora-two {
    top: 18vh;
    right: -10vw;
    background: radial-gradient(circle, rgba(95, 157, 255, 0.3), transparent 62%);
    animation-duration: 18s;
    animation-direction: alternate-reverse;
}

.aurora-three {
    bottom: -14vw;
    left: 20vw;
    background: radial-gradient(circle, rgba(10, 227, 181, 0.18), transparent 65%);
    animation-duration: 20s;
}

#particle-layer {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(167, 236, 255, 0.86);
    box-shadow: 0 0 18px rgba(32, 198, 233, 0.75);
    animation: drift linear infinite;
}

.page-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.maintenance-card {
    width: min(100%, 720px);
    padding: 34px 34px 28px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
    animation: cardEnter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.maintenance-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
    transform: translateX(-120%);
    animation: sheen 6s ease-in-out infinite;
    pointer-events: none;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-wrap {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(32, 198, 233, 0.1) inset;
    display: grid;
    place-items: center;
    animation: logoFloat 5s ease-in-out infinite;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.brand-copy {
    display: grid;
    gap: 8px;
}

.eyebrow,
.section-label,
.info-key,
.progress-head span:first-child {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.74rem;
    color: var(--muted);
}

.status-pill {
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(32, 198, 233, 0.1);
    color: #b8f6ff;
    border: 1px solid rgba(32, 198, 233, 0.24);
    box-shadow: 0 0 24px rgba(32, 198, 233, 0.12);
    font-size: 0.86rem;
    animation: pulseSoft 2.6s ease-in-out infinite;
}

.hero-copy {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.section-label {
    font-size: 16px;
    color: #7fdcff;
}

h1 {
    font-size: clamp(2rem, 4.4vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.lead {
    color: #c8d5e7;
    font-size: 1.02rem;
    line-height: 1.75;
}

.info-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.info-box {
    padding: 20px;
    border-radius: 20px;
    background: rgba(8, 14, 28, 0.48);
    border: 1px solid rgba(125, 166, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.info-box:hover {
    transform: translateY(-3px);
    border-color: rgba(32, 198, 233, 0.28);
    background: rgba(9, 18, 39, 0.62);
}

.info-box strong {
    display: block;
    margin-top: 10px;
    font-size: 1.1rem;
    color: #f4f9ff;
}

.info-box p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

.progress-card {
    margin-top: 22px;
    padding: 18px 20px 20px;
    border-radius: 20px;
    background: rgba(8, 14, 28, 0.5);
    border: 1px solid rgba(125, 166, 255, 0.12);
}

.progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.progress-value {
    font-size: 0.96rem;
    color: #bff4ff;
}

.progress-track {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.progress-bar {
    position: relative;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #15bfe4 0%, #5fd3ff 45%, #b6f6ff 100%);
    box-shadow: 0 0 24px rgba(32, 198, 233, 0.48);
    animation: progressGlow 2.8s ease-in-out infinite;
}

.progress-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
    animation: progressSweep 2.1s linear infinite;
}

.action-row {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    text-decoration: none;
    color: #05111c;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #47d9ff 0%, #19bde2 45%, #7ef4ff 100%);
    box-shadow: 0 14px 30px rgba(25, 189, 226, 0.34);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.action-link::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -35%;
    width: 32%;
    height: 140%;
    transform: skewX(-24deg);
    background: rgba(255, 255, 255, 0.45);
    opacity: 0;
}

.action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(25, 189, 226, 0.44);
}

.action-link:hover::before {
    opacity: 1;
    animation: sweep 1s ease;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d6ebff;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f54444;
    box-shadow: 0 0 0 0 rgba(245, 68, 68, 0.55);
    animation: heartbeat 1.5s ease-out infinite;
}

.footer-note {
    margin-top: 22px;
    color: #8ea2bb;
    text-align: center;
    font-size: 0.95rem;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.98);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes floatGlow {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(0, 18px, 0) scale(1.07);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes pulseSoft {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 24px rgba(32, 198, 233, 0.12);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 34px rgba(32, 198, 233, 0.2);
    }
}

@keyframes sheen {
    0%, 60% {
        transform: translateX(-120%) skewX(-14deg);
    }
    100% {
        transform: translateX(120%) skewX(-14deg);
    }
}

@keyframes progressSweep {
    0% {
        transform: translateX(-40%);
    }
    100% {
        transform: translateX(120%);
    }
}

@keyframes progressGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.08);
    }
}

@keyframes heartbeat {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 68, 68, 0.55);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(245, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 68, 68, 0);
    }
}

@keyframes sweep {
    0% {
        transform: translateX(-120%) skewX(-24deg);
    }
    100% {
        transform: translateX(420%) skewX(-24deg);
    }
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(0.9);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    to {
        transform: translate3d(var(--drift-x), var(--drift-y), 0) scale(1.35);
        opacity: 0;
    }
}

@media (max-width: 760px) {
    .page-shell {
        padding: 18px;
    }

    .maintenance-card {
        padding: 24px 20px 20px;
        border-radius: 22px;
    }

    .brand-row {
        align-items: flex-start;
    }

    .logo-wrap {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        padding: 10px;
        flex: 0 0 auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .action-row {
        align-items: stretch;
    }

    .action-link,
    .live-indicator {
        width: 100%;
        justify-content: center;
    }

    h1 {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    body::before,
    .maintenance-card::before,
    .aurora,
    .particle {
        display: none !important;
    }
}
