:root { --fade: 900ms; }

html, body {
    margin: 0;
    height: 100%;
    background: #050505;
    color: #f6f1e8;
    font-family: "Segoe UI", "Avenir Next", system-ui, sans-serif;
}

body.hide-cursor, body.hide-cursor * { cursor: none; }

#stage {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: #050505;
}

.glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    left: 20%;
    top: -10%;
    background: radial-gradient(circle, rgba(226, 181, 106, 0.22), transparent 68%);
    filter: blur(8px);
    animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
    from { transform: translate3d(-6%, 0, 0) scale(1); }
    to { transform: translate3d(8%, 6%, 0) scale(1.08); }
}

#slides, #slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#slides img {
    object-fit: contain;
    background: #000;
    opacity: 0;
    transition: opacity var(--fade) ease;
}

#slides img.is-on { opacity: 1; }

#idle[hidden],
#slides[hidden] {
    display: none !important;
}

#idle {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: 32px;
}

.eyebrow {
    margin: 0;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: clamp(12px, 1.6vw, 18px);
    color: #e2b56a;
}

.token {
    margin: 18px 0 12px;
    font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
    font-size: clamp(56px, 10vw, 132px);
    font-weight: 620;
    letter-spacing: 0.18em;
    line-height: 1;
}

.hint {
    margin: 0;
    max-width: 28ch;
    color: #c8c1b4;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.45;
}

#fullscreen {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(246, 241, 232, 0.18);
    background: rgba(10, 10, 10, 0.55);
    color: #f6f1e8;
    border-radius: 999px;
    padding: 12px 16px;
    font: inherit;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

#fullscreen:focus-visible { outline: 2px solid #e2b56a; outline-offset: 3px; }

#stage:fullscreen #fullscreen,
#stage:-webkit-full-screen #fullscreen,
:fullscreen #fullscreen,
:-webkit-full-screen #fullscreen,
#fullscreen.is-hidden {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .glow { animation: none; }
    #slides img { transition: none; }
}
