@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Oswald:wght@500;700&family=Bebas+Neue&family=Dancing+Script:wght@700&family=Pacifico&display=swap');

:root {
    --text-light: #ffffff;
    --bg-dark: #000000;
    --neon-highlight: #ff0000;
    --neon-blue: #ff0000;
    --qstg-orange: #810000;
    --cream: #fdfae8;
    --qs-footer-bg: #2d3b2b;
    /* Matching the olive/dark-green background from screenshot */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
p,
h1,
h2,
span,
button {
    user-select: auto;
}

img {
    pointer-events: none;
}

/* ================= PRELOADER ================= */

#intro-overlay {
    position: fixed;
    inset: 0;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 50% 52%, rgba(77, 10, 22, .18), transparent 31%),
        linear-gradient(145deg, #111326 0%, #090a15 58%, #05060c 100%);
    z-index: 9999;
    display: grid;
    place-items: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity .72s cubic-bezier(.22, 1, .36, 1), visibility .72s;
}

#intro-overlay::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(255, 20, 45, .12), transparent 36%);
    opacity: 0;
    transform: scale(.72);
    transition: opacity .55s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

#intro-overlay.is-ready::after {
    opacity: 1;
    transform: scale(1);
}

#intro-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vintro-loader {
    position: relative;
    z-index: 1;
    width: min(38vw, 300px);
}

.vintro-logo-wrap {
    position: relative;
    aspect-ratio: 2.4 / 1;
    overflow: hidden;
    filter: drop-shadow(0 0 0 rgba(255, 20, 45, 0));
    animation: vintroGlow 2.2s cubic-bezier(.22, 1, .36, 1) both;
}

.vintro-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vintro-outline {
    opacity: .18;
    filter: grayscale(1) brightness(1.75) contrast(1.4);
    clip-path: inset(0 100% 0 0);
    animation: vintroDraw 1.35s cubic-bezier(.65, 0, .35, 1) .12s forwards;
}

.vintro-fill {
    opacity: 0;
    filter: saturate(1.2) brightness(.72);
    transform: scale(.985);
    animation: vintroFill .7s cubic-bezier(.22, 1, .36, 1) 1.08s forwards;
}

.vintro-sweep {
    position: absolute;
    inset: -12%;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .78) 49%, transparent 60%);
    mix-blend-mode: screen;
    transform: translateX(-150%) skewX(-12deg);
    -webkit-mask: url("../svg/ViceLogo.svg") center / 82% auto no-repeat;
            mask: url("../svg/ViceLogo.svg") center / 82% auto no-repeat;
    animation: vintroSweep .72s cubic-bezier(.4, 0, .2, 1) 1.32s forwards;
}

@keyframes vintroDraw {
    to {
        clip-path: inset(0 0 0 0);
        opacity: .58;
    }
}

@keyframes vintroFill {
    to {
        opacity: 1;
        transform: scale(1);
        filter: saturate(1.15) brightness(.95);
    }
}

@keyframes vintroSweep {
    to {
        transform: translateX(150%) skewX(-12deg);
    }
}

@keyframes vintroGlow {
    0%, 58% {
        filter: drop-shadow(0 0 0 rgba(255, 20, 45, 0));
    }
    82% {
        filter: drop-shadow(0 0 34px rgba(255, 20, 45, .52));
    }
    100% {
        filter: drop-shadow(0 0 18px rgba(255, 20, 45, .28));
    }
}

@media (prefers-reduced-motion: reduce) {
    .vintro-logo-wrap,
    .vintro-outline,
    .vintro-fill,
    .vintro-sweep {
        animation: none;
    }

    .vintro-outline {
        clip-path: none;
        opacity: 0;
    }

    .vintro-fill {
        opacity: 1;
        transform: none;
    }

    #intro-overlay {
        transition-duration: .2s;
    }
}

/* ================= HERO & NAV ================= */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    background-color: #000;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform-origin: center 42%;
    animation: bgEntrance 3s ease 2.5s forwards,
               kenBurns 32s ease-in-out 5.5s infinite alternate;
}

.bg-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cinematic rockstar-style vignette: bottom blend + top legibility + edge darkening */
    background:
        radial-gradient(120% 90% at 50% 38%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.55) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 28%);
}

/* Looping ambient video background (GTA VI style) */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0;
    filter: contrast(1.06) saturate(1.1);
    animation: bgEntrance 2.4s ease 0.3s forwards;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

/* Vignette overlay above the video, same cinematic blend */
.background-container::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(120% 90% at 50% 38%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.55) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 28%);
}

@keyframes bgEntrance {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes kenBurns {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.09) translate3d(-1.4%, -1%, 0);
    }
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInDown 1.5s ease 2.5s forwards;
}

.main-header.scrolled {
    background-color: transparent;
    padding: 1rem 3rem;
    box-shadow: none;
}

.header-logo-link {
    display: inline-flex;
}

.header-logo {
    height: 28px;
    width: auto;
    max-width: 120px;
    z-index: 101;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    pointer-events: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 101;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 30px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 6px;
    background-color: var(--text-light);
    border-radius: 0;
    transition: 0.3s;
}

.hamburger:hover span {
    opacity: 0.8;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    transform: translateY(-6px) rotate(-45deg);
}

.sidebar-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #08090d;
    z-index: 200;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(5%);
    transition: opacity .34s ease, visibility .34s ease, transform .5s cubic-bezier(.16, 1, .3, 1);
}

.sidebar-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.sidebar-visual {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 100vh;
    background:
        linear-gradient(140deg, rgba(48, 111, 134, .86), rgba(17, 20, 35, .45) 54%, rgba(128, 0, 0, .42)),
        url('Copertina/Cover_Vice_QuestStudioGames_Brash.png') center / cover;
}

.sidebar-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .34);
}

.sidebar-visual img {
    width: min(38vw, 300px);
    max-width: 72%;
    opacity: 1;
    filter: drop-shadow(0 16px 34px rgba(0, 0, 0, .45));
    position: relative;
    z-index: 1;
}

