@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    --header-offset: 120px; /* approximate header height used for vertical centering */
}

/* textured logo style for home h1 */

.hero h1 {
    /* revert to original plain display font with gradient fill */
    font-family: 'Bebas Neue', sans-serif;
    font-size: 84px;
    letter-spacing: 2px;
    line-height: 0.9;
    background-image: linear-gradient(180deg, #c08bff 0%, #8a3bff 40%, #6c2ce6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 8px rgba(107,48,198,0.22);
    display: inline-block;
}

@media (max-width: 800px) {
    .hero h1 { font-size: 56px; }
}

/*
Example: how to apply a custom local font (your provided example path) and add cracks/outline.
Place the TTF at "assets/fonts/minecraft.ttf" then uncomment the rules below.

@font-face {
    font-family: 'CustomMinecraftExample';
    src: url('assets/fonts/minecraft.ttf') format('truetype');
    font-weight: normal; font-style: normal; font-display: swap;
}

.hero h1.texture-example {
    font-family: 'CustomMinecraftExample', 'Bebas Neue', sans-serif;
    font-size: 84px;
    -webkit-text-stroke: 1.5px rgba(0,0,0,0.36); /* outline */
    color: transparent;
    background-image: linear-gradient(180deg, #d6b2ff 0%, #8a3bff 50%, #5b26d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
}

// To add crack texture you can use an SVG mask or a clipped pseudo-element. Example (uncomment to use):
.hero h1.texture-example::after {
    content: attr(data-text);
    position: absolute; left:0; top:0; right:0; bottom:0; pointer-events:none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="200"><g fill="none" stroke="black" stroke-opacity="0.12"><path d="M10 30 C80 10 120 50 200 30"/><path d="M0 70 C90 50 160 90 230 70"/><path d="M40 120 C120 100 200 140 300 120"/></g></svg>');
    -webkit-background-clip: text; background-clip: text; color: transparent; mix-blend-mode: multiply; opacity:0.95;
}

*/

/* Audio widget styles */
.audio-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 11000;
    width: 240px; /* slightly smaller widget to fit controls */
    /* make widget visibly distinct with solid background and curved corners */
    background: rgba(12,10,18,0.92);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.65), 0 2px 0 rgba(255,255,255,0.02) inset;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: grab;
    transition: none; /* avoid delayed transitions during drag */
}

/* Stronger ID selector to ensure widget appearance is enforced */
#audio-widget {
    background: rgba(12,10,18,0.96) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    padding: 10px !important;
    z-index: 20000 !important; /* ensure widget overlays everything */
    pointer-events: auto !important;
}

.audio-widget .aw-inner { background: transparent; }

.audio-widget:active { cursor: grabbing; }

.audio-widget .aw-img { width: 64px; height: 64px; flex: 0 0 64px; position: relative; }
.audio-widget .aw-img img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid rgba(255,255,255,0.12); -webkit-user-drag: none; user-select: none; pointer-events: none; }

/* Release: remove image background and present a large centered countdown
   Button is placed at the bottom center of the release section */
#release {
    position: relative;
    z-index: 1;
    background: none !important;
    min-height: calc(100vh - var(--header-offset));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
}

#release .release-countdown {
    position: relative;
    z-index: 3;
    font-family: 'Bebas Neue', monospace;
    font-size: 220px; /* slightly bigger */
    line-height: 1;
    color: transparent;
    /* theme gradient for countdown text */
    background: linear-gradient(90deg, #c26bff, #7a36ff);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 12px 36px rgba(0,0,0,0.6);
    background-size: 200% 200%;
    padding: 22px 36px;
    border-radius: 12px;
    letter-spacing: 6px;
    text-align: center;
}

/* place CTA centered at the bottom of the release section */
#release .page-cta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px;
    z-index: 3;
}

@media (max-width: 900px) {
    #release .release-countdown { font-size: 72px; padding: 14px 20px; }
    #release .page-cta { bottom: 30px; }
}

/* Release subtitle below countdown */
.release-subtitle {
    margin-top: 18px;
    font-size: 24px; /* larger so it's clearly visible */
    color: rgba(255,255,255,0.95);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.6px;
}
.release-subtitle .highlight--purple {
    font-weight: 800;
    color: #c26bff; /* site theme purple */
    padding: 0 8px;
    background: rgba(194,107,255,0.06);
    border-radius: 6px;
}

