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

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

:root {
    --primary-color: #0F1923;
    --accent-color: #FF4655;
    --accent-cyan: #00D9FF;
    --accent-glow: rgba(255, 70, 85, 0.6);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-light: #ECE8E1;
    --font-header: 'Oswald', sans-serif;
    --font-ui: 'Inter', sans-serif;
}

body {
    font-family: var(--font-ui);
    background-color: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - transparent, gains bg on scroll */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 0;
    padding-bottom: 0;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
}

#main-header.scrolled {
    background: rgba(15, 25, 35, 0.97);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

#main-header::before {
    display: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo img {
    height: 50px;
}



.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn-primary)::before {
    content: '▶';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.nav-links a:not(.btn-primary):hover::before {
    opacity: 1;
    left: -20px;
}

/* Language Selector */
.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    gap: 0.5rem;
    /* clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); Removed slanted style */
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--accent-color);
    background: rgba(255, 70, 85, 0.1);
}

.lang-btn i {
    color: var(--accent-color);
    font-size: 1rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--primary-color);
    border: 1px solid var(--accent-color);
    width: 150px;
    display: none;
    flex-direction: column;
    z-index: 1001;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.active {
    display: flex;
}

.lang-option {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 1rem;
    text-align: left;
    font-family: var(--font-header);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--accent-color);
    color: var(--text-primary);
    padding-left: 1.5rem;
}

/* Buttons - Modified to Square Style */
.btn-primary {
    padding: 0.8rem 2.5rem;
    background: var(--accent-color);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    display: inline-block;
    /* clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); Removed slanted style */
}

/* Primary Button Glow Effect */
.btn-primary:hover {
    background: #ff5865;
    transform: scale(1.05);
    /* Slightly larger */
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
    /* Intense glow */
    z-index: 1;
}

/* Removed the complex border pseudo-element for cleaner look */
.btn-primary::before {
    display: none;
}

.btn-large {
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
}

.btn-secondary {
    padding: 0.8rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    /* clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); Removed slanted style */
    position: relative;
    overflow: hidden;
    /* For fill effect */
    z-index: 1;
}

/* Secondary Button Fill Effect */
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--text-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    border-color: var(--text-primary);
}

.btn-secondary:hover::before {
    width: 100%;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('hero_bg.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(15,25,35,0.3) 0%, rgba(15,25,35,0.1) 45%, rgba(15,25,35,0.95) 100%),
        linear-gradient(135deg, rgba(255,70,85,0.07) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-logo {
    max-width: 500px;
    width: 80%;
    margin-bottom: 1.5rem;
    filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.3));
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    font-family: var(--font-ui);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section with Racing Aesthetics */
#features {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(15, 25, 35, 0.95) 100%);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.racing-stripe {
    width: 150px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-header);
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.section-title .highlight {
    color: var(--accent-color);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
    border-left: 3px solid var(--accent-color);
    padding: 3rem 2rem;
    position: relative;
    transition: none;
}

.feature-card::before {
    content: attr(data-position);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-header);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 70, 85, 0.15);
    line-height: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 3.5rem;
}