.sidebar-panel {
    position: relative;
    min-height: 100vh;
    padding: clamp(42px, 6vw, 70px) clamp(34px, 6vw, 72px);
    background: linear-gradient(180deg, #151520 0%, #07070a 100%);
    display: flex;
    flex-direction: column;
}

.sidebar-close {
    position: absolute;
    top: clamp(24px, 4vw, 46px);
    right: clamp(24px, 4vw, 48px);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s ease, transform .2s ease;
    pointer-events: auto;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, .16);
    transform: scale(1.04);
}

.sidebar-close span {
    position: absolute;
    width: 18px;
    height: 3px;
    background: #fff;
}

.sidebar-close span:first-child {
    transform: rotate(45deg);
}

.sidebar-close span:last-child {
    transform: rotate(-45deg);
}

.sidebar-tabs {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.5vw, 24px);
    padding-right: 64px;
    margin-bottom: clamp(76px, 13vh, 150px);
}

.sidebar-tabs a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(.82rem, 1vw, 1rem);
    padding: 14px 22px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
    pointer-events: auto;
}

.sidebar-tabs a:hover,
.sidebar-tabs a.active {
    background: #fff;
    color: #111;
}

.sidebar-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.sidebar-panel-view {
    display: none;
}

.sidebar-panel-view.active {
    display: flex;
}

.nav-links {
    list-style: none;
    flex-direction: column;
    gap: clamp(2px, .8vh, 8px);
    width: 100%;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-size: clamp(3.1rem, 5.2vw, 5rem);
    font-weight: 700;
    line-height: .92;
    text-transform: uppercase;
    letter-spacing: .025em;
    transition: color .2s ease, transform .2s ease, opacity .2s ease;
    display: inline-block;
    pointer-events: auto;
}

.nav-links li a:hover {
    color: #d80d0d;
    transform: translateX(12px);
}

.sidebar-trailers {
    width: min(100%, 860px);
    flex-direction: column;
    gap: 22px;
}

.trailer-card {
    display: grid;
    grid-template-columns: minmax(210px, 48%) 1fr;
    min-height: 172px;
    width: 100%;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .055);
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
    pointer-events: auto;
    transition: background .2s ease, transform .2s ease;
}

.trailer-card:hover {
    background: rgba(255, 255, 255, .09);
    transform: translateX(8px);
}

.trailer-thumb {
    position: relative;
    display: block;
    min-height: 172px;
    background-position: center;
    background-size: cover;
}

.trailer-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .18));
}

.trailer-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(18, 18, 28, .72);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.trailer-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
    transform: translate(-40%, -50%);
}

.trailer-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: clamp(22px, 3vw, 34px);
}

.trailer-badge {
    width: max-content;
    background: #fff8ce;
    color: #111;
    font-size: .76rem;
    font-weight: 900;
    padding: 6px 8px;
}

.trailer-title {
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 1.08;
}

.trailer-date {
    color: rgba(255, 255, 255, .68);
    font-size: clamp(.95rem, 1.2vw, 1.12rem);
    font-weight: 800;
}

.sidebar-language {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    margin-top: 32px;
}

.sidebar-language[hidden] {
    display: none !important;
}

.sidebar-language .globe {
    font-size: 1rem;
}

.sidebar-language .chevron {
    transform: translateY(-2px);
    opacity: .72;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    z-index: 5;
    padding-bottom: 5vh;
}

.logo-container {
    opacity: 0;
    transform: scale(0.85);
    animation: popInScale 2s cubic-bezier(0.16, 1, 0.3, 1) 3s forwards;
    margin-bottom: 2rem;
    max-width: 800px;
    width: 90%;
}

.vice-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Release line (Coming Soon / date) — GTA VI style */
.vice-release {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 1.5s ease 3.15s forwards;
    text-align: center;
}
.vice-release-kicker {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    padding-left: 0.42em;
}
.vice-release-date {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 0.9;
    color: #fff;
    text-shadow: 0 12px 44px rgba(0, 0, 0, 0.55);
}

.trailer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease 3.3s forwards;
}

.play-circle {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.play-circle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: playPulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes playPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.play-circle:hover {
    transform: scale(1.08);
    background-color: #ffffff;
    box-shadow: 0 4px 25px rgba(255, 255, 255, 0.4);
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #000;
    margin-left: 5px;
}

.trailer-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    color: var(--text-light);
    opacity: 0;
    animation: fadeInDown 1s ease 4s forwards, bobbing 2s ease-in-out infinite alternate;
}