.audio-widget .aw-controls { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.audio-widget .aw-btn { background: rgba(255,255,255,0.04); border: none; color: #fff; width:52px; height:52px; display:flex; align-items:center; justify-content:center; border-radius: 10px; font-size: 13px; cursor: pointer; }
.audio-widget .aw-btn:hover { background: rgba(255,255,255,0.08); }

/* make buttons a bit larger on hover for affordance */
.audio-widget .aw-btn:active { transform: translateY(1px); }

/* top row: image + volume */
.audio-widget .aw-top { display:flex; align-items:center; gap:10px; }
.audio-widget .aw-vol-wrap, .audio-widget .aw-vol { display:flex; align-items:center; }
.audio-widget .aw-vol { width: 120px; -webkit-appearance:none; appearance:none; height:10px; background: linear-gradient(90deg, #b76bff, #7a36ff); border-radius:8px; cursor: pointer; }
.audio-widget .aw-vol::-webkit-slider-thumb { -webkit-appearance:none; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,0.45); }
.audio-widget .aw-vol::-moz-range-thumb { width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,0.45); }

/* progress row */
.audio-widget .aw-progress-row { display:flex; align-items:center; gap:8px; width:100%; margin-top:6px; }
.audio-widget .aw-time { font-size:12px; color: rgba(255,255,255,0.85); width:40px; text-align:center; }
.audio-widget .aw-progress { flex:1; -webkit-appearance: none; appearance: none; height:10px; background: rgba(255,255,255,0.06); border-radius:8px; cursor: pointer; }
.audio-widget .aw-progress::-webkit-slider-thumb { -webkit-appearance:none; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,0.45); }
.audio-widget .aw-progress::-moz-range-thumb { width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,0.45); }

/* bottom row layout: ensure controls sit horizontally */
.audio-widget .aw-bottom { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:8px; padding: 0 6px; }

#audio-visualizer { position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity 400ms ease; }
#audio-visualizer .vis { position: absolute; top: 0; bottom: 0; width: 14%; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:18px; }
#audio-visualizer .vis-left { left: 0; padding-left: 28px; }
#audio-visualizer .vis-right { right: 0; padding-right: 28px; }
#audio-visualizer .vis-band { width: 70%; height: 80px; background: radial-gradient(circle at 50% 50%, rgba(183,107,255,0.8), rgba(122,54,255,0.06)); border-radius: 40px; opacity: 0; transform-origin: center bottom; transition: transform 120ms linear, filter 200ms linear, opacity 200ms linear; mix-blend-mode: screen; }
#audio-visualizer .vis-right .vis-band { background: radial-gradient(circle at 50% 50%, rgba(34,255,200,0.8), rgba(34,255,200,0.04)); }


/* volume slider */
.audio-widget .aw-vol {
    width: 90px;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: linear-gradient(90deg, #b76bff, #7a36ff);
    border-radius: 6px;
    outline: none;
}
.audio-widget .aw-vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* purple outline to indicate widget bounds */
.audio-widget {
    border: 2px solid rgba(183,107,255,0.18);
}

/* server status hover tooltip */
.status-pill { position: relative; }
.status-pill:hover { cursor: pointer; }
.status-pill::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); top: calc(100% + 10px); background: rgba(0,0,0,0.86); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 160ms ease; z-index: 99999; }
.status-pill:hover::after { content: 'Click it to refresh server status!'; opacity: 1; }

@media (max-width: 600px) {
    .audio-widget { width: 180px; right: 12px; bottom: 12px; }
    .audio-widget .aw-img { width: 48px; height: 48px; }
    .audio-widget .aw-img img { width: 48px; height: 48px; }
}

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

html {
    scroll-behavior: smooth;
}

/* utility to disable text selection while dragging */
.no-text-select, .no-text-select * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

body {
    background: #06060d;
    font-family: 'Bebas Neue', sans-serif;
    color: white;
    overflow-x: hidden;
}

/* Page transition: start hidden, fade in on load, fade out on navigation */
body {
    opacity: 0;
    transition: opacity 450ms ease;
}

body.loaded {
    opacity: 1;
}

body.fade-out {
    opacity: 0 !important;
    pointer-events: none;
}

/* GRID */
.grid {
    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: 60px 60px;
    animation: gridMove 40s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 0 60px, 60px 0;
    }
}