.feature-card h3 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.feature-card h3 span {
    color: var(--accent-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Featured Sections - Asymmetric Racing Style */
.featured-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.featured-section.featured-left {
    background: var(--bg-light);
    clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
}

.featured-section.featured-right {
    background: var(--accent-color);
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.featured-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.featured-text {
    padding: 2rem;
    position: relative;
}

.section-number {
    font-family: var(--font-header);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.15;
    position: absolute;
    top: -2rem;
    left: 0;
    z-index: 0;
}

.featured-section.featured-left .featured-text {
    color: var(--primary-color);
}

.featured-section.featured-left .section-number {
    color: var(--accent-color);
}

.featured-section.featured-right .featured-text {
    color: var(--text-primary);
}

.featured-section.featured-right .section-number {
    color: rgba(15, 25, 35, 0.8);
}

.featured-text h2 {
    font-family: var(--font-header);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.featured-text h2 .highlight {
    color: var(--accent-color);
}

.featured-section.featured-right .featured-text h2 .highlight {
    color: var(--primary-color);
}

.featured-text h3 {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.featured-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.featured-section.featured-left .featured-text p {
    color: rgba(15, 25, 35, 0.85);
}

.featured-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid;
    border-color: var(--accent-color) var(--accent-color) transparent transparent;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.featured-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    transform: translateX(20px);
}

.featured-section.featured-right .btn-primary {
    background: var(--primary-color);
    color: var(--text-primary);
}

.featured-section.featured-right .btn-primary::before {
    border-color: rgba(255, 255, 255, 0.5);
}

.featured-section.featured-right .btn-primary:hover {
    background: rgba(15, 25, 35, 0.8);
}

/* Patch Notes */
#patch-notes,
#latest-patches {
    background: #ece8e1;
    color: var(--primary-color);
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

#patch-notes::before,
#latest-patches::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 70, 85, 0.12), transparent 32%),
        repeating-linear-gradient(90deg, rgba(15, 25, 35, 0.05), rgba(15, 25, 35, 0.05) 1px, transparent 1px, transparent 110px);
    pointer-events: none;
}

#patch-notes .container,
#latest-patches .container {
    position: relative;
    z-index: 1;
}

.patch-notes-page #patch-notes {
    padding-top: 12rem;
}

#latest-patches {
    padding: 6rem 2rem;
}

.patch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.patch-eyebrow,
.patch-type {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.patch-view-all {
    color: var(--primary-color);
    font-family: var(--font-header);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.25rem;
}

.patch-feature {
    background: var(--primary-color);
    color: var(--text-primary);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    min-height: 420px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(15, 25, 35, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.patch-feature[data-patch-url],
.patch-card[data-patch-url] {
    cursor: pointer;
}

.patch-feature[data-patch-url]:hover,
.patch-card[data-patch-url]:hover {
    transform: translateY(-4px);
}

.patch-feature-media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.patch-feature-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 50%, rgba(15, 25, 35, 0.75));
}

.patch-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.patch-feature-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.patch-feature h2,
.patch-feature h3,
.patch-card h3 {
    font-family: var(--font-header);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.patch-feature h2,
.patch-feature h3 {
    font-size: 3rem;
    margin: 0.75rem 0 1rem;
}

.patch-feature p,
.patch-card p {
    line-height: 1.7;
}

.patch-feature p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.patch-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.patch-meta a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.patch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.patch-card {
    background: #fff;
    border-top: 5px solid var(--accent-color);
    padding: 1.75rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 35px rgba(15, 25, 35, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.patch-card[data-patch-url]:hover {
    box-shadow: 0 20px 45px rgba(15, 25, 35, 0.22);
}

/* Patch Detail */
.patch-detail-page {
    background: #ece8e1;
    color: var(--primary-color);
}

.patch-detail-hero {
    min-height: 78vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.patch-detail-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patch-detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 25, 35, 0.96), rgba(15, 25, 35, 0.55) 55%, rgba(15, 25, 35, 0.25));
}

.patch-detail-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 5rem;
}

.patch-back-link {
    color: var(--accent-cyan);
    display: inline-block;
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
}

.patch-detail-hero h1 {
    color: #fff;
    font-family: var(--font-header);
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.95;
    max-width: 880px;
    text-transform: uppercase;
}

.patch-detail-hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 1.2rem 0 1rem;
}

