/* ==========================================================================
   SSB INDONESIA MUDA SRAGEN — ULTRA LUXURY RED & WHITE DESIGN SYSTEM v3.0
   --------------------------------------------------------------------------
   • Fluid typography & spacing (clamp)        • Mobile-first refinements
   • Unified 8pt spacing rhythm                • Motion system (reveal, tilt,
   • Accessible focus states & reduced motion    ripple, counters, parallax)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Brand Palette */
    --primary-red: #DC2626;
    --primary-red-glow: #EF4444;
    --dark-red-accent: #991B1B;
    --red-50: #FEF2F2;
    --red-100: #FEE2E2;
    --red-tint: #FFF5F5;

    --accent-green: #059669;
    --accent-green-bright: #10B981;
    --accent-cyan: #0284C7;
    --accent-gold: #D4AF37;
    --accent-gold-dark: #B8860B;
    --accent-yellow: #EAB308;

    /* Neutrals */
    --ink-900: #0F172A;
    --ink-800: #1E293B;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748B;
    --ink-400: #94A3B8;
    --ink-300: #CBD5E1;
    --ink-200: #E2E8F0;
    --ink-100: #F1F5F9;
    --ink-50: #F8FAFC;

    /* Semantic aliases (kept for backwards compatibility) */
    --dark-bg-main: #F8FAFC;
    --dark-bg-secondary: #FFFFFF;
    --dark-bg-card: rgba(255, 255, 255, 0.95);
    --text-main: var(--ink-900);
    --text-dark: var(--ink-900);
    --text-white: #FFFFFF;
    --text-muted: var(--ink-600);
    --surface: #FFFFFF;

    --glass-border: rgba(220, 38, 38, 0.15);
    --glass-border-light: rgba(212, 175, 55, 0.3);
    --glass-background: rgba(255, 255, 255, 0.92);
    --glass-blur: blur(16px);
    --border-soft: rgba(220, 38, 38, 0.10);
    --border-red: rgba(220, 38, 38, 0.18);
    --border-neutral: rgba(15, 23, 42, 0.07);

    /* Typography */
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-script: 'Caveat', cursive;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
    --fs-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
    --fs-h2: clamp(1.6rem, 1.2rem + 1.8vw, 2.25rem);
    --fs-h2-lg: clamp(1.85rem, 1.25rem + 2.6vw, 2.75rem);
    --fs-hero: clamp(2.3rem, 1.4rem + 3.8vw, 3.85rem);

    /* Spacing & Layout */
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(64px, 8vw, 104px);
    --header-h: 78px;
    --bottom-nav-h: 0px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);

    /* Radius */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: all 0.25s var(--ease-out);
    --transition-smooth: all 0.5s var(--ease-out);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 10px 30px rgba(220, 38, 38, 0.07), 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 24px 60px rgba(220, 38, 38, 0.13), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-red-glow: 0 10px 30px rgba(220, 38, 38, 0.32);
}

/* --------------------------------------------------------------------------
   02. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* { -webkit-tap-highlight-color: transparent; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body, body.dark-stadium-theme, body.light-luxury-theme {
    font-family: var(--font-body);
    background-color: var(--dark-bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
}

body.no-scroll { overflow: hidden; touch-action: none; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

::selection { background: rgba(220, 38, 38, 0.18); color: var(--ink-900); }

:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.45);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Custom scrollbar (desktop) */
@media (hover: hover) {
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: var(--ink-100); }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, var(--primary-red-glow), var(--dark-red-accent));
        border-radius: 10px;
        border: 2px solid var(--ink-100);
    }
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 3000;
    background: var(--primary-red);
    color: #FFF;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-decoration: none;
    transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   03. UTILITIES
   -------------------------------------------------------------------------- */
.text-red { color: var(--primary-red); }
.text-green { color: var(--accent-green); }
.text-cyan { color: var(--accent-cyan); }
.text-gold { color: var(--accent-gold); }
.text-center { text-align: center; }
.full-width { width: 100%; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.gradient-text-red {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 45%, #991B1B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.show-sm { display: none !important; }

/* --------------------------------------------------------------------------
   04. KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
@keyframes pulseRingGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes rotateLogoRing { to { transform: rotate(360deg); } }
@keyframes logoShinySweep {
    0% { transform: rotate(35deg) translateY(-120%); }
    45%, 100% { transform: rotate(35deg) translateY(120%); }
}
@keyframes shimmerEffect {
    0% { transform: translateX(-100%) rotate(30deg); }
    30%, 100% { transform: translateX(100%) rotate(30deg); }
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(110%); }
    to { opacity: 1; transform: none; }
}
@keyframes slideOut {
    to { opacity: 0; transform: translateX(110%); }
}
@keyframes orbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(30px, -24px, 0) scale(1.08); }
    66% { transform: translate3d(-22px, 18px, 0) scale(0.95); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 10px); }
}
@keyframes spotlightPulse {
    0% { opacity: 0.4; transform: rotate(-22deg) scale(0.95); }
    100% { opacity: 0.8; transform: rotate(-28deg) scale(1.05); }
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes ripple {
    to { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
@keyframes zoomPulse {
    0% { transform: scale(0.98); }
    100% { transform: scale(1.05); }
}
@keyframes glowPulseNew {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35); }
    100% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}
@keyframes scoreBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); color: var(--primary-red-glow); }
    100% { transform: scale(1); }
}
@keyframes swipeHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}
@keyframes sheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   05. MOTION SYSTEM — Scroll Reveal
   -------------------------------------------------------------------------- */
.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition:
        opacity 0.85s var(--ease-out) var(--d, 0ms),
        transform 0.85s var(--ease-out) var(--d, 0ms);
}
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-fallback [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Hero entrance (CSS only, runs on load) */
.hero-anim {
    animation: heroIn 0.95s var(--ease-out) both;
    animation-delay: var(--d, 0s);
}

/* Ripple */
.ripple-ink {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.45);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.65s var(--ease-out) forwards;
    z-index: 0;
}
.ripple-dark .ripple-ink { background: rgba(220, 38, 38, 0.16); }

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 2100;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold), var(--primary-red-glow));
    transform-origin: 0 50%;
    transform: scaleX(0);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   06. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
    -webkit-user-select: none;
    user-select: none;
}
.btn > * { position: relative; z-index: 1; }
.btn i { transition: transform 0.3s var(--ease-out); }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-chevron-right { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.82rem; }
.btn-lg, .large-btn { min-height: 54px; padding: 14px 30px; font-size: 1rem; }

.btn-red-primary {
    background: linear-gradient(135deg, var(--primary-red-glow) 0%, var(--primary-red) 55%, var(--dark-red-accent) 100%);
    background-size: 160% 160%;
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.30);
}
.btn-red-primary:hover {
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(220, 38, 38, 0.42);
    background-position: 100% 50%;
}

.btn-emerald-primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35);
}
.btn-emerald-primary:hover {
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(16, 185, 129, 0.45);
}

.btn-glass-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border-color: var(--border-red);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-xs);
}
.btn-glass-outline:hover {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red-glow);
}

.btn-outline-red {
    background: #FFFFFF;
    color: var(--primary-red);
    border-color: rgba(220, 38, 38, 0.45);
}
.btn-outline-red:hover { background: var(--primary-red); color: #FFF; border-color: var(--primary-red); transform: translateY(-2px); }

.btn-white {
    background: #FFFFFF;
    color: var(--primary-red);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}
.btn-white:hover { transform: translateY(-3px); color: var(--dark-red-accent); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22); }

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.18); color: #FFF; transform: translateY(-3px); }

.btn-red-shimmer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--primary-red-glow) 0%, var(--primary-red) 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.32);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn-red-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    animation: shimmerEffect 4s infinite;
    pointer-events: none;
}
.btn-red-shimmer:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(220, 38, 38, 0.45); }

.btn-red-glow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: none; border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--primary-red) 0%, #991B1B 100%);
    color: #FFFFFF; font-weight: 700; font-size: 0.9rem; text-decoration: none;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    transition: var(--transition-fast);
}
.btn-red-glow:hover { box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5); transform: translateY(-2px); }

.btn-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ink-100);
    border: 1px solid var(--border-red);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.btn-icon:hover {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red-glow);
}

.btn-operator-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--ink-100);
    border: 1px solid var(--border-red);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.btn-operator-trigger:hover { background: var(--primary-red); color: #FFFFFF; border-color: var(--primary-red); }
.btn-operator-trigger:hover i { color: #FFFFFF !important; }

.link-arrow-red, .link-all, .link-details, .link-see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.link-arrow-red:hover, .link-all:hover, .link-details:hover, .link-see-all:hover { gap: 10px; color: var(--dark-red-accent); }

/* --------------------------------------------------------------------------
   07. ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-announcement-bar {
    position: relative;
    z-index: 1001;
    background: linear-gradient(90deg, #7F1D1D 0%, #DC2626 50%, #7F1D1D 100%);
    background-size: 200% 100%;
    animation: gradientShift 10s ease infinite;
    color: #FFFFFF;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    max-height: 80px;
    transition: max-height 0.45s var(--ease-out), opacity 0.35s ease;
}
.top-announcement-bar.is-hidden { max-height: 0; opacity: 0; border-bottom-width: 0; }

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.announcement-text {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    line-height: 1.35;
}
.announcement-text > span { overflow: hidden; text-overflow: ellipsis; }

.pulse-icon { color: #FACC15; animation: pulse 1.6s infinite; display: inline-block; }

.announcement-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn-install-pwa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 14px;
    border: none;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.78rem;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.btn-install-pwa:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }

.btn-close-announcement {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1;
    transition: var(--transition-fast);
}
.btn-close-announcement:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); }

/* --------------------------------------------------------------------------
   08. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), transform 0.4s var(--ease-out);
}
.main-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07), 0 1px 0 rgba(220, 38, 38, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: var(--header-h);
    transition: height 0.35s var(--ease-out);
}
.main-header.is-scrolled .nav-container { height: 66px; }

/* Brand */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 0;
}

.logo-ring-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15), 0 6px 16px rgba(220, 38, 38, 0.25);
    transition: transform 0.5s var(--ease-spring);
}
.brand-logo:hover .logo-ring-wrapper { transform: rotate(-8deg) scale(1.06); }
.logo-ring-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-red-glow), transparent, #FFFFFF, transparent, var(--primary-red-glow));
    animation: rotateLogoRing 6s linear infinite;
    z-index: 1;
}
.logo-ring-wrapper::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, 0.9) 50%, transparent 65%);
    transform: rotate(35deg) translateY(-120%);
    z-index: 5;
    pointer-events: none;
    animation: logoShinySweep 3.6s var(--ease-in-out) infinite;
}
.logo-ring-wrapper img, .logo-img {
    position: relative;
    z-index: 2;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    object-fit: contain;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 2px;
}
.logo-ring-wrapper.small { width: 52px; height: 52px; }

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-title-row { display: flex; align-items: center; gap: 8px; }
.brand-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    line-height: 1;
    white-space: nowrap;
}
.brand-subtitle {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.12em;
    margin-top: 5px;
    white-space: nowrap;
}
.header-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: var(--primary-red);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}
.pulse-green-beacon {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-red);
    animation: pulseRing 1.6s infinite;
}
.footer-system-heartbeat .pulse-green-beacon { background: var(--accent-green-bright); animation-name: pulseRingGreen; }

/* Desktop Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border-radius: var(--radius-pill);
    background: rgba(241, 245, 249, 0.7);
    border: 1px solid var(--border-neutral);
}
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    color: var(--ink-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.nav-link:hover { color: var(--primary-red); background: rgba(255, 255, 255, 0.9); }
.nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-red-glow), var(--primary-red));
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hamburger */
.mobile-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-red-glow), var(--primary-red));
    border: none;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.3);
    transition: transform 0.3s var(--ease-out);
}
.mobile-toggle:active { transform: scale(0.92); }
.hamburger-box { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #FFFFFF;
    transition: transform 0.4s var(--ease-out), opacity 0.3s ease, width 0.3s var(--ease-out);
}
.hamburger-line:nth-child(2) { width: 14px; align-self: center; transform: translateX(3px); }
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; transform: translateX(10px); }
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   09. MOBILE DRAWER
   -------------------------------------------------------------------------- */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.drawer-backdrop.active { opacity: 1; visibility: visible; }

.mobile-drawer-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1600;
    width: min(88vw, 380px);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.5s var(--ease-out), visibility 0.5s;
    overscroll-behavior: contain;
}
.mobile-drawer-menu.active { transform: translateX(0); visibility: visible; }
.mobile-drawer-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold), var(--primary-red));
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 20px 18px;
    border-bottom: 1px solid var(--border-neutral);
}
.drawer-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.drawer-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2); }
.drawer-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.drawer-brand-text strong { font-family: var(--font-heading); font-weight: 900; font-size: 1rem; color: var(--text-dark); }
.drawer-brand-text span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--primary-red); }

.btn-close-drawer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid var(--border-red);
    background: var(--ink-50);
    color: var(--text-dark);
    font-size: 1.05rem;
    transition: var(--transition-fast);
}
.btn-close-drawer:hover { background: var(--primary-red); color: #FFF; transform: rotate(90deg); }

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px 8px;
    -webkit-overflow-scrolling: touch;
}

.drawer-search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ink-200);
    background: var(--ink-50);
    color: var(--ink-500);
    font-size: 0.9rem;
    text-align: left;
    transition: var(--transition-fast);
}
.drawer-search-btn:hover { border-color: var(--primary-red); color: var(--primary-red); }

.drawer-section-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--ink-400);
    text-transform: uppercase;
    margin: 6px 6px 10px;
}

.drawer-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 8px 14px 8px 8px;
    border-radius: var(--radius-sm);
    color: var(--ink-800);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.97rem;
    opacity: 0;
    transform: translateX(24px);
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-drawer-menu.active .drawer-link {
    opacity: 1;
    transform: none;
    transition-delay: 0s, 0s, calc(0.08s + var(--i, 0) * 0.045s), calc(0.08s + var(--i, 0) * 0.045s);
}
.drawer-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--red-50);
    color: var(--primary-red);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.drawer-link .drawer-chevron { margin-left: auto; font-size: 0.72rem; color: var(--ink-300); transition: transform 0.3s var(--ease-out), color 0.3s; }
