/* ===================================
   NovaCup - Premium Design System
   Inspired by Laver Cup
   =================================== */

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/Peyda-Medium.woff2') format('woff2'),
        url('../fonts/Peyda-Medium.woff') format('woff'),
        url('../fonts/Peyda-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PeydaFaNum';
    src: url('../fonts/PeydaFaNum-Medium.woff2') format('woff2'),
        url('../fonts/PeydaFaNum-Medium.woff') format('woff'),
        url('../fonts/PeydaFaNum-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DxOverunPersonalUse-ItaSemi';
    src: url('../fonts/DxOverunPersonalUse-ItaSemi.woff2') format('woff2'),
        url('../fonts/DxOverunPersonalUse-ItaSemi.woff') format('woff'),
        url('../fonts/DxOverunPersonalUse-ItaSemi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    /* Colors - Dark Theme with Red & Blue accents */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-elevated: #222222;

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    /* Team Colors */
    --red-primary: #e63946;
    --red-secondary: #ff1744;
    --red-glow: rgba(230, 57, 70, 0.4);
    --red-gradient: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);

    --blue-primary: #1d4ed8;
    --blue-secondary: #3b82f6;
    --blue-glow: rgba(29, 78, 216, 0.4);
    --blue-gradient: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);

    /* Accent */
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.3);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-en: 'Outfit', sans-serif;
    --font-fa: 'Peyda', 'Vazirmatn', sans-serif;
    --font-title: 'DxOverunPersonalUse-ItaSemi', 'Vazirmatn', sans-serif;
    --font-num: 'PeydaFaNum', 'Peyda', 'Vazirmatn', sans-serif;

    /* Spacing - Minimal */
    --section-gap: 50px;
    --container-max: 1200px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-fa);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
    direction: rtl;
}

/* English font for numbers */
.en-num,
[class*="stat-"],
.countdown-value,
.timer-value,
.price,
.number,
.time,
.result-duration,
.set,
.score,
.match-time {
    font-family: var(--font-num) !important;
    font-feature-settings: "lnum" 1;
}

/* Title Font */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title,
.title-row,
.member-name,
.team-title {
    font-family: var(--font-title);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Selection */
::selection {
    background: var(--red-primary);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-primary);
}

/* ===================================
   Teams Showcase V3 - Arena
   =================================== */
.teams-showcase {
    position: relative;
    padding: 120px 0 100px;
    background: var(--bg-secondary);
    overflow: hidden;
}

/* Subtle background texture */
.teams-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(230, 57, 70, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 600px 400px at 80% 50%, rgba(29, 78, 216, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.teams-header {
    text-align: center;
    margin-bottom: 80px;
}

/* Arena Layout */
.teams-arena-v3 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

/* Team Column */
.arena-team-v3 {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Team Label */
.arena-team-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.team-label-icon {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
}

.team-label-icon svg {
    width: 100%;
    height: 100%;
}

.team-label-text {
    font-family: var(--font-fa);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.3px;
}

.team-color-tag {
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.red-tag {
    color: var(--red-primary);
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.15);
}

.blue-tag {
    color: var(--blue-secondary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* Players Grid */
.arena-players-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
}

.arena-players-grid .arena-player-card {
    grid-column: span 2;
}

.arena-players-grid .arena-player-card:nth-child(1),
.arena-players-grid .arena-player-card:nth-child(2),
.arena-players-grid .arena-player-card:nth-child(3),
.arena-players-grid .arena-player-card:nth-child(4) {
    grid-column: span 3;
}

/* Player Card */
.arena-player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

/* Portrait */
.player-portrait {
    position: relative;
    width: 100%;
}

.portrait-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: #080808;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(30%) contrast(1.05);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, filter;
}

/* Shine sweep on hover */
.portrait-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.06) 45%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.06) 55%,
            transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 2;
}

/* Glow behind card */
.portrait-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60px;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

.portrait-glow.red-glow {
    background: var(--red-primary);
}

.portrait-glow.blue-glow {
    background: var(--blue-primary);
}

/* Hover Effects */
.arena-player-card:hover .portrait-frame img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(1.1) brightness(1.05);
}

.arena-player-card:hover .portrait-shine {
    transform: translateX(120%);
}

.arena-player-card:hover .portrait-glow {
    opacity: 0.35;
}

/* Subtle border on hover */
.arena-red .arena-player-card:hover .portrait-frame {
    box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.25), 0 20px 50px -15px rgba(230, 57, 70, 0.15);
}

.arena-blue .arena-player-card:hover .portrait-frame {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 20px 50px -15px rgba(59, 130, 246, 0.15);
}

/* Player Meta */
.player-meta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.player-fullname {
    font-family: var(--font-fa);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.4s ease;
    letter-spacing: -0.3px;
}

.arena-red .arena-player-card:hover .player-fullname {
    color: var(--red-primary);
}

.arena-blue .arena-player-card:hover .player-fullname {
    color: var(--blue-secondary);
}

.player-badge {
    font-family: var(--font-fa);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.15);
    padding: 2px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* VS Divider */
.arena-vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 110px 40px 0;
}

.vs-line {
    width: 1px;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, var(--border-light) 50%, transparent 100%);
}

.vs-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    position: relative;
}

.vs-badge span {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--red-primary), var(--gold), var(--blue-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulsing ring around VS */
.vs-badge::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.1);
    animation: vsPulse 3s ease-in-out infinite;
}

@keyframes vsPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .teams-arena-v3 {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .arena-vs-divider {
        flex-direction: row;
        padding: 0;
        gap: 20px;
    }

    .vs-line {
        width: 120px;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, var(--border-light) 50%, transparent 100%);
    }


}

@media (max-width: 640px) {
    .teams-showcase {
        padding: 80px 0 60px;
    }

    .teams-header {
        margin-bottom: 50px;
    }

    .arena-players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .arena-players-grid .arena-player-card:first-child {
        grid-column: 1 / -1;
        max-width: 200px;
    }

    .player-fullname {
        font-size: 0.9rem;
    }

    .portrait-frame {
        border-radius: 8px;
    }
}

/* ===================================
   Preloader - Epic Gaming Loader
   =================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        visibility 0.8s,
        transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

/* Background Effects */
.preloader-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.preloader-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.preloader-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: glowPulse 4s ease-in-out infinite;
}

.preloader-glow.glow-1 {
    background: var(--red-primary);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.preloader-glow.glow-2 {
    background: var(--blue-primary);
    bottom: -200px;
    right: -100px;
    animation-delay: 2s;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Main Content */
.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

/* Hexagon Container */
.hex-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-ring {
    position: absolute;
    inset: 0;
}

.hex-ring svg {
    width: 100%;
    height: 100%;
}

.hex-ring polygon {
    fill: none;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hex-ring-1 {
    animation: hexRotate1 4s linear infinite;
}

.hex-ring-1 polygon {
    stroke: var(--red-primary);
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: hexDraw 2s ease-in-out infinite alternate;
}

.hex-ring-2 {
    transform: scale(0.75);
    animation: hexRotate2 3s linear infinite reverse;
}

.hex-ring-2 polygon {
    stroke: var(--blue-primary);
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: hexDraw 2s ease-in-out infinite alternate;
    animation-delay: 0.3s;
}

.hex-ring-3 {
    transform: scale(0.5);
    animation: hexRotate1 5s linear infinite;
}

.hex-ring-3 polygon {
    stroke: rgba(255, 255, 255, 0.3);
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: hexDraw 2s ease-in-out infinite alternate;
    animation-delay: 0.6s;
}

@keyframes hexRotate1 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes hexRotate2 {
    from {
        transform: scale(0.75) rotate(0deg);
    }

    to {
        transform: scale(0.75) rotate(360deg);
    }
}

@keyframes hexDraw {
    0% {
        stroke-dashoffset: 400;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* Center Logo */
.loader-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loader-logo-img {
    width: 70px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.5)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
    animation: logoPulse 2s ease-in-out infinite, logoReveal 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.5)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(239, 68, 68, 0.8)) drop-shadow(0 0 60px rgba(59, 130, 246, 0.5));
        transform: scale(1.05);
    }
}

/* Progress Bar */
.loader-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 200px;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red-primary), var(--blue-primary));
    border-radius: 10px;
    animation: progressFill 2.5s ease-in-out infinite;
}