.patch-detail-hero time,
.patch-detail-section time {
    color: var(--accent-color);
    display: block;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.patch-detail-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 4rem;
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.patch-detail-nav {
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 130px;
}

.patch-detail-nav a {
    border-left: 4px solid rgba(15, 25, 35, 0.16);
    color: rgba(15, 25, 35, 0.72);
    font-family: var(--font-header);
    font-weight: 700;
    padding: 0.65rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.patch-detail-nav a:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.patch-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.patch-detail-section {
    background: #fff;
    border-top: 5px solid var(--accent-color);
    padding: 2.5rem;
    scroll-margin-top: 120px;
}

.patch-detail-section h2 {
    font-family: var(--font-header);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
    margin: 0.65rem 0 1.25rem;
    text-transform: uppercase;
}

.patch-detail-section h3 {
    font-family: var(--font-header);
    font-size: 1.7rem;
    margin: 2rem 0 0.75rem;
    text-transform: uppercase;
}

.patch-detail-section p,
.patch-detail-section li {
    color: rgba(15, 25, 35, 0.78);
    font-size: 1.05rem;
    line-height: 1.85;
}

.patch-detail-section ul {
    margin: 1rem 0 1.5rem 1.25rem;
}

.patch-detail-section blockquote {
    border-left: 5px solid var(--accent-color);
    color: var(--primary-color);
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.ability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.ability-grid > div {
    background: rgba(15, 25, 35, 0.06);
    padding: 1.5rem;
}

.patch-card h3 {
    font-size: 1.8rem;
    margin: 0.75rem 0 1rem;
}

.patch-card p {
    color: rgba(15, 25, 35, 0.72);
    margin-bottom: 1.5rem;
}

.patch-card time {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(15, 25, 35, 0.55);
}

/* CTA Section with Speed Lines */
#cta {
    background: linear-gradient(120deg, rgba(255, 70, 85, 0.15), rgba(15, 25, 35, 0.95));
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(255, 70, 85, 0.03) 20px,
            rgba(255, 70, 85, 0.03) 40px);
}

.cta-box {
    text-align: center;
    padding: 4rem 2rem;
    border: 3px solid var(--accent-color);
    position: relative;
    background: rgba(15, 25, 35, 0.9);
}

.cta-box::before,
.cta-box::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
}

.cta-box::before {
    top: -3px;
    left: -3px;
    border-top: 5px solid var(--accent-color);
    border-left: 5px solid var(--accent-color);
}

.cta-box::after {
    bottom: -3px;
    right: -3px;
    border-bottom: 5px solid var(--accent-color);
    border-right: 5px solid var(--accent-color);
}

.cta-box h2 {
    font-family: var(--font-header);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: #060c12;
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255,70,85,0.3);
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-cyan), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 44px;
    opacity: 0.85;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-icon {
    width: 46px;
    height: 46px;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
}

.social-icon i {
    font-size: 1.15rem;
}

.social-icon:hover {
    color: #fff;
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255,70,85,0.4);
}

footer p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.28);
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal-text,
.reveal-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.reveal-text.delay-1 {
    animation-delay: 0.2s;
}

.reveal-text.delay-2 {
    animation-delay: 0.4s;
}

.reveal-item {
    animation-delay: 0.1s;
}

.reveal-item:nth-child(2) {
    animation-delay: 0.3s;
}

.reveal-item:nth-child(3) {
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 968px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .featured-image img {
        transform: translateX(0);
        max-width: 450px;
    }

    .section-title {
        font-size: 3rem;
    }

    .featured-text h2 {
        font-size: 3rem;
    }

    .patch-feature {
        grid-template-columns: 1fr;
    }

    .patch-feature-media::after {
        background: linear-gradient(0deg, rgba(15, 25, 35, 0.72), transparent 65%);
    }

    .patch-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1rem;
    }

    .featured-text h2 {
        font-size: 2.2rem;
    }

    .featured-text {
        padding: 1rem;
    }

    .featured-image img {
        max-width: 100%;
    }

    .featured-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    #patch-notes,
    #latest-patches {
        padding: 5rem 1rem;
    }

    .patch-notes-page #patch-notes {
        padding-top: 10rem;
    }

    .patch-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .patch-feature-content {
        padding: 2rem;
    }

    .patch-feature h2,
    .patch-feature h3 {
        font-size: 2.2rem;
    }

    .patch-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 3rem;
    }

    .patch-detail-nav {
        position: static;
    }

    .patch-detail-section {
        padding: 1.5rem;
    }

    .ability-grid {
        grid-template-columns: 1fr;
    }

    .section-number {
        font-size: 3.5rem;
        top: -1rem;
    }
}