.drawer-link:hover { background: var(--ink-50); }
.drawer-link:hover .drawer-chevron { transform: translateX(3px); color: var(--primary-red); }
.drawer-link.active { background: linear-gradient(135deg, var(--red-50), #FFFFFF); color: var(--primary-red); box-shadow: inset 3px 0 0 var(--primary-red); }
.drawer-link.active .drawer-link-icon { background: var(--primary-red); color: #FFFFFF; box-shadow: 0 6px 14px rgba(220, 38, 38, 0.3); }

.drawer-staff-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
.drawer-staff-btn {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ink-200);
    background: #FFFFFF;
    color: var(--ink-800);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    transition: var(--transition-fast);
}
.drawer-staff-btn[style*="display: none"] { display: none !important; }
.drawer-staff-btn:hover { border-color: var(--primary-red); color: var(--primary-red); }
.drawer-staff-btn i { width: 20px; text-align: center; color: var(--primary-red); }

.drawer-footer {
    padding: 16px 20px calc(18px + var(--safe-bottom));
    border-top: 1px solid var(--border-neutral);
    background: linear-gradient(180deg, #FFFFFF, var(--ink-50));
}
.drawer-socials { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.drawer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--ink-200);
    color: var(--ink-700);
    text-decoration: none;
    transition: var(--transition-fast);
}
.drawer-socials a:hover { background: var(--primary-red); color: #FFF; border-color: var(--primary-red); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   10. SEARCH OVERLAY (Command Palette)
   -------------------------------------------------------------------------- */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(16px, 10vh, 120px) 16px 16px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-panel {
    width: 100%;
    max-width: 620px;
    max-height: min(560px, 80vh);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-red);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    transform: translateY(-16px) scale(0.98);
    transition: transform 0.4s var(--ease-out);
}
.search-overlay.active .search-panel { transform: none; }
.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 6px 20px;
    border-bottom: 1px solid var(--ink-200);
}
.search-input-wrap > i { color: var(--primary-red); }
.search-input-wrap input {
    flex: 1;
    min-width: 0;
    height: 56px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-dark);
}
.search-input-wrap input::-webkit-search-cancel-button { display: none; }
.search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    padding: 0 10px;
    border: none;
    border-radius: 10px;
    background: var(--ink-100);
    color: var(--ink-600);
    font-size: 0.75rem;
    font-weight: 700;
}
.search-results { flex: 1; overflow-y: auto; padding: 10px; }
.search-group-label { display: block; padding: 8px 12px 6px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; color: var(--ink-400); text-transform: uppercase; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.2s ease;
}
.search-result-item:hover, .search-result-item.is-active { background: var(--red-50); }
.search-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--ink-100);
    color: var(--primary-red);
}
.search-result-item.is-active .search-result-icon { background: var(--primary-red); color: #FFF; }
.search-result-text { display: flex; flex-direction: column; min-width: 0; }
.search-result-text strong { font-size: 0.93rem; font-weight: 700; }
.search-result-text span { font-size: 0.8rem; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-item mark { background: rgba(220, 38, 38, 0.15); color: var(--primary-red); border-radius: 3px; padding: 0 2px; }
.search-empty { padding: 36px 16px; text-align: center; color: var(--ink-500); font-size: 0.9rem; }
.search-empty i { display: block; font-size: 1.8rem; color: var(--ink-300); margin-bottom: 10px; }
.search-footer { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--ink-200); background: var(--ink-50); font-size: 0.75rem; color: var(--ink-500); }
kbd {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 5px;
    border: 1px solid var(--ink-300);
    border-bottom-width: 2px;
    background: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink-600);
}

/* --------------------------------------------------------------------------
   11. HERO
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
    overflow: hidden;
    isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg-image {
    position: absolute;
    inset: -40px 0 0 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0%, rgba(248, 250, 252, 0.86) 55%, rgba(248, 250, 252, 1) 100%),
        url('../assets/opt/hero_player.jpg') center 20% / cover no-repeat;
    transform: translate3d(0, var(--hero-parallax, 0px), 0);
    will-change: transform;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: orbFloat 16s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; top: -120px; left: -120px; background: radial-gradient(circle, rgba(239, 68, 68, 0.35), transparent 70%); }
.orb-2 { width: 380px; height: 380px; top: 20%; right: -140px; background: radial-gradient(circle, rgba(212, 175, 55, 0.32), transparent 70%); animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; bottom: -120px; left: 40%; background: radial-gradient(circle, rgba(220, 38, 38, 0.22), transparent 70%); animation-delay: -10s; }
.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(220, 38, 38, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.82fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: center;
}

.badge-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 22px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(220, 38, 38, 0.22);
    color: var(--primary-red);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.pulse-dot-green, .pulse-dot-red {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
}
.pulse-dot-green { background: var(--accent-green-bright); animation: pulseRingGreen 1.8s infinite; }
.pulse-dot-red { background: var(--primary-red-glow); animation: pulseRing 1.8s infinite; }

.hero-headline {
    font-family: var(--font-heading);
    font-size: var(--fs-hero);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.hero-headline .line { display: block; }
.hero-headline .word { display: inline-block; }
.hero-headline-light { color: var(--text-dark); }

.hero-motto-script {
    font-family: var(--font-script);
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 18px;
    line-height: 1.15;
}
.hero-description {
    color: var(--ink-600);
    font-size: var(--fs-md);
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-mini-stats {
    list-style: none;
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 460px;
    padding: 14px 6px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-mini-stats li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
}
.hero-mini-stats li + li { border-left: 1px solid var(--ink-200); }
.hero-mini-stats strong { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 900; color: var(--primary-red); line-height: 1.1; }
.hero-mini-stats span { font-size: 0.72rem; font-weight: 600; color: var(--ink-500); margin-top: 2px; }

/* Center visual */
.hero-player-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate3d(0, var(--visual-parallax, 0px), 0);
}
.player-glow-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, transparent 65%);
    filter: blur(30px);
    z-index: 0;
}
.player-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28), 0 0 0 6px rgba(255, 255, 255, 0.7);
    animation: floatAnimation 7s ease-in-out infinite;
}
.player-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.2s var(--ease-out); }
.player-frame:hover .player-hero-img { transform: scale(1.06); }
.player-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.65) 100%);
}
.player-frame-tag {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 600;
}
.player-frame-tag strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.player-frame-tag i { font-size: 1.2rem; color: #FACC15; }

.hero-floating-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-800);
    animation: floatAnimation 6s ease-in-out infinite;
    white-space: nowrap;
}
.hero-floating-chip i { color: var(--primary-red); }
.chip-top { top: 8%; left: -8%; animation-delay: -2s; }
.chip-bottom { bottom: 18%; right: -10%; animation-delay: -4s; }
.chip-bottom i { color: var(--accent-gold); }

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--ink-500);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 2;
}
.mouse-icon { position: relative; width: 22px; height: 34px; border: 2px solid var(--ink-400); border-radius: 14px; }
.mouse-icon .wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary-red);
    transform: translateX(-50%);
    animation: scrollWheel 1.6s infinite;
}

/* Live Match Card */
.hero-live-card-wrapper { position: relative; z-index: 2; }
.glass-live-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-red);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.glass-live-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold), var(--primary-red));
    background-size: 200% 100%;
    animation: gradientShift 6s ease infinite;
}
.live-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px dashed var(--ink-200);
}
.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.6);
    color: var(--primary-red);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.live-red-beacon { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-red); animation: blink 1s infinite; }
.live-league-title { font-size: 0.76rem; color: var(--ink-500); font-weight: 600; text-align: right; }

.live-scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.team-box { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.team-crest, .team-crest-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}
.team-crest { object-fit: contain; background: #FFF; padding: 3px; box-shadow: 0 6px 14px rgba(220, 38, 38, 0.18); }
.team-crest-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink-100);
    border: 1px solid var(--border-red);
    color: var(--ink-500);
    font-size: 1.3rem;
}
.team-name { font-size: 0.86rem; font-weight: 700; color: var(--text-dark); line-height: 1.25; word-break: break-word; }
.team-subtext { font-size: 0.7rem; color: var(--ink-500); }
.score-clock-box { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.match-score-big {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 1.8rem + 1.5vw, 2.8rem);
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.match-score-big > span { display: inline-block; }
.match-score-big .bump { animation: scoreBump 0.6s var(--ease-spring); }
.score-separator { margin: 0 8px; color: var(--ink-300); }
.match-clock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.6);
    color: var(--accent-green);
    font-size: 0.78rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.match-clock-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green-bright); animation: blink 1s infinite; }

.live-events-feed {
    padding: 14px;
    margin-bottom: 14px;
    border-radius: var(--radius-sm);
    background: var(--ink-50);
    border: 1px solid var(--border-neutral);
}
.live-events-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--ink-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.live-events-title .link-details { font-size: 0.76rem; text-transform: none; letter-spacing: 0; }
.events-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.event-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    padding: 6px 0;
    animation: fadeUp 0.5s var(--ease-out) both;
}
.event-item + .event-item { border-top: 1px solid var(--ink-200); }
.event-minute { font-weight: 800; color: var(--accent-green); font-variant-numeric: tabular-nums; }
.event-player { color: var(--text-dark); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-icon { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.event-icon.goal { color: var(--accent-green); }
.event-icon.card-yellow { color: var(--accent-yellow); }
.event-icon.card-red { color: var(--primary-red); }
.event-icon.sub { color: var(--accent-cyan); }
.live-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.75rem; color: var(--ink-500); }
.live-card-footer .link-see-all { font-size: 0.8rem; }

/* --------------------------------------------------------------------------
   12. MARQUEE TICKER
   -------------------------------------------------------------------------- */
.ticker-strip {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #7F1D1D, #DC2626, #7F1D1D);
    color: #FFFFFF;
    padding: 14px 0;
    transform: rotate(-1deg);
    margin: -18px -10px 0;
    box-shadow: 0 14px 40px rgba(220, 38, 38, 0.25);
    z-index: 3;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.ticker-item i { color: #FACC15; }
.ticker-item::after { content: '✦'; margin-left: 28px; color: rgba(255, 255, 255, 0.45); }

/* --------------------------------------------------------------------------
   13. SECTION SCAFFOLDING
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #FFFFFF 0%, var(--ink-50) 100%); }

.section-center-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(32px, 5vw, 52px);
}
.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: clamp(24px, 4vw, 36px);
}
.sub-tag-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 14px;
    border-radius: var(--radius-pill);
    background: rgba(220, 38, 38, 0.07);
    border: 1px solid rgba(220, 38, 38, 0.16);
    color: var(--primary-red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.section-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.18;
    letter-spacing: -0.02em;
}
.section-title-large {
    font-family: var(--font-heading);
    font-size: var(--fs-h2-lg);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.12;
    letter-spacing: -0.025em;
}
.section-desc {
    margin-top: 14px;
    color: var(--ink-600);
    font-size: var(--fs-md);
    line-height: 1.75;
}

.glass-panel {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3.5vw, 40px);
    box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   14. STATS BAND
   -------------------------------------------------------------------------- */
.section-stats { padding: clamp(56px, 7vw, 88px) 0 0; }
.stats-band {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    overflow: hidden;
}
.stats-band::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 70%);
    pointer-events: none;
}
.stats-band-intro .section-title { margin-bottom: 14px; }
.stats-bio { color: var(--ink-600); font-size: 0.95rem; line-height: 1.75; margin-bottom: 18px; }

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 22px 18px;
    border-radius: var(--radius);
    background: var(--ink-50);
    border: 1px solid var(--border-soft);
    text-align: left;
    transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s var(--ease-out), background 0.3s;
}
.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(220, 38, 38, 0.3); background: #FFFFFF; box-shadow: var(--shadow-card); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-red-glow), var(--primary-red));
    color: #FFFFFF;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.28);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.82rem; color: var(--ink-500); font-weight: 600; line-height: 1.35; }

/* --------------------------------------------------------------------------
   15. PROGRAM CARDS
   -------------------------------------------------------------------------- */
.program-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}
.program-card {
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
    transform-style: preserve-3d;
}
.program-card:hover {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px);
    border-color: rgba(220, 38, 38, 0.32);
    box-shadow: var(--shadow-lg);
}
.program-img-wrapper { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-100); }
.program-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.program-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.45) 100%);
}
.program-card:hover .program-img-wrapper img { transform: scale(1.08); }
.age-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.age-badge.badge-red { background: var(--primary-red); border-color: var(--primary-red); color: #FFF; }
.age-badge.badge-gold { background: var(--accent-gold); border-color: var(--accent-gold); color: #FFF; }
.program-level {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}
.program-card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.4vw, 26px); }
.program-card-body h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.25;
}
.program-card-body p { font-size: 0.92rem; color: var(--ink-600); line-height: 1.7; margin-bottom: 18px; }
.program-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.program-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink-700); line-height: 1.5; }
.program-features li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.12);
    color: var(--accent-green);
    font-size: 0.62rem;
}
.program-card-body .btn { margin-top: auto; }
.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-neutral);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-500);
}
.program-footer span { display: inline-flex; align-items: center; gap: 8px; }
.program-footer span i { color: var(--primary-red); }
.btn-circle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.08);
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition-fast);
}
.program-card:hover .btn-circle-arrow, .btn-circle-arrow:hover { background: var(--primary-red); color: #FFF; transform: rotate(-45deg); box-shadow: var(--shadow-red-glow); }

/* --------------------------------------------------------------------------
   16. TABS, SCHEDULE & BRACKET
   -------------------------------------------------------------------------- */
.tab-pill-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto clamp(24px, 4vw, 36px);
    padding: 6px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}
.tab-pill {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink-600);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.tab-pill:hover { color: var(--primary-red); }
.tab-pill.active {
    background: linear-gradient(135deg, var(--primary-red-glow), var(--primary-red));
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.3);
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp 0.55s var(--ease-out); }

.schedule-list-grid { display: flex; flex-direction: column; gap: 14px; }
.sched-item-card {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 2.5vw, 28px);
    padding: 18px clamp(16px, 2.5vw, 26px) 18px 18px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-xs);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
    overflow: hidden;
}
.sched-item-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-red), var(--accent-gold));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s var(--ease-out);
}
.sched-item-card:hover { transform: translateY(-3px); border-color: rgba(220, 38, 38, 0.3); box-shadow: var(--shadow-card); }
.sched-item-card:hover::before { transform: scaleY(1); }
.sched-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--red-50), #FFFFFF);
    border: 1px solid rgba(220, 38, 38, 0.15);
    text-align: center;
}
.sched-day { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 900; color: var(--primary-red); line-height: 1; }
.sched-month { font-size: 0.7rem; font-weight: 800; color: var(--ink-700); letter-spacing: 0.08em; }
.sched-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sched-cat {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--ink-100);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink-600);
}
.sched-teams {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
    color: var(--text-dark);
}
.sched-vs-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 8px;
    background: var(--primary-red);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}
.sched-meta, .sched-venue { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.82rem; color: var(--ink-500); }
.sched-meta span, .sched-venue div { display: inline-flex; align-items: center; gap: 6px; }
.sched-meta i { color: var(--primary-red); }
.btn-remind {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.45);
    color: var(--primary-red);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.btn-remind:hover { background: var(--primary-red); color: #FFFFFF; box-shadow: var(--shadow-red-glow); }
.btn-remind.is-set { background: var(--accent-green); border-color: var(--accent-green); color: #FFF; }

.bracket-wrapper { padding: clamp(18px, 3vw, 32px); }
.bracket-header { text-align: center; margin-bottom: 20px; }
.bracket-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.bracket-subtitle { font-size: 0.8rem; color: var(--ink-500); }
.bracket-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 -4px;
}
.bracket-swipe-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-500);
}
.bracket-swipe-hint i { color: var(--primary-red); animation: swipeHint 1.4s ease-in-out infinite; }
.bracket-tree-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 760px;
    padding: 10px 4px;
}
.bracket-round {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 22px;
    flex: 1;
    max-width: 240px;
    scroll-snap-align: start;
}
.bracket-round-title {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--ink-400);
    margin-bottom: 4px;
}
.bracket-round-title.is-final { color: var(--accent-gold-dark); }
.bracket-connector { display: flex; align-items: center; justify-content: center; width: 28px; flex-shrink: 0; color: var(--primary-red); opacity: 0.6; }
.bracket-match-node {
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    border: 1px solid var(--border-red);
    box-shadow: var(--shadow-xs);
    transition: var(--transition-fast);
}
.bracket-match-node:hover { border-color: var(--primary-red); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.bracket-match-node.final-node { border: 2px solid var(--accent-gold); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25); }
.bracket-team-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-dark);
}
.bracket-team-row + .bracket-team-row { border-top: 1px solid var(--ink-200); }
.bracket-team-row span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.bracket-team-row.winner { background: rgba(220, 38, 38, 0.08); color: var(--primary-red); font-weight: 800; }

/* --------------------------------------------------------------------------
   17. SQUAD & FIFA CARDS
   -------------------------------------------------------------------------- */