.progress-glow {
    position: absolute;
    left: 0;
    top: -5px;
    width: 30px;
    height: 13px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
    border-radius: 50%;
    filter: blur(5px);
    animation: progressGlow 2.5s ease-in-out infinite;
}

/* Real Progress Overrides */
.loader-progress.real-progress .progress-fill {
    animation: none;
    width: 0%;
}

.loader-progress.real-progress .progress-glow {
    animation: none;
    left: -30px;
}

@keyframes progressFill {
    0% {
        width: 0%;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    50.1% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0%;
        left: 100%;
    }
}

@keyframes progressGlow {
    0% {
        left: -30px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        left: calc(100% - 30px);
        opacity: 1;
    }

    50.1% {
        left: calc(100% - 30px);
        opacity: 0;
    }

    100% {
        left: -30px;
        opacity: 0;
    }
}

.progress-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
}

.progress-dots {
    display: flex;
    gap: 4px;
}

.progress-dots .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red-primary);
    animation: dotPulse 1.4s ease-in-out infinite;
}

.progress-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.progress-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.progress-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Floating Particles */
.loader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.l-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--red-primary), var(--blue-primary));
    border-radius: 50%;
    animation: particleFloat var(--d) ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 0.8;
    }
}

/* ===================================
   Custom Cursor
   =================================== */
.cursor-outer {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s var(--ease-out-expo),
        width 0.3s var(--ease-out-expo),
        height 0.3s var(--ease-out-expo),
        border-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-inner {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease,
        width 0.3s var(--ease-out-expo),
        height 0.3s var(--ease-out-expo);
}

.cursor-outer.hover {
    width: 60px;
    height: 60px;
    border-color: var(--red-primary);
}

.cursor-inner.hover {
    width: 12px;
    height: 12px;
    background: var(--blue-primary);
}

@media (max-width: 1024px) {

    .cursor-outer,
    .cursor-inner {
        display: none;
    }
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header.scrolled::before {
    opacity: 0;
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Legacy logo styles (kept for compatibility) */
.logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--blue-primary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
}

.logo-n,
.logo-c {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 900;
    color: white;
}

.logo-n {
    position: absolute;
    top: 6px;
    right: 8px;
}

.logo-c {
    position: absolute;
    bottom: 6px;
    left: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-nova {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.logo-cup {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--red-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Auth Button - Minimal & Premium */
.btn-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    backdrop-filter: blur(10px);
}

.btn-auth::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(230, 57, 70, 0.1) 0%,
            rgba(29, 78, 216, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 100px;
}

.btn-auth:hover::before {
    opacity: 1;
}

.btn-auth:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-auth-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.btn-auth-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-auth:hover .btn-auth-icon svg {
    transform: scale(1.1);
    color: #ffffff;
}

.btn-auth-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.btn-auth:hover .btn-auth-text:first-of-type {
    color: #ffffff;
}

.btn-auth:hover .btn-auth-text:last-of-type {
    color: #ffffff;
}

.btn-auth-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: background 0.3s ease;
}

.btn-auth:hover .btn-auth-divider {
    background: rgba(255, 255, 255, 0.4);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    width: 44px;
    height: 44px;
    justify-content: center;
}

.toggle-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out-expo);
}

.menu-toggle.active .toggle-line:first-child {
    transform: rotate(45deg) translateY(5.5px);
}

.menu-toggle.active .toggle-line:last-child {
    transform: rotate(-45deg) translateY(-5.5px);
}

/* ===================================
   Hero Section - Cinematic Premium
   =================================== */
.hero {
    position: sticky;
    top: 0;
    z-index: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

@media (max-width: 768px) {
    .hero {
        position: relative;
    }
}

/* Hero Background */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Hero Image Container */
.hero-image-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) contrast(1.2) saturate(1.15);
    will-change: transform;
    animation: heroKenBurns 18s ease-in-out infinite alternate;
}

/* Ken Burns cinematic zoom — subtle, premium feel */
@keyframes heroKenBurns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.12);
    }
}

/* Hero image reveal animation on load */
.hero-bg-image {
    animation: heroImageReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        heroKenBurns 18s ease-in-out 1.8s infinite alternate;
}

@keyframes heroImageReveal {
    0% {
        opacity: 0;
        transform: scale(1.3);
        filter: brightness(0) contrast(1.2) saturate(1.15) blur(20px);
    }

    50% {
        opacity: 0.8;
        filter: brightness(0.4) contrast(1.2) saturate(1.15) blur(6px);
    }

    100% {
        opacity: 1;
        transform: scale(1.0);
        filter: brightness(0.6) contrast(1.2) saturate(1.15) blur(0);
    }
}

/* Cinematic dark vignette overlay on image */
.hero-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-bg-image {
        object-position: center 30%;
    }
}

/* Scanlines Effect */
.hero-scanlines {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
    opacity: 0.5;
}



/* Badge Pulse */
.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.badge-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--red-primary);
    animation: badgePulseRing 2s ease-out infinite;
}

@keyframes badgePulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Title Year */
.title-year {
    font-family: var(--font-en) !important;
    font-weight: 300 !important;
    letter-spacing: 0.3em !important;
    opacity: 0.7;
}

/* Countdown Timer */
.hero-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    direction: ltr;
    justify-content: flex-end;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 55px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
    opacity: 0.5;
}

.countdown-value {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    font-feature-settings: "tnum" 1;
    letter-spacing: 0.05em;
}

.countdown-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown-separator {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted);
    animation: countdownBlink 1s ease-in-out infinite;
    margin-top: -12px;
}

@keyframes countdownBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

/* btn-shine override for hero */
.hero-btn-glow .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: heroShine 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes heroShine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Enhanced CTA glow */
.hero-btn-glow {
    box-shadow: 0 5px 30px var(--red-glow);
}

.hero-btn-glow:hover {
    box-shadow: 0 10px 50px var(--red-glow), 0 0 80px rgba(230, 57, 70, 0.2) !important;
    transform: translateY(-3px);
}

/* Trailer button play effect */
.btn-play-trailer .btn-icon {
    position: relative;
}

.btn-play-trailer .btn-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: playPulse 2s ease-out infinite;
}

@keyframes playPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 25;
    opacity: 0;
    animation: scrollReveal 1s ease 3s forwards;
}

@keyframes scrollReveal {
    to {
        opacity: 1;
    }
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    position: relative;
    transition: border-color 0.3s ease;
}

.hero-scroll-indicator:hover .scroll-mouse {
    border-color: var(--red-primary);
}

.scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

.scroll-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line-animated {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, var(--red-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.5);
        opacity: 0.4;
    }
}

/* Side Decorative Elements */
.hero-side-deco {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 25;
    opacity: 0;
    animation: sideReveal 1s ease 2.5s forwards;
}

@keyframes sideReveal {
    to {
        opacity: 0.4;
    }
}

.hero-side-left {
    left: 20px;
}

.hero-side-right {
    right: 20px;
}

.hero-side-deco .side-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-side-deco .side-text {
    font-family: var(--font-en);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.4);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Corner Decorations */
.hero-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 25;
    opacity: 0;
    animation: cornerReveal 1s ease 2.8s forwards;
}

@keyframes cornerReveal {
    to {
        opacity: 0.3;
    }
}

