@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');

.rogue-racer-page {
    --rr-bg-shift: 0px;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    position: relative;
    width: min(1320px, 94vw);
    margin: 0 auto;
    padding: clamp(42px, 7vh, 84px) 0 clamp(72px, 9vh, 120px);
    display: grid;
    gap: clamp(28px, 5vh, 56px);
}

.rr-hero {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.rr-kicker {
    margin: 0;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.74rem;
    color: rgba(225, 230, 238, 0.72);
}

.rr-hero h2 {
    margin: 0.45rem 0 0.6rem;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 800;
    color: #f4f6fa;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.rr-subtitle {
    margin: 0;
    color: rgba(221, 228, 238, 0.84);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.rr-trailer-block,
.rr-steam-block {
    display: grid;
    justify-items: center;
}

.rr-steam-block {
    margin-bottom: clamp(20px, 3.8vh, 44px);
}

.rr-video-shell {
    width: min(1240px, 94vw);
    border-radius: 18px;
    padding: clamp(6px, 1.1vw, 12px);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.rr-youtube-widget {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.rr-cta {
    margin: 0 0 12px;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(218, 225, 233, 0.86);
}

.rr-steam-widget {
    display: block;
    width: min(646px, 100%);
    max-width: 100%;
    min-height: 190px;
    border: 0;
    /* border-radius: 12px; */
    /* box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset; */
    /* background: #0b0f16; */
}

.rr-steam-fallback {
    margin: 10px 0 0;
    font-size: 0.76rem;
    color: rgba(220, 228, 237, 0.82);
}

.rr-steam-fallback a {
    color: rgba(238, 242, 250, 0.92);
    text-decoration-color: rgba(238, 242, 250, 0.45);
}

.rr-details {
    width: min(1240px, 100%);
    margin: clamp(30px, 5vh, 64px) auto 0;
    display: grid;
    gap: clamp(22px, 2.8vh, 30px);
}

.rr-lead {
    margin: 0;
    text-align: center;
    width: 100%;
    padding: clamp(24px, 2.6vw, 34px) clamp(28px, 3.2vw, 42px);
    border-radius: 14px;
    background: rgba(20, 24, 32, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
    font-size: 0.72rem;
    line-height: 1.42;
    max-width: none;
    color: rgba(232, 238, 246, 0.92);
    text-wrap: balance;
}

.rr-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: clamp(14px, 1.8vw, 22px);
}

.rr-copy-card {
    margin: 0;
    padding: clamp(28px, 3vw, 40px);
    border-radius: 14px;
    background: rgba(20, 24, 32, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.rr-copy-card h3 {
    margin: 0 0 0.7rem;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 0.7rem;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    text-align: center;
    color: #f4f6fa;
}

.rr-copy-card p {
    margin: 0;
    color: rgba(220, 228, 237, 0.88);
    font-size: 0.66rem;
    line-height: 1.38;
}

.rr-signoff {
    text-align: center;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(225, 232, 240, 0.82);
}

.rr-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.rr-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rogue-racer-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1000px 600px at 50% calc(6% + var(--rr-bg-shift)), rgba(79, 70, 70, 0.35), rgba(79, 70, 70, 0) 70%),
        linear-gradient(180deg, #0f1218 0%, #090b10 42%, #06080c 100%);
}

.rogue-racer-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.58) 100%),
        repeating-linear-gradient(120deg,
            rgba(255, 255, 255, 0.022) 0,
            rgba(255, 255, 255, 0.022) 1px,
            rgba(0, 0, 0, 0) 1px,
            rgba(0, 0, 0, 0) 20px),
        repeating-linear-gradient(-120deg,
            rgba(255, 255, 255, 0.018) 0,
            rgba(255, 255, 255, 0.018) 1px,
            rgba(0, 0, 0, 0) 1px,
            rgba(0, 0, 0, 0) 20px);
    pointer-events: none;
}

@media (max-width: 720px) {
    .rogue-racer-page {
        width: min(1320px, 96vw);
        padding-top: clamp(22px, 4vh, 34px);
    }

    .rr-video-shell {
        border-radius: 14px;
        padding: 5px;
    }

    .rr-youtube-widget {
        border-radius: 10px;
    }

    .rr-subtitle {
        max-width: 36ch;
        margin: 0 auto;
    }

    .rr-copy-grid {
        grid-template-columns: 1fr;
    }

    .rr-steam-widget {
        width: 100%;
    }
}