.squad-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(24px, 4vw, 40px);
}
.filter-btn {
    position: relative;
    overflow: hidden;
    min-height: 42px;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    border: 1px solid var(--border-red);
    color: var(--ink-800);
    font-weight: 700;
    font-size: 0.86rem;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.filter-btn:hover { border-color: var(--primary-red); color: var(--primary-red); }
.filter-btn.active { background: linear-gradient(135deg, var(--primary-red-glow), var(--primary-red)); color: #FFFFFF; border-color: var(--primary-red); box-shadow: 0 8px 18px rgba(220, 38, 38, 0.3); }

.squad-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}
.fifa-card-container { perspective: 1000px; }
.fifa-card-3d {
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    overflow: hidden;
    padding: 20px 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, #FFFFFF 0%, var(--red-tint) 55%, #FFFFFF 100%);
    border: 2px solid rgba(220, 38, 38, 0.6);
    box-shadow: var(--shadow-card);
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
    cursor: pointer;
}
.fifa-card-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.55), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.fifa-card-3d:hover { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px); box-shadow: var(--shadow-lg); }
.fifa-card-3d:hover::after { opacity: 1; }
.fifa-card-header { display: flex; justify-content: space-between; align-items: flex-start; }
.fifa-rating-box { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.fifa-rating { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: var(--accent-gold-dark); line-height: 1; }
.fifa-pos { font-weight: 800; font-size: 0.85rem; color: var(--primary-red); margin-top: 4px; }
.fifa-crest { width: 34px; height: 34px; object-fit: contain; }
.fifa-avatar-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin: 12px 0; }
.fifa-player-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fifa-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border-neutral);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-500);
    text-align: center;
}
.stat-item span { display: block; font-family: var(--font-heading); font-size: 1rem; font-weight: 900; color: var(--accent-gold-dark); }

/* --------------------------------------------------------------------------
   18. NEWS, QUOTE, VIDEO & CTA
   -------------------------------------------------------------------------- */
.news-quote-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}
.news-items-stack { display: flex; flex-direction: column; gap: 16px; }
.news-item-card {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
.news-item-card:hover { transform: translateY(-4px); border-color: rgba(220, 38, 38, 0.3); box-shadow: var(--shadow-card); }
.news-thumb-wrap {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink-100);
}
.news-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.news-item-card:hover .news-thumb { transform: scale(1.08); }
.news-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(220, 38, 38, 0.92);
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.news-content { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 4px 4px 4px 0; }
.news-date { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 600; color: var(--primary-red); }
.news-title, .news-content h4 {
    font-family: var(--font-heading);
    font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s;
}
.news-item-card:hover .news-title { color: var(--primary-red); }
.news-summary {
    font-size: 0.84rem;
    color: var(--ink-500);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-readmore { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 0.78rem; font-weight: 700; color: var(--primary-red); transition: gap 0.3s var(--ease-out); }
.news-item-card:hover .news-readmore { gap: 10px; }

/* Berita page grid variant */
.news-items-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.news-items-grid .news-item-card { flex-direction: column; padding: 0; overflow: hidden; gap: 0; }
.news-items-grid .news-thumb-wrap { width: 100%; aspect-ratio: 16 / 10; border-radius: 0; }
.news-items-grid .news-content { padding: 18px 20px 22px; justify-content: flex-start; }
.news-items-grid .news-cat { top: 14px; left: 14px; }

.quote-video-column { display: flex; flex-direction: column; gap: 20px; }
.quote-box { position: relative; overflow: hidden; }
.quote-box::after {
    content: '\201D';
    position: absolute;
    right: 18px;
    bottom: -40px;
    font-family: Georgia, serif;
    font-size: 12rem;
    line-height: 1;
    color: rgba(220, 38, 38, 0.06);
    pointer-events: none;
}
.quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-red-glow), var(--primary-red));
    color: #FFFFFF;
    font-size: 1.1rem;
    box-shadow: var(--shadow-red-glow);
}
.quote-text { font-style: italic; font-size: 1rem; line-height: 1.8; color: var(--ink-800); margin-bottom: 20px; position: relative; z-index: 1; }
.quote-author { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.quote-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; background: #FFF; box-shadow: 0 0 0 2px var(--red-100); }
.author-name { display: block; font-size: 0.92rem; font-weight: 800; color: var(--text-dark); }
.author-title { font-size: 0.76rem; color: var(--ink-500); }

.video-highlight-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
}
.video-poster { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.video-highlight-card:hover .video-poster { transform: scale(1.06); }
.video-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.78) 100%);
}
.play-btn-circle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: var(--primary-red);
    color: #FFFFFF;
    font-size: 1.2rem;
    padding-left: 4px;
    animation: pulseRing 2s infinite;
    transition: transform 0.35s var(--ease-spring);
}
.play-btn-circle:hover { transform: scale(1.12); }
.video-info-text { text-align: center; margin-top: 14px; color: #FFFFFF; }
.video-tag { font-size: 0.68rem; color: #34D399; font-weight: 800; letter-spacing: 0.1em; }
.video-info-text h4 { font-size: 0.98rem; margin-top: 4px; color: #FFFFFF; line-height: 1.4; }

.cta-banner-register {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #991B1B 0%, var(--primary-red) 60%, var(--primary-red-glow) 100%);
    color: #FFFFFF;
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.3);
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.cta-banner-register::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
    animation: shimmerEffect 5s infinite;
    pointer-events: none;
}
.cta-banner-register:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4); }
.cta-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1.3rem;
}
.cta-text-box { min-width: 0; }
.cta-text-box h4 { font-size: 1rem; font-weight: 800; color: #FFFFFF; margin-bottom: 4px; }
.cta-text-box p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.88); line-height: 1.5; }
.cta-arrow { margin-left: auto; font-size: 1rem; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.cta-banner-register:hover .cta-arrow { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   19. INNER PAGE HERO
   -------------------------------------------------------------------------- */
.page-hero-header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px);
    background: linear-gradient(180deg, #FFFFFF 0%, var(--ink-50) 100%);
    border-bottom: 1px solid var(--border-soft);
}
.page-hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold), var(--primary-red));
    background-size: 200% 100%;
    animation: gradientShift 8s ease infinite;
}
.page-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero-bg .hero-orb { opacity: 0.45; }
.page-hero-bg .orb-1 { width: 340px; height: 340px; top: -160px; left: auto; right: 8%; }
.page-hero-bg .orb-2 { width: 280px; height: 280px; top: 30%; right: -100px; }
.page-hero-inner { position: relative; max-width: 780px; }
.page-hero-inner.is-center { margin: 0 auto; text-align: center; }
.page-hero-inner.is-center .page-hero-desc { margin-left: auto; margin-right: auto; }
.page-hero-inner.is-center .breadcrumb { justify-content: center; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-500);
}
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-500); text-decoration: none; transition: color 0.25s; }
.breadcrumb a:hover { color: var(--primary-red); }
.breadcrumb .sep { font-size: 0.6rem; color: var(--ink-300); }
.breadcrumb [aria-current] { color: var(--primary-red); }

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.3rem + 3vw, 3.1rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}
.page-hero-desc { font-size: var(--fs-md); color: var(--ink-600); line-height: 1.75; max-width: 640px; }
.page-main-content { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }

/* --------------------------------------------------------------------------
   20. ABOUT PAGE
   -------------------------------------------------------------------------- */
.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-bottom: clamp(24px, 4vw, 40px);
}
.about-intro h2 { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 16px; }
.about-intro p { color: var(--ink-600); line-height: 1.8; margin-bottom: 14px; }
.about-intro p:last-child { margin-bottom: 0; }
.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.about-visual:hover img { transform: scale(1.05); }
.about-visual-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
}
.about-visual-badge strong { display: block; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 900; color: var(--primary-red); line-height: 1; }
.about-visual-badge span { font-size: 0.75rem; color: var(--ink-500); font-weight: 600; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }

.feature-card { height: 100%; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(220, 38, 38, 0.28); }
.feature-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-red-glow), var(--primary-red));
    color: #FFFFFF;
    font-size: 1.25rem;
    box-shadow: var(--shadow-red-glow);
    transition: transform 0.5s var(--ease-spring);
}
.feature-card:hover .feature-card-icon { transform: rotate(-8deg) scale(1.08); }
.feature-card-icon.is-gold { background: linear-gradient(135deg, #E9C85A, var(--accent-gold-dark)); box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35); }
.feature-card h3 { font-size: var(--fs-h3); font-weight: 800; margin-bottom: 10px; }
.feature-card p { color: var(--ink-600); line-height: 1.75; font-size: 0.94rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--ink-600); line-height: 1.6; font-size: 0.94rem; }
.check-list li i { color: var(--accent-green); margin-top: 4px; flex-shrink: 0; }

.values-section { margin-top: clamp(40px, 6vw, 72px); }
.value-card { text-align: center; padding: clamp(22px, 3vw, 32px) 20px; }
.value-card .feature-card-icon { margin-left: auto; margin-right: auto; }
.value-card h3 { font-size: 1.05rem; }
.value-card p { font-size: 0.86rem; }

/* --------------------------------------------------------------------------
   21. PRESTASI
   -------------------------------------------------------------------------- */
.trophy-card { position: relative; overflow: hidden; text-align: center; }
.trophy-card::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 70%);
    pointer-events: none;
}
.trophy-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #FFF8E1, #FFFFFF);
    border: 2px solid rgba(212, 175, 55, 0.4);
    font-size: 2rem;
    box-shadow: 0 12px 26px rgba(212, 175, 55, 0.25);
    transition: transform 0.6s var(--ease-spring);
}
.trophy-card:hover .trophy-icon { transform: translateY(-6px) rotate(-10deg) scale(1.08); }
.trophy-icon.is-red { background: linear-gradient(145deg, var(--red-50), #FFFFFF); border-color: rgba(220, 38, 38, 0.35); box-shadow: 0 12px 26px rgba(220, 38, 38, 0.2); }
.trophy-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.trophy-card p { color: var(--ink-500); font-size: 0.86rem; }
.trophy-year {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--ink-100);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--ink-600);
}

.achievement-panel { margin-top: clamp(24px, 4vw, 40px); }
.achievement-panel h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h3); font-weight: 800; margin-bottom: 20px; }
.achievement-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.achievement-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--ink-50);
    border: 1px solid var(--border-soft);
    transition: var(--transition-fast);
}
.achievement-item:hover { background: #FFFFFF; border-color: rgba(220, 38, 38, 0.28); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.achievement-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #E9C85A, var(--accent-gold-dark));
    color: #FFFFFF;
    font-size: 1.1rem;
}
.achievement-medal.is-silver { background: linear-gradient(135deg, #CBD5E1, #64748B); }
.achievement-info { flex: 1; min-width: 0; }
.achievement-info strong { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: var(--accent-gold-dark); }
.achievement-medal.is-silver + .achievement-info strong { color: var(--ink-500); }
.achievement-info span { display: block; font-weight: 600; color: var(--text-dark); font-size: 0.94rem; line-height: 1.45; }
.achievement-year { flex-shrink: 0; padding: 4px 12px; border-radius: var(--radius-pill); background: #FFFFFF; border: 1px solid var(--ink-200); font-size: 0.78rem; font-weight: 800; color: var(--ink-600); }

/* --------------------------------------------------------------------------
   22. KONTAK
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}
.panel-title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 800; margin-bottom: 8px; }
.panel-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 13px;
    background: var(--red-50);
    color: var(--primary-red);
    font-size: 1.05rem;
}
.panel-subtitle { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 0.78rem; color: var(--ink-400); text-align: center; }

.contact-card-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.contact-card-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--ink-50);
    border: 1px solid var(--border-neutral);
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}
a.contact-card-item:hover { border-color: rgba(220, 38, 38, 0.3); background: #FFFFFF; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    color: var(--primary-red);
}
.contact-card-icon.is-green { color: #25D366; }
.contact-card-icon.is-gold { color: var(--accent-gold-dark); }
.contact-card-text { display: flex; flex-direction: column; min-width: 0; }
.contact-card-text small { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 2px; }
.contact-card-text strong { font-size: 0.92rem; color: var(--text-dark); line-height: 1.45; word-break: break-word; }
.contact-card-text span { font-size: 0.82rem; color: var(--ink-500); }

.map-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.08), transparent 50%),
        repeating-linear-gradient(45deg, rgba(220, 38, 38, 0.03) 0 12px, transparent 12px 24px),
        var(--red-tint);
    border: 1px dashed rgba(220, 38, 38, 0.3);
}
.map-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--primary-red);
    box-shadow: var(--shadow-red-glow);
    animation: floatAnimation 3s ease-in-out infinite;
}
.map-pin i { transform: rotate(45deg); color: #FFF; font-size: 1.2rem; }
.map-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.map-card p { font-size: 0.86rem; color: var(--ink-500); margin-bottom: 16px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   23. DASHBOARD
   -------------------------------------------------------------------------- */
.dash-section { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.dash-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: clamp(20px, 3vw, 30px);
    border-left: 6px solid var(--primary-red);
}
.dash-welcome h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 900; margin: 10px 0 6px; }
.dash-welcome p { font-size: 0.9rem; color: var(--ink-500); line-height: 1.6; }
.dash-verified { color: var(--accent-gold-dark); font-weight: 700; white-space: nowrap; }
.dash-welcome-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dash-role-info { text-align: right; }
.dash-role-info span { display: block; font-size: 0.74rem; color: var(--ink-500); }
.dash-role-info strong { font-size: 0.95rem; color: var(--text-dark); }

.dash-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 20px); margin-bottom: clamp(20px, 3vw, 28px); }
.dash-stat { border-top: 4px solid var(--primary-red); }
.dash-stat.is-gold { border-top-color: var(--accent-gold); }
.dash-stat.is-green { border-top-color: var(--accent-green); }
.dash-stat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.dash-stat-head span { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ink-500); }
.dash-stat-head i { font-size: 1.3rem; color: var(--primary-red); }
.dash-stat.is-gold .dash-stat-head i { color: var(--accent-gold); }
.dash-stat.is-green .dash-stat-head i, .dash-stat.is-green .dash-stat-value { color: var(--accent-green); }
.dash-stat-value { font-family: var(--font-heading); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-weight: 900; color: var(--text-dark); line-height: 1.1; margin-bottom: 6px; }
.dash-stat-foot { font-size: 0.76rem; font-weight: 700; color: var(--ink-500); }
.dash-stat-foot.is-up { color: var(--accent-green); }

.dash-main-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 24px); }
.dash-card-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
.dash-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dash-tool-grid .btn { white-space: normal; min-height: 58px; }
.dash-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.86rem; color: var(--ink-600); }
.dash-list li { display: flex; align-items: center; gap: 10px; }
.dash-desc { font-size: 0.9rem; color: var(--ink-500); line-height: 1.65; margin-bottom: 20px; }
.dash-class-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.dash-class-card { padding: 20px; border-radius: var(--radius); background: var(--ink-50); border: 1px solid var(--ink-200); transition: var(--transition-fast); }
.dash-class-card:hover { border-color: rgba(220, 38, 38, 0.3); background: #FFF; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.dash-class-card h4 { font-size: 1rem; font-weight: 800; }
.dash-class-card p { font-size: 0.8rem; color: var(--ink-500); margin: 4px 0 14px; }
.dash-profile-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--border-neutral); }
.dash-profile-head h3 { font-size: 1.2rem; font-weight: 900; }
.dash-profile-head span { font-size: 0.82rem; color: var(--ink-500); }
.pill-green { background: rgba(5, 150, 105, 0.1) !important; border-color: var(--accent-green) !important; color: var(--accent-green) !important; }
.dash-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; text-align: center; }
.dash-metric { padding: 14px 10px; border-radius: var(--radius-sm); background: var(--ink-50); border: 1px solid var(--ink-200); }
.dash-metric span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ink-500); }
.dash-metric strong { display: block; font-family: var(--font-heading); font-size: 1.45rem; font-weight: 900; color: var(--text-dark); margin-top: 2px; }
.dash-note { font-size: 0.86rem; color: var(--ink-600); line-height: 1.7; }
.dash-schedule-card { padding: 16px; border-radius: var(--radius-sm); background: var(--red-tint); border: 1px solid rgba(220, 38, 38, 0.2); }
.dash-schedule-card small { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; color: var(--primary-red); }
.dash-schedule-card h4 { font-size: 1rem; font-weight: 800; margin: 4px 0 6px; }
.dash-schedule-card span { font-size: 0.8rem; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   24. LOGIN PAGE
   -------------------------------------------------------------------------- */
.login-section { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; }
.login-section .container { max-width: calc(1080px + var(--gutter) * 2); }
.login-head { text-align: center; margin-bottom: clamp(28px, 4vw, 40px); }
.login-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 2.9rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 12px; }
.login-head p { color: var(--ink-600); max-width: 600px; margin: 0 auto; line-height: 1.75; }
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); margin-bottom: clamp(24px, 4vw, 36px); }
.role-card {
    --role-color: var(--primary-red);
    --role-bg: rgba(220, 38, 38, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 2px solid var(--ink-200);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--role-color); }