.hero-corner-tl {
    top: 20px;
    left: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-corner-tr {
    top: 20px;
    right: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-corner-bl {
    bottom: 20px;
    left: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-corner-br {
    bottom: 20px;
    right: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

/* Tagline text */
.tagline-text {
    white-space: nowrap;
}


/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .hero-side-deco {
        display: none;
    }

    .hero-corner {
        display: none;
    }

    .hero-countdown {
        justify-content: center;
        gap: 6px;
    }

    .countdown-item {
        min-width: 45px;
        padding: 8px 6px;
    }

    .countdown-value {
        font-size: 1.2rem;
    }

    .hero-scroll-indicator {
        bottom: 15px;
    }
}

/* Particles Layer */
.hero-particles-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat 15s ease-in-out infinite;
    opacity: 0;
    animation-delay: 2s;
}

.particle-1 {
    width: 4px;
    height: 4px;
    background: var(--red-primary);
    top: 20%;
    left: 10%;
    animation-delay: 2.5s;
    box-shadow: 0 0 20px var(--red-primary), 0 0 40px var(--red-primary);
}

.particle-2 {
    width: 3px;
    height: 3px;
    background: var(--blue-primary);
    top: 30%;
    right: 15%;
    animation-delay: 3s;
    box-shadow: 0 0 15px var(--blue-primary), 0 0 30px var(--blue-primary);
}

.particle-3 {
    width: 5px;
    height: 5px;
    background: var(--gold);
    bottom: 25%;
    left: 20%;
    animation-delay: 3.5s;
    box-shadow: 0 0 25px var(--gold), 0 0 50px var(--gold);
}

.particle-4 {
    width: 2px;
    height: 2px;
    background: white;
    top: 60%;
    right: 25%;
    animation-delay: 4s;
    box-shadow: 0 0 10px white;
}

.particle-5 {
    width: 4px;
    height: 4px;
    background: var(--red-primary);
    bottom: 40%;
    right: 10%;
    animation-delay: 4.5s;
    box-shadow: 0 0 20px var(--red-primary);
}

.particle-6 {
    width: 3px;
    height: 3px;
    background: var(--blue-primary);
    top: 45%;
    left: 30%;
    animation-delay: 5s;
    box-shadow: 0 0 15px var(--blue-primary);
}

.particle-7 {
    width: 2px;
    height: 2px;
    background: var(--gold);
    top: 15%;
    right: 35%;
    animation-delay: 5.5s;
    box-shadow: 0 0 10px var(--gold);
}

.particle-8 {
    width: 3px;
    height: 3px;
    background: white;
    bottom: 15%;
    left: 40%;
    animation-delay: 6s;
    box-shadow: 0 0 15px white;
}

.particle-9 {
    width: 3px;
    height: 3px;
    background: var(--red-primary);
    top: 70%;
    left: 15%;
    animation-delay: 6.5s;
    box-shadow: 0 0 15px var(--red-primary);
}

.particle-10 {
    width: 4px;
    height: 4px;
    background: var(--blue-primary);
    top: 25%;
    left: 50%;
    animation-delay: 7s;
    box-shadow: 0 0 20px var(--blue-primary);
}

.particle-11 {
    width: 2px;
    height: 2px;
    background: var(--gold);
    bottom: 35%;
    right: 40%;
    animation-delay: 7.5s;
    box-shadow: 0 0 10px var(--gold);
}

.particle-12 {
    width: 3px;
    height: 3px;
    background: white;
    top: 50%;
    right: 20%;
    animation-delay: 8s;
    box-shadow: 0 0 15px white;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0);
    }

    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    90% {
        opacity: 1;
        transform: translateY(-100px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-150px) scale(0);
    }
}

/* Light Rays Effect */
.hero-light-rays {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    animation: lightRaysReveal 1s ease-out 2s forwards;
}

@keyframes lightRaysReveal {
    to {
        opacity: 1;
    }
}

.light-ray {
    position: absolute;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 100%);
    transform-origin: top center;
    animation: rayMove 8s ease-in-out infinite;
}

.ray-1 {
    width: 200px;
    height: 100%;
    top: 0;
    left: 20%;
    transform: rotate(-15deg) translateY(-20%);
    animation-delay: 0s;
}

.ray-2 {
    width: 150px;
    height: 100%;
    top: 0;
    right: 30%;
    transform: rotate(10deg) translateY(-30%);
    animation-delay: -3s;
}

.ray-3 {
    width: 100px;
    height: 100%;
    top: 0;
    left: 60%;
    transform: rotate(5deg) translateY(-10%);
    animation-delay: -5s;
}

@keyframes rayMove {

    0%,
    100% {
        opacity: 0.3;
        transform: rotate(-15deg) translateY(-20%) scaleY(1);
    }

    50% {
        opacity: 0.6;
        transform: rotate(-10deg) translateY(-10%) scaleY(1.1);
    }
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.float-element {
    position: absolute;
    animation: floatElement 10s ease-in-out infinite;
}

.tennis-ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c8e614, #9ab613);
    top: 15%;
    right: 10%;
    opacity: 0;
    animation: tennisBallFloat 12s ease-in-out infinite 3s;
    box-shadow:
        inset -10px -10px 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(200, 230, 20, 0.3);
}

.tennis-ball::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
}

@keyframes tennisBallFloat {

    0%,
    100% {
        opacity: 0.8;
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
    }

    50% {
        opacity: 1;
        transform: translateY(-10px) rotate(180deg);
    }

    75% {
        transform: translateY(-40px) rotate(270deg);
    }
}

.glow-orb {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    animation: glowOrbPulse 8s ease-in-out infinite 2.5s;
}

.glow-red {
    background: var(--red-primary);
    top: 30%;
    left: 5%;
}

.glow-blue {
    background: var(--blue-primary);
    bottom: 20%;
    right: 5%;
    animation-delay: 4s;
}

.glow-gold {
    background: var(--gold);
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    animation-delay: 5.5s;
}

@keyframes glowOrbPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Premium Edge Glow - Minimal & Modern */
.hero-edge-glow {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    animation: edgeGlowReveal 1.5s ease-out 2s forwards;
}

.hero-edge-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--red-primary) 20%,
            var(--gold) 50%,
            var(--blue-primary) 80%,
            transparent 100%);
    box-shadow:
        0 0 20px var(--red-primary),
        0 0 40px var(--gold),
        0 0 60px var(--blue-primary);
}

.hero-edge-glow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--blue-primary) 30%,
            var(--gold) 50%,
            var(--red-primary) 70%,
            transparent 100%);
    box-shadow:
        0 0 20px var(--blue-primary),
        0 0 40px var(--gold);
}

@keyframes edgeGlowReveal {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Shimmer Effect - Premium Sweep */
.hero-shimmer {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    overflow: hidden;
}

.hero-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 100%);
    transform: skewX(-15deg);
}

@keyframes shimmerSweep {

    0%,
    100% {
        left: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        left: 150%;
        opacity: 1;
    }

    60%,
    100% {
        opacity: 0;
    }
}

/* Reveal Curtain - Quick Entrance */
.hero-reveal-curtain {
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
    z-index: 100;
    transform-origin: top center;
    animation: curtainReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes curtainReveal {
    0% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
    }
}

/* Cinematic Overlay */
.hero-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 10, 10, 0.7) 0%,
            rgba(10, 10, 10, 0.3) 40%,
            rgba(10, 10, 10, 0.4) 60%,
            rgba(10, 10, 10, 0.8) 100%);
    z-index: 7;
}

/* Vignette Effect */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            transparent 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 8;
}

/* Noise Texture */
.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 9;
    pointer-events: none;
    animation: noiseMove 0.5s steps(5) infinite;
}

@keyframes noiseMove {
    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(-1px, -1px);
    }

    80% {
        transform: translate(1px, 1px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Hero Background Elements */
.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 60%);
    top: -150px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
    opacity: 0.5;
}

.bg-gradient-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%);
    bottom: -100px;
    left: -100px;
    animation: float-slow 25s ease-in-out infinite reverse;
    opacity: 0.5;
}

.bg-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* Hero Content */
.hero-content {
    width: 100%;
    padding: 80px 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 20;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient-1 {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 60%);
    top: -200px;
    right: -200px;
    animation: float-slow 20s ease-in-out infinite;
}

.bg-gradient-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%);
    bottom: -100px;
    left: -100px;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.bg-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
}

