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

body {
    min-height: 100vh;
    background: #000;
    color: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

#bg-video.is-visible {
    opacity: 1;
}

.gate {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.gate.is-off {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate__hint {
    font-size: clamp(1rem, 3.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 0 1.25rem;
    color: rgba(255, 255, 255, 0.88);
}

.gate__hint kbd {
    font-family: inherit;
    font-weight: 700;
    padding: 0.15em 0.45em;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.stage {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    padding: clamp(1rem, 4vw, 2.5rem);
    display: flex;
    justify-content: center;
}

.coming-float {
    text-align: center;
    font-size: clamp(1.15rem, 4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow:
        0 0 18px rgba(0, 0, 0, 0.85),
        0 2px 24px rgba(0, 0, 0, 0.55);
    animation: float-y 3.2s ease-in-out infinite;
}

.coming-float__text {
    display: inline;
}

.coming-float__cursor {
    display: inline-block;
    margin-left: 0.06em;
    font-weight: 400;
    opacity: 1;
    animation: blink 0.95s step-end infinite;
}

@keyframes float-y {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .coming-float {
        animation: none;
    }

    .coming-float__cursor {
        animation: none;
        opacity: 0.65;
    }

    #bg-video {
        transition: none;
    }

    .gate {
        transition: none;
    }
}