/* GLOW */
.center-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 100%;
    background: radial-gradient( ellipse at center, rgba(155, 92, 255, 0.22), transparent 70% );
    /* slower, smoother glow: increase intensity and soften periodically */
    animation: pulse 12s ease-in-out infinite;
    z-index: 1;
}

/* Full-page sparkle overlay (covers entire viewport, above hero but below header) */
.sparkle-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1; /* keep sparkle behind main content */
    background-image:
        radial-gradient(circle at 4% 10%, rgba(255,255,255,0.98) 0px, rgba(255,255,255,0) 28px),
        radial-gradient(circle at 12% 35%, rgba(255,255,255,0.95) 0px, rgba(255,255,255,0) 22px),
        radial-gradient(circle at 25% 12%, rgba(255,255,255,0.9) 0px, rgba(255,255,255,0) 26px),
        radial-gradient(circle at 40% 48%, rgba(255,255,255,0.92) 0px, rgba(255,255,255,0) 32px),
        radial-gradient(circle at 55% 29%, rgba(255,255,255,0.95) 0px, rgba(255,255,255,0) 22px),
        radial-gradient(circle at 72% 66%, rgba(255,255,255,0.9) 0px, rgba(255,255,255,0) 28px),
        radial-gradient(circle at 88% 42%, rgba(255,255,255,0.88) 0px, rgba(255,255,255,0) 20px);
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 1.2s linear, background-position 12s linear;
}


/* Ensure header sits above decorative layers so links are clickable */
header {
    position: relative;
    z-index: 5;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

/* Navigation Bar Animation */
.menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    padding: 0 18px;
    transition: color 0.28s ease, transform 160ms ease;
    cursor: pointer;
    display: inline-block;
    font-size: 24px; /* bigger navigation text */
}

/* Sequential nav animation used when moving between tabs */


.menu a:hover {
    color: #b76bff;
    transform: translateY(-2px);
}

.menu a.active {
    color: #b76bff;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #b76bff;
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

/* Make sure other elements don't intercept clicks */
.grid, .center-glow {
    pointer-events: none;
}

@keyframes pulse {
    0% {
        opacity: 0.35;
        transform: translateX(-50%) scale(1);
        filter: blur(30px);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
        filter: blur(8px);
    }

    100% {
        opacity: 0.35;
        transform: translateX(-50%) scale(1);
        filter: blur(30px);
    }
}

/* NAV */
header {
    position: fixed;
    width: 100%;
    z-index: 9999;
    padding: 18px 6%;
    background: rgba(0,0,0,0.03); /* super transparent */
    /* removed backdrop blur to avoid covering content */
    backdrop-filter: none;
    /* no-op context to ensure file is edited */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 64px; /* Much bigger logo text */
    font-weight: 900;
    letter-spacing: 4px;
    display: inline-block;
    line-height: 1;
    color: transparent;
    background: linear-gradient(90deg, #c26bff, #7a36ff);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 8px 20px rgba(122, 54, 255, 0.14), 0 3px 0 rgba(0,0,0,0.4);
    transition: transform 220ms ease, text-shadow 220ms ease;
    transform-origin: left center;
    text-decoration: none; /* remove underline for logo anchor */
}

.menu a {
    position: relative;
    margin-left: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0 14px;
    font-size: 24px; /* larger nav text */
    transition: color 0.3s ease;
}

/* Two-column layout for pages with a CTA - spreads out text and places button separately */
.page.page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    padding: 40px 20px;
}

.page-grid .page-content h2 {
    font-size: 64px;
    margin-bottom: 18px;
}

.page-grid .page-content p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.85;
}

.page-grid .page-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make CTA box look cool: elevated card with subtle glow */
.page-grid .page-cta .btn-primary {
    display: inline-block;
    padding: 22px 42px;
    border-radius: 12px;
    box-shadow: 0 18px 30px rgba(139,0,255,0.06), 0 6px 0 #5f2baf;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-grid .page-cta .btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 40px rgba(139,0,255,0.12), 0 8px 0 #5f2baf;
}

@media (max-width: 900px) {
    .page.page-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 16px;
    }
    .page-grid .page-content h2 { font-size: 44px; }
}