@keyframes popInScale {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bobbing {
    0% {
        transform: translate(-50%, 0);
    }

    100% {
        transform: translate(-50%, 10px);
    }
}

/* ================= CONTENT ================= */
.content-wrapper {
    position: relative;
    z-index: 10;
    background-color: #111117;
    overflow-x: clip; /* clip (not hidden) so descendant position:sticky still pins */
    perspective: 1200px;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-wrapper .scroll-reveal,
.qs-footer .scroll-reveal {
    --cinematic-progress: 0;
    --cinematic-y: 96px;
    --cinematic-scale: .94;
    --cinematic-blur: 12px;
    --cinematic-clip: 18%;
    opacity: 0;
    transform: translate3d(0, var(--cinematic-y), 0) scale(var(--cinematic-scale));
    clip-path: inset(var(--cinematic-clip) 0 var(--cinematic-clip) 0);
    filter: blur(var(--cinematic-blur)) saturate(.78) contrast(.92);
    transition:
        opacity .9s cubic-bezier(.16, 1, .3, 1),
        transform 1.15s cubic-bezier(.16, 1, .3, 1),
        clip-path 1.15s cubic-bezier(.16, 1, .3, 1),
        filter 1.15s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, clip-path, filter;
}

.content-wrapper .scroll-reveal.visible,
.qs-footer .scroll-reveal.visible {
    opacity: 1;
    transform: translate3d(0, var(--cinematic-active-y, 0px), 0) scale(1);
    clip-path: inset(0 0 0 0);
    filter: blur(0) saturate(1) contrast(1);
}

.content-wrapper .rockstar-character.scroll-reveal,
.content-wrapper .rockstar-media-story.scroll-reveal,
.content-wrapper .explore-strip.scroll-reveal {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
    filter: none;
}

.content-wrapper .story-section {
    min-height: 128vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16vh clamp(1.5rem, 16vw, 17rem);
    text-align: left;
    background:
        radial-gradient(circle at 78% 72%, rgba(255, 122, 87, .12), transparent 28%),
        linear-gradient(180deg, #111117 0%, #151420 55%, #111117 100%);
}

.content-wrapper .story-section.visible .story-text {
    animation: cinematicTextRise 1.15s cubic-bezier(.16, 1, .3, 1) both;
}

.content-wrapper .story-text {
    max-width: 820px;
    font-size: clamp(2.2rem, 3.82vw, 4.85rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
    color: #ff806f;
    text-shadow: 0 18px 70px rgba(255, 78, 112, .14);
    transform-origin: center;
    text-wrap: balance;
}

.content-wrapper .story-text .neon-highlight {
    display: block;
    color: #ff806f;
}

.content-wrapper .character-spotlight {
    min-height: 150vh;
    padding: 11rem 5vw;
}

.content-wrapper .rockstar-character {
    min-height: 228vh;
    padding: 0;
}

.content-wrapper .quote-interstitial {
    min-height: 88vh;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 26%, transparent 74%, rgba(255, 255, 255, .05)),
        #020202;
}

.content-wrapper .quote-interstitial.visible .massive-quote {
    animation: quoteSmashIn .9s cubic-bezier(.16, 1, .3, 1) both;
}

.content-wrapper .cartel-feature {
    min-height: 78vh;
}

.content-wrapper .cartel-bg {
    transform: scale(var(--cartel-scale, 1.08));
    filter: saturate(var(--cartel-saturation, .72)) contrast(var(--cartel-contrast, .9));
    transition: transform .18s linear, filter .18s linear;
}

@keyframes cinematicTextRise {
    from {
        opacity: 0;
        transform: translate3d(0, 52px, 0) scale(.96);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes quoteSmashIn {
    from {
        opacity: 0;
        transform: translate3d(0, 44px, 0) scale(.9);
        letter-spacing: .08em;
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        letter-spacing: 0;
        filter: blur(0);
    }
}

/* Story Context */
.story-section {
    padding: 6rem 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.story-text {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.5;
    color: #ddd;
    max-width: 1000px;
}

.neon-highlight {
    color: var(--neon-highlight);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Character Spotlights & Grids */
.character-spotlight {
    padding: 5rem 5%;
}

.character-header {
    margin-bottom: 3rem;
}

.character-header.right-align {
    text-align: right;
}

.character-name {
    font-family: 'Bebas Neue', cursive;
    font-size: 5rem;
    color: var(--cream);
    letter-spacing: 2px;
    line-height: 1;
    word-wrap: break-word;
}

.character-quote {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #aaa;
    margin-top: -5px;
}

.character-bio {
    max-width: 430px;
    margin-top: 1.4rem;
    font-size: clamp(1rem, 1.55vw, 1.42rem);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .75);
}

.right-align .character-bio {
    margin-left: auto;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.grid-img {
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    border: 1px solid #222;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: border 0.3s ease, filter 0.3s ease;
    pointer-events: auto;
}

.grid-img::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.grid-img:hover::before {
    transform: scale(1.05);
}

.grid-img:hover {
    border-color: #666;
    filter: brightness(1.1);
}

/* Fix chrome autofill white background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.jason-grid .large,
.lucia-grid .large {
    grid-column: span 2;
    grid-row: span 2;
}

.jason-grid .tall,
.lucia-grid .tall {
    grid-column: span 1;
    grid-row: span 2;
}

.jason-grid .medium,
.lucia-grid .medium {
    grid-column: span 1;
    grid-row: span 1;
}

.jason-grid .wide,
.lucia-grid .wide {
    grid-column: span 2;
    grid-row: span 1;
}

.story-scroll-card {
    position: relative;
    min-height: 165vh;
    display: block;
    isolation: isolate;
    overflow-x: clip; /* clip (not hidden) so sticky .character-stage pins to viewport */
    background-image:
        linear-gradient(90deg, rgba(14, 13, 24, .96) 0%, rgba(14, 13, 24, .78) 30%, rgba(14, 13, 24, .25) 60%, rgba(14, 13, 24, .72) 100%),
        var(--feature-bg);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.story-scroll-card::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 74% 25%, rgba(255, 54, 127, .32), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 22%, rgba(0, 0, 0, .82) 100%);
    opacity: var(--panel-glow, .48);
    transform: translate3d(0, var(--panel-bg-y, 0px), 0) scale(var(--panel-bg-scale, 1.04));
    transition: transform .16s linear, opacity .16s linear;
    z-index: -1;
}

.story-scroll-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, #000);
    pointer-events: none;
    z-index: 0;
}

.story-scroll-card .character-header {
    position: sticky;
    top: 22vh;
    z-index: 2;
    width: min(42vw, 560px);
    min-height: 58vh;
    margin-left: clamp(3rem, 10vw, 13rem);
    transform: translate3d(0, var(--card-child-y, 52px), 0);
    opacity: var(--story-opacity, .45);
    padding-top: 0;
    transition: transform .16s linear, opacity .16s linear;
}

.story-scroll-card .character-name {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(4.9rem, 7vw, 8.8rem);
    line-height: .82;
    color: #fff8cc;
    letter-spacing: .01em;
    text-shadow: 0 8px 34px rgba(0, 0, 0, .72);
}

.story-scroll-card .character-quote {
    max-width: 470px;
    margin-top: 1.9rem;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 2.7vw, 3.25rem);
    font-weight: 900;
    line-height: .98;
    color: #ff8ab8;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .78);
}

#gustavo .character-quote {
    margin-left: auto;
}

.story-scroll-card .character-grid {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100vh;
    margin-top: -58vh;
    pointer-events: none;
    display: block;
    transform: translate3d(0, var(--story-grid-y, 54px), 0) scale(var(--image-scale, .985));
    filter: saturate(var(--story-saturation, .72)) contrast(var(--story-contrast, .9));
    transition: transform .16s linear, filter .16s linear;
}

.story-scroll-card .grid-img {
    position: absolute;
    border-radius: 0;
    border: 0;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .7);
    opacity: var(--story-image-opacity, .48);
    transition: transform .16s linear, opacity .16s linear, filter .16s linear;
}

.story-scroll-card .grid-img:nth-child(1) {
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: none;
    opacity: .34;
    transform: translate3d(0, var(--panel-bg-y, 0px), 0) scale(var(--panel-bg-scale, 1.04));
    z-index: -1;
}

.story-scroll-card .grid-img:nth-child(2) {
    right: clamp(2rem, 6vw, 7rem);
    bottom: clamp(1.5rem, 6vh, 5rem);
    width: min(48vw, 760px);
    height: min(48vh, 460px);
    background-size: cover !important;
    background-position: center !important;
    transform: translate3d(var(--image-secondary-x, 0px), var(--image-depth-soft, 17px), 0) scale(var(--image-scale, .985));
    z-index: 3;
}

.story-scroll-card .grid-img:nth-child(3) {
    display: none;
}

.story-scroll-card .grid-img:nth-child(4) {
    display: none;
}

#gustavo.story-scroll-card {
    background-image:
        linear-gradient(270deg, rgba(14, 13, 24, .96) 0%, rgba(14, 13, 24, .78) 30%, rgba(14, 13, 24, .25) 60%, rgba(14, 13, 24, .72) 100%),
        var(--feature-bg);
}

