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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #05080f;
    color: #fff;
    overflow: hidden;
}

.page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    isolation: isolate;
}

#network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
}

.background-glow {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, rgba(39, 104, 255, .13), transparent 38%),
        radial-gradient(circle at 15% 85%, rgba(0, 180, 255, .07), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(65, 76, 255, .06), transparent 25%);
}

.grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .12;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.vignette {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 25%, rgba(5,8,15,.18) 58%, rgba(5,8,15,.88) 100%);
}

.content {
    width: 100%;
    max-width: 800px;
    text-align: center;
    animation: reveal 1s ease both;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,.52);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5c8dff;
    box-shadow: 0 0 8px rgba(92,141,255,.9), 0 0 18px rgba(92,141,255,.45);
    animation: pulse 2.8s ease-in-out infinite;
}

h1 {
    font-size: clamp(3rem, 8vw, 6.7rem);
    line-height: .95;
    font-weight: 650;
    letter-spacing: -.065em;
    background: linear-gradient(180deg, #fff 20%, #b8c3d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 60px rgba(61,106,255,.08);
}

.description {
    max-width: 650px;
    margin: 30px auto 0;
    color: rgba(218,226,240,.62);
    font-size: clamp(.98rem, 1.7vw, 1.1rem);
    line-height: 1.8;
    font-weight: 400;
}

.powered {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.powered-label {
    color: rgba(255,255,255,.3);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.powered-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.powered-link:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.035);
}

.powered-link img {
    display: block;
    width: 105px;
    max-height: 38px;
    object-fit: contain;
    opacity: .72;
    filter: brightness(0) invert(1);
    transition: opacity .25s ease;
}

.powered-link:hover img {
    opacity: 1;
}

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

@keyframes pulse {
    0%, 100% { opacity: .55; transform: scale(.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 600px) {
    .page {
        padding: max(28px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
    }

    .status {
        margin-bottom: 23px;
        font-size: 9px;
    }

    h1 {
        font-size: clamp(3.1rem, 15vw, 4.6rem);
        letter-spacing: -.06em;
    }

    .description {
        margin-top: 24px;
        max-width: 500px;
        font-size: .95rem;
        line-height: 1.7;
    }

    .powered { margin-top: 48px; }
    .powered-link img { width: 92px; }
    .grid { background-size: 45px 45px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