.bg-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* Hero Content */
.hero-content {
    width: 100%;
    padding: 80px 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-container {
    flex: 1;
    max-width: 700px;
    padding: 0 24px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.badge-line {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-primary));
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Hero Title */
.hero-title {
    margin-bottom: 16px;
}

.title-row {
    overflow: hidden;
}

.title-word {
    display: inline-block;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 600 !important;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.title-outline {
    -webkit-text-stroke: 2px var(--text-primary);
    -webkit-text-fill-color: transparent;
}

.title-gradient {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

/* NOVA CUP Luxurious Logo */
.nova-cup-logo {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(6px, .2vw, 12px);
    font-family: var(--font-en);
    direction: ltr;
}

.nova-text {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    letter-spacing: 0.2em;
}

.cup-text {
    font-size: clamp(0.7rem, 1.8vw, 1.2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3em;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes gradient-flow {
    to {
        background-position: 200% center;
    }
}

/* Hero Tagline */
.hero-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tagline-line {
    flex: 1;
    max-width: 40px;
    height: 1px;
    background: var(--border-light);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    overflow: hidden;
}

.btn-primary {
    color: white;
}

.btn-primary .btn-bg {
    position: absolute;
    inset: 0;
    background: var(--red-gradient);
    z-index: 0;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover .btn-bg {
    transform: scale(1.02);
}

.btn-primary:hover {
    box-shadow: 0 10px 30px var(--red-glow);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.btn-arrow,
.btn-icon {
    display: flex;
    width: 20px;
    height: 20px;
}

.btn svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-icon svg {
    fill: currentColor;
    stroke: none;
}

.btn-secondary {
    color: var(--text-primary);
}

.btn-secondary .btn-border {
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-light);
    border-radius: inherit;
    transition: border-color 0.3s ease;
}

.btn-secondary:hover .btn-border {
    border-color: var(--text-primary);
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--red-primary), transparent);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.6);
        opacity: 0.5;
    }
}

.scroll-text {
    display: none;
}

/* Hero Side Info */
.hero-side-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 40px;
    border-left: 1px solid var(--border-color);
}

.side-item {
    text-align: left;
}

.side-number {
    display: block;
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.side-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Hero Teams */
.hero-teams {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.team-indicator {
    position: relative;
    padding: 8px 16px;
    border-radius: 100px;
    overflow: hidden;
}

.team-red {
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid var(--red-primary);
}

.team-blue {
    background: rgba(29, 78, 216, 0.15);
    border: 1px solid var(--blue-primary);
}

.team-name {
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.team-red .team-name {
    color: var(--red-primary);
}

.team-blue .team-name {
    color: var(--blue-primary);
}

.team-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-red .team-glow {
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
}

.team-blue .team-glow {
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
}

.team-indicator:hover .team-glow {
    opacity: 1;
}

.team-vs {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: var(--section-gap) 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.section-label.center {
    justify-content: flex-start;
    width: 100%;
}

.label-line {
    width: 25px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.section-label span:not(.label-line) {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--bg-secondary);
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.about-header {
    margin-bottom: 30px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* About Stats */
.about-stats {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    margin-bottom: 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: --font-fa;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s var(--ease-out-expo);
}

.feature:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-4px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: white;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* About Visual - Special Shape */
.about-visual {
    position: relative;
}

.visual-card {
    position: relative;
    padding: 15px;
}

/* Decorative Frame */
.card-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.frame-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.frame-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-color: var(--blue-primary);
}

.frame-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-color: var(--blue-primary);
}

.frame-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.card-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* Special clip-path shape */
    clip-path: polygon(0% 5%,
            5% 0%,
            95% 0%,
            100% 5%,
            100% 95%,
            95% 100%,
            5% 100%,
            0% 95%);
}

.card-image img,
.about-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: saturate(1.1);
}

.visual-card:hover .about-img {
    transform: scale(1.08);
    filter: saturate(1.2) brightness(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(230, 57, 70, 0.15) 0%,
            transparent 50%,
            rgba(29, 78, 216, 0.15) 100%);
    pointer-events: none;
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg,
            var(--red-primary) 0%,
            transparent 40%,
            transparent 60%,
            var(--blue-primary) 100%);
    z-index: -1;
    opacity: 0.5;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

.visual-card:hover .card-glow {
    opacity: 0.8;
}

.badge-year {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-edition {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* About Image Placeholder */
.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg,
            var(--bg-secondary) 0%,
            rgba(230, 57, 70, 0.15) 30%,
            rgba(29, 78, 216, 0.15) 70%,
            var(--bg-secondary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, var(--red-glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--blue-glow) 0%, transparent 40%);
    animation: float-slow 10s ease-in-out infinite;
}

.about-image-placeholder .placeholder-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-primary), var(--blue-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.about-image-placeholder .placeholder-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.about-image-placeholder .placeholder-text {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--red-primary), var(--blue-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.8) 100%);
}

.card-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    text-align: left;
    padding: 16px 24px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.badge-year {
    display: block;
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 800;
    color: var(--red-primary);
}

.badge-edition {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.visual-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--red-gradient);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
}

/* ===================================
   Schedule Section
   =================================== */
.schedule {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.schedule-header {
    margin-bottom: 32px;
}

.schedule-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background: transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
}

.tab-btn.active {
    background: var(--red-gradient);
    border-color: transparent;
    color: white;
}

/* Match List */
.match-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.match-item:hover {
    border-color: var(--border-light);
    transform: translateX(-2px);
}

.match-time {
    min-width: 70px;
}

.match-time .time {
    display: block;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
}

.match-time .court {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.match-players {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.match-player {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-player img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid;
}

.match-player.red img {
    border-color: var(--red-primary);
}

.match-player.blue img {
    border-color: var(--blue-primary);
}

.match-player span {
    font-weight: 600;
    font-size: 0.75rem;
}

.match-vs {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    padding: 4px 10px;
    background: var(--bg-elevated);
    border-radius: 6px;
}

.match-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 0.6rem;
    font-weight: 700;
    flex-shrink: 0;
}

.match-avatar.red {
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid var(--red-primary);
    color: var(--red-primary);
}

.match-avatar.blue {
    background: rgba(29, 78, 216, 0.2);
    border: 1px solid var(--blue-primary);
    color: var(--blue-secondary);
}

.result-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 700;
}

.result-avatar.red {
    background: rgba(230, 57, 70, 0.2);
    border: 2px solid var(--red-primary);
    color: var(--red-primary);
}

.result-avatar.blue {
    background: rgba(29, 78, 216, 0.2);
    border: 2px solid var(--blue-primary);
    color: var(--blue-secondary);
}

.match-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
}

.match-status.live {
    background: rgba(230, 57, 70, 0.15);
    color: var(--red-primary);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--red-primary);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.match-status.upcoming {
    background: var(--bg-elevated);
    color: var(--text-secondary);
}

/* ===================================
   Results Section
   =================================== */
section#results {
    background: #111111;
    position: relative;
    z-index: 1;
}

.results-header {
    margin-bottom: 20px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.3s var(--ease-out-expo);
}

.result-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.result-round {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--red-primary);
}

.result-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.result-match {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.result-player {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-avatar {
    position: relative;
}

.player-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.player-avatar.red img {
    border-color: var(--red-primary);
}

.player-avatar.blue img {
    border-color: var(--blue-primary);
}

.result-player .player-name {
    font-weight: 600;
    font-size: 0.7rem;
    flex: 1;
}

.player-sets {
    display: flex;
    gap: 4px;
}

.player-sets .set {
    width: 20px;
    height: 20px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.7rem;
}

.result-player.winner .set {
    background: var(--red-gradient);
    color: white;
}

.result-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.divider-text {
    font-size: 0.6rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.result-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.result-duration {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.result-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--red-primary);
    transition: color 0.3s ease;
}

.result-link:hover {
    color: var(--text-primary);
}

/* ===================================
   News Section
   =================================== */
.news {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.news-header {
    margin-bottom: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.news-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
}

.news-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.news-featured {
    display: flex;
    flex-direction: column;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    height: 100%;
}

.news-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.news-featured .news-image {
    height: 100%;
    min-height: 250px;
    border-radius: 12px;
}

.news-item .news-image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
}

.news-image img,
.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
    display: block;
}

.news-card:hover .news-image img,
.news-card:hover .news-img {
    transform: scale(1.08);
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.9) 100%);
}

.news-content {
    padding: 12px;
}

.news-featured .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.news-category {
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
}

.news-date {
    font-family: var(--font-en);
    font-size: 0.65rem;
    color: var(--text-muted);
}