/* -------------------------------------------------------------------------- */
/*                                DRIVERS PAGE                                */
/* -------------------------------------------------------------------------- */

.drivers-page {
    background-color: #0c0e12;
    overflow-x: hidden;
    min-height: 100vh;
}

#drivers-hero {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Tekken/Fighting game vibe background */
    background: radial-gradient(circle at 50% 20%, #2a1a35 0%, #0F1923 80%);
}

.drivers-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Hex grid or subtle texture */
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.drivers-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
}

/* Header with Brackets */
.drivers-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 50;
}

.brackets-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.bracket {
    width: 20px;
    height: 60px;
    border: 3px solid var(--accent-color);
    border-right: none;
    position: relative;
}

.bracket:last-child {
    border-left: none;
    border-right: 3px solid var(--accent-color);
}

.drivers-header h1 {
    font-family: var(--font-header);
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 70, 85, 0.5);
    line-height: 1;
}

.drivers-header .highlight {
    color: var(--accent-color);
}

.drivers-header .subtitle {
    font-family: var(--font-ui);
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: var(--accent-cyan);
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Header Content Layout */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    flex-wrap: wrap;
}

/* Filter Styles */
.filter-container {
    position: relative;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-header);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    background: var(--accent-color);
    color: var(--text-primary);
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(15, 25, 35, 0.95);
    border: 1px solid var(--accent-color);
    min-width: 180px;
    z-index: 100;
    display: none;
    flex-direction: column;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.filter-dropdown.active {
    display: flex;
}

.filter-option {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 1rem;
    text-align: left;
    font-family: var(--font-ui);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option:hover {
    background: rgba(255, 70, 85, 0.2);
    color: var(--accent-color);
    padding-left: 1.5rem;
}

/* Role Separator */
.role-separator {
    grid-column: 1 / -1;
    width: 100%;
    margin: 2rem 0 1rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.role-separator h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    color: var(--accent-cyan);
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.role-separator::after {
    content: '';
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, var(--accent-cyan), transparent);
    display: block;
}

/* Drivers Grid */
.drivers-grid {
    display: grid;
    /* Use grid to keep it centered and tight */
    grid-template-columns: repeat(6, 1fr);
    /* 6 columns for single row */
    gap: 15px;
    margin: 0 auto;
    max-width: 1300px;
    width: 100%;
    align-content: start;
    perspective: 1000px;
}

/* Responsive adjustments for filter */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}

.driver-card {
    position: relative;
    width: 100%;
    /* Responsive to grid cell */
    aspect-ratio: 3/4;
    /* Maintain vertical ratio */
    min-height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.1);
    /* Slanted/Cut corners */
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

/* Hover & Active States */
.driver-card:hover,
.driver-card.active {
    border-color: var(--text-primary);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.6));
}

.driver-card.active {
    box-shadow: 0 0 30px rgba(255, 70, 85, 0.4);
    border-color: var(--accent-color);
}

.driver-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    transition: transform 0.3s ease;
    filter: grayscale(100%) contrast(1.2);
}

.driver-card:hover .driver-image,
.driver-card.active .driver-image {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.1);
}

/* Role Icon */
.role-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    z-index: 5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.driver-card[data-role="DPS"] .role-icon {
    border-color: #ff4655;
    color: #ff4655;
}

.driver-card[data-role="Tank"] .role-icon {
    border-color: #00d9ff;
    color: #00d9ff;
}

.driver-card[data-role="Support"] .role-icon {
    border-color: #00ff99;
    color: #00ff99;
}