.role-card.is-selected { border-color: var(--role-color); box-shadow: 0 0 0 4px var(--role-bg), var(--shadow-card); }
.role-card.is-selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--role-color);
    color: #FFF;
    font-size: 0.7rem;
    animation: fadeUp 0.35s var(--ease-spring);
}
.role-card.is-gold { --role-color: var(--accent-gold-dark); --role-bg: rgba(212, 175, 55, 0.15); }
.role-card.is-green { --role-color: var(--accent-green); --role-bg: rgba(5, 150, 105, 0.12); }
.role-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--role-bg);
    color: var(--role-color);
    font-size: 1.6rem;
    transition: transform 0.5s var(--ease-spring);
}
.role-card:hover .role-icon { transform: scale(1.1) rotate(-6deg); }
.role-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.role-card p { font-size: 0.8rem; color: var(--ink-500); line-height: 1.55; }
.login-form-card { max-width: 540px; margin: 0 auto; }
.login-form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--border-neutral); }
.login-form-head h2 { font-size: 1.15rem; font-weight: 900; }
.login-form-head small { font-size: 0.76rem; font-weight: 700; color: var(--primary-red); }
.login-form-head .panel-title-icon { width: 40px; height: 40px; }
.alert-error { display: flex; gap: 10px; padding: 12px 16px; margin-bottom: 18px; border-radius: var(--radius-sm); background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; font-size: 0.86rem; }
.input-icon-wrap { position: relative; }
.input-icon-wrap > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-400); pointer-events: none; transition: color 0.25s; }
.input-icon-wrap .form-input { padding-left: 44px; }
.input-icon-wrap:focus-within > i { color: var(--primary-red); }
.toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--ink-400);
}
.toggle-password:hover { color: var(--primary-red); }

/* Legacy ambient helpers */
.stadium-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(220, 38, 38, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(212, 175, 55, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 50% 85%, rgba(220, 38, 38, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}
.spotlight-beam {
    position: absolute;
    top: -200px;
    width: 300px;
    height: 800px;
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.08) 0%, transparent 80%);
    filter: blur(40px);
    transform: rotate(-25deg);
    pointer-events: none;
    z-index: -1;
    animation: spotlightPulse 8s infinite alternate ease-in-out;
}
.spotlight-left { left: 5%; }
.spotlight-right { right: 5%; transform: rotate(25deg); animation-delay: -4s; }

/* --------------------------------------------------------------------------
   25. PRE-FOOTER CTA & FOOTER
   -------------------------------------------------------------------------- */
.prefooter-cta { padding: clamp(24px, 4vw, 48px) 0 0; position: relative; z-index: 2; margin-bottom: -72px; }
.prefooter-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #7F1D1D 0%, #DC2626 55%, #EF4444 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    color: #FFFFFF;
    box-shadow: 0 30px 60px rgba(220, 38, 38, 0.32);
}
.prefooter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
    mask-image: linear-gradient(90deg, transparent, #000 70%);
    pointer-events: none;
}
.prefooter-glow { position: absolute; width: 320px; height: 320px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(250, 204, 21, 0.35), transparent 70%); pointer-events: none; }
.prefooter-text { position: relative; max-width: 620px; }
.prefooter-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; margin-bottom: 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; }
.prefooter-eyebrow i { color: #FACC15; }
.prefooter-text h2 { color: #FFFFFF; font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 10px; }
.prefooter-text p { color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; line-height: 1.7; }
.prefooter-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

.main-footer {
    position: relative;
    background: #FFFFFF;
    padding: clamp(56px, 7vw, 80px) 0 0;
    margin-top: clamp(56px, 8vw, 100px);
    border-top: 1px solid var(--border-soft);
}
.has-prefooter .main-footer { margin-top: 0; padding-top: calc(72px + clamp(48px, 6vw, 72px)); }
.footer-top-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-red) 30%, var(--accent-gold) 50%, var(--primary-red) 70%, transparent 100%);
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(40px, 5vw, 60px);
}
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 900; color: var(--text-dark); line-height: 1.25; }
.footer-badge-slogan { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; color: var(--primary-red); }
.footer-desc { font-size: 0.9rem; color: var(--ink-500); line-height: 1.8; margin-bottom: 22px; max-width: 380px; }
.footer-social-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ink-100);
    border: 1px solid var(--border-neutral);
    color: var(--ink-700);
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform 0.35s var(--ease-spring), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s;
}
.social-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.social-pill:hover { transform: translateY(-4px); color: #FFF; }
.social-pill.instagram:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); border-color: transparent; box-shadow: 0 10px 20px rgba(221, 42, 123, 0.3); }
.social-pill.youtube:hover { background: #FF0000; border-color: #FF0000; box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3); }
.social-pill.tiktok:hover { background: #000000; border-color: #000000; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); }
.social-pill.whatsapp:hover { background: #25D366; border-color: #25D366; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }

.footer-col-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
}
.footer-col-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--primary-red), var(--accent-gold)); }
.footer-nav-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav-links a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-500); text-decoration: none; font-size: 0.9rem; transition: color 0.25s, transform 0.3s var(--ease-out); }
.link-arrow { font-size: 0.62rem; color: var(--primary-red); transition: transform 0.3s var(--ease-out); }
.footer-nav-links a:hover { color: var(--primary-red); transform: translateX(4px); }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: var(--ink-500); line-height: 1.55; }
.contact-info-list i { width: 18px; text-align: center; font-size: 0.95rem; margin-top: 3px; flex-shrink: 0; }
.contact-info-list a { color: inherit; text-decoration: none; transition: color 0.25s; }
.contact-info-list a:hover { color: var(--primary-red); }

.footer-pwa-card { padding: 16px; margin-bottom: 14px; border-radius: var(--radius); background: var(--red-tint); border: 1px solid var(--border-soft); }
.pwa-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pwa-card-icon { width: 40px; height: 40px; border-radius: 10px; background: #FFF; padding: 3px; box-shadow: var(--shadow-xs); }
.pwa-card-header h5 { font-family: var(--font-heading); font-size: 0.92rem; font-weight: 800; color: var(--text-dark); }
.pwa-card-ver { font-size: 0.68rem; color: var(--accent-green); font-weight: 700; }
.pwa-card-text { font-size: 0.78rem; color: var(--ink-500); line-height: 1.5; margin-bottom: 12px; }
.footer-system-heartbeat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--ink-100);
    border: 1px solid var(--border-neutral);
    font-size: 0.75rem;
    color: var(--ink-500);
}

.footer-bottom { background: var(--ink-50); border-top: 1px solid var(--border-neutral); padding: 22px 0; font-size: 0.82rem; color: var(--ink-500); }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.bottom-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bottom-links a { color: var(--ink-500); text-decoration: none; transition: color 0.25s; }
.bottom-links a:hover { color: var(--primary-red); }
.footer-made { display: inline-flex; align-items: center; gap: 6px; }
.footer-made i { color: var(--primary-red); animation: pulse 1.4s infinite; }