#gustavo .character-header {
    margin-left: auto;
    margin-right: clamp(3rem, 8vw, 12rem);
    text-align: right;
}

#gustavo .character-grid {
    margin-top: -58vh;
}

#gustavo .story-scroll-card .grid-img:nth-child(2),
#gustavo .grid-img:nth-child(2) {
    left: clamp(2rem, 5vw, 6rem);
    right: auto;
}

/* Rockstar-style scroll chapters */
.rockstar-character {
    min-height: 228vh;
    padding: 0;
    display: block;
    background: #111117;
}

.content-wrapper .character-spotlight.rockstar-character {
    min-height: 228vh;
    padding: 0;
}

.rockstar-character .character-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(320px, 43vw) 1fr;
    align-items: center;
    gap: 4vw;
    padding: clamp(5.5rem, 10vh, 8rem) clamp(1.4rem, 7vw, 7rem);
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(17, 17, 23, calc(.2 + var(--chapter-content, 0) * .78)) 0%, rgba(17, 17, 23, calc(.08 + var(--chapter-content, 0) * .78)) 44%, rgba(17, 17, 23, calc(.02 + var(--chapter-content, 0) * .35)) 68%, rgba(17, 17, 23, calc(.18 + var(--chapter-content, 0) * .62)) 100%),
        var(--feature-bg);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.rockstar-character .character-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 28%, rgba(255, 70, 138, calc(.1 + var(--chapter-content, 0) * .16)), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, calc(.18 + var(--chapter-content, 0) * .56)));
    transform: translate3d(0, var(--panel-bg-y, 0px), 0) scale(var(--panel-bg-scale, 1.04));
    pointer-events: none;
    z-index: 0;
}

.rockstar-character .character-cover-name {
    position: absolute;
    left: clamp(1.4rem, 16.5vw, 13.25rem);
    bottom: clamp(2rem, 5vh, 4rem);
    z-index: 2;
    max-width: min(760px, 72vw);
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(4.4rem, 7.2vw, 8.9rem);
    font-weight: 900;
    line-height: .82;
    letter-spacing: .01em;
    color: #fff8c7;
    text-transform: uppercase;
    text-shadow: 0 12px 42px rgba(0, 0, 0, .7);
    opacity: calc(var(--chapter-intro, 1) * .98);
    transform: translate3d(0, calc(var(--chapter-content, 0) * -110px), 0);
    transition: opacity .12s linear, transform .12s linear;
}

.rockstar-character .character-header {
    position: relative;
    top: auto;
    z-index: 2;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    opacity: var(--chapter-content, 0);
    transform: translate3d(0, calc((1 - var(--chapter-content, 0)) * 78px), 0);
    transition: opacity .12s linear, transform .12s linear;
}

.rockstar-character .character-name {
    font-size: clamp(4.9rem, 7.1vw, 8.8rem);
    line-height: .82;
    color: #fff8c7;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.rockstar-character .character-quote {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.7rem, 2.55vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
    color: #ff78ae;
    margin-top: clamp(1.8rem, 3vh, 2.4rem);
}

.rockstar-character .character-bio {
    max-width: 520px;
    font-size: clamp(1.05rem, 1.35vw, 1.55rem);
    line-height: 1.18;
    margin-top: clamp(1.4rem, 2.5vh, 2rem);
    color: #fff;
    font-weight: 800;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .65);
}

.character-video-card {
    position: relative;
    z-index: 2;
    justify-self: end;
    align-self: end;
    width: min(49vw, 780px);
    aspect-ratio: 16 / 9;
    margin-bottom: 2vh;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .18)),
        var(--video-thumb);
    background-size: cover;
    background-position: center;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .64);
    opacity: var(--chapter-content, 0);
    transform: translate3d(calc((1 - var(--chapter-content, 0)) * 64px), calc((1 - var(--chapter-content, 0)) * 54px), 0) scale(calc(.94 + var(--chapter-content, 0) * .06));
    transition: opacity .12s linear, transform .12s linear, filter .2s ease;
}

.character-video-card::before {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
}

.character-video-card::after {
    content: "";
    position: absolute;
    right: 42px;
    bottom: 41px;
    width: 17px;
    height: 17px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(-45deg);
}

.character-video-card:hover {
    filter: brightness(1.12);
}

.video-progress {
    display: none;
}

.video-replay {
    display: none;
}

.rockstar-character-alt .character-stage {
    grid-template-columns: 1fr minmax(320px, 43vw);
    background-image:
        linear-gradient(270deg, rgba(17, 17, 23, calc(.2 + var(--chapter-content, 0) * .78)) 0%, rgba(17, 17, 23, calc(.08 + var(--chapter-content, 0) * .78)) 44%, rgba(17, 17, 23, calc(.02 + var(--chapter-content, 0) * .35)) 68%, rgba(17, 17, 23, calc(.18 + var(--chapter-content, 0) * .62)) 100%),
        var(--feature-bg);
}