.driver-card:hover .role-icon {
    background: #fff;
    transform: scale(1.1);
}

.driver-card:hover .role-icon i {
    color: #000;
}

/* Locked State */
.driver-card.locked {
    cursor: not-allowed;
    border-color: transparent;
    opacity: 0.5;
}

.driver-card.locked .driver-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.driver-card.locked i {
    font-size: 3rem;
    color: #444;
}

.driver-card.locked:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 0, 0, 0.3);
}

/* Name Plate */
.driver-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.driver-info h3 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
}

.driver-card.active .driver-info h3 {
    color: var(--accent-color);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .drivers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .drivers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .drivers-header h1 {
        font-size: 2.5rem;
    }
}

/* Link active state in nav for new page */
.nav-links li a.active {
    color: var(--accent-color);
}

/* Driver Details Overlay (Universe Style) */
.driver-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0a0a0f;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.driver-overlay::-webkit-scrollbar {
    width: 6px;
}

.driver-overlay::-webkit-scrollbar-track {
    background: transparent;
}

.driver-overlay::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
}

.driver-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-url);
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.2);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: -1;
    transform: scale(1.1);
}

.driver-overlay.active::before {
    opacity: 1;
    transform: scale(1);
}

.overlay-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, transparent 0%, rgba(10, 10, 15, 0.8) 60%, #0a0a0f 100%);
    z-index: 0;
}

.driver-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.close-overlay-btn {
    position: absolute;
    top: 50px;
    right: 50px;
    background: rgba(10, 10, 15, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-overlay-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: rotate(90deg);
}

.overlay-content {
    position: relative;
    z-index: 10;
    display: flex;
    width: 100%;
    min-height: 100vh;
    max-width: 1600px;
    padding: 8rem 5% 8rem;
    gap: 4rem;
    align-items: flex-start;
    justify-content: space-between;
}

/* Character Image Section (Universe Style) */
.char-image-section {
    flex: 1.2;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100px) scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    order: 2;
}

.driver-overlay.active .char-image-section {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.char-image-section {
    position: sticky;
    top: 10vh;
}

.char-image-section img {
    height: 90vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 80px rgba(0, 0, 0, 0.9));
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* Character Info Section (Universe Style) */
.char-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    color: #fff;
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    order: 1;
    max-width: 600px;
}

.driver-overlay.active .char-info-section {
    transform: translateX(0);
    opacity: 1;
}

.char-header {
    margin-bottom: 1rem;
}

.char-header h1 {
    font-family: var(--font-header);
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 900;
    line-height: 0.8;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -3px;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
}

.char-header h2 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin: 0;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}

.char-tags {
    display: flex;
    gap: 2rem;
}

.char-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-family: var(--font-ui);
    transform: skew(-10deg);
}

.tag-label {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.9rem;
}

.tag-value {
    color: #fff;
    font-weight: 600;
}

.char-bio {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #eee;
    max-width: 100%;
    border: none;
    padding: 0;
    margin: 1.5rem 0;
    font-weight: 400;
    opacity: 0.9;
}

/* Stats Bars */
.char-stats {
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
}

.char-stats h3 {
    font-family: var(--font-header);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.stat-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.stat-label {
    width: 100px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.stat-bar-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.stat-bar {
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 1s ease-out 0.5s;
    width: 0;
}

/* Related Section (Universe Style) */
.related-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-section h3 {
    font-family: var(--font-header);
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.related-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.related-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100px;
}

.related-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #111;
}

.related-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.related-item:hover .related-circle {
    border-color: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.3);
}

.related-item:hover .related-circle img {
    filter: grayscale(0%);
}