.news-title {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.news-featured .news-title {
    font-size: 0.9rem;
}

.news-excerpt {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--red-primary);
    transition: gap 0.3s ease;
}

.news-link:hover {
    gap: 10px;
}

.news-link svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.news-item {
    display: flex;
    gap: 16px;
    align-items: center;
    flex: 1;
}

.news-item .news-image {
    width: 110px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
}

.news-item .news-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===================================
   Newsletter Section
   =================================== */
.newsletter {
    padding-top: 60px;

}

.newsletter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 42px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    flex-wrap: wrap;
}

.newsletter-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.newsletter-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.form-group {
    display: flex;
    gap: 12px;
    background: var(--bg-tertiary);
    padding: 8px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

.form-input {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    background: var(--red-gradient);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--red-glow);
}

.form-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 32px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Newsletter Column in Footer */

.newsletter-col .newsletter-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.newsletter-form-minimal {
    display: flex;
    gap: 10px;
    width: 100%;
}

.newsletter-form-minimal input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 20px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form-minimal input:focus {
    border-color: var(--red-primary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form-minimal button {
    background: var(--red-primary);
    color: white;
    border: none;
    border-radius: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form-minimal button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.newsletter-form-minimal button:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.3);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Beautiful Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    fill: none;
    transition: all 0.4s ease;
}

.social-link:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.2);
}

.social-link:hover svg {
    stroke: white;
    fill: none;
    transform: scale(1.1);
}



.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--red-primary);
    border-radius: 2px;
}