.rockstar-character-alt .character-cover-name {
    left: auto;
    right: clamp(1.4rem, 10vw, 8rem);
    text-align: right;
}

.rockstar-character-alt .character-header {
    grid-column: 2;
    text-align: right;
}

.rockstar-character-alt .character-video-card {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    transform: translate3d(calc((1 - var(--chapter-content, 0)) * -64px), calc((1 - var(--chapter-content, 0)) * 54px), 0) scale(calc(.94 + var(--chapter-content, 0) * .06));
}

.rockstar-media-story {
    position: relative;
    min-height: 136vh;
    padding: 0 0 10vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(260px, auto);
    gap: 5vh 1.2vw;
    background: #111117;
    overflow: hidden;
}

.rockstar-media-story .media-panel {
    position: relative;
    z-index: 2;
    min-height: 48vh;
    border: 0;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    box-shadow: none;
    opacity: var(--story-image-opacity, .85);
    transform: translate3d(var(--image-primary-x, 0px), var(--image-depth, 0px), 0);
}

.rockstar-media-story .media-panel-large {
    grid-column: 1;
    width: 100%;
    min-height: 76vh;
}

.rockstar-media-story .media-quote {
    align-self: center;
    max-width: 600px;
    padding: 0 clamp(1.5rem, 7vw, 7rem) 0 clamp(1.5rem, 5vw, 5rem);
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(4.6rem, 7.2vw, 8.7rem);
    line-height: .9;
    letter-spacing: .01em;
    color: #fff8c7;
    text-transform: uppercase;
    transform: translate3d(0, var(--card-child-y, 0px), 0);
}

.rockstar-media-story .media-panel-mid {
    grid-column: 1;
    justify-self: end;
    width: 62%;
    min-height: 44vh;
    transform: translate3d(var(--image-secondary-x, 0px), var(--image-depth-mid, 0px), 0);
}

.rockstar-media-story .media-panel-small {
    grid-column: 2;
    width: 60%;
    min-height: 30vh;
    margin-top: 16vh;
    transform: translate3d(var(--image-wide-x, 0px), var(--image-depth-low, 0px), 0);
}

.rockstar-media-story-alt .media-panel-large {
    grid-column: 2;
}

.rockstar-media-story-alt .media-quote {
    grid-column: 1;
    grid-row: 1;
}

.rockstar-media-story-alt .media-panel-mid {
    grid-column: 2;
}

.rockstar-media-story-alt .media-panel-small {
    grid-column: 1;
}

.explore-strip {
    min-height: auto;
    padding: 9vh 6vw 8vh;
    display: grid;
    grid-template-columns: minmax(280px, 36vw) 1fr;
    gap: 5vw;
    align-items: center;
    background: #111117;
}

.explore-copy span {
    display: block;
    font-size: clamp(1.8rem, 3.4vw, 4rem);
    font-weight: 900;
    line-height: 1;
    color: #ff77a8;
}

.explore-copy a {
    display: inline-flex;
    margin-top: 2rem;
    color: #fff8c7;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 4.5vw, 5.4rem);
    line-height: .88;
    text-decoration: none;
}

.explore-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    transform: translate3d(0, var(--image-depth-soft, 0px), 0);
}

.explore-images .grid-img {
    min-height: 48vh;
    border: 0;
    border-radius: 0;
    background-size: cover;
    background-position: center;
}

.quote-interstitial {
    padding: 10rem 2rem;
    text-align: center;
}

.massive-quote {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

/* REPLACED LOCATION WITH CARTEL SHOWCASE */
.cartel-feature {
    position: relative;
    padding: 7rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: #050505;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.cartel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.2;
    filter: grayscale(100%) contrast(1.2);
}

.cartel-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.cartel-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 7rem;
    color: #fff;
    text-shadow: 2px 2px 0px #800000, 4px 4px 0px #000;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.cartel-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
}

.cartel-separator {
    width: 100px;
    height: 4px;
    background: #800000;
    margin: 2rem auto 0;
}

/* ================= EXACT qstg FOOTER & NEWSLETTER ================= */
.qs-footer {
    background-color: #000000;
    padding: 4rem 2rem 2.5rem;
    position: relative;
    z-index: 10;
    font-family: 'Inter', sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    text-align: center;
}

.wishlist-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.wishlist-platforms {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.plat-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s;
    cursor: pointer;
    pointer-events: auto;
}

.plat-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* The Pill matching exactly the screenshot */
.qs-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 1.5rem 3rem;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 2.5rem;
    background: transparent;
    flex-wrap: wrap;
    pointer-events: auto;
}

.qs-nl-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qs-nl-logo {
    height: 35px;
    width: auto;
    filter: invert(0) brightness(200%);
}

/* Whiten the logo */
.qs-nl-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.qs-nl-center {
    flex: 1;
    font-size: 0.85rem;
    color: #e0e0e0;
    font-weight: 500;
    line-height: 1.4;
    max-width: 450px;
}

.qs-nl-right {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    padding: 5px;
}

.qs-input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    outline: none;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    width: 200px;
}

.qs-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.qs-submit-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.qs-submit-btn:hover {
    transform: scale(1.1);
    color: var(--qstg-orange);
}

.qs-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.qs-links a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: auto;
}

.qs-links a:hover {
    text-decoration: underline;
}

.qs-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-top: none;
    /* Removed border */
}

.qs-rating-box {
    border: 2px solid #fff;
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    border-radius: 50px;
    font-weight: 900;
    letter-spacing: -1px;
}

.qs-rating-text {
    color: #f0f0f0;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 12px;
}