/* Floating back to top with progress ring */
.btn-back-to-top {
    position: fixed;
    right: clamp(16px, 3vw, 28px);
    bottom: calc(clamp(16px, 3vw, 28px) + var(--bottom-nav-h) + var(--safe-bottom));
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--primary-red);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-spring), visibility 0.4s, background 0.25s, color 0.25s;
}
.btn-back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.btn-back-to-top:hover { background: var(--primary-red); color: #FFF; }
.btn-back-to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.btn-back-to-top .btt-track { fill: none; stroke: var(--ink-200); stroke-width: 3; }
.btn-back-to-top .btt-progress { fill: none; stroke: var(--primary-red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 138.23; stroke-dashoffset: 138.23; transition: stroke-dashoffset 0.1s linear; }
.btn-back-to-top:hover .btt-progress { stroke: #FFFFFF; }
.btn-back-to-top i { position: relative; z-index: 1; }

/* Mobile bottom navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    padding: 6px 8px calc(6px + var(--safe-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.4s var(--ease-out);
}
.mobile-bottom-nav.is-hidden { transform: translateY(110%); }
.bottom-nav-inner { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; max-width: 520px; margin: 0 auto; }
.bottom-nav-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    padding: 4px 2px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: var(--ink-500);
    text-decoration: none;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.25s;
}
.bottom-nav-item i { font-size: 1.1rem; transition: transform 0.35s var(--ease-spring); }
.bottom-nav-item.active { color: var(--primary-red); }
.bottom-nav-item.active i { transform: translateY(-2px); }
.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    width: 18px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-red);
    transform: translateX(-50%);
}
.bottom-nav-cta { overflow: visible; }
.bottom-nav-cta .cta-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red-glow), var(--dark-red-accent));
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.4), 0 0 0 5px #FFFFFF;
    animation: pulseRing 2.4s infinite;
}
.bottom-nav-cta .cta-bubble i { font-size: 1.15rem; }
.bottom-nav-cta span:last-child { color: var(--primary-red); }

/* --------------------------------------------------------------------------
   26. MODALS
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid var(--border-red);
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.45s var(--ease-out);
}
.modal-overlay.active .modal-container { transform: none; }
.operator-console-container { max-width: 780px; }
.modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold), var(--primary-red));
    z-index: 2;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--border-neutral);
    flex-shrink: 0;
}
.modal-title-box { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.modal-title-box > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--red-50);
    font-size: 1.05rem;
}
.modal-title-box h3 { font-size: 1.02rem; font-weight: 800; color: var(--text-dark); line-height: 1.3; letter-spacing: 0.01em; }
.modal-title-box p { font-size: 0.8rem; color: var(--ink-500); margin-top: 3px; line-height: 1.45; }
.btn-close-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    background: var(--ink-50);
    color: var(--ink-700);
    font-size: 1.4rem;
    line-height: 1;
    transition: var(--transition-fast);
}
.btn-close-modal:hover { background: var(--primary-red); border-color: var(--primary-red); color: #FFF; transform: rotate(90deg); }
.modal-body { padding: 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* Forms */
.op-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--ink-600); letter-spacing: 0.01em; }
.form-input {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--ink-200);
    background: var(--ink-50);
    color: var(--text-dark);
    font-size: 16px; /* prevents iOS zoom */
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    -webkit-appearance: none;
    appearance: none;
}
textarea.form-input { min-height: 96px; resize: vertical; line-height: 1.6; }
select.form-input {
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23DC2626' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.form-input::placeholder { color: var(--ink-400); }
.form-input:hover { border-color: var(--ink-300); }
.form-input:focus { border-color: var(--primary-red); background-color: #FFFFFF; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1); }

/* --------------------------------------------------------------------------
   27. OPERATOR CONSOLE
   -------------------------------------------------------------------------- */
.operator-section-box { padding: 20px; margin-bottom: 18px; border-radius: var(--radius); background: var(--ink-50); border: 1px solid var(--border-soft); }
.operator-section-box:last-child { margin-bottom: 0; }
.operator-section-box h4 { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 800; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.score-control-center { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 14px; align-items: center; text-align: center; }
.team-score-card { padding: 14px; border-radius: var(--radius-sm); background: #FFFFFF; border: 1px solid var(--border-soft); }
.team-label { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; color: var(--primary-red); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-display-big { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; color: var(--primary-red); line-height: 1.1; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.score-btn-pair { display: flex; gap: 6px; }
.btn-score-add, .btn-score-sub { min-height: 42px; border: none; border-radius: 10px; font-weight: 800; font-size: 0.85rem; transition: var(--transition-fast); }
.btn-score-add { flex: 2; background: var(--primary-red); color: #FFFFFF; }
.btn-score-add:hover { background: var(--dark-red-accent); }
.btn-score-sub { flex: 1; background: var(--ink-200); color: var(--text-dark); }
.btn-score-sub:hover { background: var(--ink-300); }
.btn-score-add:active, .btn-score-sub:active { transform: scale(0.95); }
.live-clock-big { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: var(--accent-green); font-variant-numeric: tabular-nums; }
.clock-actions-row { display: flex; gap: 6px; margin: 8px 0; }
.btn-clock-action { flex: 1; min-height: 38px; padding: 6px; border-radius: 10px; border: 1px solid var(--ink-300); background: #FFFFFF; color: var(--text-dark); font-size: 0.75rem; font-weight: 700; transition: var(--transition-fast); }
.btn-clock-action:hover { background: var(--primary-red); color: #FFFFFF; border-color: var(--primary-red); }
.match-stage-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.stage-pill { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--ink-300); background: #FFFFFF; color: var(--ink-500); font-size: 0.7rem; font-weight: 600; transition: var(--transition-fast); }
.stage-pill.active { background: var(--primary-red); color: #FFFFFF; border-color: var(--primary-red); font-weight: 800; }
.op-quick-actions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.btn-op-event { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 10px; border: none; font-weight: 700; font-size: 0.85rem; text-align: left; }
.btn-goal-flash { grid-column: span 2; justify-content: center; background: linear-gradient(90deg, #991B1B 0%, var(--primary-red) 100%); color: #FFF; font-size: 0.95rem; box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4); }
.btn-card-yellow { background: #FEF08A; color: #854D0E; border: 1px solid #EAB308; }
.btn-card-red { background: #FEE2E2; color: #991B1B; border: 1px solid #DC2626; }
.btn-sub { background: #E0F2FE; color: #0369A1; border: 1px solid #0284C7; }

/* --------------------------------------------------------------------------
   28. GOAL OVERLAY
   -------------------------------------------------------------------------- */
.goal-overlay-container { position: fixed; inset: 0; z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.goal-overlay-container.active { opacity: 1; pointer-events: auto; }
.goal-overlay-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.88); backdrop-filter: blur(20px); }
#confettiCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10000; }
.goal-banner-3d { position: relative; z-index: 10001; text-align: center; transform: scale(0.6); transition: transform 0.5s var(--ease-spring); }
.goal-overlay-container.active .goal-banner-3d { transform: scale(1); }
.goal-text-glow { font-family: var(--font-heading); font-size: clamp(3rem, 12vw, 6rem); font-weight: 900; color: #FFFFFF; text-shadow: 0 0 30px #DC2626, 0 0 60px #EF4444; letter-spacing: 4px; animation: zoomPulse 1.2s infinite alternate; }
.goal-subtext { font-size: 1.5rem; font-weight: 800; color: #34D399; letter-spacing: 3px; margin-bottom: 24px; }
.goal-player-badge { display: inline-flex; align-items: center; gap: 16px; padding: 16px 32px; border-radius: 50px; background: rgba(220, 38, 38, 0.3); border: 2px solid #EF4444; color: #FFFFFF; backdrop-filter: blur(10px); }
.goal-crest-spin { width: 50px; height: 50px; }
.goal-detail-info { text-align: left; color: #FFFFFF; }
.goal-minute { font-size: 0.8rem; color: #FACC15; font-weight: 800; }
.goal-scorer-name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 900; color: #FFFFFF; }
.btn-close-goal-overlay { margin-top: 30px; padding: 8px 24px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.2); color: #FFF; font-weight: 700; }

/* --------------------------------------------------------------------------
   29. TOASTS
   -------------------------------------------------------------------------- */
.toast-container {
    position: fixed;
    right: clamp(12px, 3vw, 24px);
    bottom: calc(clamp(12px, 3vw, 24px) + var(--bottom-nav-h) + var(--safe-bottom));
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
    max-width: calc(100vw - 24px);
}
.toast {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 380px;
    padding: 14px 18px 14px 14px;
    border-radius: var(--radius);
    background: #FFFFFF;
    border: 1px solid var(--border-red);
    color: var(--text-dark);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: slideIn 0.45s var(--ease-out);
}
.toast.is-leaving { animation: slideOut 0.35s var(--ease-in-out) forwards; }
.toast > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--red-50);
}
.toast::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary-red), var(--accent-gold)); transform-origin: left; animation: toastTimer 4s linear forwards; }
@keyframes toastTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* --------------------------------------------------------------------------
   30. RBAC (legacy) & misc
   -------------------------------------------------------------------------- */
.rbac-simulator-bar { background: linear-gradient(90deg, #090308 0%, #1A0915 50%, #090308 100%); border-bottom: 1px solid var(--glass-border); padding: 6px 0; font-size: 0.8rem; position: relative; z-index: 102; }
.rbac-bar-flex { display: flex; justify-content: space-between; align-items: center; }
.rbac-status-info { display: flex; align-items: center; gap: 8px; }
.rbac-tag { color: var(--text-muted); font-weight: 700; }
.rbac-role-title { padding: 2px 10px; border-radius: 12px; font-weight: 800; font-size: 0.78rem; }
.badge-purple { background: rgba(168, 85, 247, 0.2); color: #C084FC; border: 1px solid #A855F7; }
.badge-red { background: rgba(225, 29, 72, 0.2); color: var(--primary-red-glow); border: 1px solid var(--primary-red); }
.badge-green { background: rgba(16, 185, 129, 0.2); color: var(--accent-green); border: 1px solid var(--accent-green); }
.badge-blue { background: rgba(59, 130, 246, 0.2); color: #60A5FA; border: 1px solid #3B82F6; }
.rbac-switcher-pills { display: flex; gap: 6px; }
.rbac-pill { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-muted); padding: 4px 10px; border-radius: 14px; font-size: 0.72rem; font-weight: 600; transition: var(--transition-fast); }
.rbac-pill:hover, .rbac-pill.active { background: var(--primary-red); color: var(--text-white); border-color: var(--primary-red-glow); }
.glow-new { animation: glowPulseNew 1.2s ease 3; }

/* ==========================================================================
   31. RESPONSIVE — LARGE TABLET / SMALL LAPTOP (≤ 1180px)
   ========================================================================== */
@media (max-width: 1180px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: inline-flex; }
    .nav-actions .btn-operator-trigger .hide-mobile { display: none; }

    .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    .hero-player-visual { display: none; }
    .hero-scroll-indicator { display: none; }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   32. RESPONSIVE — TABLET (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .stats-band { grid-template-columns: 1fr; }
    .news-quote-grid { grid-template-columns: 1fr; }
    .quote-video-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quote-video-column .quote-box { grid-column: 1 / -1; }
    .program-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .program-cards-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .program-cards-grid > :last-child:nth-child(odd) .program-img-wrapper { aspect-ratio: 21 / 9; }
    .news-items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-intro { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .dash-main-grid { grid-template-columns: 1fr; }
    .prefooter-card { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   33. RESPONSIVE — MOBILE (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --header-h: 66px;
        --bottom-nav-h: 66px;
    }

    .hide-mobile { display: none !important; }
    .hide-sm { display: none !important; }
    .show-sm { display: inline !important; }

    /* Announcement */
    .top-announcement-bar { font-size: 0.78rem; }
    .announcement-content { min-height: 40px; }
    .announcement-text > span { white-space: nowrap; }
    .btn-install-pwa span { display: none; }
    .btn-install-pwa { width: 30px; padding: 0; justify-content: center; }

    /* Header */
    .main-header.is-scrolled .nav-container { height: 60px; }
    .nav-container { gap: 12px; }
    .logo-ring-wrapper { width: 42px; height: 42px; }
    .brand-logo { gap: 10px; }
    .brand-title { font-size: 1rem; }
    .brand-subtitle { font-size: 0.58rem; letter-spacing: 0.1em; margin-top: 4px; }
    .nav-actions { gap: 8px; }
    .nav-actions .btn-operator-trigger,
    .nav-actions .cms-only-element,
    .nav-actions #btnLoginHeaderTrigger { display: none !important; }
    .btn-icon { width: 42px; height: 42px; }
    .mobile-toggle { width: 44px; height: 44px; border-radius: 13px; }

    /* Mobile bottom nav */
    .mobile-bottom-nav { display: block; }

    /* Hero */
    .hero-section { padding: 32px 0 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .badge-hero-label { margin-bottom: 18px; font-size: 0.68rem; padding: 7px 14px; }
    .hero-description { font-size: 0.95rem; margin-bottom: 24px; }
    .hero-cta-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
    .hero-cta-group .btn { width: 100%; padding: 12px 14px; font-size: 0.9rem; }
    .hero-mini-stats { max-width: none; }
    .orb-1 { width: 280px; height: 280px; }
    .orb-2 { width: 240px; height: 240px; }
    .glass-live-card { padding: 20px 18px; }
    .live-league-title { text-align: left; width: 100%; }

    .ticker-strip { padding: 11px 0; margin-top: -14px; }
    .ticker-item { font-size: 0.85rem; padding: 0 20px; }
    .ticker-item::after { margin-left: 20px; }

    /* Sections */
    .section-header-inline { flex-direction: column; align-items: flex-start; gap: 12px; }
    .section-center-header { text-align: left; margin-left: 0; }
    .section-center-header .sub-tag-red { margin-left: 0; }
    .stats-counter-grid { gap: 10px; }
    .stat-card { padding: 16px 14px; }
    .stat-icon { width: 38px; height: 38px; font-size: 0.95rem; margin-bottom: 10px; border-radius: 10px; }

    /* Program */
    .program-cards-grid { grid-template-columns: 1fr; }
    .program-cards-grid > :last-child:nth-child(odd) { grid-column: auto; }
    .program-cards-grid > :last-child:nth-child(odd) .program-img-wrapper { aspect-ratio: 16 / 10; }

    /* Tabs */
    .tab-pill-container { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; border-radius: var(--radius-pill); gap: 4px; padding: 4px; scrollbar-width: none; }
    .tab-pill-container::-webkit-scrollbar { display: none; }
    .tab-pill { flex: 1; padding: 10px 14px; font-size: 0.82rem; border-radius: var(--radius-pill); white-space: nowrap; justify-content: center; flex-shrink: 0; }


    /* Schedule */
    .sched-item-card {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
        border-radius: var(--radius);
    }
    .sched-day { font-size: 1.5rem; }
    .sched-month { font-size: 0.62rem; }
    .sched-date-box { border-radius: 14px; }
    .sched-teams { gap: 6px 10px; }
    .sched-action { grid-column: 1 / -1; }
    .sched-action .btn-remind { width: 100%; }
    .sched-meta { gap: 4px 14px; font-size: 0.78rem; }

    /* Bracket */
    .bracket-swipe-hint { display: flex; }
    .bracket-tree-container { min-width: 680px; }

    /* Squad */
    .squad-filter-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        margin-left: calc(var(--gutter) * -1);
        margin-right: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 8px;
        scrollbar-width: none;
    }
    .squad-filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn { scroll-snap-align: start; flex-shrink: 0; }
    .squad-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .fifa-card-3d { padding: 14px 12px; border-radius: var(--radius); }
    .fifa-rating { font-size: 1.6rem; }
    .fifa-pos { font-size: 0.72rem; }
    .fifa-crest { width: 26px; height: 26px; }
    .fifa-avatar-img { margin: 10px 0; }
    .fifa-player-name { font-size: 0.86rem; margin-bottom: 10px; }
    .fifa-stats-grid { font-size: 0.6rem; gap: 6px 4px; padding-top: 10px; }
    .stat-item span { font-size: 0.86rem; }

    /* News */
    .news-item-card { gap: 14px; padding: 12px; border-radius: var(--radius); }
    .news-thumb-wrap { width: 108px; aspect-ratio: 1; border-radius: 12px; }
    .news-cat { top: 6px; left: 6px; font-size: 0.56rem; padding: 2px 7px; }
    .news-summary { -webkit-line-clamp: 2; line-clamp: 2; font-size: 0.8rem; }
    .news-readmore { display: none; }
    .news-items-grid { grid-template-columns: 1fr; }
    .news-items-grid .news-item-card { padding: 0; }
    .news-items-grid .news-thumb-wrap { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
    .news-items-grid .news-readmore { display: inline-flex; }
    .quote-video-column { grid-template-columns: 1fr; }
    .quote-text { font-size: 0.95rem; }

    /* Inner pages */
    .breadcrumb { margin-bottom: 14px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
    .form-row-2, .op-grid-2 { grid-template-columns: 1fr; }
    .achievement-item { padding: 12px 14px; gap: 12px; align-items: flex-start; }
    .achievement-medal { width: 40px; height: 40px; }
    .achievement-year { align-self: center; }

    /* Dashboard */
    .dash-welcome { border-left-width: 4px; }
    .dash-welcome-actions { width: 100%; }
    .dash-welcome-actions .btn { width: 100%; }
    .dash-tool-grid { grid-template-columns: 1fr; }
    .dash-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Login */
    .role-card { padding: 20px 14px; }
    .role-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 10px; }
    .role-card p { font-size: 0.76rem; }

    /* Pre-footer + footer */
    .prefooter-cta { margin-bottom: -56px; }
    .prefooter-card { padding: 28px 22px; border-radius: var(--radius-lg); gap: 20px; }
    .prefooter-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .prefooter-actions .btn { width: 100%; padding: 12px 14px; font-size: 0.88rem; }
    .has-prefooter .main-footer { padding-top: calc(56px + 44px); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .footer-col.brand-col, .footer-col.app-col { grid-column: 1 / -1; }
    .footer-col.contact-col { grid-column: 1 / -1; }
    .footer-desc { max-width: none; }
    .footer-bottom { padding: 18px 0; }
    .bottom-flex { flex-direction: column; text-align: center; gap: 10px; }
    .bottom-links { justify-content: center; gap: 16px; }

    /* Modals → bottom sheets */
    .modal-overlay { align-items: flex-end; padding: 0; }
    .modal-container {
        max-width: 100% !important;
        max-height: 92vh;
        max-height: 92dvh;
        border-radius: 24px 24px 0 0;
        border-bottom: none;
        transform: translateY(100%);
        transition: transform 0.5s var(--ease-out);
    }
    .modal-container::after {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        width: 40px;
        height: 4px;
        border-radius: 4px;
        background: var(--ink-300);
        transform: translateX(-50%);
    }
    .modal-header { padding: 26px 18px 14px; }
    .modal-title-box > i { width: 38px; height: 38px; font-size: 0.95rem; }
    .modal-title-box h3 { font-size: 0.92rem; }
    .modal-title-box p { font-size: 0.76rem; }
    .modal-body { padding: 18px 18px calc(22px + var(--safe-bottom)); }

    /* Operator console */
    .score-control-center { grid-template-columns: 1fr 1fr; grid-template-areas: "home away" "clock clock"; gap: 10px; }
    .score-control-center > .team-score-card:first-child { grid-area: home; }
    .score-control-center > .clock-control-box { grid-area: clock; padding: 14px; border-radius: var(--radius-sm); background: #FFF; border: 1px solid var(--border-soft); }
    .score-control-center > .team-score-card:last-child { grid-area: away; }
    .score-display-big { font-size: 2.4rem; }
    .operator-section-box { padding: 16px 14px; }

    /* Toast */
    .toast-container { left: 12px; right: 12px; align-items: stretch; }
    .toast { max-width: none; }
}

/* ==========================================================================
   34. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .header-live-badge { display: none; }
    .brand-subtitle { font-size: 0.54rem; }

    .hero-mini-stats { padding: 12px 2px; }
    .hero-mini-stats strong { font-size: 1.15rem; }
    .hero-mini-stats span { font-size: 0.64rem; }

    .live-scoreboard { gap: 6px; }
    .team-crest, .team-crest-placeholder { width: 48px; height: 48px; }
    .team-name { font-size: 0.78rem; }
    .event-icon { font-size: 0.68rem; }

    .stats-counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-label { font-size: 0.74rem; }

    .news-thumb-wrap { width: 92px; }
    .news-title { font-size: 0.92rem; }
    .news-summary { display: none; }
    .news-items-grid .news-summary { display: -webkit-box; }

    .cta-banner-register { padding: 16px; gap: 12px; }
    .cta-icon-box { width: 44px; height: 44px; font-size: 1.1rem; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-col { grid-column: auto !important; }
    .footer-nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
    .footer-nav-links a { font-size: 0.86rem; }

    .prefooter-actions { grid-template-columns: 1fr; }

    .role-grid { grid-template-columns: 1fr; }
    .role-card { flex-direction: row; text-align: left; gap: 14px; align-items: center; }
    .role-icon { margin-bottom: 0; flex-shrink: 0; }
    .role-card.is-selected::after { top: 50%; transform: translateY(-50%); }

    .achievement-item { flex-wrap: wrap; }
    .achievement-year { margin-left: 56px; align-self: flex-start; }
}

/* ==========================================================================
   35. RESPONSIVE — TINY MOBILE (≤ 360px)
   ========================================================================== */
@media (max-width: 360px) {
    :root { --gutter: 14px; }
    .brand-subtitle { display: none; }
    .brand-title { font-size: 0.95rem; }
    .hero-cta-group { grid-template-columns: 1fr; }
    .squad-cards-grid { grid-template-columns: 1fr; }
    .tab-pill { font-size: 0.78rem; gap: 6px; padding: 10px 8px; }
    .footer-nav-links { grid-template-columns: 1fr; }
    .bottom-nav-item { font-size: 0.58rem; }
}

/* ==========================================================================
   36. LARGE DESKTOP POLISH (≥ 1440px)
   ========================================================================== */
@media (min-width: 1440px) {
    :root { --container: 1280px; }
}

/* Hover-only effects shouldn't stick on touch devices */
@media (hover: none) {
    .program-card:hover, .fifa-card-3d:hover, .news-item-card:hover, .sched-item-card:hover, .stat-card:hover, .feature-card:hover, .role-card:hover { transform: none; }
}

/* ==========================================================================
   37. ACCESSIBILITY — REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
    .ticker-track { animation: none; }
}

/* ==========================================================================
   38. HERO CINEMA — Full-bleed stadium stage with selective frosted zones
   --------------------------------------------------------------------------
   Stage layers (bottom → top):
     1. .hero-stage-sharp   the photo, always 100% crisp (player never blurred)
     2. .hero-frost-soft    light backdrop blur   ┐  masked so they appear
     3. .hero-frost-deep    heavy backdrop blur   │  ONLY where text / the
     4. .hero-stage-tint    cinematic dark wash   ┘  live card sit on the photo
     5. .hero-stage-vignette  sky-only top fade (stops above the player's head)
   Zone edges --zl / --zr / --zt are measured live by js/hero-stage.js so the
   frost hugs the real content edges at every viewport (CSS % fallbacks).
   ========================================================================== */
@keyframes heroRise {
    from { opacity: 0; transform: translate3d(0, 22px, 0); }
    to   { opacity: 1; transform: none; }
}
@keyframes heroStageIn {
    from { opacity: 0; transform: scale(1.06); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes heroStreak {
    from { opacity: 0.22; translate: 0 -3%; }
    to   { opacity: 0.62; translate: 0 3%; }
}

.hero-cinema {
    --hero-ink: #07090D;
    --hero-h: clamp(620px, calc(100svh - var(--header-h)), 900px);
    --hero-pad-x: clamp(24px, 6vw, 120px);
    --zl: 38%;
    --zr: 68%;
    --zt: 52%;
    --f: clamp(72px, 8vw, 150px);

    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--hero-h);
    padding: clamp(56px, 8vh, 96px) 0 clamp(64px, 9vh, 104px);
    background: var(--hero-ink);
    color: #FFFFFF;
    overflow: hidden;
    isolation: isolate;
}
/* Refined section edge */
.hero-cinema::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.65) 18%, rgba(212, 175, 55, 0.55) 50%, rgba(239, 68, 68, 0.65) 82%, transparent);
    pointer-events: none;
}

/* ---------- Stage ---------- */
.hero-cinema .hero-stage {
    /* Horizontal masks (desktop): solid over content, feathered into the clear player zone */
    --mask-soft: linear-gradient(90deg,
        #000 0, #000 calc(var(--zl) - var(--f) * 0.35),
        transparent calc(var(--zl) + var(--f) * 0.55),
        transparent calc(var(--zr) - var(--f) * 0.55),
        #000 calc(var(--zr) + var(--f) * 0.35), #000 100%);
    --mask-deep: linear-gradient(90deg,
        #000 0, #000 calc(var(--zl) - var(--f)),
        transparent calc(var(--zl) + var(--f) * 0.1),
        transparent calc(var(--zr) - var(--f) * 0.1),
        #000 calc(var(--zr) + var(--f)), #000 100%);
    --mask-tint: linear-gradient(90deg,
        #000 0, #000 calc(var(--zl) - var(--f) * 0.6),
        transparent calc(var(--zl) + var(--f) * 0.7),
        transparent calc(var(--zr) - var(--f) * 0.7),
        #000 calc(var(--zr) + var(--f) * 0.6), #000 100%);

    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero-cinema .hero-stage-sharp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    /* Keeps the player's head ~11% from the top at any desktop width (photo is 1:1, head at 22%) */
    object-position: 50% min(0px, calc(var(--hero-h) * 0.11 - 21.97vw));
    transform-origin: 50% 35%;
    animation: heroStageIn 2.2s var(--ease-out) both;
    -webkit-user-select: none;
    user-select: none;
}

.hero-cinema .hero-frost,
.hero-cinema .hero-stage-tint,
.hero-cinema .hero-stage-vignette {
    position: absolute;
    inset: 0;
}

.hero-cinema .hero-frost-soft {
    -webkit-backdrop-filter: blur(6px) saturate(1.08);
    backdrop-filter: blur(6px) saturate(1.08);
    -webkit-mask-image: var(--mask-soft);
    mask-image: var(--mask-soft);
}
.hero-cinema .hero-frost-deep {
    -webkit-backdrop-filter: blur(22px) saturate(1.15) brightness(0.92);
    backdrop-filter: blur(22px) saturate(1.15) brightness(0.92);
    -webkit-mask-image: var(--mask-deep);
    mask-image: var(--mask-deep);
}
.hero-cinema .hero-stage-tint {
    background:
        radial-gradient(60% 70% at 0% 100%, rgba(220, 38, 38, 0.24), transparent 70%),
        radial-gradient(50% 60% at 100% 0%, rgba(220, 38, 38, 0.14), transparent 70%),
        linear-gradient(90deg,
            rgba(7, 9, 13, 0.90) 0%,
            rgba(7, 9, 13, 0.74) 24%,
            rgba(7, 9, 13, 0.56) 40%,
            rgba(7, 9, 13, 0.50) 60%,
            rgba(7, 9, 13, 0.62) 76%,
            rgba(7, 9, 13, 0.84) 100%);
    -webkit-mask-image: var(--mask-tint);
    mask-image: var(--mask-tint);
    overflow: hidden;
}
.hero-cinema .hero-stage-vignette {
    /* Sky only — fully transparent before the player's head */
    background: linear-gradient(180deg, rgba(7, 9, 13, 0.55) 0%, rgba(7, 9, 13, 0) 9%);
}

/* Brand light streaks — live inside the tint, so they never cross the player */
.hero-cinema .hero-streak {
    position: absolute;
    display: block;
    width: clamp(40px, 5vw, 96px);
    height: 62%;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent 0%, rgba(239, 68, 68, 0.6) 45%, transparent 100%);
    transform: skewX(-24deg);
    filter: blur(1px);
    animation: heroStreak 7s ease-in-out infinite alternate;
}
.hero-cinema .hero-streak.s1 { left: -2.5vw; top: -6%; }
.hero-cinema .hero-streak.s2 { left: 2.4vw; top: 34%; width: clamp(12px, 1.3vw, 24px); height: 46%; animation-delay: -2.5s; }
.hero-cinema .hero-streak.s3 { right: -2vw; top: 22%; height: 52%; transform: skewX(24deg); animation-delay: -4.5s; }
.hero-cinema .hero-streak.s4 { right: 2.6vw; bottom: -10%; width: clamp(12px, 1.1vw, 22px); height: 40%; transform: skewX(24deg); animation-delay: -1.2s; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hero-cinema .hero-frost-deep { background: rgba(7, 9, 13, 0.42); }
}

/* ---------- Content grid ---------- */
.hero-cinema .hero-grid {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    padding-left: var(--hero-pad-x);
    padding-right: var(--hero-pad-x);
    display: grid;
    grid-template-columns:
        minmax(0, clamp(380px, 34vw, 600px))
        minmax(0, 1fr)
        minmax(0, clamp(320px, 24vw, 390px));
    align-items: center;
    gap: clamp(20px, 2.5vw, 40px);
}
.hero-cinema .hero-player-window { min-height: 1px; }

.hero-cinema .hero-rise {
    animation: heroRise 1s var(--ease-out) both;
    animation-delay: var(--d, 0s);
}

.hero-cinema .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(14px, 1.6vw, 20px);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #F87171;
}
.hero-cinema .hero-eyebrow::after {
    content: '';
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, rgba(248, 113, 113, 0.9), transparent);
}

.hero-cinema .hero-headline {
    color: #FFFFFF;
    font-size: clamp(2.4rem, 3.25vw, 3.9rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.hero-cinema .hero-line { white-space: nowrap; }
.hero-cinema .hero-headline-light { color: #FFFFFF; }

.hero-cinema .hero-motto-script {
    color: #F87171;
    font-size: clamp(1.7rem, 1.1rem + 1.5vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: clamp(14px, 1.6vw, 20px);
    text-shadow: 0 2px 24px rgba(220, 38, 38, 0.35);
}
.hero-cinema .hero-motto-script i {
    font-style: normal;
    font-size: 0.7em;
    margin: 0 0.18em;
    color: rgba(255, 255, 255, 0.55);
    vertical-align: middle;
}

.hero-cinema .hero-description {
    max-width: 46ch;
    color: rgba(226, 232, 240, 0.86);
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
    line-height: 1.75;
    margin-bottom: clamp(24px, 2.6vw, 34px);
}

.hero-cinema .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 0;
}
.hero-cinema .btn-red-primary { box-shadow: 0 12px 32px rgba(220, 38, 38, 0.42); }
.hero-cinema .btn-red-primary:hover { box-shadow: 0 18px 40px rgba(220, 38, 38, 0.55); }

.hero-btn-ghost {
    padding-right: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hero-btn-ghost:hover {
    background: #FFFFFF;
    color: var(--ink-900);
    border-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
.hero-play-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.62rem;
    transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.hero-play-ring i { margin-left: 2px; }
.hero-btn-ghost:hover .hero-play-ring { background: var(--primary-red); color: #FFFFFF; transform: scale(1.08); }

.hero-cinema .hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: clamp(28px, 3.4vw, 44px);
}
.hero-cinema .hero-slider-dots .dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.hero-cinema .hero-slider-dots .dot.active {
    width: 28px;
    background: linear-gradient(90deg, #EF4444, #F87171);
}

/* ---------- Live match card — dark glass ---------- */
.hero-cinema .hero-live-card-wrapper { grid-column: 3; }
.hero-cinema .glass-live-card {
    padding: 22px;
    color: #FFFFFF;
    background: linear-gradient(160deg, rgba(22, 26, 34, 0.72) 0%, rgba(10, 12, 18, 0.62) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
    backdrop-filter: blur(22px) saturate(1.3);
}
.hero-cinema .live-card-header { border-bottom-color: rgba(255, 255, 255, 0.12); }
.hero-cinema .live-status-pill { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.55); color: #FCA5A5; }
.hero-cinema .live-red-beacon { background: #EF4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); }
.hero-cinema .live-league-title { color: rgba(255, 255, 255, 0.68); }
.hero-cinema .team-name { color: #FFFFFF; }
.hero-cinema .team-subtext { color: rgba(255, 255, 255, 0.5); }
.hero-cinema .team-crest { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.hero-cinema .team-crest-placeholder { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.6); }
.hero-cinema .match-score-big { color: #FFFFFF; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }
.hero-cinema .score-separator { color: rgba(255, 255, 255, 0.35); }
.hero-cinema .match-clock-pill { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.5); color: #34D399; }
.hero-cinema .live-events-feed { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.hero-cinema .live-events-title { color: rgba(255, 255, 255, 0.6); }
.hero-cinema .event-item + .event-item { border-top-color: rgba(255, 255, 255, 0.08); }
.hero-cinema .event-minute { color: #34D399; }
.hero-cinema .event-player { color: rgba(255, 255, 255, 0.88); }
.hero-cinema .event-icon.goal { color: #34D399; }
.hero-cinema .event-icon.card-yellow { color: #FACC15; }
.hero-cinema .event-icon.card-red { color: #F87171; }
.hero-cinema .event-icon.sub { color: #38BDF8; }
.hero-cinema .live-card-footer { color: rgba(255, 255, 255, 0.55); justify-content: flex-end; }
.hero-cinema .link-details,
.hero-cinema .link-see-all { color: #F87171; }
.hero-cinema .link-details:hover,
.hero-cinema .link-see-all:hover { color: #FFFFFF; }

/* ---------- Scroll cue (sits between player and card) ---------- */
.hero-scroll-cue {
    position: absolute;
    z-index: 2;
    left: calc(var(--zr) - 24px);
    bottom: clamp(18px, 3vh, 30px);
    transform: translateX(-100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}
.hero-scroll-cue .mouse-icon { border-color: rgba(255, 255, 255, 0.55); }
.hero-scroll-cue:hover { color: #FFFFFF; }

/* ---------- Tablet & small laptop (≤ 1180px): photo window on top, content over frosted lower area ---------- */
@media (max-width: 1180px) {
    .hero-cinema {
        --band-h: clamp(440px, 80vw, 860px);
        --window-h: clamp(300px, 54vw, 560px);
        --zt: var(--window-h);
        --hero-pad-x: clamp(20px, 5vw, 56px);
        --f: clamp(64px, 9vw, 120px);
        display: block;
        min-height: 0;
        padding: 0 0 clamp(44px, 6vw, 72px);
    }
    .hero-cinema .hero-stage {
        --mask-soft: linear-gradient(180deg, transparent 0, transparent calc(var(--zt) - var(--f) * 0.5), #000 calc(var(--zt) + var(--f) * 0.2), #000 100%);
        --mask-deep: linear-gradient(180deg, transparent 0, transparent calc(var(--zt) - var(--f) * 0.1), #000 calc(var(--zt) + var(--f) * 0.8), #000 100%);
        --mask-tint: linear-gradient(180deg, transparent 0, transparent calc(var(--zt) - var(--f) * 0.6), #000 calc(var(--zt) + var(--f) * 0.5), #000 100%);
    }
    .hero-cinema .hero-stage-sharp {
        height: var(--band-h);
        object-position: 50% 20%;
    }
    .hero-cinema .hero-stage-tint {
        background:
            radial-gradient(70% 30% at 0% 100%, rgba(220, 38, 38, 0.22), transparent 70%),
            radial-gradient(60% 24% at 100% calc(var(--zt) + 80px), rgba(220, 38, 38, 0.12), transparent 70%),
            linear-gradient(180deg,
                rgba(7, 9, 13, 0.5) 0,
                rgba(7, 9, 13, 0.55) var(--zt),
                rgba(7, 9, 13, 0.86) calc(var(--zt) + 180px),
                var(--hero-ink) var(--band-h),
                var(--hero-ink) 100%);
    }
    .hero-cinema .hero-grid {
        padding-top: var(--window-h);
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: start;
        gap: 28px 32px;
    }
    .hero-cinema .hero-player-window,
    .hero-scroll-cue { display: none; }
    .hero-cinema .hero-live-card-wrapper { grid-column: auto; }
}

@media (max-width: 960px) {
    .hero-cinema .hero-grid { grid-template-columns: 1fr; }
    .hero-cinema .hero-live-card-wrapper { max-width: 560px; width: 100%; }
}

/* ---------- Mobile (≤ 768px) ---------- */
@media (max-width: 768px) {
    .hero-cinema {
        --band-h: clamp(400px, 130vw, 640px);
        --window-h: clamp(250px, 82vw, 470px);
        --hero-pad-x: var(--gutter);
        padding-bottom: 44px;
    }
    .hero-cinema .hero-grid { gap: 28px; }
    .hero-cinema .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.2em; }
    .hero-cinema .hero-headline { font-size: clamp(2.1rem, 1.2rem + 4.6vw, 2.8rem); }
    .hero-cinema .hero-line { white-space: normal; }
    .hero-cinema .hero-motto-script { font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2rem); }
    .hero-cinema .hero-description { font-size: 0.95rem; max-width: none; }
    .hero-cinema .hero-cta-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-cinema .hero-cta-group .btn { width: 100%; padding-left: 14px; padding-right: 14px; font-size: 0.9rem; }
    .hero-cinema .hero-btn-ghost { padding-right: 8px; }
    .hero-cinema .hero-slider-dots { margin-top: 24px; }
    .hero-cinema .hero-live-card-wrapper { max-width: none; }
    .hero-cinema .glass-live-card { padding: 20px 18px; }
}

@media (max-width: 360px) {
    .hero-cinema .hero-cta-group { grid-template-columns: 1fr; }
}

/* ==========================================================================
   39. ULTRA LUXURY TROPHY GALLERY & PWA MOBILE UI/UX SYSTEM
   ========================================================================== */

/* ---------- Trophy Counter Strip ---------- */
.trophy-hero-header {
    background: linear-gradient(180deg, #07090D 0%, #150E10 60%, var(--ink-900) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.gradient-text-gold {
    background: linear-gradient(135deg, #FFF 0%, #FACC15 40%, #D4AF37 70%, #9A7B1C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.trophy-counter-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(20, 16, 15, 0.92) 0%, rgba(10, 8, 7, 0.96) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.trophy-count-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
}
.trophy-count-card + .trophy-count-card {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.count-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.count-icon.gold { background: linear-gradient(135deg, #FACC15, #B8860B); color: #0C0A09; }
.count-icon.red { background: linear-gradient(135deg, #EF4444, #991B1B); color: #FFF; }
.count-icon.silver { background: linear-gradient(135deg, #E2E8F0, #64748B); color: #0C0A09; }
.count-icon.cyan { background: linear-gradient(135deg, #38BDF8, #0284C7); color: #FFF; }

.count-number {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.count-label { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); font-weight: 600; }

/* ---------- Trophy Filter Tabs ---------- */
.trophy-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}
.trophy-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}
.trophy-filter-tab:hover,
.trophy-filter-tab.active {
    background: linear-gradient(135deg, #DC2626, #991B1B);
    color: #FFFFFF;
    border-color: #F87171;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
    transform: translateY(-2px);
}

/* ---------- 3D Trophy Showcase Grid ---------- */
.trophy-cards-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 64px;
}
.trophy-luxury-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, #1A1615 0%, #0D0B0A 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
    isolation: isolate;
}
.trophy-luxury-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(250, 204, 21, 0.7);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.25), 0 0 25px rgba(239, 68, 68, 0.2);
}
.trophy-pedestal-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.shine-sweep-line {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
    transform: rotate(30deg) translateY(-100%);
    transition: transform 0.8s var(--ease-out);
}
.trophy-luxury-card:hover .shine-sweep-line {
    transform: rotate(30deg) translateY(100%);
}

.trophy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.ribbon-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ribbon-badge.gold { background: linear-gradient(135deg, #FACC15, #B8860B); color: #000; box-shadow: 0 4px 15px rgba(250, 204, 21, 0.35); }
.ribbon-badge.silver { background: linear-gradient(135deg, #E2E8F0, #64748B); color: #000; }
.ribbon-badge.bronze { background: linear-gradient(135deg, #F97316, #7C2D12); color: #FFF; }
.trophy-year-pill { font-size: 0.8rem; font-weight: 700; color: rgba(255, 255, 255, 0.5); }

.trophy-icon-3d-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-bottom: 20px;
}
.trophy-glow-aura {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.4) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 0;
}
.trophy-glow-aura.silver { background: radial-gradient(circle, rgba(226, 232, 240, 0.4) 0%, transparent 70%); }
.trophy-glow-aura.bronze { background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, transparent 70%); }

.trophy-main-icon {
    position: relative;
    z-index: 1;
    font-size: 4rem;
    background: linear-gradient(180deg, #FFF 0%, #FACC15 50%, #B8860B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.5s var(--ease-spring);
}
.silver-grade .trophy-main-icon { background: linear-gradient(180deg, #FFF 0%, #CBD5E1 50%, #475569 100%); -webkit-background-clip: text; }
.bronze-grade .trophy-main-icon { background: linear-gradient(180deg, #FFEDD5 0%, #FB923C 50%, #7C2D12 100%); -webkit-background-clip: text; }
.trophy-luxury-card:hover .trophy-main-icon { transform: scale(1.18) rotate(-4deg); }

.trophy-card-body { display: flex; flex-direction: column; flex: 1; }
.trophy-cat-tag { font-size: 0.74rem; font-weight: 700; color: #F87171; letter-spacing: 0.08em; margin-bottom: 6px; }
.trophy-card-body h3 { font-size: 1.15rem; font-weight: 800; color: #FFFFFF; line-height: 1.3; margin-bottom: 8px; }
.trophy-summary-text { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); line-height: 1.5; margin-bottom: 18px; }

.trophy-mini-meta {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.btn-trophy-details {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-trophy-details:hover {
    background: #DC2626;
    border-color: #DC2626;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* ---------- Gallery Photos Grid ---------- */
.gallery-photo-section { margin-bottom: 64px; }
.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-photo-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow-card);
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.gallery-photo-item:hover .gallery-img { transform: scale(1.08); }
.gallery-photo-overlay {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 9, 13, 0.9) 100%);
    color: #FFF;
}
.gallery-tag { font-size: 0.68rem; font-weight: 800; color: #FACC15; letter-spacing: 0.1em; margin-bottom: 4px; }
.gallery-photo-overlay h4 { font-size: 0.95rem; font-weight: 700; color: #FFF; line-height: 1.3; }

/* ---------- PWA Modal & iOS Guide Styles ---------- */
.pwa-modal-container { max-width: 480px; }
.pwa-platform-box { padding: 10px 0; }
.pwa-app-badge-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pwa-app-icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3); }
.pwa-app-badge-row h4 { font-size: 1.05rem; font-weight: 800; }
.pwa-ver-pill { font-size: 0.74rem; font-weight: 700; color: var(--ink-500); }
.pwa-guide-desc { font-size: 0.88rem; color: var(--ink-600); margin-bottom: 18px; line-height: 1.5; }

.ios-install-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}
.ios-install-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--ink-50);
    border: 1px solid var(--border-neutral);
    font-size: 0.88rem;
    line-height: 1.4;
}
.step-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-red);
    color: #FFF;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Trophy Detail Modal Styles ---------- */
.trophy-modal-container { max-width: 540px; }
.trophy-showcase-center {
    position: relative;
    text-align: center;
    padding: 24px 16px;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #1F1917 0%, #0F0D0C 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #FFF;
    overflow: hidden;
}
.trophy-big-icon { font-size: 4.5rem; color: #FACC15; margin-bottom: 12px; }
.trophy-badge-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #FACC15, #B8860B);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.trophy-display-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 4px; }
.trophy-display-year { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

.trophy-stats-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.t-stat-card {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--ink-50);
    border: 1px solid var(--border-neutral);
    text-align: center;
}
.t-stat-card strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--primary-red); }
.t-stat-card span { font-size: 0.74rem; color: var(--ink-500); font-weight: 600; }
.trophy-description-box p { font-size: 0.88rem; color: var(--ink-600); line-height: 1.6; }

/* ==========================================================================
   MOBILE ULTRA UI/UX OVERRIDES (≤ 768px ONLY - DESKTOP REMAINS UNTOUCHED)
   ========================================================================== */
@media (max-width: 768px) {
    /* ❌ HIDE SKUAD PEMAIN / PLAYER CARDS ON MOBILE (AS REQUESTED) */
    .squad-cards-grid,
    .squad-filter-bar,
    .fifa-card-container,
    .fifa-card-3d,
    #squadCardsContainer {
        display: none !important;
    }

    /* 📱 ULTRA LUXURY FIXED BOTTOM NAVIGATION BAR */
    .mobile-bottom-nav {
        display: block !important;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(10px + var(--safe-bottom));
        z-index: 1050;
        padding: 6px 12px;
        border-radius: 24px;
        background: rgba(15, 23, 42, 0.94);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(220, 38, 38, 0.35);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    }
    .bottom-nav-inner {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        max-width: none;
    }
    .bottom-nav-item {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.62rem;
        font-weight: 700;
        min-height: 50px;
    }
    .bottom-nav-item i { font-size: 1.15rem; }
    .bottom-nav-item.active {
        color: #FFFFFF;
        background: rgba(220, 38, 38, 0.22);
        border-radius: 16px;
    }
    .bottom-nav-item.active i { color: #F87171; }
    .bottom-nav-item.active::before { display: none; }
    
    .bottom-nav-cta .cta-bubble {
        width: 48px;
        height: 48px;
        margin-top: -24px;
        box-shadow: 0 8px 24px rgba(220, 38, 38, 0.5);
    }

    /* Trophy Responsive Grid */
    .trophy-counter-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; }
    .trophy-count-card + .trophy-count-card { border-left: none; }
    .count-number { font-size: 1.7rem; }
    .trophy-cards-showcase-grid { grid-template-columns: 1fr; gap: 20px; }
    .gallery-photos-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ==========================================================================
   40. NEWS & ARTICLES SYSTEM — ULTRA UI/UX & ELEGANT TYPOGRAPHY

   ========================================================================== */
.section-news-quote {
    position: relative;
    padding: var(--section-y) 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.news-quote-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

.news-list-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.btn-link-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.15);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.btn-link-all:hover {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
    transform: translateX(3px);
}

.news-items-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.news-item-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border-radius: var(--radius-xl);
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    cursor: pointer;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
    width: 100%;
    min-width: 0;
    box-sizing: border-border-box;
    isolation: isolate;
}

.news-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.news-thumb-wrap {
    position: relative;
    width: 190px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ink-100);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s var(--ease-out);
}

.news-item-card:hover .news-thumb {
    transform: scale(1.08);
}

.news-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-cat.cat-red { background: linear-gradient(135deg, #EF4444, #DC2626); }
.news-cat.cat-gold { background: linear-gradient(135deg, #FACC15, #B8860B); color: #000; }
.news-cat.cat-green { background: linear-gradient(135deg, #10B981, #059669); }
.news-cat.cat-cyan { background: linear-gradient(135deg, #38BDF8, #0284C7); }

.news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--ink-500);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-meta i { color: var(--primary-red); }

.news-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink-900);
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s;
}

.news-title a:hover, .news-item-card:hover .news-title {
    color: var(--primary-red);
}

.news-summary {
    font-size: 0.85rem;
    color: var(--ink-600);
    line-height: 1.55;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    transition: gap 0.25s var(--ease-out), color 0.25s;
}

.news-readmore i {
    transition: transform 0.3s var(--ease-out);
}

.news-item-card:hover .news-readmore {
    gap: 10px;
    color: var(--dark-red-accent);
}

/* Quote & Video Column */
.quote-video-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.quote-box {
    position: relative;
    padding: 30px;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.quote-icon {
    font-size: 2.2rem;
    color: var(--primary-red);
    opacity: 0.25;
    margin-bottom: 12px;
}

.quote-text {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1rem;
    color: var(--ink-800);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quote-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: contain;
    background: #FFF;
    padding: 2px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.author-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ink-900);
}

.author-title {
    font-size: 0.76rem;
    color: var(--ink-500);
    font-weight: 600;
}

/* Video Highlight Card */
.video-highlight-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.video-highlight-card:hover .video-poster {
    transform: scale(1.06);
}

.video-overlay-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFFFFF;
}

.play-btn-circle {
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #FFFFFF;
    border: 3px solid rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
    transition: transform 0.35s var(--ease-spring), background 0.3s;
}

.play-btn-circle i { margin-left: 3px; }
.video-highlight-card:hover .play-btn-circle {
    transform: scale(1.15);
    background: var(--primary-red-glow);
}

.video-tag {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #FACC15;
    text-transform: uppercase;
}

.video-info-text h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 4px;
    line-height: 1.35;
}

/* CTA Banner Register */
.cta-banner-register {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.3);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.cta-banner-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(220, 38, 38, 0.45);
}

.cta-icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cta-text-box h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.cta-text-box p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.35;
}

.cta-arrow {
    margin-left: auto;
    font-size: 1.1rem;
    transition: transform 0.3s var(--ease-out);
}

.cta-banner-register:hover .cta-arrow {
    transform: translateX(5px);
}

/* Dedicated Berita Page Styles */
.featured-news-card {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
}
.featured-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
}
.featured-news-img-wrap {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}
.featured-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-news-body {
    padding: 36px 40px;
}
.featured-news-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 12px;
}
.featured-news-title a { color: var(--ink-900); text-decoration: none; }
.featured-news-title a:hover { color: var(--primary-red); }
.featured-news-excerpt {
    font-size: 0.95rem;
    color: var(--ink-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .news-quote-grid { grid-template-columns: 1fr; }
    .featured-news-grid { grid-template-columns: 1fr; }
    .featured-news-img-wrap { min-height: 240px; }
}

@media (max-width: 768px) {
    .news-item-card {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px;
    }
    .news-thumb-wrap {
        width: 100%;
        height: 180px;
    }
    .featured-news-body { padding: 20px; }
    .featured-news-title { font-size: 1.25rem; }
}

/* ==========================================================================
   41. ULTRA LUXURY ARTICLE READER MODAL & TOOLBAR STYLING
   ========================================================================== */
.news-modal-container {
    max-width: 780px;
    width: 92%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: #FFFFFF;
}

.news-modal-body {
    padding: 28px 32px 36px;
    max-height: 80vh;
    overflow-y: auto;
}

.news-article-header {
    margin-bottom: 20px;
}

.news-article-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.85rem);
    font-weight: 900;
    line-height: 1.3;
    color: var(--ink-900);
    margin: 12px 0;
}

.news-author-row {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.84rem;
    color: var(--ink-500);
    font-weight: 600;
}

.news-cover-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.news-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-body {
    font-size: 0.98rem;
    color: var(--ink-700);
    line-height: 1.8;
}

.news-article-body p {
    margin-bottom: 16px;
}

.news-article-body .article-lead {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1.7;
}

.news-article-body .article-quote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--primary-red);
    background: #FEF2F2;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.02rem;
    color: #991B1B;
    line-height: 1.6;
}

.news-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Featured Headline Card on berita.php */
.featured-headline-section {
    margin-bottom: 36px;
}

.featured-headline-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    border-radius: var(--radius-2xl);
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.featured-headline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(220, 38, 38, 0.12);
}

.featured-img-wrap {
    position: relative;
    width: 100%;
    min-height: 320px;
    background: var(--ink-100);
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.featured-headline-card:hover .featured-img {
    transform: scale(1.06);
}

.featured-cat-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #DC2626, #991B1B);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.featured-body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem);
    font-weight: 900;
    line-height: 1.35;
    color: var(--ink-900);
    margin: 12px 0 14px;
}

.featured-excerpt {
    font-size: 0.92rem;
    color: var(--ink-600);
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Toolbar & Filter Bar */
.news-toolbar-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.news-filter-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--ink-700);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
}

.filter-chip:hover, .filter-chip.active {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}

.news-search-box {
    position: relative;
    min-width: 260px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-400);
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #FFFFFF;
    font-size: 0.86rem;
    color: var(--ink-900);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.search-input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

/* CTA Callout Box */
.news-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 44px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #FACC15;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.news-cta-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.news-cta-content p {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .featured-headline-card { grid-template-columns: 1fr; border-radius: var(--radius-xl); }
    .featured-img-wrap { min-height: 180px; height: 210px; }
    .featured-body { padding: 20px 18px 24px; }
    .news-cta-box { flex-direction: column; text-align: center; padding: 28px 20px; }
    .news-toolbar-bar { flex-direction: column; align-items: stretch; }
    .news-search-box { min-width: 100%; }
}

/* ==========================================================================
   42. MOBILE-FIRST RESPONSIVE OVERRIDES FOR NEWS & BOTTOM CLEARANCE
   ========================================================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: 90px !important;
    }

    .page-main-content,
    .section-news-quote {
        padding-bottom: 110px !important;
    }

    /* Mobile Bottom Navigation Z-Index & Elevation */
    .mobile-bottom-nav {
        z-index: 9999 !important;
    }

    /* Stack news items horizontally on mobile list for easy scanning */
    .news-items-stack .news-item-card {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 12px;
        border-radius: 16px;
    }

    .news-items-stack .news-thumb-wrap {
        width: 110px;
        height: 95px;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .news-items-stack .news-title {
        font-size: 0.95rem;
        line-height: 1.35;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
    }

    .news-items-stack .news-summary {
        font-size: 0.78rem;
        line-height: 1.45;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
    }

    .news-items-stack .news-meta {
        font-size: 0.7rem;
        gap: 10px;
        margin-bottom: 4px;
    }

    .news-items-stack .news-cat {
        top: 6px;
        left: 6px;
        font-size: 0.55rem;
        padding: 2px 7px;
    }

    .news-items-stack .news-readmore {
        font-size: 0.75rem;
    }

    /* Mobile Horizontal Scroll for Filter Chips */
    .news-filter-chips {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .news-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .filter-chip {
        padding: 8px 16px;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .news-search-box {
        width: 100%;
    }

    .search-input {
        height: 44px;
        font-size: 0.85rem;
    }

    /* News Grid on berita.php */
    .news-items-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .featured-headline-section {
        margin-bottom: 24px;
    }

    .featured-title {
        font-size: 1.25rem;
    }

    .featured-excerpt {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   43. ULTRA PROGRAM PAGE & FILANESIA PILLARS STYLING
   ========================================================================== */
.program-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.program-level-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.program-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--ink-900);
    margin-bottom: 10px;
    line-height: 1.3;
}

.program-desc {
    font-size: 0.88rem;
    color: var(--ink-600);
    line-height: 1.6;
    margin-bottom: 18px;
}

.program-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--ink-800);
    font-weight: 500;
    line-height: 1.5;
}

.program-feature-list li i {
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Filanesia Pillars Section */
.program-filanesia-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.filanesia-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.pillar-card {
    padding: 28px 24px;
    border-radius: var(--radius-xl);
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.bg-red-soft { background: #FEF2F2; }
.bg-gold-soft { background: #FEFCE8; }
.bg-green-soft { background: #ECFDF5; }
.bg-cyan-soft { background: #F0F9FF; }

.pillar-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 0.85rem;
    color: var(--ink-600);
    line-height: 1.6;
}

/* CTA Banner Program */
.program-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 44px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.3);
    margin-bottom: 60px;
}

.cta-banner-text h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: #FFFFFF;
    margin: 8px 0;
}

.cta-banner-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #FACC15;
    letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
    .program-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .filanesia-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .program-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .filanesia-pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .program-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
}

/* ==========================================================================
   44. ABOUT, CONTACT, PRESTASI & MATCH HUB ULTRA UI/UX REFINEMENTS
   ========================================================================== */

/* ---------- Prestasi Header Title Contrast Fix ---------- */
.trophy-hero-header .page-hero-title,
.trophy-hero-title-text {
    color: #FFFFFF !important;
}

/* ---------- Vision & Mission Grid ---------- */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3.5vw, 32px);
    margin-bottom: clamp(36px, 5vw, 60px);
}

.vision-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3.5vw, 36px);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
}

.vision-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.vision-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 12px;
}

.vision-card p {
    font-size: 0.92rem;
    color: var(--ink-600);
    line-height: 1.7;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--ink-700);
    line-height: 1.6;
}

.mission-list li i {
    color: var(--primary-red);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---------- About Bio Box & Coach Highlight ---------- */
.about-bio-box {
    margin-bottom: clamp(36px, 5vw, 60px);
}

.coach-highlight-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coach-info-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFFFFF;
    margin: 10px 0 6px;
}

.coach-info-body p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 20px;
}

.coach-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.coach-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.78rem;
    font-weight: 700;
    color: #FACC15;
}

/* ---------- Contact Page Grid ---------- */
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
    margin-bottom: clamp(40px, 6vw, 70px);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.16);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-details h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 4px;
}

.contact-details p, .contact-details a {
    font-size: 0.88rem;
    color: var(--ink-600);
    line-height: 1.5;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-red);
}

.contact-form-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3.5vw, 40px);
    box-shadow: var(--shadow-card);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--ink-900);
    margin-bottom: 6px;
}

.contact-form-wrapper p {
    font-size: 0.88rem;
    color: var(--ink-600);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink-800);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    background: var(--ink-50);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--ink-900);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.form-submit-btn {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(220, 38, 38, 0.45);
}

/* Map Direction Callout Card */
.map-direction-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    border: 1px solid #DBEAFE;
    box-shadow: var(--shadow-sm);
}

.map-card-text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 4px;
}

.map-card-text p {
    font-size: 0.85rem;
    color: var(--ink-600);
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background: var(--primary-red);
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
    transition: transform 0.25s, box-shadow 0.25s;
}

.map-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35);
}

/* ---------- RESPONSIVE MOBILE OVERRIDES (≤ 768px) ---------- */
@media (max-width: 768px) {
    /* About & Vision Grid */
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .coach-highlight-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px;
    }

    .coach-badges {
        justify-content: center;
    }

    /* Contact Grid */
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .map-direction-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }

    .map-link-btn {
        width: 100%;
        justify-content: center;
    }

    /* Trophy Filter Mobile Horizontal Scroll */
    .trophy-filter-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        margin-bottom: 24px;
        gap: 8px;
        scrollbar-width: none;
    }
    .trophy-filter-container::-webkit-scrollbar {
        display: none;
    }
    .trophy-filter-tab {
        flex-shrink: 0;
        scroll-snap-align: start;
        white-space: nowrap;
        padding: 10px 18px;
        font-size: 0.82rem;
    }

    /* Tab Pills Mobile Styling */
    .tab-pill-container {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 6px !important;
        padding: 4px !important;
        width: 100% !important;
    }
    .tab-pill {
        flex: 1 1 0% !important;
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        justify-content: center !important;
    }

    /* Page Main Content Mobile Bottom Clearance */
    .page-main-content {
        padding-bottom: 110px !important;
    }
}

/* Login Roles Responsive Grid */
.login-roles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}
@media (max-width: 1024px) {
    .login-roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .login-roles-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   45. ULTRA RESPONSIVE & DYNAMIC FLUID GRID ARCHITECTURE SYSTEM
   ========================================================================== */

/* ---------- Container & Global Fluid Containment ---------- */
.container, .container-fluid {
    width: 100% !important;
    max-width: var(--container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--gutter) !important;
    padding-right: var(--gutter) !important;
    box-sizing: border-box !important;
}

/* ---------- Page Hero Header Fluid Responsiveness ---------- */
.page-hero-header {
    width: 100%;
    padding: clamp(36px, 6vw, 72px) 0;
    position: relative;
    overflow: hidden;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem) !important;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 10px;
    margin-bottom: 12px;
}

.page-hero-desc {
    font-size: clamp(0.88rem, 0.82rem + 0.35vw, 1.1rem);
    color: var(--ink-600);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ---------- Universal Dynamic Grid Adaptability ---------- */
.grid-fluid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 30vw, 340px), 1fr));
    gap: clamp(16px, 3vw, 32px);
}

/* Media Query Adaptations for Tablet & Intermediate Displays (769px - 1024px) */
@media (max-width: 1024px) {
    .trophy-cards-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
    .contact-page-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .vision-mission-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .news-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
    .login-roles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

/* Media Query Adaptations for Mobile Displays (<= 768px) */
@media (max-width: 768px) {
    .trophy-cards-showcase-grid,
    .news-cards-grid,
    .program-cards-grid,
    .filanesia-pillars-grid,
    .squad-cards-grid,
    .login-roles-grid,
    .vision-mission-grid,
    .contact-page-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Fixed Bottom Navigation Clearance */
    .page-main-content,
    main.container,
    .section-padding-bottom {
        padding-bottom: clamp(100px, 15vw, 130px) !important;
    }

    /* Full Width Form & Buttons */
    .form-submit-btn,
    .btn-full-mobile {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
    :root {
        --gutter: 14px;
    }
    .page-hero-title {
        font-size: clamp(1.5rem, 1.2rem + 1.8vw, 2.2rem) !important;
    }
    .hero-cta-group {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .hero-cta-group .btn {
        width: 100% !important;
    }
}

/* ==========================================================================
   46. ULTRA LUXURY ABOUT PAGE & COMPONENT STYLING
   ========================================================================== */

/* ---------- About Stats Band ---------- */
.about-stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 32px 28px;
    margin-bottom: 52px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.about-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    position: relative;
}

.about-stat-card + .about-stat-card::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border-soft);
}

.stat-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.stat-icon-wrapper.red { background: rgba(220, 38, 38, 0.08); color: var(--primary-red); }
.stat-icon-wrapper.gold { background: rgba(212, 175, 55, 0.12); color: #B8860B; }
.stat-icon-wrapper.green { background: rgba(5, 150, 105, 0.08); color: var(--accent-green); }
.stat-icon-wrapper.cyan { background: rgba(2, 132, 199, 0.08); color: var(--accent-cyan); }

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem);
    font-weight: 900;
    color: var(--ink-900);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-500);
}

/* ---------- About Intro Grid ---------- */
.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
    margin-bottom: 64px;
}

.bio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #B8860B;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.about-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    font-weight: 900;
    color: var(--ink-900);
    line-height: 1.25;
    margin-bottom: 16px;
}

.about-para {
    font-size: 0.95rem;
    color: var(--ink-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.vision-mission-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-checklist {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--ink-700);
    line-height: 1.5;
}

/* ---------- Filanesia Section ---------- */
.filanesia-section {
    margin-bottom: 72px;
}

/* ---------- Interactive Milestone Timeline ---------- */
.timeline-section {
    margin-bottom: 72px;
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 88px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-red), var(--accent-gold), var(--accent-cyan));
    border-radius: 2px;
}

.timeline-node {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    position: relative;
}

.node-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-red);
    text-align: right;
    padding-right: 18px;
    line-height: 1.2;
}

.node-content {
    position: relative;
    padding: 24px clamp(20px, 3vw, 32px);
}

.node-content::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--primary-red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
}

.node-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.node-tag.red { background: rgba(220, 38, 38, 0.08); color: var(--primary-red); }
.node-tag.gold { background: rgba(212, 175, 55, 0.12); color: #B8860B; }
.node-tag.cyan { background: rgba(2, 132, 199, 0.08); color: var(--accent-cyan); }
.node-tag.green { background: rgba(5, 150, 105, 0.08); color: var(--accent-green); }

.node-content h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.node-content p {
    font-size: 0.88rem;
    color: var(--ink-600);
    line-height: 1.6;
}

/* ---------- Staff Cards Grid ---------- */
.coaching-staff-section {
    margin-bottom: 72px;
}

.staff-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.staff-card {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    border-radius: var(--radius-xl);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.staff-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}

.staff-avatar-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-gold));
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
}

.staff-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #FFFFFF;
}

.staff-licence {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.staff-licence.gold { background: rgba(212, 175, 55, 0.12); color: #B8860B; }
.staff-licence.silver { background: rgba(148, 163, 184, 0.15); color: #475569; }
.staff-licence.cyan { background: rgba(2, 132, 199, 0.1); color: var(--accent-cyan); }
.staff-licence.green { background: rgba(5, 150, 105, 0.1); color: var(--accent-green); }

.staff-body {
    text-align: center;
}

.staff-body h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 4px;
}

.staff-role {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.staff-body p {
    font-size: 0.82rem;
    color: var(--ink-600);
    line-height: 1.55;
    margin-bottom: 16px;
}

.staff-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-500);
    padding-top: 12px;
    border-top: 1px dashed var(--border-soft);
}

/* ---------- Facilities Grid ---------- */
.facilities-section {
    margin-bottom: 72px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.facility-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    box-shadow: var(--shadow-card);
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.facility-card:hover .facility-img {
    transform: scale(1.08);
}

.facility-overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.92) 100%);
    color: #FFFFFF;
}

.facility-tag {
    font-size: 0.7rem;
    font-weight: 800;
    color: #FACC15;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.facility-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.facility-overlay p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* ---------- Mobile Responsive Overrides for About ---------- */
@media (max-width: 1024px) {
    .about-stats-band { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .about-stat-card + .about-stat-card::before { display: none; }
    .about-intro-grid { grid-template-columns: 1fr; }
    .staff-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .about-stats-band { grid-template-columns: repeat(2, 1fr); padding: 20px 16px; }
    .timeline-wrapper::before { left: 20px; }
    .timeline-node { grid-template-columns: 1fr; gap: 12px; padding-left: 44px; }
    .node-year { text-align: left; font-size: 1.25rem; }
    .node-content::before { left: -32px; top: 18px; }
    .staff-cards-grid { grid-template-columns: 1fr; }
    .facilities-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   47. ULTRA LUXURY NEWS PAGE & ARTICLE READER MODAL SYSTEM
   ========================================================================== */

/* ---------- Featured Headline Card ---------- */
.featured-headline-section {
    margin-bottom: 44px;
}

.featured-headline-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 3.5vw, 40px);
    padding: clamp(20px, 3vw, 32px);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    overflow: hidden;
    align-items: center;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}

.featured-headline-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(220, 38, 38, 0.12), var(--shadow-card);
    border-color: rgba(220, 38, 38, 0.25);
}

.featured-img-wrap {
    position: relative;
    width: 100%;
    height: 340px;
    max-height: 360px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.featured-headline-card:hover .featured-img {
    transform: scale(1.06);
}

.featured-cat-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.05rem + 1vw, 1.85rem);
    font-weight: 900;
    color: var(--ink-900);
    line-height: 1.25;
    margin-bottom: 12px;
    transition: color 0.25s;
}

.featured-headline-card:hover .featured-title {
    color: var(--primary-red);
}

.featured-excerpt {
    font-size: 0.9rem;
    color: var(--ink-600);
    line-height: 1.65;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- News Toolbar: Filters & Search ---------- */
.news-toolbar-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px clamp(16px, 2.5vw, 28px);
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.news-filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.news-filter-chips::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: var(--ink-50);
    color: var(--ink-700);
    font-weight: 800;
    font-size: 0.84rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.filter-chip:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--primary-red);
    border-color: rgba(220, 38, 38, 0.2);
}

.filter-chip.active {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    color: #FFFFFF !important;
    border-color: #DC2626 !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3) !important;
}

.news-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 280px;
    max-width: 100%;
}

.news-search-box .search-icon {
    position: absolute;
    left: 16px;
    color: var(--ink-400);
    font-size: 0.92rem;
    pointer-events: none;
}

.news-search-box .search-input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: var(--ink-50);
    font-family: var(--font-sans);
    font-size: 0.86rem;
    color: var(--ink-900);
    transition: var(--transition-fast);
}

.news-search-box .search-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

/* ---------- News Items Grid (3 Columns) ---------- */
.news-items-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.news-item-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-2xl);
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
    overflow: hidden;
}

