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

html, body {
    height: 100%;
    overflow: hidden;
    background: #0a0a0a;
    color: #fff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

#scene {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.overlay a { pointer-events: auto; }

.brand {
    position: absolute;
    top: clamp(18px, 3vw, 32px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    letter-spacing: 0.08em;
    text-decoration: none;
}

.brand, .brand:hover, .brand:focus, .brand:active { text-decoration: none; }

.brand__name {
    background: linear-gradient(135deg, #fff 0%, #ff3c00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.caption {
    position: absolute;
    top: clamp(72px, 12vh, 140px);
    left: clamp(16px, 4vw, 64px);
    max-width: min(620px, 88vw);
    padding: 22px 28px 22px 26px;
    background: linear-gradient(90deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.6) 70%, rgba(10,10,10,0) 100%);
    border-left: 4px solid var(--verdict-color, #ff3c00);
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.caption.show {
    opacity: 1;
    transform: translateX(0);
}

.caption__verdict {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: var(--verdict-color, #ff3c00);
    margin-bottom: 10px;
    min-height: 1em;
    text-transform: uppercase;
}

.caption__title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(1.9rem, 4.8vw, 3.2rem);
    line-height: 1;
    letter-spacing: 0.03em;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}

.caption__sub {
    margin-top: 12px;
    font-size: clamp(0.92rem, 1.3vw, 1.08rem);
    color: #cfcfcf;
    line-height: 1.55;
    max-width: 480px;
    font-weight: 300;
}

.caption--good { --verdict-color: #34d27a; }
.caption--bad { --verdict-color: #ff3c00; }
.caption--neutral { --verdict-color: #f5c518; }

.ticker {
    position: absolute;
    bottom: clamp(20px, 3vw, 36px);
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, 90vw);
    text-align: center;
}

.ticker__row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.ticker__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3c00;
    box-shadow: 0 0 12px #ff3c00;
    animation: dot-pulse 1.6s infinite ease-in-out;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}

.ticker__hint {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    letter-spacing: 0.22em;
    color: #b8b8b8;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.ticker__bar {
    margin-top: 12px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.ticker__bar::after {
    content: '';
    display: block;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #ff3c00, #ffa040);
    transition: width 0.12s linear;
}

.skip {
    position: absolute;
    bottom: clamp(20px, 3vw, 36px);
    right: clamp(16px, 3vw, 32px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(10,10,10,0.72);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    backdrop-filter: blur(6px);
}

.skip:hover {
    background: rgba(255,60,0,0.85);
    border-color: #ff3c00;
    transform: translateY(-1px);
}

.skip__arrow {
    font-size: 1.4rem;
    line-height: 1;
    transform: translateY(-1px);
}

.skip.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.drive-pad {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(90px, 14vh, 140px);
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 5vw, 40px);
    pointer-events: none;
    gap: 12px;
}

.drive-pad.show { display: flex; }

.drive-pad__btn {
    width: clamp(68px, 18vw, 90px);
    height: clamp(68px, 18vw, 90px);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(10,10,10,0.6);
    color: #fff;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(2.4rem, 7vw, 3.2rem);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    backdrop-filter: blur(6px);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s, transform 0.1s, border-color 0.15s;
}

.drive-pad__btn:active {
    background: rgba(255,60,0,0.85);
    border-color: #ff3c00;
    transform: scale(0.94);
}

.drive-pad__brake {
    pointer-events: auto;
    padding: 18px 32px;
    border-radius: 999px;
    border: 2px solid rgba(255,60,0,0.45);
    background: rgba(255,60,0,0.18);
    color: #fff;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(1.1rem, 3.4vw, 1.5rem);
    letter-spacing: 0.25em;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(6px);
    transition: background 0.12s, transform 0.1s, border-color 0.12s;
}

.drive-pad__brake.active,
.drive-pad__brake:active {
    background: #ff3c00;
    border-color: #ff3c00;
    transform: scale(0.96);
    box-shadow: 0 0 24px rgba(255,60,0,0.55);
}

.ticker__chapter {
    margin-top: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    color: #666;
    text-transform: uppercase;
}

.loading {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    z-index: 10;
    transition: opacity 0.6s ease;
    color: #555;
    font-family: 'Bebas Neue', Impact, sans-serif;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 640px) {
    .caption {
        top: clamp(68px, 10vh, 120px);
        padding: 16px 20px;
    }
    .caption__sub { font-size: 0.9rem; }
    .brand { font-size: 1.5rem; }
}