@media (max-width: 1024px) {
    .sidebar-menu {
        grid-template-columns: 44% 56%;
    }

    .sidebar-panel {
        padding: 34px 32px;
    }

    .sidebar-tabs {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 72px;
    }

    .sidebar-tabs a {
        padding: 12px 16px;
    }

    .nav-links li a {
        font-size: clamp(2.7rem, 6.8vw, 4.4rem);
    }

    .trailer-card {
        grid-template-columns: 45% 1fr;
        min-height: 150px;
    }

    .trailer-thumb {
        min-height: 150px;
    }

    .character-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jason-grid .large,
    .lucia-grid .large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .character-name {
        font-size: 4.5rem;
    }

    .rockstar-character .character-stage {
        grid-template-columns: minmax(280px, 44vw) 1fr;
        padding-inline: 5vw;
    }

    .rockstar-character .character-cover-name {
        left: 5vw;
        max-width: 82vw;
    }

    .rockstar-character-alt .character-cover-name {
        right: 5vw;
    }

    .character-video-card {
        width: min(50vw, 640px);
    }

    .rockstar-media-story .media-quote {
        font-size: clamp(3.8rem, 7vw, 6.6rem);
    }

    .qs-newsletter {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 20px;
        padding: 2rem;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .sidebar-menu {
        grid-template-columns: 1fr;
        transform: translateY(-4%);
    }

    .sidebar-visual {
        min-height: 30vh;
        place-items: end center;
        padding-bottom: 24px;
    }

    .sidebar-visual img {
        width: min(46vw, 170px);
    }

    .sidebar-panel {
        min-height: 70vh;
        padding: 24px 24px 34px;
    }

    .sidebar-close {
        top: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }

    .sidebar-tabs {
        padding-right: 54px;
        margin-bottom: 42px;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .sidebar-tabs::-webkit-scrollbar {
        display: none;
    }

    .sidebar-tabs a {
        white-space: nowrap;
        flex: 0 0 auto;
        padding: 11px 16px;
    }

    .sidebar-content {
        align-items: flex-start;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links li a {
        font-size: clamp(2.35rem, 13vw, 4.2rem);
        line-height: .95;
    }

    .sidebar-trailers {
        gap: 14px;
    }

    .trailer-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .trailer-thumb {
        min-height: 150px;
    }

    .trailer-info {
        padding: 18px;
    }

    .trailer-play {
        width: 58px;
        height: 58px;
    }

    .main-header {
        padding: 1.5rem;
    }

    .main-header.scrolled {
        padding: 1rem 1.5rem;
    }

    .character-name {
        font-size: 3rem;
    }

    .character-quote {
        font-size: 1.6rem;
    }

    .cartel-heading {
        font-size: 4.5rem;
    }

    .character-grid {
        display: flex;
        flex-direction: column;
    }

    .story-scroll-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 0;
        gap: 2rem;
        background-position: center top;
    }

    .content-wrapper .story-section {
        min-height: 100vh;
        padding: 15vh 1.5rem;
    }

    .content-wrapper .story-text {
        font-size: clamp(2.05rem, 10vw, 3.45rem);
        line-height: 1.04;
    }

    .rockstar-character {
        min-height: auto;
    }

    .rockstar-character .character-stage,
    .rockstar-character-alt .character-stage {
        position: relative;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        padding: 48vh 1.25rem 3rem;
        background-image:
            linear-gradient(180deg, rgba(17, 17, 23, .06) 0%, rgba(17, 17, 23, .34) 38%, rgba(17, 17, 23, .95) 76%, #111117 100%),
            var(--feature-bg);
        background-position: center top;
    }

    .rockstar-character .character-cover-name,
    .rockstar-character-alt .character-cover-name {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        max-width: 100%;
        margin-bottom: 1.5rem;
        font-size: clamp(3.9rem, 17vw, 6rem);
        text-align: left;
        opacity: 1;
        transform: none;
    }

    .rockstar-character .character-header,
    .rockstar-character-alt .character-header {
        grid-column: auto;
        text-align: left;
        opacity: 1;
        transform: none;
    }

    .rockstar-character .character-name {
        display: none;
    }

    .rockstar-character .character-quote {
        font-size: clamp(1.75rem, 7.8vw, 2.55rem);
    }

    .rockstar-character .character-bio {
        font-size: 1.02rem;
        line-height: 1.24;
    }

    .character-video-card,
    .rockstar-character-alt .character-video-card {
        width: 100%;
        margin: 2rem 0 0;
        transform: none;
        opacity: 1;
        align-self: stretch;
        justify-self: stretch;
    }

    .rockstar-media-story,
    .rockstar-media-story-alt {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .rockstar-media-story .media-panel,
    .rockstar-media-story .media-panel-large,
    .rockstar-media-story .media-panel-mid,
    .rockstar-media-story .media-panel-small,
    .rockstar-media-story-alt .media-panel-large,
    .rockstar-media-story-alt .media-panel-mid,
    .rockstar-media-story-alt .media-panel-small {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        min-height: 58vh;
        margin: 0;
        transform: none;
    }

    .rockstar-media-story .media-quote,
    .rockstar-media-story-alt .media-quote {
        grid-column: auto;
        grid-row: auto;
        padding: 3rem 1.25rem;
        font-size: clamp(3.2rem, 16vw, 5.4rem);
    }

    .explore-strip {
        grid-template-columns: 1fr;
        padding: 4rem 1.25rem;
    }

    .explore-images {
        grid-template-columns: 1fr;
    }

    .story-scroll-card::before {
        inset: -4%;
    }

    .story-scroll-card::after {
        display: none;
    }

    .story-scroll-card .character-header {
        position: static;
        transform: none;
        opacity: 1;
        padding-top: 0;
    }

    .story-scroll-card .character-grid {
        min-height: auto;
        transform: none;
    }

    #gustavo.story-scroll-card {
        grid-template-columns: 1fr;
    }

    #gustavo .character-header,
    #gustavo .character-grid {
        grid-column: auto;
        grid-row: auto;
    }

    .grid-img {
        height: 300px;
        pointer-events: auto;
    }

    .massive-quote {
        font-size: 2.5rem;
    }

    .qs-links {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .rockstar-character {
        min-height: auto;
        padding: 0;
    }

    .rockstar-character .character-stage,
    .rockstar-character-alt .character-stage {
        position: relative;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        gap: 0;
        padding: 48vh 1.25rem 3rem;
        background-image:
            linear-gradient(180deg, rgba(17, 17, 23, .06) 0%, rgba(17, 17, 23, .34) 38%, rgba(17, 17, 23, .95) 76%, #111117 100%),
            var(--feature-bg);
        background-position: center top;
    }

    .rockstar-character .character-cover-name,
    .rockstar-character-alt .character-cover-name {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        max-width: 100%;
        margin-bottom: 1.5rem;
        font-size: clamp(3.9rem, 17vw, 6rem);
        text-align: left;
        opacity: 1;
        transform: none;
    }

    .rockstar-character .character-header,
    .rockstar-character-alt .character-header {
        grid-column: auto;
        text-align: left;
        opacity: 1;
        transform: none;
    }

    .rockstar-character .character-name {
        display: none;
    }

    .rockstar-character .character-quote {
        font-size: clamp(1.7rem, 8vw, 2.6rem);
    }

    .character-video-card,
    .rockstar-character-alt .character-video-card {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        justify-self: stretch;
        margin: 2rem 0 0;
        opacity: 1;
        transform: none;
    }

    .rockstar-media-story,
    .rockstar-media-story-alt {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0 1rem;
    }

    .rockstar-media-story .media-panel-large,
    .rockstar-media-story .media-panel-mid,
    .rockstar-media-story .media-panel-small,
    .rockstar-media-story-alt .media-panel-large,
    .rockstar-media-story-alt .media-panel-mid,
    .rockstar-media-story-alt .media-panel-small {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        min-height: 58vh;
        margin: 0;
        transform: none;
    }

    .rockstar-media-story .media-quote,
    .rockstar-media-story-alt .media-quote {
        grid-column: auto;
        grid-row: auto;
        padding: 3rem 1.25rem;
        font-size: clamp(3.5rem, 15vw, 5.6rem);
    }

    .explore-strip {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 4rem 1.25rem;
    }

    .explore-images {
        grid-template-columns: 1fr;
    }

    .explore-images .grid-img {
        min-height: 42vh;
    }
}

/* ===================================================================== */
/* ============== GTA VI STYLE LANDING (rockstargames.com/VI) =========== */
/* ===================================================================== */

body {
    background-color: #0a0b16;
}

.content-wrapper {
    background: #0a0b16;
    position: relative;
    z-index: 5;
}

/* ---------- HERO: artwork collage + centered logo ---------- */
.vi6-hero {
    position: relative;
    z-index: 5;
    background: #0a0b16;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 38px;
    padding: 120px clamp(16px, 4vw, 64px) 70px;
}

.vi6-collage {
    position: relative;
    width: 100%;
    max-width: 1320px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
        "t1 t2 t2 t3"
        "t4 t2 t2 t3"
        "t4 t5 t6 t7";
    grid-auto-rows: clamp(118px, 13.5vw, 196px);
    gap: 12px;
    opacity: 0;
    transform: scale(.985);
    animation: vi6FadeIn 1.1s cubic-bezier(.16,1,.3,1) 2s forwards;
}

.vi6-tile {
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 14px 40px rgba(0,0,0,.4);
    transition: transform .4s cubic-bezier(.16,1,.3,1), filter .4s ease;
    cursor: pointer;
}
.vi6-tile:hover { transform: translateY(-4px); filter: brightness(1.08); }

.vi6-t1 { grid-area: t1; }
.vi6-t2 { grid-area: t2; }
.vi6-t3 { grid-area: t3; }
.vi6-t4 { grid-area: t4; }
.vi6-t5 { grid-area: t5; }
.vi6-t6 { grid-area: t6; }
.vi6-t7 { grid-area: t7; }

.vi6-logo {
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(220px, 34%, 520px);
    height: auto;
    z-index: 6;
    filter: drop-shadow(0 18px 50px rgba(0,0,0,.7));
    pointer-events: none;
}

.vi6-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    opacity: 0;
    animation: vi6FadeUp 1s ease 2.5s forwards;
}
.vi6-pre {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: .12em;
    color: #fff;
    text-align: center;
}
.vi6-platforms { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.vi6-plat {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(255,255,255,.85);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.vi6-plat-pill {
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.05);
}

.vi6-scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.65);
    animation: vi6FadeIn 1s ease 3s forwards, bobbing 2s ease-in-out infinite alternate;
    opacity: 0;
}

/* ---------- STORY (screen 2) ---------- */
.vi6-story {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(60px, 9vw, 130px) clamp(16px, 4vw, 64px) 30px;
}
.vi6-story-title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #ff2d3a;
    margin-bottom: 28px;
}
.vi6-story-text {
    font-size: clamp(1.3rem, 2.6vw, 2.3rem);
    line-height: 1.32;
    font-weight: 600;
    max-width: 1100px;
    background: linear-gradient(120deg, #ff1a2e 0%, #ff5a3c 55%, #ffa07a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.vi6-story-img {
    margin-top: clamp(40px, 6vw, 80px);
    width: 100%;
    height: clamp(280px, 40vw, 560px);
    border-radius: 18px;
    background-size: cover;
    background-position: center top;
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
    cursor: pointer;
}

/* ---------- FEATURE CARDS (screen 3-4) ---------- */
.vi6-cards {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 90px) clamp(16px, 4vw, 64px) clamp(60px, 9vw, 120px);
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3vw, 40px);
}
.vi6-card {
    position: relative;
    min-height: clamp(360px, 46vw, 620px);
    border-radius: 18px;
    overflow: hidden;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
    display: flex;
    align-items: flex-end;
}
.vi6-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,9,20,.86) 0%, rgba(8,9,20,.45) 38%, rgba(8,9,20,0) 70%);
}
.vi6-card-body {
    position: relative;
    z-index: 2;
    padding: clamp(28px, 4vw, 60px);
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.vi6-card-right {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
}
.vi6-card-right.vi6-card-body { }
.vi6-card:nth-child(2)::before {
    background: linear-gradient(270deg, rgba(8,9,20,.86) 0%, rgba(8,9,20,.45) 38%, rgba(8,9,20,0) 70%);
}
.vi6-card-kicker {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: #a9c4ff;
}
.vi6-card-title {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    color: #ffe7a6;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.vi6-card-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    max-width: 420px;
}
.vi6-card-btn {
    margin-top: 8px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 26px;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    color: #1a0d12;
    cursor: pointer;
    transition: transform .25s ease, filter .25s ease;
}
.vi6-card-right .vi6-card-btn { align-self: flex-end; }
.vi6-card-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.vi6-btn-peach { background: #ffb59e; }
.vi6-btn-green { background: #c8f479; }
.vi6-play { font-size: .8rem; }
.vi6-arrow { font-size: 1.1rem; }

/* ---------- FOOTER (screen 5) ---------- */
.vi6-footer {
    background: #0a0b16 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 64px) 60px;
    text-align: center;
}
.vi6-foot-logo { width: clamp(120px, 16vw, 180px); height: auto; }
.vi6-wishlist {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.vi6-wishlist-label { font-size: 1.3rem; font-weight: 800; color: #fff; }

.vi6-newsletter {
    max-width: 940px;
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
}
.vi6-social {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.vi6-social a {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    text-decoration: none !important;
    border-bottom: 0;
    transition: border-color .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}
.vi6-social a:hover,
.vi6-social a:focus,
.vi6-social a:visited {
    text-decoration: none !important;
}
.vi6-social a:focus-visible {
    outline: none;
}
.vi6-social a[aria-label="X"]:is(:hover, :focus-visible) {
    color: #ffffff;
    border-color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.12);
    box-shadow: 0 8px 26px rgba(255,255,255,.12);
}
.vi6-social a[aria-label="Instagram"]:is(:hover, :focus-visible) {
    color: #ffffff;
    border-color: #fd1d1d;
    background: linear-gradient(135deg, rgba(131,58,180,.5), rgba(253,29,29,.48), rgba(252,176,69,.48));
    box-shadow: 0 8px 28px rgba(253,29,29,.24);
}
.vi6-social a[aria-label="YouTube"]:is(:hover, :focus-visible) {
    color: #ffffff;
    border-color: #ff0000;
    background: rgba(255,0,0,.58);
    box-shadow: 0 8px 28px rgba(255,0,0,.25);
}
.vi6-social a[aria-label="TikTok"]:is(:hover, :focus-visible) {
    color: #25f4ee;
    border-color: #25f4ee;
    background: rgba(37,244,238,.1);
    text-shadow: 2px 1px 0 #fe2c55;
    box-shadow: 0 8px 28px rgba(37,244,238,.18);
}
.vi6-social a[aria-label="Facebook"]:is(:hover, :focus-visible) {
    color: #ffffff;
    border-color: #1877f2;
    background: rgba(24,119,242,.62);
    box-shadow: 0 8px 28px rgba(24,119,242,.24);
}
.vi6-social a[aria-label="Twitch"]:is(:hover, :focus-visible) {
    color: #ffffff;
    border-color: #9146ff;
    background: rgba(145,70,255,.62);
    box-shadow: 0 8px 28px rgba(145,70,255,.24);
}
.vi6-social a[aria-label="Discord"]:is(:hover, :focus-visible) {
    color: #ffffff;
    border-color: #5865f2;
    background: rgba(88,101,242,.64);
    box-shadow: 0 8px 28px rgba(88,101,242,.24);
}
.vi6-footer .qs-links { justify-content: center; }
.vi6-rating { justify-content: center; }

/* Single cover image variant (replaces collage mosaic) */
.vi6-cover-wrap {
    display: block;
    grid-template-columns: none;
    grid-template-areas: none;
    grid-auto-rows: auto;
    gap: 0;
}
.vi6-cover {
    width: 100%;
    height: clamp(360px, 56vw, 760px);
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
    cursor: default;
}

@keyframes vi6FadeIn { to { opacity: 1; transform: scale(1); } }
@keyframes vi6FadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
    .vi6-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "t2 t2"
            "t2 t2"
            "t1 t3"
            "t4 t5"
            "t6 t7";
        grid-auto-rows: clamp(110px, 30vw, 180px);
    }
    .vi6-logo { width: clamp(180px, 56%, 340px); }
    .vi6-card { min-height: clamp(340px, 90vw, 460px); }
    .vi6-card::before,
    .vi6-card:nth-child(2)::before {
        background: linear-gradient(0deg, rgba(8,9,20,.92) 0%, rgba(8,9,20,.5) 45%, rgba(8,9,20,0) 85%);
    }
    .vi6-card-body, .vi6-card-right {
        max-width: 100%;
        text-align: left;
        align-items: flex-start;
        margin-left: 0;
    }
    .vi6-card-right .vi6-card-btn, .vi6-card-btn { align-self: flex-start; }
    .vi6-story-text { font-size: 1.3rem; }

    .vi6-hero { padding: 96px 16px 56px; gap: 26px; }
    .vi6-cover { height: clamp(320px, 78vw, 460px); }
    .vi6-pre { font-size: 1.5rem; }
    .vi6-story { padding: 90px 18px 24px; }
    .vi6-story-title { font-size: clamp(2rem, 9vw, 3rem); }
    .vi6-card-title { font-size: clamp(1.7rem, 8vw, 2.6rem); }
    .vi6-newsletter { border-radius: 26px; }
    .vi6-wishlist-label { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .vi6-hero { padding: 84px 12px 48px; }
    .vi6-cover { height: clamp(300px, 92vw, 420px); border-radius: 12px; }
    .vi6-logo { width: clamp(150px, 52%, 260px); }
    .vi6-pre { font-size: 1.25rem; letter-spacing: .08em; }
    .vi6-platforms { gap: 8px; }
    .vi6-plat-pill { padding: 7px 13px; font-size: .72rem; }
    .vi6-story { padding: 72px 16px 20px; }
    .vi6-story-text { font-size: 1.12rem; }
    .vi6-cards { padding: 30px 14px 60px; gap: 18px; }
    .vi6-card { min-height: clamp(300px, 92vw, 400px); border-radius: 14px; }
    .vi6-card-body { padding: 22px; gap: 12px; }
    .vi6-card-sub { font-size: .95rem; }
    .vi6-card-btn { height: 46px; padding: 0 20px; font-size: .92rem; }
    .vi6-footer { gap: 24px; padding: 46px 14px 50px; }
    .vi6-wishlist { gap: 10px; }
    .vi6-social a { width: 38px; height: 38px; font-size: .95rem; }
    .qs-links { flex-direction: column; gap: 10px; text-align: center; }
}