.footer-col a {
    display: flex;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--red-primary);
    transform: translateX(-5px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 50%;
    color: var(--red-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--red-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.4);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Footer Responsive Overrides */
@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
        margin-bottom: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .newsletter-col {
        grid-column: 1 / -1;
    }

    .footer-col h4::after {
        left: auto;
        right: 0;
        transform: none;
    }

    .footer-col h4,
    .footer-col a {
        text-align: right;
    }

    .footer-links-col {
        padding-right: 30%;
    }

    .newsletter-col h4,
    .newsletter-col .newsletter-desc {
        text-align: center;
    }

    .newsletter-col h4::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .newsletter-form-minimal {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===================================
   Animations
   =================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
    border-radius: 8px;

}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
    text-align: right;
    border-radius: 8px;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================
   Responsive Design - Minimal & Premium
   =================================== */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .hero-side-info,
    .hero-teams {
        display: none;
    }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
    :root {
        --section-gap: 60px;
    }

    html {
        font-size: 14px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* About - Keep 2 columns but smaller */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .about-text {
        font-size: 0.85rem;
    }

    /* Teams - Horizontal compact */
    .teams-grid {
        grid-template-columns: 1fr auto 1fr;
        gap: 16px;
    }

    .team-card {
        padding: 16px;
    }

    .team-players .player-item {
        padding: 8px 0;
    }

    /* Results - 2 columns */
    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .result-card {
        padding: 16px;
    }

    /* News - 2 columns layout */
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .news-featured {
        grid-column: span 2;
    }

    .news-title {
        font-size: 0.9rem;
    }

    /* Section titles smaller */
    .section-title {
        font-size: 1.5rem;
    }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 768px) {
    :root {
        --section-gap: 48px;
    }

    html {
        font-size: 13px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-container {
        padding: 0 16px;
    }

    /* NOVA CUP Logo Mobile */
    .nova-cup-logo {
        gap: 4px;
    }

    .nova-text {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
    }

    .cup-text {
        font-size: 0.55rem;
        letter-spacing: 0.12em;
        padding: 2px 6px;
    }

    /* Hero buttons - 2 columns */
    .hero-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    /* About - 2 columns still */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .about-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .about-stats {
        gap: 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .about-features {
        gap: 12px;
    }

    .feature {
        padding: 12px;
    }

    .feature h4 {
        font-size: 0.8rem;
    }

    .feature p {
        font-size: 0.7rem;
    }

    /* Teams - Compact 3 column */
    .teams-grid {
        grid-template-columns: 1fr auto 1fr;
        gap: 8px;
    }

    .team-card {
        padding: 12px;
    }

    .team-title {
        font-size: 0.9rem;
    }

    .team-subtitle {
        font-size: 0.6rem;
    }

    .player-name {
        font-size: 0.75rem;
    }

    .player-rank {
        font-size: 0.6rem;
    }

    .teams-vs .vs-circle {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
    }

    /* Schedule - Compact */
    .schedule-tabs {
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .match-item {
        flex-direction: row;
        align-items: center;
        padding: 12px;
        gap: 8px;
    }

    .match-time {
        min-width: 50px;
    }

    .match-time .time {
        font-size: 0.8rem;
    }

    .match-time .court {
        font-size: 0.55rem;
    }

    .match-players {
        flex-direction: row;
        gap: 8px;
        font-size: 0.75rem;
    }

    .match-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.55rem;
    }

    .match-status {
        font-size: 0.6rem;
        padding: 4px 8px;
    }

    /* Results - 2 columns */
    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .result-card {
        padding: 12px;
    }

    .result-round {
        font-size: 0.65rem;
    }

    .result-player .player-name {
        font-size: 0.75rem;
    }

    .player-sets .set {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    /* News - 2 columns */
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .news-featured {
        grid-column: span 2;
    }

    .news-featured .news-title {
        font-size: 1rem;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item .news-image {
        width: 100%;
        height: 100px;
    }

    .news-item .news-title {
        font-size: 0.8rem;
    }

    .news-category {
        font-size: 0.55rem;
    }

    .news-date {
        font-size: 0.55rem;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.3rem;
    }

    .cta-text {
        font-size: 0.8rem;
    }

    .cta-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* Newsletter compact */
    .newsletter-card {
        flex-direction: row;
        padding: 16px;
        gap: 16px;
    }

    .newsletter-title {
        font-size: 0.9rem;
    }

    .newsletter-text {
        font-size: 0.7rem;
    }

    .newsletter-form {
        width: auto;
        flex: 1;
    }

    .form-input {
        font-size: 0.75rem;
        padding: 10px 12px;
    }

    .form-btn {
        font-size: 0.7rem;
        padding: 10px 16px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .footer-col h4 {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .footer-col a {
        font-size: 0.7rem;
        padding: 4px 0;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        font-size: 0.65rem;
    }

    .footer-copy {
        font-size: 0.6rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --section-gap: 40px;
    }

    html {
        font-size: 12px;
    }

    .title-word {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    /* Hero CTA - still 2 columns */
    .hero-cta {
        grid-template-columns: 1fr 1fr;
    }

    /* About - stack on very small */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-visual {
        order: -1;
        max-width: 395px;
        margin: 0 auto;
    }

    .visual-card {
        max-height: none;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Teams - vertical but compact */
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .teams-vs {
        order: -1;
        padding: 8px 0;
    }

    .team-card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 12px;
        padding: 12px;
    }

    .team-header {
        display: contents;
    }

    .team-players {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .player-item {
        flex-direction: column;
        text-align: center;
    }

    /* Results - still 2 columns */
    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* News - 2 columns small */
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .news-featured {
        grid-column: span 2;
    }

    .news-list {
        display: contents;
    }

    .news-item .news-content {
        padding: 8px;
    }

    /* Newsletter - stack */
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .form-group {
        flex-direction: column;
        gap: 8px;
    }

    .form-btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer links - 2 columns */
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero-cta {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-featured {
        grid-column: span 1;
    }
}

/* ========================================
   FULLSCREEN MENU - Premium Design
======================================== */

/* Menu Toggle Button - Centered */
.menu-toggle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 10px 20px;
}

.toggle-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 20px;
    position: relative;
}

.toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
}

.toggle-line.line-1 {
    width: 100%;
}

.toggle-line.line-2 {
    width: 70%;
    margin-right: auto;
}

.toggle-text {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover .toggle-line {
    background: linear-gradient(90deg, var(--red-primary), var(--blue-primary));
}

.menu-toggle:hover .toggle-line.line-2 {
    width: 100%;
}

.menu-toggle:hover .toggle-text {
    color: var(--red-primary);
}

/* Active State */
.menu-toggle.active .toggle-line.line-1 {
    transform: rotate(45deg) translateY(5.5px);
}

.menu-toggle.active .toggle-line.line-2 {
    width: 100%;
    transform: rotate(-45deg) translateY(-5.5px);
}

.menu-toggle.active .toggle-text {
    opacity: 0;
}

/* Fullscreen Menu Container */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
    overflow: hidden;
}

.fullscreen-menu.active {
    pointer-events: all;
}

/* Background Layers */
.menu-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-bg-layer.layer-1 {
    background: var(--bg-primary);
    transition-delay: 0s;
}

.menu-bg-layer.layer-2 {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), transparent 50%, rgba(59, 130, 246, 0.1));
    transition-delay: 0.1s;
}

.menu-bg-layer.layer-3 {
    background: radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    transition-delay: 0.2s;
}

.fullscreen-menu.active .menu-bg-layer {
    transform: translateY(0);
}

/* Menu Container */
.menu-container {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    height: 100%;
    padding: 120px 80px 60px;
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
}

.fullscreen-menu.active .menu-container {
    opacity: 1;
}

/* Menu Left Side */
.menu-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}


.menu-image-wrapper {
    position: relative;
    max-width: 400px;
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.fullscreen-menu.active .menu-image-wrapper {
    transform: translateX(0);
    opacity: 1;
}

.menu-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.menu-featured-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.2s ease;
}

.menu-image:hover .menu-featured-img {
    transform: scale(1.05);
}

.menu-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.menu-image-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: left;
}

.caption-year {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--red-primary), var(--blue-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.caption-text {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Menu Social */
.menu-social {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

.fullscreen-menu.active .menu-social {
    transform: translateY(0);
    opacity: 1;
}

.social-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-item svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-item:hover {
    background: linear-gradient(135deg, var(--red-primary), var(--blue-primary));
    border-color: transparent;
    transform: translateY(-5px);
}

.social-item:hover svg {
    fill: var(--white);
}

/* Menu Right Side - Navigation */
.menu-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 60px;
}

.menu-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    overflow: hidden;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    text-decoration: none;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.fullscreen-menu.active .menu-link {
    transform: translateX(0);
    opacity: 1;
}

.menu-item:nth-child(1) .menu-link {
    transition-delay: 0.3s;
}

.menu-item:nth-child(2) .menu-link {
    transition-delay: 0.35s;
}

.menu-item:nth-child(3) .menu-link {
    transition-delay: 0.4s;
}

.menu-item:nth-child(4) .menu-link {
    transition-delay: 0.45s;
}

.menu-item:nth-child(5) .menu-link {
    transition-delay: 0.5s;
}

.menu-item:nth-child(6) .menu-link {
    transition-delay: 0.55s;
}

.link-number {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    min-width: 30px;
}

.link-text {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 24px;
    color: transparent;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

/* ── Menu Link Hover – Premium ── */
.menu-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-item:last-child .menu-link {
    border-bottom: none;
}

/* Sliding accent bar on the right */
.menu-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, var(--red-primary), var(--blue-primary));
    border-radius: 3px 0 0 3px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.menu-link:hover::before {
    transform: translateY(-50%) scaleY(1);
}

/* Text slide + gradient on hover */
.menu-link:hover .link-text {
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(-8px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.link-text {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

/* Arrow slides in from left */
.menu-link:hover .link-arrow {
    color: var(--red-primary);
    transform: translateX(0);
    opacity: 1;
}

.link-arrow {
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, opacity 0.3s ease;
}

/* Subtle row background glow */
.menu-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(230, 57, 70, 0.04) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.menu-link:hover::after {
    opacity: 1;
}

.menu-link.active .link-text {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.menu-link.active .link-arrow {
    color: var(--red-primary);
    transform: translateX(0);
    opacity: 1;
}

/* Menu Footer */
.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.fullscreen-menu.active .menu-footer {
    transform: translateY(0);
    opacity: 1;
}

.contact-label,
.location-text {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-email {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--red-primary);
}

.menu-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-icon {
    font-size: 16px;
}

/* Decorative Elements */
.menu-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.deco-circle.deco-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    transform: scale(0.5);
}

.deco-circle.deco-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    transform: scale(0.5);
}

.fullscreen-menu.active .deco-circle {
    opacity: 1;
    transform: scale(1);
}

.deco-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

.deco-line-1 {
    width: 1px;
    height: 100%;
    left: 33%;
    top: 0;
}

.deco-line-2 {
    width: 1px;
    height: 100%;
    left: 66%;
    top: 0;
}

.fullscreen-menu.active .deco-line {
    opacity: 1;
}

/* Hide old nav on mobile */
.nav {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .menu-container {
        flex-direction: column-reverse;
        padding: 100px 40px 40px;
    }

    .menu-left {
        flex: none;
        padding-left: 0;
        border-left: none;
        padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: row;
        align-items: center;
    }

    .menu-image-wrapper {
        max-width: 200px;
    }

    .menu-featured-img {
        height: 150px;
    }

    .menu-right {
        padding-right: 0;
    }

    .link-text {
        font-size: 24px;
    }

    .menu-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-container {
        padding: 100px 20px 30px;
    }

    .menu-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .menu-image-wrapper {
        display: none;
    }

    .menu-social {
        display: none;
    }

    .link-text {
        font-size: 22px;
    }

    .menu-link {
        padding: 12px 0;
    }

    .social-item {
        width: 44px;
        height: 44px;
    }

    .toggle-text {
        display: none;
    }

    .toggle-wrap {
        width: 32px;
    }
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Header adjustments */
.header-inner {
    position: relative;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Remove old menu toggle styles if any conflict */
.header-actions .menu-toggle {
    display: none;
}

/* ===================================
   Video Modal
   =================================== */
/* NOTE: selectors below are scoped under .video-modal because
   .modal-content / .modal-backdrop / .modal-close are also used by the
   image .gallery-modal further down this file — unscoped rules with equal
   specificity would get silently overridden by whichever block comes last. */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.video-modal .modal-content {
    position: relative;
    width: auto;
    max-width: 92vw;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.video-modal .modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-modal .modal-close svg {
    width: 20px;
    height: 20px;
}

.video-modal .modal-video-wrapper {
    position: relative;
}

/* Horizontal (landscape) videos: fill available width, capped so height never
   exceeds the viewport (whichever dimension is tighter wins). */
.video-modal .modal-video-frame {
    position: relative;
    width: min(92vw, calc((100vh - 200px) * 16 / 9), 1400px);
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 25px 80px rgba(0, 0, 0, 0.5);
}

/* Vertical (portrait) videos: fill available height instead, capped by width. */
.video-modal.is-vertical .modal-video-frame {
    width: min(92vw, calc((100vh - 200px) * 9 / 16));
    aspect-ratio: 9 / 16;
}

.video-modal .modal-video-frame iframe,
.video-modal .modal-video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-modal .modal-video-frame video {
    display: none;
    background: #000;
    object-fit: contain;
}

.video-modal .modal-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.video-modal .modal-glow.glow-left {
    top: -50px;
    left: -50px;
    background: var(--red-primary);
    animation: modalGlow 4s ease-in-out infinite;
}

.video-modal .modal-glow.glow-right {
    bottom: -50px;
    right: -50px;
    background: var(--blue-primary);
    animation: modalGlow 4s ease-in-out infinite reverse;
}

@keyframes modalGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.video-modal .modal-info {
    text-align: center;
    margin-top: 24px;
}

.video-modal .modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.video-modal .modal-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   NovaCup Core Team Section
   =================================== */
.novacup-team {
    padding: 100px 0;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

.team-header-main {
    margin-bottom: 60px;
}

/* Wrapper that holds the track + outside buttons */
.core-team-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
}

.core-team-slider {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.core-team-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 20px;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
}

.core-team-track:active {
    cursor: grabbing;
}

.core-team-track::-webkit-scrollbar {
    display: none;
}

.core-member-card {
    flex: 0 0 calc(25% - 22.5px);
    /* 4 columns on desktop */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.4s ease;
}

@media (max-width: 1024px) {
    .core-member-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .core-member-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .core-member-card {
        flex: 0 0 85%;
    }
}

.member-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

.member-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    z-index: 2;
    pointer-events: none;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
}

.core-member-card:hover .member-img {
    transform: scale(1.08);
}

.member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px 20px;
    z-index: 1;
}

.core-member-card:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i) * 0.05s);
}

.core-member-card:hover .social-icon {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.social-icon:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    transform: translateY(-5px) scale(1.1) !important;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.member-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Slider Buttons - Outside the carousel, always visible */
.team-btn-prev,
.team-btn-next {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    position: relative;
}

.team-btn-prev {
    order: -1;
    /* راست‌ترین سمت = قبلی در RTL */
    margin-left: 0;
    margin-right: 16px;
}

.team-btn-next {
    order: 1;
    /* چپ‌ترین سمت = بعدی در RTL */
    margin-right: 0;
    margin-left: 16px;
}

.team-btn-prev:hover,
.team-btn-next:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.team-btn-prev svg,
.team-btn-next svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* حذف تعریف قدیمی team-slider-controls که دیگه استفاده نمیشه */
.team-slider-controls {
    display: none;
}

.team-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.team-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-dot.active {
    background: var(--gold);
    transform: scale(1.5);
}

/* ===================================
   Responsive Mobile Adjustments (Premium UI/UX)
   =================================== */

/* Hide mobile players on desktop, hide desktop on mobile */
.mobile-players {
    display: none;
}

.desktop-players {
    display: block;
}

.blog-mobile-slider {
    display: none !important;
}

@media (max-width: 1024px) {

    /* Title clamp for responsive typography */
    h1.hero-title .nova-text,
    h1.hero-title .cup-text {
        font-size: clamp(3rem, 8vw, 6rem);
    }

    .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .hero-countdown {
        gap: 15px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Header adjustments */
    .header {
        padding: 10px 0;
    }

    .logo-img {
        max-width: 120px;
    }

    .btn-auth-text {
        display: none;
    }

    .btn-auth-divider {
        display: none;
    }

    .btn-auth {
        padding: 8px 8px !important;
        min-width: unset;
        border-radius: 50%;
    }

    /* Fullscreen Menu Adjustments */
    .menu-list {
        gap: 15px;
    }

    .link-number {
        font-size: 1rem;
        opacity: 0.5;
    }

    .link-text {
        font-size: 2.5rem;
    }

    .link-arrow {
        font-size: 1.5rem;
    }

    /* Refactored Players Mobile View: Dual Carousels */
    .teams-arena-v3 {
        display: flex;
        flex-direction: row;
        gap: 15px;
        width: 100%;
    }

    .arena-team-v3 {
        width: 50%;
        min-width: 0;
        /* Prevents flex items from overflowing with Swiper */
    }

    .arena-vs-divider {
        display: none !important;
    }

    .desktop-players {
        display: none !important;
    }

    .mobile-players {
        display: block !important;
        width: 100%;
        overflow: hidden;
    }

    /* Customize Swiper for 2 columns */
    .mobile-players .swiper {
        padding-bottom: 14px;
        /* Space for pagination */
    }

    /* Swiper's own bundled CSS ships bottom:10px on this exact selector
       and loads after premium.css, so beating it needs higher specificity
       here rather than relying on source order. */
    .mobile-players .swiper-pagination-bullets.swiper-pagination-horizontal,
    .mobile-players .swiper-horizontal>.swiper-pagination-bullets {
        bottom: 15px;
    }

    .mobile-players .swiper-slide {
        height: auto;
        display: flex;
        justify-content: center;
    }

    .arena-players-grid {
        display: none;
    }

    .arena-player-card {
        width: 100%;
        max-width: 160px;
        margin: 0 auto;
    }

    .player-portrait {
        max-width: 100%;
        margin: 0 auto;
    }

    .player-meta {
        padding: 10px 5px;
    }

    .player-fullname {
        font-size: 0.85rem;
    }

    .player-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    /* Blog cards become a single-column swiper on mobile */
    .blog-grid {
        display: none !important;
    }

    .blog-mobile-slider {
        display: block !important;
    }

    .blog-mobile-slider .swiper {
        padding-bottom: 40px;
        /* Space for pagination */
    }

    .blog-mobile-slider .swiper-slide {
        height: auto;
    }

    .blog-mobile-slider .blog-card-content {
        padding-top: 30px;
    }

    .arena-team-label {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        font-size: 0.8rem;
    }

    .team-label-icon {
        width: 24px;
        height: 24px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 100px;
    }

    .hero-title .nova-text,
    .hero-title .cup-text {
        font-size: clamp(2.5rem, 12vw, 4rem) !important;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 5px 15px;
    }

    .hero-content {
        padding: 140px 0 0px;
    }


    .hero-countdown {
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        gap: 5px;
    }

    .countdown-item {
        flex: 1;
        width: auto;
        min-width: 45px;
        padding: 5px;
    }

    .countdown-value {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .countdown-separator {
        display: block;
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .schedule-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    .schedule-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        text-align: center;
        padding: 8px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

    .newsletter-form .form-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* ===================================
   Sponsors Marquee Section
   =================================== */

.sponsors-marquee {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    direction: ltr;
    /* Force LTR for predictable continuous scroll */
    z-index: 5;
}

.sponsors-track {
    display: flex;
    align-items: center;
    width: max-content;
    flex-wrap: nowrap;
    will-change: transform;
    animation: marquee-scroll 35s linear infinite;
}

.sponsors-group {
    display: flex;
    align-items: center;
    width: max-content;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.sponsors-track:hover {
    animation-play-state: paused;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    flex-shrink: 0;
}

.sponsor-item img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.4);
    transition: all 0.4s ease;
    cursor: pointer;
}

.sponsor-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .sponsor-item {
        padding: 0 40px;
    }

    .sponsor-item img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .sponsors-marquee {
        padding: 40px 0;
    }

    .sponsor-item {
        padding: 0 30px;
    }

    .sponsor-item img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .sponsors-marquee {
        padding: 30px 0;
    }

    .sponsor-item {
        padding: 0 20px;
    }

    .sponsor-item img {
        height: 25px;
    }
}


/* ===================================
   Founder Statement Section
   =================================== */

.founder-statement {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.founder-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(122 122 122 / 32%), #cfcfcf1a, rgb(129 129 129 / 14%), transparent);
}

.founder-inner {
    display: flex;
    align-items: center;
    position: relative;
    padding: 30px 0;
}

/* Photo Side */
.founder-visual {
    width: 320px;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    margin-left: -80px;
}

.founder-visual::before {
    content: '';
    position: absolute;
    inset: 10%;
    background: var(--red-primary, #e63946);
    filter: blur(50px);
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.founder-visual:hover::before {
    opacity: 0.35;
}

.founder-photo-wrap {
    position: relative;
    border-radius: 0px 8px 8px 0px;
    overflow: hidden;
}

.founder-photo-wrap .founder-frame {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.founder-photo-wrap .frame-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--red-primary, #e63946);
    border-style: solid;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.founder-photo-wrap .frame-tl {
    top: 12px;
    right: 12px;
    border-width: 2px 0 0 2px;
}

.founder-photo-wrap .frame-tr {
    top: 12px;
    left: 12px;
    border-width: 2px 2px 0 0;
}

.founder-photo-wrap .frame-bl {
    bottom: 12px;
    right: 12px;
    border-width: 0 0 2px 2px;
}

.founder-photo-wrap .frame-br {
    bottom: 12px;
    left: 12px;
    border-width: 0 2px 2px 0;
}

.founder-photo-wrap:hover .frame-tl {
    top: 4px;
    right: 4px;
}

.founder-photo-wrap:hover .frame-tr {
    top: 4px;
    left: 4px;
}

.founder-photo-wrap:hover .frame-bl {
    bottom: 4px;
    right: 4px;
}

.founder-photo-wrap:hover .frame-br {
    bottom: 4px;
    left: 4px;
}

.founder-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(20%);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, filter;
}

.founder-photo-wrap:hover .founder-img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.founder-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(230, 57, 70, 0.08) 0%,
            transparent 40%,
            rgba(10, 10, 15, 0.6) 100%);
    z-index: 1;
}

.founder-accent-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 3px;
    height: 60%;
    background: linear-gradient(to top, var(--red-primary, #e63946), transparent);
    z-index: 2;
}

.founder-name-tag {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.founder-role-tag {
    font-size: 0.78rem;
    color: var(--red-primary, #e63946);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Content Side */
.founder-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    padding: 30px 120px 30px 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.founder-quote-mark {
    position: absolute;
    top: -40px;
    right: 10px;
    font-size: 20rem;
    line-height: 1;
    color: var(--text-primary);
    opacity: 0.03;
    font-family: Georgia, serif;
    z-index: -1;
    user-select: none;
    pointer-events: none;
}

.founder-excerpt {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-secondary);
    padding-right: 20px;
    text-align: justify;
}

.founder-excerpt-secondary {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-right: 16px;
    border-right: 2px solid rgba(230, 57, 70, 0.3);
}

.founder-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.signature-line {
    flex: 0 0 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.founder-signature span {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.founder-cta {
    align-self: flex-start;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.founder-cta .btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.founder-cta:hover .btn-arrow {
    transform: translateX(-4px);
}

/* btn-outline */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--red-primary);
    background: rgba(230, 57, 70, 0.08);
    color: white;
}

@media (max-width: 768px) {
    .founder-inner {
        flex-direction: column;
        padding: 0;
    }

    .founder-visual {
        width: 280px;
        max-width: 100%;
        margin: 0 auto -60px auto;
    }

    .founder-content {
        padding: 80px 30px 30px 30px;
    }

    .founder-img {
        aspect-ratio: 4/5;
    }

    .founder-quote-mark {
        font-size: 15rem;
        top: -30px;
        right: 0;
    }

    .founder-excerpt {
        font-size: 0.95rem;
    }
}

/* ===================================
   Founder Full Page
   =================================== */

.founder-full-page {
    padding: 160px 0 120px;
    min-height: 100vh;
}

.founder-page-header {
    text-align: center;
    margin-bottom: 80px;
}

.founder-page-header .section-label.center {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.founder-page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.founder-page-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.founder-page-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}

.founder-page-photo {
    position: sticky;
    top: 120px;
}

.founder-img-full {
    aspect-ratio: 3/4;
}

.founder-page-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
}

.founder-page-text p {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--text-secondary);
}

.founder-page-text p:first-of-type {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.founder-page-closing {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    margin-top: 12px;
}

.founder-page-closing span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.founder-page-closing strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.founder-page-back {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .founder-page-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-page-photo {
        position: static;
        max-width: 260px;
        margin: 0 auto;
    }

    /* Desktop rounds only the outer edge to blend into the text column
       beside it; once it stacks alone on mobile, all 4 corners should
       be rounded instead. */
    .founder-photo-wrap {
        border-radius: 8px;
    }

    .founder-full-page {
        padding: 120px 0 80px;
    }
}

/* ==========================================================================
   Gallery Section - Collage Grid
   ========================================================================== */
.gallery-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--bg-secondary);
    /* Matches the other sections, blocks hero */
    z-index: 10;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 120px);
    grid-gap: 15px;
    margin-top: 50px;
    width: 100%;
}

.collage-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #222;
}

/* Faster, tighter stagger for the gallery collage entrance */
.collage-item.reveal-up {
    transition-duration: 0.5s;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.collage-item:hover img {
    transform: scale(1.05);
}

.collage-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collage-item:hover .collage-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 60px;
    height: 60px;
    stroke: #fff;
    fill: none;
    stroke-width: 1;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.collage-item:hover .zoom-icon {
    transform: scale(1);
}

.item-1 {
    grid-column: 1;
    grid-row: 1 / 3;
}

.item-2 {
    grid-column: 1;
    grid-row: 3 / 7;
}

.item-3 {
    grid-column: 2 / 4;
    grid-row: 1 / 5;
}

.item-4 {
    grid-column: 2;
    grid-row: 5 / 7;
}

.item-5 {
    grid-column: 3;
    grid-row: 5 / 7;
}

.item-6 {
    grid-column: 4;
    grid-row: 1 / 3;
}

.item-7 {
    grid-column: 4;
    grid-row: 3 / 5;
}

.item-8 {
    grid-column: 4;
    grid-row: 5 / 7;
}

@media (max-width: 1024px) {
    .collage-grid {
        grid-template-rows: repeat(6, 100px);
    }
}

@media (max-width: 768px) {
    .collage-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        margin-top: 30px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .collage-grid::-webkit-scrollbar {
        display: none;
    }

    .collage-item {
        flex: 0 0 75% !important;
        width: 75% !important;
        min-width: 75% !important;
        max-width: 75% !important;
        aspect-ratio: 4 / 5;
        height: auto;
        scroll-snap-align: center;
        border-radius: 12px;
        display: block;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5,
    .item-6,
    .item-7,
    .item-8 {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

@media (max-width: 480px) {
    .collage-item {
        flex: 0 0 85%;
        aspect-ratio: 4 / 5;
        height: auto;
    }
}

/* ==========================================================================
   Gallery Modal
   ========================================================================== */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    height: 90vh;
}

.modal-image-container {
    position: relative;
    flex-grow: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-image-container img.loaded {
    opacity: 1;
    transform: scale(1);
}

.modal-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-nav:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-loader.active {
    opacity: 1;
    visibility: visible;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        justify-content: center;
    }

    .modal-image-container {
        height: 60vh;
        margin: 20px 0;
    }

    .modal-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }
}

/* ==========================================================================
   Blog / Articles Section
   ========================================================================== */
.blog-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--bg-secondary);
    /* Matches the other sections, blocks the sticky hero from showing through */
    z-index: 10;
}

.blog-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
    max-width: 560px;
}

/* Shared meta row */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
    font-family: var(--font-fa);
}

.blog-meta-sm {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
    gap: 6px;
}

.blog-meta-dot {
    opacity: 0.5;
}

/* Shared category tag */
.blog-tag,
.blog-tag-sm {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.blog-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.blog-tag-sm {
    display: inline-block;
    margin-bottom: 8px;
}

/* Read more */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.blog-arrow {
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo);
}

.blog-featured-card:hover .blog-arrow,
.blog-card:hover .blog-arrow {
    transform: translateX(-6px);
}

/* Overlay used on image-bled cards */
.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.15) 45%, rgba(10, 10, 10, 0.96) 100%);
    pointer-events: none;
}

/* --- Featured layout: 1 large card + side list --- */
.blog-featured-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    margin-top: 50px;
    align-items: stretch;
}

.blog-featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 460px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.4s ease;
}