.menu a:hover {
    color: #b76bff;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #b76bff;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    position: relative;
    z-index: 2;
    text-align: center;
    /* center the hero content vertically in the viewport, accounting for header */
    min-height: calc(100vh - var(--header-offset));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .hero h1 {
        font-size: 140px; /* larger hero title */
        background: linear-gradient(180deg, #c26bff, #8e44ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin: 0 10px;
        position: relative;
        display: inline-block;
        line-height: 1;
        /* ensure sparkles render above background but behind other content */
        z-index: 2;
        overflow: visible;
    }

    .hero::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        pointer-events: none; /* allow clicks through */
        mix-blend-mode: screen;
        /* many sparkles spread across a large area */
        background-image:
            radial-gradient(circle at 4% 10%, rgba(255,255,255,0.98) 0px, rgba(255,255,255,0) 28px),
            radial-gradient(circle at 12% 35%, rgba(255,255,255,0.95) 0px, rgba(255,255,255,0) 22px),
            radial-gradient(circle at 25% 12%, rgba(255,255,255,0.9) 0px, rgba(255,255,255,0) 26px),
            radial-gradient(circle at 40% 48%, rgba(255,255,255,0.92) 0px, rgba(255,255,255,0) 32px),
            radial-gradient(circle at 55% 29%, rgba(255,255,255,0.95) 0px, rgba(255,255,255,0) 22px),
            radial-gradient(circle at 72% 66%, rgba(255,255,255,0.9) 0px, rgba(255,255,255,0) 28px),
            radial-gradient(circle at 88% 42%, rgba(255,255,255,0.88) 0px, rgba(255,255,255,0) 20px);
        background-size: 300% 300%;
        opacity: 0;
        transform: translateZ(0);
        z-index: 4; /* above hero content so it covers buttons, text, status */
        animation: sparkleSweep 12s linear infinite;
    }

    /* sparkleSweep: fade in while sweeping across, then fade out before repeating in a new spot */
    @keyframes sparkleSweep {
        0% {
            background-position: 0% 20%;
            opacity: 0;
        }
        15% {
            opacity: 1;
        }
        70% {
            background-position: 120% 60%;
            opacity: 1;
        }
        85% {
            opacity: 0;
        }
        100% {
            background-position: 160% 30%;
            opacity: 0;
        }
    }

    .hero p {
        font-size: 30px;
        margin-top: 10px;
        opacity: 0.8;
    }

/* Wavy purplish animated text for hero subtitle (subtle, vertical movement) */
.wave-text {
    font-size: 36px;
    margin-top: 14px;
    opacity: 1;
    display: inline-block;
    padding: 2px 6px;
    background: linear-gradient(90deg, #8e44ff, #b76bff, #c26bff, #7a36ff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 14px rgba(139,0,255,0.10);
    animation: waveGradient 10s linear infinite, swayScale 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes waveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes swayScale {
    0% { transform: scale(0.995); }
    50% { transform: scale(1.035); }
    100% { transform: scale(0.995); }
}

/* slightly reduce opacity and size on small screens */
@media (max-width: 900px) {
    .wave-text { font-size: 28px; }
}

/* STATUS */
.status {
    margin-top: 40px;
    font-size: 18px;
    opacity: 0.8;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #00ff7f;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* BUTTONS */
.buttons {
    margin-top: 60px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 50px;
    font-size: 20px; /* larger button text */
    background: linear-gradient(180deg, #b76bff, #8e44ff);
    text-decoration: none;
    color: white;
    margin-right: 20px;
    box-shadow: 0 8px 0 #5f2baf, 0 0 25px rgba(155,92,255,0.6);
    transition: 0.15s;
}

    .btn-primary:hover {
        transform: translateY(-4px);
    }

.btn-outline {
    display: inline-block;
    padding: 18px 50px;
    font-size: 20px; /* larger button text */
    border: 2px solid #b76bff;
    color: #b76bff;
    text-decoration: none;
    transition: 0.2s;
}

    .btn-outline:hover {
        background: #b76bff;
        color: white;
    }

/* Highlight styles for important inline text */
.highlight {
    display: inline-block;
    padding: 0 6px; /* narrower so it doesn't cover surrounding words */
    border-radius: 6px;
    background: rgba(183,107,255,0.06);
    color: #f3e8ff;
    font-weight: 700;
    line-height: 1.15;
}

.highlight--purple {
    background: linear-gradient(90deg, rgba(183,107,255,0.12), rgba(142,68,255,0.08));
    color: #fff;
}

.highlight--teal {
    background: linear-gradient(90deg, rgba(72,219,141,0.08), rgba(72,219,141,0.04));
    color: #eafff2;
}

/* Status pill */
.status {
    margin-top: 28px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.03);
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(139,0,255,0.04);
    border: 1px solid rgba(255,255,255,0.03);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff7f;
    box-shadow: 0 0 10px rgba(0,255,127,0.35), 0 0 26px rgba(139,0,255,0.06) inset;
    position: relative;
}

/* subtle pulse ring */
.status-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,127,0.12), transparent 40%);
    opacity: 0.9;
    animation: statusPulse 2000ms ease-in-out infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    50% { transform: scale(1.25); opacity: 0.3; }
    100% { transform: scale(0.9); opacity: 0.9; }
}

.status-text {
    font-size: 16px;
    font-weight: 700;
    color: #e7e3ff;
}

/* Animated signal bars */
.status-signal {
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
    width: 48px;
    height: 22px;
}

.status-signal .bar {
    width: 8px;
    background: linear-gradient(180deg, #b76bff, #8e44ff);
    border-radius: 3px;
    transform-origin: bottom center;
}

.status-signal .b1 { height: 8px; }
.status-signal .b2 { height: 12px; }
.status-signal .b3 { height: 18px; }

/* larger signal and text when placed in hero bottom */
.hero .status-pill {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 6; /* above sparkle overlay */
    padding: 14px 22px;
    gap: 14px;
}

.hero .status-signal { width: 64px; height: 28px; }
.hero .status-signal .bar { width: 10px; border-radius: 4px; }
.hero .status-signal .b1 { height: 10px; }
.hero .status-signal .b2 { height: 16px; }
.hero .status-signal .b3 { height: 22px; }

.hero .status-text { font-size: 20px; }
/* place last-checked under the status pill (smaller text) */
.hero .status-meta {
    position: absolute;
    left: 50%;
    bottom: -22px; /* move further down so it doesn't overlap the pill */
    transform: translateX(-50%);
    font-size: 11px; /* very small */
    color: rgba(230,227,255,0.65);
    z-index: 6;
    letter-spacing: 0.2px;
}

@media (max-width: 900px) {
    .hero .status-pill { bottom: 20px; }
    .hero .status-meta { bottom: -20px; font-size: 10px; }
}

/* animate when online */
.status-pill.online .status-signal .bar {
    animation: signalBounce 1200ms ease-in-out infinite;
}
.status-pill.online .status-signal .b1 { animation-delay: 0ms; }
.status-pill.online .status-signal .b2 { animation-delay: 140ms; }
.status-pill.online .status-signal .b3 { animation-delay: 280ms; }

@keyframes signalBounce {
    0% { transform: scaleY(0.5); opacity: 0.7; }
    50% { transform: scaleY(1.15); opacity: 1; }
    100% { transform: scaleY(0.6); opacity: 0.8; }
}

/* offline state: muted */
.status-pill.offline .status-signal .bar {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    animation: none;
    opacity: 0.35;
}

.status-meta { font-size: 12px; color: rgba(230,227,255,0.6); }

/* Place the small next-check timer further down (below the hero) */
.hero .status-meta {
    position: absolute;
    left: 50%;
    bottom: -60px; /* moved farther down so it sits well below the pill */
    transform: translateX(-50%);
    font-size: 11px; /* small */
    color: rgba(230,227,255,0.65);
    z-index: 6;
}

.status-pill.offline .status-text strong { color: #ff6b6b; }
.status-pill.online .status-text strong { color: #b3ffcf; }

/* SECTIONS */
.section {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px;
}

/* Page container to center content and offset the fixed header */
.page {
    max-width: 1100px;
    margin: 0 auto;
    /* center shorter pages vertically as well */
    min-height: calc(100vh - var(--header-offset));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    padding-top: 0; /* handled by min-height */
}

/* Logo hover animation (purple glow/bubble) */
.logo:hover {
    transform: translateY(-2px) scale(1.01);
    /* subtler hover: slightly increase brightness and soft purple glow */
    filter: brightness(1.06) saturate(1.05);
    text-shadow: 0 10px 28px rgba(139, 0, 255, 0.16), 0 2px 0 rgba(0,0,0,0.45);
}

    .section h2 {
        font-size: 60px;
    }

    .section p {
        margin-top: 10px;
        font-size: 20px;
        opacity: 0.7;
    }
