:root {
    color-scheme: dark;
    --intro-orange: #ff8a1f;
    --intro-white: #f7f8f8;
    --intro-muted: #aeb6bb;
    --intro-bg: #05090c;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

.intro-body {
    overflow: hidden;
    background: var(--intro-bg);
    color: var(--intro-white);
}

.intro-shell {
    width: 100vw;
    height: 100svh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 70% 40%, rgba(255,138,31,.09), transparent 36%),
        #05090c;
}

.intro-frame {
    position: relative;
    width: min(100vw, 177.7778svh);
    max-height: 100svh;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #05090c;
}

.intro-picture,
.intro-picture img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.intro-picture img {
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.intro-live-controls { position: absolute; inset: 0; pointer-events: none; }

.intro-enter,
.intro-skip {
    position: absolute;
    pointer-events: auto;
    text-decoration: none;
    outline: none;
}

.intro-enter {
    left: 7.62%;
    top: 64.72%;
    width: 19.12%;
    height: 7.25%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 2.65%;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: clamp(8px, .75vw, 14px);
    background: linear-gradient(145deg, #ff9b31, #ff7a0a);
    box-shadow: 0 16px 36px rgba(0,0,0,.24);
    color: #fff;
    font-size: clamp(13px, 1.15vw, 21px);
    font-weight: 750;
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.intro-enter:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 20px 42px rgba(0,0,0,.32); }
.intro-enter:active { transform: translateY(0); }
.intro-enter:focus-visible,
.intro-skip:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.intro-skip {
    left: 7.65%;
    top: 75.3%;
    color: rgba(232,236,238,.74);
    font-size: clamp(11px, .95vw, 17px);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.intro-skip:hover { color: #fff; }

.intro-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}
.intro-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left;
    background: linear-gradient(90deg, #ff7a0a, #ffae4b);
    animation: intro-progress 5.5s linear forwards;
}

.intro-noscript {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 10;
}
.intro-noscript a {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--intro-orange);
    color: #fff;
    font-weight: 750;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@keyframes intro-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (orientation: portrait), (max-width: 700px) {
    .intro-frame {
        width: 100vw;
        height: 100svh;
        max-height: none;
        aspect-ratio: auto;
    }

    .intro-picture img { object-fit: cover; }

    .intro-enter {
        left: 10%;
        top: auto;
        bottom: max(5.2%, env(safe-area-inset-bottom));
        width: 80%;
        height: auto;
        min-height: 52px;
        padding: 14px 18px;
        border-radius: 14px;
        font-size: 17px;
        opacity: 0;
        animation: intro-mobile-button .35s ease 1.35s forwards;
    }

    .intro-skip {
        left: auto;
        right: 18px;
        top: max(18px, env(safe-area-inset-top));
        padding: 8px 10px;
        border-radius: 10px;
        background: rgba(5,9,12,.62);
        backdrop-filter: blur(10px);
        color: #fff;
        font-size: 13px;
    }

    .intro-progress-bar { animation-duration: 3.2s; }
}

@keyframes intro-mobile-button { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .intro-enter,
    .intro-progress-bar { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
}

.intro-body.intro-leaving .intro-frame {
    opacity: 0;
    transition: opacity .14s ease;
}
