/* ============================================================
   Pre-launch page — full-viewport contained image, minimal UI
   Auto-expires: PHP gate switches off on 2026-04-13
   ============================================================ */

/* ── Hide standard chrome ───────────────────────────────── */
nav,
.navbar,
#div_pre_body_main,
.am-footer,
.scroll_to_top {
    display: none !important;
}

html,
body.am-prelaunch-active {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
}

/* ── Full-viewport canvas ───────────────────────────────── */
.am-pl-canvas {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Image: fully visible, letterboxed in black ─────────── */
.am-pl-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* ── Top bar: floats above the image ────────────────────── */
.am-pl-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 18px 24px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.50) 0%, transparent 100%);
}

/* ── Right column: CTA + countdown stacked ──────────────── */
.am-pl-topbar-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* ── Countdown ──────────────────────────────────────────── */
.am-pl-countdown {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.am-pl-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.am-pl-unit__num {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    min-width: 2ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.am-pl-unit__lbl {
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.am-pl-sep {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.30);
    line-height: 1;
    padding-bottom: 9px;
}

/* ── CTA — top right, white pill ────────────────────────── */

.am-pl-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #fff;
    color: #0D1B2A;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.am-pl-cta:hover,
.am-pl-cta:focus-visible {
    background: #f0f0f0;
    color: #0D1B2A;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.am-pl-cta:active {
    transform: translateY(0);
}

.am-pl-cta svg {
    flex-shrink: 0;
    transition: transform 0.12s ease;
}

.am-pl-cta:hover svg {
    transform: translateX(3px);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
    html,
    body.am-prelaunch-active {
        overflow: auto;
    }

    .am-pl-canvas {
        position: relative;
        min-height: 100dvh;
        align-items: flex-start;
        justify-content: center;
    }

    .am-pl-img {
        object-position: center top;
    }

    .am-pl-topbar {
        inset: 0;
        justify-content: center;
        align-items: center;
        padding: 0 16px;
        background: none;
    }

    .am-pl-topbar-right {
        align-items: center;
        width: min(320px, 100%);
    }

    .am-pl-countdown {
        justify-content: center;
        width: 100%;
    }

    .am-pl-unit__num {
        font-size: 14px;
    }

    .am-pl-sep {
        font-size: 12px;
        padding-bottom: 8px;
    }

    .am-pl-cta {
        width: 100%;
        justify-content: center;
        padding: 9px 18px;
        font-size: 13px;
    }
}