.news-item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220, 38, 38, 0.25);
}

.news-thumb-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.news-item-card:hover .news-thumb {
    transform: scale(1.08);
}

.news-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.news-cat.cat-red { background: linear-gradient(135deg, #EF4444, #DC2626); }
.news-cat.cat-gold { background: linear-gradient(135deg, #F59E0B, #D97706); }
.news-cat.cat-green { background: linear-gradient(135deg, #10B981, #059669); }
.news-cat.cat-blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.news-cat.cat-purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }

.news-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-500);
    margin-bottom: 10px;
}


.news-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s;
}

.news-item-card:hover .news-title {
    color: var(--primary-red);
}

.news-summary {
    font-size: 0.85rem;
    color: var(--ink-600);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-red);
    transition: gap 0.25s;
}

.news-item-card:hover .news-readmore {
    gap: 10px;
}

/* ---------- Ultra Elegant Article Reader Modal ---------- */
#newsDetailModal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
}

#newsDetailModal.active {
    opacity: 1;
    pointer-events: auto;
}

.news-modal-container {
    position: relative;
    width: 100%;
    max-width: 740px;
    max-height: 88vh;
    background: #FFFFFF;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-soft);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    box-sizing: border-box;
}

#btnCloseNewsModal {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 25;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink-100);
    border: 1px solid var(--border-neutral);
    color: var(--ink-900);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