.blog-featured-card:hover {
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.08);
}

.blog-featured-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 460px;
}

.blog-featured-media {
    position: absolute;
    inset: 0;
}

.blog-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

.blog-featured-card:hover .blog-featured-media img {
    transform: scale(1.06);
}

.blog-featured-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 28px 28px;
}

.blog-featured-title {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-featured-excerpt {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Side list */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-list-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.blog-list-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.blog-list-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
}

.blog-list-media {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-list-item:hover .blog-list-media img {
    transform: scale(1.08);
}

.blog-list-content {
    flex: 1;
    min-width: 0;
}

.blog-list-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Grid layout: minimal equal cards --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(var(--blog-grid-cols, 3), 1fr);
    gap: 24px;
    margin-top: 50px;
}

.blog-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    border-color: rgba(220, 38, 38, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(220, 38, 38, 0.1);
}

.blog-card-link {
    display: block;
}

.blog-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.06);
}

.blog-card-content {
    padding: 26px 22px 24px;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category badge sits above the title now, styled like the video cards' blue tag */
.blog-card-content .blog-tag {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-featured-layout {
        grid-template-columns: 1fr;
    }

    .blog-featured-card,
    .blog-featured-link {
        min-height: 380px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .blog-section {
        padding: 70px 0;
    }

    .blog-featured-card,
    .blog-featured-link {
        min-height: 320px;
    }

    .blog-featured-content {
        padding: 22px 18px 20px;
    }

    .blog-list-link {
        gap: 12px;
        padding: 10px;
    }

    .blog-list-media {
        flex-basis: 70px;
        width: 70px;
        height: 70px;
    }
}