.related-item span {
    font-family: var(--font-header);
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.related-item:hover span {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .overlay-content {
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
        padding-top: 4rem;
        height: 100%;
        gap: 2rem;
    }

    .char-image-section {
        flex: none;
        height: 40vh;
        width: 100%;
        transform: translateY(-20px);
    }

    .char-info-section {
        width: 100%;
        padding-bottom: 2rem;
        transform: translateY(20px);
    }
}
/* ============================================================
   NEW HOMEPAGE COMPONENTS
   ============================================================ */

/* Hero scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.scroll-arrow {
    animation: bounceDown 1.8s ease-in-out infinite;
    color: var(--accent-color);
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(8px); opacity: 0.5; }
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.25;
    animation: particleDrift linear infinite;
}

@keyframes particleDrift {
    0%   { transform: translateY(0) scale(1);   opacity: 0.25; }
    50%  { opacity: 0.5; }
    100% { transform: translateY(-120vh) scale(0.4); opacity: 0; }
}

/* Ghost button */
.btn-ghost {
    padding: 0.8rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.btn-ghost:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(255,70,85,0.06);
}

/* ─── SPOTLIGHT (Legacy removed) ─── */
#spotlight {
    border-top: 1px solid rgba(255,70,85,0.2);
    border-bottom: 1px solid rgba(255,70,85,0.2);
}


/* ─── CINEMATIC SECTIONS ─── */

.cinematic-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.cinematic-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cinematic-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.7s ease;
}

.cinematic-section:hover .cinematic-bg-img { transform: scale(1.03); }

.cinematic-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(15,25,35,0.93) 0%, rgba(15,25,35,0.5) 55%, rgba(15,25,35,0.1) 100%),
        linear-gradient(to top,   rgba(15,25,35,0.55) 0%, transparent 50%);
}

.cinematic-section.cinematic-flip .cinematic-overlay {
    background:
        linear-gradient(to left,  rgba(15,25,35,0.93) 0%, rgba(15,25,35,0.5) 55%, rgba(15,25,35,0.1) 100%),
        linear-gradient(to top,   rgba(15,25,35,0.55) 0%, transparent 50%);
}

.cinematic-content {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem 5rem 4rem;
    max-width: 640px;
}

.cinematic-section.cinematic-flip .cinematic-content {
    margin-left: auto;
    text-align: right;
    padding: 5rem 4rem 5rem 2rem;
}

.cinematic-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cinematic-section.cinematic-flip .cinematic-badge { justify-content: flex-end; }

.badge-num {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.2rem 0.55rem;
    letter-spacing: 1px;
}

.badge-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.cinematic-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.cinematic-content h2 .highlight { color: var(--accent-color); }

.cinematic-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.5rem;
}

.cinematic-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 480px;
}

.cinematic-section.cinematic-flip .cinematic-content p { margin-left: auto; }

/* ─── NEWS GRID ─── */
#latest-patches {
    background: var(--primary-color);
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

#latest-patches::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 100px);
    pointer-events: none;
}

#latest-patches .container { position: relative; z-index: 1; }
#latest-patches .section-title { color: var(--text-primary); }
#latest-patches .patch-eyebrow { color: var(--accent-color); }

#latest-patches .patch-view-all {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.2rem;
    transition: color 0.3s;
}

#latest-patches .patch-view-all:hover { color: var(--accent-color); }

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.news-card--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.news-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.news-card-img {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 180px;
    overflow: hidden;
}

.news-card--large .news-card-img { min-height: 300px; }

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,25,35,0.85) 0%, transparent 55%);
}

.news-card-body {
    padding: 1.5rem;
    background: rgba(15,25,35,0.97);
    border-top: 3px solid var(--accent-color);
}

.news-card-body .patch-type {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.news-card-body h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.news-card--large .news-card-body h3 { font-size: 1.9rem; }

.news-card-body p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.news-card-body time {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

/* ─── REVEAL ITEMS (scroll-triggered) ─── */
.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 968px) {
    .cinematic-content { padding: 4rem 2rem; max-width: 100%; }
    .cinematic-section.cinematic-flip .cinematic-content { text-align: left; margin-left: 0; padding: 4rem 2rem; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card--large { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
    .cinematic-section { min-height: 60vh; }
}