#btnCloseNewsModal:hover {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
    transform: rotate(90deg);
}

.news-modal-body {
    padding: clamp(24px, 4vw, 40px);
}

.news-article-header {
    margin-bottom: 20px;
}

.news-article-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 1.1rem + 1vw, 1.85rem);
    font-weight: 900;
    color: var(--ink-900);
    line-height: 1.3;
    margin: 12px 0;
}

.news-author-row {
    display: flex;
    gap: 20px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink-500);
}

.news-cover-wrap {
    width: 100%;
    height: clamp(200px, 35vw, 320px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.news-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-body {
    font-size: 0.95rem;
    color: var(--ink-700);
    line-height: 1.8;
    margin-bottom: 32px;
}

.news-article-footer {
    display: flex;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
    flex-wrap: wrap;
}

/* ---------- Responsive Queries for News ---------- */
@media (max-width: 1024px) {
    .featured-headline-card {
        grid-template-columns: 1fr;
    }
    .featured-img-wrap {
        height: 220px;
        min-height: 200px;
    }
    .news-items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .news-toolbar-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px;
    }
    .news-search-box {
        width: 100%;
    }
    .news-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* ==========================================================================
   48. PWA APP ONLY ULTRA ANIMATED FAST SPLASH LOADING SCREEN
   ========================================================================== */

/* Disabled by default for regular website visitors (Desktop & Mobile) */
.pwa-splash-screen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: radial-gradient(circle at center, #1E1B4B 0%, #0F172A 70%, #020617 100%);
    color: #FFFFFF;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active ONLY when app is opened in PWA Standalone Mode */
.pwa-splash-screen.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: scale(0.9);
    animation: splashZoomIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashZoomIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.splash-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 12px 28px rgba(220, 38, 38, 0.55));
    animation: logoPulseGlow 1.2s infinite alternate ease-in-out;
}

@keyframes logoPulseGlow {
    0% { filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.4)); transform: scale(0.97); }
    100% { filter: drop-shadow(0 0 35px rgba(239, 68, 68, 0.9)); transform: scale(1.05); }
}

.splash-pulse-ring {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.55);
    animation: pulseRingExpand 1.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.splash-pulse-ring.delay {
    animation-delay: 0.45s;
}

@keyframes pulseRingExpand {
    0% { transform: scale(0.65); opacity: 1; }
    100% { transform: scale(1.45); opacity: 0; }
}

.splash-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    margin-bottom: 4px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.splash-brand p {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #F87171;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.splash-loader-bar {
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.splash-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #EF4444, #F59E0B);
    border-radius: 10px;
    animation: splashProgressFill 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes splashProgressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}
