/* ==========================================================================
   National Sports Website — Main Styles
   Ethnic-inspired design with traditional color palette
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Cherry-red · Brown · Gold palette */
    --color-primary: #8C1B2F;        /* Вишнёво-красный / Cherry-red */
    --color-primary-light: #B02742;
    --color-primary-dark: #5E121E;
    --color-secondary: #C8963E;      /* Золотистый / Golden amber */
    --color-secondary-light: #D4A84B;
    --color-secondary-dark: #9A7230;
    --color-accent: #6B3D2B;         /* Коричневый / Warm brown */
    --color-accent-light: #8B5A3C;
    --color-kyrgyz-blue: #2A4A8E;    /* Traditional blue accent */
    --color-earth: #5C3820;
    --color-earth-light: #8B6030;
    --color-gold: #E8C040;           /* Bright yellow-gold */
    --color-sand: #F5E6C8;           /* Warm sand */
    --color-sand-light: #FDF6ED;
    --color-cream: #FFFCF5;
    --color-dark: #1A1810;
    --color-text: #2C2822;
    --color-text-light: #5A5248;
    --color-text-muted: #88807A;
    --color-white: #FFFFFF;
    --color-border: #DDD0B8;

    /* Typography */
    --font-heading: 'EB Garamond', 'Georgia', serif;
    --font-body: 'EB Garamond', 'Georgia', serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(140, 27, 47, 0.08);
    --shadow-md: 0 4px 16px rgba(140, 27, 47, 0.12);
    --shadow-lg: 0 8px 32px rgba(140, 27, 47, 0.16);
    --shadow-card: 0 2px 12px rgba(107, 61, 43, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Header height */
    --header-height: 68px;
}

/* ---------- Skip Navigation (Accessibility) ---------- */
.skip-nav {
    position: absolute;
    top: 0;
    left: 16px;
    z-index: 10000;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-100%);
    transition: transform 0.2s ease;
    white-space: nowrap;
}
.skip-nav:focus {
    transform: translateY(0);
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body), 'Trebuchet MS', 'Arial Unicode MS', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ---------- Global focus-visible ring ---------- */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}
/* Remove default outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    min-height: 44px;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn--secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn--secondary:hover {
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 253, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.header--scrolled {
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--header-height);
    gap: 1.75rem;
}

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
    min-width: 0;
}

.nav-logo { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.nav-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav-brand-text { min-width: 0; }
.nav-brand-top {
    font-size: 0.62rem;
    color: #888;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-brand-bottom {
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--color-primary, #8C1B2F);
    display: block;
    line-height: 1.3;
}

.logo__icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

.logo__icon svg {
    width: 100%;
    height: 100%;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo__subtitle {
    font-size: 0.65rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    white-space: nowrap;
}

/* ---------- Navigation ---------- */
.nav__list {
    display: flex;
    gap: 1.4rem;
}

.nav__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 0;
    position: relative;
    white-space: nowrap;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--color-primary);
}

.nav__link--active {
    color: var(--color-primary);
}

/* ---------- Language Switcher (globe + dropdown) ---------- */
.lang-switcher {
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-globe-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    padding: 7px 12px;
    background: transparent;
    border: 1.5px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1;
}

.lang-globe-btn:hover,
.lang-globe-btn[aria-expanded="true"] {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.lang-globe-code {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 160px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1100;
}

.lang-dropdown--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown .lang-btn {
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-dropdown .lang-btn:hover:not(.lang-btn--active) {
    background: var(--color-sand-light);
}

.lang-dropdown .lang-btn--active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ---------- Live stream indicator icon (replaces the "Эфиры" text tab) ---------- */
.live-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.live-icon-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.live-icon-btn .live-dot {
    display: none;
}

.live-icon-btn.is-live {
    border-color: #dc2626;
    color: #dc2626;
    animation: liveIconPulse 1.6s ease-in-out infinite;
}

.live-icon-btn.is-live .live-dot {
    display: block;
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 0 2px var(--color-white);
}

@keyframes liveIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(220,38,38,0); }
}

/* ---------- Bilingual content toggle ---------- */
.t-ky { display: none; }
.t-en { display: none; }

body.lang-ky .t-ru { display: none !important; }
body.lang-ky .t-ky { display: inline !important; }
body.lang-ky div.t-ky,
body.lang-ky p.t-ky,
body.lang-ky h1.t-ky,
body.lang-ky h2.t-ky,
body.lang-ky h3.t-ky,
body.lang-ky h4.t-ky,
body.lang-ky li.t-ky { display: block !important; }
body.lang-ky ul.t-ky { display: block !important; }

body.lang-en .t-ru { display: none !important; }
body.lang-en .t-ky { display: none !important; }
body.lang-en .t-en { display: inline !important; }
body.lang-en div.t-en,
body.lang-en p.t-en,
body.lang-en h1.t-en,
body.lang-en h2.t-en,
body.lang-en h3.t-en,
body.lang-en h4.t-en,
body.lang-en li.t-en { display: block !important; }
body.lang-en ul.t-en { display: block !important; }

/* ---------- Nav Dropdown ---------- */
.nav__item {
    position: relative;
}

.nav__arrow {
    display: inline-block;
    margin-left: 3px;
    font-size: 0.6rem;
    vertical-align: middle;
    transition: transform var(--transition-fast);
    line-height: 1;
}

.nav__item:hover .nav__arrow {
    transform: rotate(180deg);
}

.nav__dropdown { display: none !important; }

.nav__arrow { display: none; }

.nav__item:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown li a {
    display: flex;
    align-items: center;
    padding: 9px 20px;
    font-family: var(--font-heading, 'EB Garamond', Georgia, serif);
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.4px;
    color: var(--color-primary);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.nav__dropdown li a:hover {
    background: rgba(140, 27, 47, 0.07);
    border-left-color: var(--color-secondary);
    padding-left: 25px;
    color: #6d1320;
    font-style: normal;
    font-weight: 600;
}

@media (max-width: 900px) {
    .nav__dropdown {
        display: none;
    }
}

/* ---------- Burger Menu ---------- */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.burger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all var(--transition-base);
}

.burger--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger--active span:nth-child(2) {
    opacity: 0;
}

.burger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Slideshow ---------- */
.hero {
    position: relative;
    height: calc(100vh - 140px);
    min-height: 500px;
    overflow: hidden;
}

.hero-split { display: flex; height: 100%; }
.hero-photo {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0;
    background: linear-gradient(135deg, #3a1420 0%, #4a1a28 60%, #3d1622 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Decorative corner brackets — now framing the full-bleed photo */
.hero-photo::before {
    content: '';
    position: absolute;
    inset: 18px;
    background:
        linear-gradient(rgba(200,150,62,0.3), rgba(200,150,62,0.3)) top left    / 32px 2px no-repeat,
        linear-gradient(rgba(200,150,62,0.3), rgba(200,150,62,0.3)) top left    / 2px 32px no-repeat,
        linear-gradient(rgba(200,150,62,0.3), rgba(200,150,62,0.3)) top right   / 32px 2px no-repeat,
        linear-gradient(rgba(200,150,62,0.3), rgba(200,150,62,0.3)) top right   / 2px 32px no-repeat,
        linear-gradient(rgba(200,150,62,0.3), rgba(200,150,62,0.3)) bottom left / 32px 2px no-repeat,
        linear-gradient(rgba(200,150,62,0.3), rgba(200,150,62,0.3)) bottom left / 2px 32px no-repeat,
        linear-gradient(rgba(200,150,62,0.3), rgba(200,150,62,0.3)) bottom right / 32px 2px no-repeat,
        linear-gradient(rgba(200,150,62,0.3), rgba(200,150,62,0.3)) bottom right / 2px 32px no-repeat;
    z-index: 3;
    pointer-events: none;
}
/* Soft readability tint over the full-bleed photo — light, not a blackout */
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(58,20,32,0.45) 0%, rgba(74,26,40,0.35) 55%, rgba(45,16,26,0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-img-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.07);
    filter: blur(10px) brightness(0.92);
    transition: opacity 1.6s cubic-bezier(.22,.68,0,1), filter 1.6s cubic-bezier(.22,.68,0,1);
    z-index: 0;
}
.hero-img-layer.active {
    opacity: 1;
    filter: blur(0) brightness(1);
    animation: heroKenBurns 6.5s cubic-bezier(.25,.1,.25,1) forwards;
}
@keyframes heroKenBurns {
    from { transform: scale(1.07); }
    to   { transform: scale(1.15); }
}

/* Photo now fills the entire left half — object-fit:cover on the <img> layers */
.hero-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

/* Diagonal gold shimmer sweep across the photo */
.hero-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 42%, rgba(200,150,62,0.18) 50%, transparent 58%);
    transform: translateX(-140%);
    animation: heroShimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes heroShimmer {
    0%, 45%  { transform: translateX(-140%); }
    65%, 100% { transform: translateX(140%); }
}

.hero-panel {
    position: relative;
    width: 44%;
    background: linear-gradient(160deg, #2a1420 0%, #3a1826 55%, #46203a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    flex-shrink: 0;
    box-shadow: inset -1px 0 0 rgba(200,150,62,0.06);
}

/* Soft, semi-transparent blend where the photo meets the text panel */
.hero-panel::before {
    content: '';
    position: absolute;
    left: -140px;
    top: 0;
    bottom: 0;
    width: 140px;
    background: linear-gradient(90deg, transparent, rgba(42,20,32,0.55) 55%, rgba(42,20,32,0.92));
    pointer-events: none;
    z-index: 4;
}

.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 20;
}

.hero-dot {
    width: 13px;
    height: 13px;
    border-radius: 2px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), background 0.35s ease, box-shadow 0.35s ease;
    border: none;
    padding: 0;
    transform: rotate(45deg);
}

.hero-dot.active {
    background: #C8963E;
    transform: rotate(45deg) scale(1.7);
    box-shadow: 0 0 12px rgba(200,150,62,0.75);
    animation: heroDotPulse 1.8s ease-in-out infinite;
}
@keyframes heroDotPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(200,150,62,0.7); }
    50%      { box-shadow: 0 0 18px rgba(200,150,62,1); }
}

.hero-dot:hover:not(.active) { background: rgba(255,255,255,0.7); transform: rotate(45deg) scale(1.15); }

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
    width: 100%;
}

.hero-content > * { pointer-events: auto; }

/* ── Hero WOW animations ── */
@keyframes heroSlideDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* Eyebrow tag */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    opacity: 0;
    animation: heroSlideDown 0.6s ease forwards 0.15s;
}
.hero-eyebrow-bar {
    width: 40px;
    height: 1px;
    background: rgba(200,150,62,0.7);
    flex-shrink: 0;
}
.hero-eyebrow-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(200,150,62,0.95);
    white-space: nowrap;
}

/* Logo */
.hero-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 4px 18px rgba(0,0,0,0.45));
    opacity: 0;
    animation: heroSlideDown 0.7s ease forwards 0.3s;
}

/* Title */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0;
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
    letter-spacing: -0.3px;
    max-width: 820px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards 0.55s;
    transition: opacity 0.7s cubic-bezier(.22,.68,0,1), transform 0.7s cubic-bezier(.22,.68,0,1);
}

/* Gold separator */
.hero-separator {
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C8963E 40%, #C8963E 60%, transparent);
    margin: 20px auto;
    transform-origin: center;
    transform: scaleX(0);
    animation: heroLineGrow 0.6s ease forwards 1.05s;
}

/* Subtitle */
.hero-sub {
    font-size: clamp(0.88rem, 1.7vw, 1.05rem);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 26px;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards 1.2s;
    transition: opacity 0.7s cubic-bezier(.22,.68,0,1) 0.08s, transform 0.7s cubic-bezier(.22,.68,0,1) 0.08s;
}

/* KPI row */
.hero-kpi-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards 1.45s;
}
.hero-kpi { text-align: center; }
.hero-kpi-num {
    display: block;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    font-weight: 800;
    color: #C8963E;
    line-height: 1;
}
.hero-kpi-lbl {
    display: block;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 3px;
}
.hero-kpi-sep { color: rgba(200,150,62,0.4); font-size: 0.6rem; }

/* Buttons */
.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards 1.65s;
}

.btn-hero-primary {
    background: var(--color-primary, #8C1B2F);
    color: #fff;
    padding: 13px 34px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(140,27,47,0.45);
}
.btn-hero-primary:hover {
    background: #B02742;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(140,27,47,0.55);
}

.btn-hero-outline {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    padding: 12px 32px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero { height: auto; min-height: 100svh; }
    .hero-split { flex-direction: column; height: auto; }
    .hero-photo { height: 64vw; min-height: 260px; flex: none; }
    .hero-panel { width: 100%; padding: 28px 20px 32px; }
    .hero-title { font-size: 1.6rem; letter-spacing: 0; }
    .hero-sub   { font-size: 0.9rem; }
    .hero-logo  { width: 72px; height: 72px; }
    .hero-btns  { flex-direction: column; align-items: center; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; text-align: center; }
    .hero-kpi-row { gap: 12px; }
    .hero-eyebrow-text { font-size: 0.58rem; letter-spacing: 2px; }
}

/* ---------- Sections ---------- */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.section__title {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.section__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: var(--space-md) auto 0;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section__action {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ---------- Sports Section ---------- */
.section--sports {
    background-color: var(--color-white);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* ---------- Sport Card ---------- */
.sport-card {
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sport-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.sport-card:hover::before {
    transform: scaleX(1);
}

.sport-card__icon {
    width: 88px;
    height: 88px;
    margin: 0 auto var(--space-lg);
    color: var(--color-primary);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
    filter: drop-shadow(0 3px 6px rgba(139,37,0,0.18));
}

.sport-card:hover .sport-card__icon {
    color: var(--color-secondary);
    transform: scale(1.18) rotate(-4deg);
    filter: drop-shadow(0 6px 16px rgba(200,150,62,0.35));
}

.sport-card__icon svg {
    width: 100%;
    height: 100%;
}

.sport-card__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    color: var(--color-dark);
}

.sport-card__text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.sport-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sport-card__link:hover {
    color: var(--color-secondary);
}

/* ---------- Sports Ticker (homepage) ---------- */
.sports-ticker-section {
    padding: 14px 0 12px;
    background: #F7F4EF;
    overflow: hidden;
    border-top: 2px solid rgba(140,27,47,0.12);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sports-ticker-section .section-title {
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.ticker-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    padding: 4px 0 6px;
}

.ticker-track {
    display: flex;
    gap: 20px;
    animation: ticker 35s linear infinite;
    width: max-content;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ticker-card {
    flex-shrink: 0;
    width: 110px;
    background: #fff;
    border: 1.5px solid rgba(140,27,47,0.1);
    border-radius: 14px;
    padding: 10px 10px 8px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.ticker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary, #8C1B2F), var(--color-secondary, #C8963E));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.ticker-card:hover::before { transform: scaleX(1); }

.ticker-card:hover {
    border-color: var(--color-primary, #8C1B2F);
    background: #FDF5E2;
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 48px rgba(140,27,47,0.18), 0 4px 12px rgba(140,27,47,0.1);
}

.ticker-icon {
    width: 52px;
    height: 52px;
    color: var(--color-primary, #8C1B2F);
    background: transparent;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(140,27,47,0.15));
}

.ticker-icon svg { width: 100%; height: 100%; }

.ticker-card:hover .ticker-icon {
    transform: scale(1.18) rotate(-4deg);
    filter: drop-shadow(0 4px 10px rgba(140,27,47,0.3));
}

.ticker-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary, #8C1B2F);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .sports-ticker-section { height: 120px; }
    .ticker-card { width: 90px; padding: 8px 8px 6px; gap: 5px; border-radius: 10px; }
    .ticker-icon { width: 42px; height: 42px; }
    .ticker-name { font-size: 0.68rem; }
}

/* ---------- Sport Modal ---------- */
.sport-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sport-modal.hidden { display: none !important; }

.sport-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30,10,10,0.6);
}

.sport-modal-inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(140,27,47,0.25);
    animation: popIn 0.3s cubic-bezier(0.34,1.56,0.64,1) forwards;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.sport-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F5EDD8;
    color: var(--color-primary, #8C1B2F);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.sport-modal-close:hover { background: var(--color-primary, #8C1B2F); color: #fff; }

#modalIcon {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    color: var(--color-primary, #8C1B2F);
    filter: drop-shadow(0 4px 12px rgba(140,27,47,0.25));
    animation: iconPop 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.15s both;
}
#modalIcon svg { width: 100%; height: 100%; }

@keyframes iconPop {
    from { transform: scale(0.6) rotate(-10deg); opacity: 0; }
    to   { transform: scale(1) rotate(0deg); opacity: 1; }
}

#modalTitle {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary, #8C1B2F);
    margin-bottom: 14px;
}

#modalDesc {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 20px;
}

.modal-stat {
    background: #FDF5E2;
    border-radius: 12px;
    padding: 16px 32px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.modal-stat strong { font-size: 2rem; font-weight: 800; color: var(--color-primary, #8C1B2F); }
.modal-stat span { font-size: 0.82rem; color: #666; margin-top: 2px; }

@media (max-width: 768px) {
    .sport-modal-inner { padding: 36px 24px 28px; }
}

/* ---------- Events Section ---------- */
.section--events {
    background-color: var(--color-cream);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* ---------- Event Card ---------- */
.event-card {
    display: flex;
    gap: var(--space-xl);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    cursor: pointer;
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
    transform: translateX(4px);
}

.event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-md);
    color: var(--color-white);
}

.event-card__day {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.event-card__month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: var(--space-xs);
}

.event-card__content {
    flex: 1;
}

.event-card__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.event-card__location {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.event-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.event-card__tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.28rem 0.9rem;
    background: var(--color-sand);
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-left: 3px solid var(--color-secondary);
}

/* ---------- Stats Section ---------- */
.section--stats {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-earth));
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--color-white);
}

.stat-item__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-sm);
    color: var(--color-secondary);
}

.stat-item__label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* ---------- News Section ---------- */
.section--news {
    background-color: var(--color-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* ---------- News Card ---------- */
.news-card {
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.news-card__image {
    height: 200px;
    overflow: hidden;
}

.news-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-sand), var(--color-sand-light));
}

.news-card__placeholder svg {
    width: 100%;
    height: 100%;
}

.news-card__content {
    padding: var(--space-xl);
}

.news-card__date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.news-card__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: var(--color-dark);
    line-height: 1.4;
}

.news-card__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.news-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card__link:hover {
    color: var(--color-secondary);
}

/* ---------- CTA Section ---------- */
.section--cta {
    background-color: var(--color-cream);
    padding: var(--space-4xl) 0;
}

.cta-block {
    text-align: center;
    padding: var(--space-4xl);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-block::before,
.cta-block::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-secondary);
    opacity: 0.1;
    border-radius: 50%;
}

.cta-block::before {
    top: -100px;
    left: -100px;
}

.cta-block::after {
    bottom: -100px;
    right: -100px;
}

.cta-block__title {
    font-size: 2.2rem;
    margin-bottom: var(--space-lg);
    color: var(--color-dark);
}

.cta-block__text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
}

.cta-block__buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding-top: var(--space-3xl);
    position: relative;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.footer__logo .logo__icon {
    width: 40px;
    height: 40px;
    color: var(--color-secondary);
}

.footer__logo span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.footer__desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    letter-spacing: 0.01em;
}

.footer-logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
}

/* ---------- Nomad Games Countdown ---------- */
.nomad-countdown {
    background: linear-gradient(135deg, #3A1A0F 0%, #6B3D2B 40%, #8C1B2F 70%, #3A1A0F 100%);
    padding: 36px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.nomad-countdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(200,150,62,0.06) 0%, transparent 55%),
                      radial-gradient(circle at 80% 50%, rgba(200,150,62,0.06) 0%, transparent 55%);
    pointer-events: none;
}

.nomad-countdown::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C8963E 20%, #e8b84d 50%, #C8963E 80%, transparent);
}

.nomad-countdown__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.nomad-countdown__emblem {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    opacity: 0.9;
}

.nomad-countdown__text {
    flex: 1;
    min-width: 200px;
}

.nomad-countdown__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C8963E;
    margin-bottom: 4px;
}

.nomad-countdown__title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 4px;
}

.nomad-countdown__date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
}

.nomad-countdown__timer {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.nomad-countdown__unit {
    text-align: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(200,150,62,0.25);
    border-radius: 10px;
    padding: 10px 16px 8px;
    min-width: 72px;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s;
}

.nomad-countdown__unit:hover { border-color: rgba(200,150,62,0.5); }

.nomad-countdown__num {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #e8b84d;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
    font-family: var(--font-heading);
    transition: transform 0.15s ease;
}

.nomad-countdown__num.tick { transform: scale(1.08); }

.nomad-countdown__lbl {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    margin-top: 5px;
}

.nomad-countdown__sep {
    color: rgba(200,150,62,0.4);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 20px;
    user-select: none;
}

.nomad-countdown__link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: rgba(200,150,62,0.15);
    border: 1px solid rgba(200,150,62,0.45);
    border-radius: 8px;
    color: #e8b84d;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    white-space: nowrap;
}

.nomad-countdown__link:hover {
    background: rgba(200,150,62,0.28);
    border-color: rgba(200,150,62,0.75);
    color: #f5cc70;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .nomad-countdown__inner { justify-content: center; text-align: center; }
    .nomad-countdown__text { min-width: 100%; order: -1; }
    .nomad-countdown__emblem { display: none; }
}

@media (max-width: 560px) {
    .nomad-countdown__unit { min-width: 58px; padding: 8px 10px 6px; }
    .nomad-countdown__num { font-size: 1.5rem; }
    .nomad-countdown__sep { font-size: 1.4rem; margin-bottom: 16px; }
    .nomad-countdown__link { width: 100%; justify-content: center; }
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-secondary);
}

.footer__contacts li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: var(--space-sm);
}

.footer__social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.82);
    transition: all var(--transition-base);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(
        160deg,
        var(--color-sand)       0%,
        var(--color-sand-light) 40%,
        #FBF0D6                 65%,
        var(--color-sand)       100%
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header__title {
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.page-header__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- About Page ---------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content__text h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.about-content__text p {
    margin-bottom: var(--space-lg);
    color: var(--color-text-light);
    line-height: 1.8;
}

.about-image {
    background: linear-gradient(135deg, var(--color-sand), var(--color-sand-light));
    border-radius: var(--radius-lg);
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-border);
}

.about-image__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.about-image svg {
    width: 60%;
    height: 60%;
    color: var(--color-primary);
    opacity: 0.3;
}

/* Mission & Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.value-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-card__icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.value-card__title {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.value-card__text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.team-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.team-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-border);
    transition: all var(--transition-base);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(139, 37, 0, 0.2);
}

.team-card:hover .team-card__avatar {
    border-color: var(--color-secondary);
    box-shadow: 0 6px 24px rgba(200, 150, 62, 0.3);
}

.team-card__avatar svg {
    width: 60px;
    height: 60px;
    color: var(--color-white);
}

.team-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-size: 1.05rem;
    margin-bottom: var(--space-xs);
    color: var(--color-dark);
    font-weight: 700;
    font-family: var(--font-heading);
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info__item {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-info__item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-secondary);
}

.contact-info__icon {
    font-size: 1.5rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sand);
    border-radius: var(--radius-md);
}

.contact-info__text h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--color-dark);
}

.contact-info__text p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 37, 0, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Map placeholder */
.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--color-sand);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-3xl);
}

.map-placeholder__text {
    text-align: center;
    color: var(--color-text-muted);
}

.map-placeholder__text p:first-child {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

/* ---------- Sports Detail Page ---------- */
.sport-detail {
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.sport-detail:last-of-type {
    border-bottom: none;
}

.sport-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.sport-detail:nth-child(even) .sport-detail__inner {
    direction: rtl;
}

.sport-detail:nth-child(even) .sport-detail__inner > * {
    direction: ltr;
}

.sport-detail__image {
    background: linear-gradient(135deg, var(--color-sand), var(--color-sand-light));
    border-radius: var(--radius-lg);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-border);
}

.sport-detail__image svg {
    width: 50%;
    height: 50%;
    color: var(--color-primary);
    opacity: 0.3;
}

.sport-detail__content h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.sport-detail__content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.sport-detail__features {
    margin-top: var(--space-xl);
}

.sport-detail__features li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
    color: var(--color-text-light);
}

.sport-detail__features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* ---------- Events Page ---------- */
.events-filter {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 44px;
}

.filter-btn:active {
    transform: scale(0.97);
}

.filter-btn:hover,
.filter-btn--active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ---------- Image support in sport-detail ---------- */
.sport-detail__image {
    overflow: hidden;
    padding: 0;
}

.sport-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow);
    display: block;
}

.sport-detail:hover .sport-detail__image img {
    transform: scale(1.03);
}

/* ---------- Image support in news cards ---------- */
.news-card__image {
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card__image img {
    transform: scale(1.05);
}

/* ---------- Navigation overflow fix (7+ items) ---------- */
@media (max-width: 1280px) {
    .nav-brand-top { display: none; }
    .nav-brand-bottom { font-size: 0.82rem; }
}

@media (max-width: 1100px) {
    .nav-brand-text { display: none; }

    .nav__list {
        gap: 6px;
    }

    .nav__link {
        font-size: 0.78rem;
    }
}

/* ---------- Nav backdrop (mobile) ---------- */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
}

.nav-backdrop--visible {
    display: block;
}

/* ---------- Gallery page ---------- */
.gallery-filter {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--color-sand);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 37, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}

.gallery-item:hover .gallery-item__overlay {
    background: rgba(139, 37, 0, 0.4);
}

.gallery-item__overlay svg {
    color: white;
    opacity: 0;
    transform: scale(0.6);
    transition: all var(--transition-base);
    width: 48px;
    height: 48px;
}

.gallery-item:hover .gallery-item__overlay svg {
    opacity: 1;
    transform: scale(1);
}

.gallery-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 0.85rem;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-item__caption {
    transform: translateY(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.93);
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.lightbox--open {
    display: flex;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    animation: scaleIn 0.25s ease;
    display: block;
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    line-height: 1;
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background var(--transition-fast);
}

.lightbox__nav:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

.lightbox__caption {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
}

.lightbox__counter {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ---------- News page ---------- */
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.news-full-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.news-full-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.news-full-card__image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.news-full-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.news-full-card:hover .news-full-card__image img {
    transform: scale(1.04);
}

.news-full-card__badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
}

.news-full-card__content {
    padding: var(--space-xl);
}

.news-full-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.news-full-card__date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-full-card__tag {
    font-size: 0.75rem;
    color: var(--color-secondary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-full-card__title {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: var(--color-dark);
    line-height: 1.4;
}

.news-full-card__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.news-full-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap var(--transition-fast);
}

.news-full-card__link:hover {
    color: var(--color-secondary);
    gap: var(--space-md);
}

/* News featured (large) card */
.news-full-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-full-card--featured .news-full-card__image {
    height: 100%;
    min-height: 300px;
}

/* ---------- Responsive additions ---------- */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-page-grid {
        grid-template-columns: 1fr;
    }

    .news-full-card--featured {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .news-full-card--featured .news-full-card__image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .lightbox__prev { left: 8px; }
    .lightbox__next { right: 8px; }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
    
/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

/* Tighten nav spacing before the burger menu takes over — keeps all tabs
   on one line on narrower desktop/tablet widths (RU). Very long KY labels
   can still be snug on smaller laptop screens — a content-length limit,
   not fixable by spacing alone. */
@media (max-width: 1600px) and (min-width: 769px) {
    .header__inner { gap: 0.85rem; }
    .nav__list { gap: 0.7rem; }
    .nav__link { font-size: 0.74rem; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 62px;
    }

    .burger {
        display: flex;
        order: 3;
    }

    .live-icon-btn {
        order: 1;
        margin-left: auto;
        width: 34px;
        height: 34px;
    }

    .lang-switcher {
        order: 2;
        margin-right: var(--space-sm);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--color-cream);
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
        z-index: 1000;
    }

    .nav--open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .hero__title-line {
        font-size: 2.2rem;
    }

    .hero__title-line--accent {
        font-size: 1.8rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .section__title {
        font-size: 2rem;
    }

    .sports-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-card__date {
        flex-direction: row;
        gap: var(--space-md);
        min-width: auto;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .sport-detail__inner {
        grid-template-columns: 1fr;
    }

    .sport-detail:nth-child(even) .sport-detail__inner {
        direction: ltr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .cta-block {
        padding: var(--space-2xl);
    }

    .cta-block__buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-header__title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .logo__subtitle {
        display: none;
    }

    .logo__title {
        font-size: 1rem;
    }

    .nav-brand-top {
        display: none;
    }

    .nav-brand-bottom {
        font-size: 0.82rem;
    }

    .hero__title-line {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero__title-line--accent {
        font-size: 1.5rem;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .section__title {
        font-size: 1.6rem;
    }

    .stat-item__number {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Athletes Page ── */
.athletes-toolbar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.athletes-search-wrap {
    position: relative;
    max-width: 480px;
}

.athletes-search-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted, #888);
    pointer-events: none;
}

.athletes-search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid var(--color-border, #ddd);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.athletes-search-input:focus {
    outline: none;
    border-color: var(--color-primary, #1B3B7D);
    box-shadow: 0 0 0 3px rgba(27,59,125,0.1);
}

.sport-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sport-chip {
    padding: 6px 14px;
    border: 1.5px solid var(--color-border, #ddd);
    border-radius: 20px;
    background: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.sport-chip:hover {
    border-color: var(--color-primary, #1B3B7D);
    color: var(--color-primary, #1B3B7D);
}

.sport-chip.active {
    background: var(--color-primary, #1B3B7D);
    border-color: var(--color-primary, #1B3B7D);
    color: #fff;
}

.athlete-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--color-border, #e8e8e8);
    overflow-x: auto;
    scrollbar-width: none;
}

.athlete-tabs::-webkit-scrollbar { display: none; }

.athlete-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 0.92rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--color-text-muted, #666);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.athlete-tab:hover { color: var(--color-primary, #1B3B7D); }

.athlete-tab.active {
    color: var(--color-primary, #1B3B7D);
    border-bottom-color: var(--color-primary, #1B3B7D);
    font-weight: 600;
}

.athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.athlete-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}

.athlete-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(27,59,125,0.13);
}

.athlete-photo-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #dde6ff 100%);
}

.athlete-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.athlete-card:hover .athlete-photo { transform: scale(1.04); }

.athlete-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary, #1B3B7D);
    opacity: 0.35;
    font-family: 'Playfair Display', serif;
}

.athlete-role-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.athlete-role-badge--athlete { background: #1B3B7D; color: #fff; }
.athlete-role-badge--coach   { background: #2e7d32; color: #fff; }
.athlete-role-badge--staff   { background: #5d4037; color: #fff; }

.athlete-card-body {
    padding: 16px 18px 18px;
}

.athlete-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--color-text-primary, #1a1a2e);
    line-height: 1.3;
}

.athlete-sport {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary, #1B3B7D);
    margin: 0 0 3px;
}

.athlete-title {
    font-size: 0.82rem;
    color: var(--color-text-muted, #777);
    margin: 0 0 10px;
}

.athlete-achievements {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.athlete-achievements li {
    font-size: 0.8rem;
    color: var(--color-text-secondary, #555);
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
    margin-bottom: 3px;
}

.athlete-achievements li::before {
    content: '🏅';
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    top: 1px;
}

.athlete-status {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 3px 9px;
    border-radius: 10px;
}

.athlete-status--active  { background: #e8f5e9; color: #2e7d32; }
.athlete-status--retired { background: #f3e5f5; color: #6a1b9a; }

.athlete-skeleton {
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    aspect-ratio: 4/5;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.athletes-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted, #888);
}

.athletes-empty.hidden { display: none; }

.athletes-empty__icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.athletes-empty h3 {
    font-size: 1.2rem;
    margin: 0 0 8px;
    color: var(--color-text-secondary, #555);
}

.athletes-empty p {
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .athletes-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 18px;
    }

    .athletes-search-wrap { max-width: 100%; }

    .athlete-tab { padding: 8px 14px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .athletes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    .athlete-card-body { padding: 12px; }
    .athlete-name { font-size: 0.9rem; }
}

@media (max-width: 380px) {
    .athletes-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .athlete-card-body { padding: 10px; }
}

/* ── Map embed ── */
.map-embed { margin-top: 40px; }
.map-caption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--color-text-muted, #777);
    text-align: center;
}
.map-caption a { color: var(--color-primary); text-decoration: underline; }

/* ── Event Skeleton Loader ── */
.event-skeleton {
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    height: 120px;
    margin-bottom: 16px;
}

/* ── News Page: Toolbar ── */
.news-toolbar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.news-search-wrap {
    position: relative;
    max-width: 480px;
}

.news-search-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted, #888);
    pointer-events: none;
}

.news-search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid var(--color-border, #ddd);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.news-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27,59,125,0.1);
}

.news-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-cat {
    padding: 6px 16px;
    border: 1.5px solid var(--color-border, #ddd);
    border-radius: 20px;
    background: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.news-cat:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.news-cat.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ── News Skeleton Loader ── */
.news-skeleton {
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    min-height: 280px;
}

.news-skeleton--wide {
    grid-column: 1 / -1;
    min-height: 200px;
}

/* ── "Load more" button ── */
.news-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.news-load-more-btn {
    padding: 14px 40px;
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.news-load-more-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ── News Detail Modal ── */
.news-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.news-modal[hidden] { display: none; }

.news-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.news-modal__box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.news-modal__close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 12px 12px 0 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.08);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.2s;
}

.news-modal__close:hover { background: rgba(0,0,0,0.18); }

.news-modal__img-wrap {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.news-modal__img-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.news-modal__body {
    padding: 28px 32px 36px;
}

.news-modal__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.news-modal__date {
    font-size: 0.85rem;
    color: var(--color-text-muted, #777);
}

.news-modal__cat {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--color-accent, #eef2ff);
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: 12px;
}

.news-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px;
    color: var(--color-text-primary, #1a1a2e);
    font-family: var(--font-heading, 'Playfair Display', serif);
}

.news-modal__content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text, #333);
}

.news-modal__content p { margin-bottom: 1em; }
.news-modal__content p:last-child { margin-bottom: 0; }

/* news "read" button inside card */
.news-full-card__link {
    display: inline-block;
    margin-top: 12px;
    padding: 0;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}

.news-full-card__link:hover { opacity: 0.7; }

@media (max-width: 768px) {
    .news-search-wrap { max-width: 100%; }
    .news-modal__body { padding: 20px; }
    .news-modal__title { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .news-modal__img-wrap img { height: 200px; }
}

/* ── Print styles ── */
@media print {
    .header, .footer, .nav, .burger, .lang-switcher,
    .scroll-top, .cookie-banner, .ethno-border-top, .ethno-border-bottom,
    .hero, .nomad-countdown, .ticker-wrap, .gallery-filter, .events-filter,
    .news-toolbar, .news-load-more-wrap, .athletes-toolbar, .athlete-tabs,
    .lightbox, .news-modal, .skip-link, .breadcrumbs,
    [class*="btn"], button { display: none !important; }

    body { font-size: 12pt; color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
    .container { max-width: 100%; padding: 0; }
    .section { padding: 16pt 0; }
    h1, h2, h3 { page-break-after: avoid; }
    .news-full-card, .event-card, .athlete-card, .team-card {
        break-inside: avoid;
        border: 1pt solid #ccc;
        margin-bottom: 12pt;
    }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item img { max-height: 120pt; }
    .page-header { background: none !important; color: #000; padding: 16pt 0 8pt; }
    .page-header__title, .page-header__subtitle { color: #000; }
    img { max-width: 100%; }
}

/* ── Athlete Bio Modal ── */
.athlete-bio-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.athlete-bio-overlay.hidden { display: none; }
.athlete-bio-dialog {
    background: #fff; border-radius: 16px; max-width: 560px; width: 100%;
    max-height: 88vh; overflow-y: auto; position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    animation: bioFadeIn .2s ease;
}
@keyframes bioFadeIn { from { opacity:0; transform:scale(.96) translateY(8px); } to { opacity:1; transform:none; } }
.athlete-bio-close {
    position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
    border-radius: 50%; background: rgba(0,0,0,.07); display: flex;
    align-items: center; justify-content: center; color: #555; z-index: 1;
    transition: background .15s;
}
.athlete-bio-close:hover { background: rgba(0,0,0,.14); }
.bio-header {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 28px 28px 20px;
    border-bottom: 1px solid #eee;
}
.bio-photo {
    width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    border: 3px solid #f0f0f0;
}
.bio-initials {
    width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg,#1B3B7D,#2a5fc4);
    color: #fff; font-size: 1.8rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.bio-header-info { flex: 1; padding-top: 4px; }
.bio-name { font-size: 1.15rem; font-weight: 700; color: #0D1520; margin-bottom: 4px; }
.bio-sport { font-size: .88rem; color: #1B3B7D; font-weight: 600; margin-bottom: 4px; }
.bio-title-txt { font-size: .82rem; color: #666; margin-bottom: 8px; }
.bio-badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: .75rem; font-weight: 600;
    background: #DCFCE7; color: #166534;
}
.bio-badge--retired { background: #f3f4f6; color: #6b7280; }
.bio-body { padding: 20px 28px 28px; }
.bio-section { margin-bottom: 18px; }
.bio-section:last-child { margin-bottom: 0; }
.bio-section-title {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .6px; color: #8D96A4; margin-bottom: 8px;
}
.bio-text { font-size: .9rem; color: #374151; line-height: 1.65; }
.bio-achievements { list-style: none; padding: 0; margin: 0; }
.bio-achievements li {
    font-size: .87rem; color: #374151; padding: 5px 0 5px 18px; position: relative;
    border-bottom: 1px solid #f5f5f5;
}
.bio-achievements li:last-child { border-bottom: none; }
.bio-achievements li::before { content:'🏅'; position:absolute; left:0; font-size:.8rem; }
@media (max-width:480px) {
    .bio-header { flex-direction:column; align-items:center; text-align:center; }
    .bio-header-info { padding-top:0; }
    .bio-body { padding: 16px 18px 22px; }
    .bio-header { padding: 20px 18px 16px; }
}

/* ── Visual polish ─────────────────────────────────────────────────────────── */

/* Broken image graceful fallback */
img:not([src]), img[src=""], img[src="undefined"] {
    visibility: hidden;
    min-height: 40px;
}

/* Prevent default blue link color on any missed links */
a:not([class]) {
    color: var(--color-primary);
}

/* Value-card cursor for about page */
.value-card { cursor: default; }

/* Consistent active state on all btn variants */
.btn:active,
.btn--primary:active,
.btn--outline:active,
.btn--secondary:active {
    transform: scale(0.98) translateY(0) !important;
    box-shadow: none;
}

/* Better touch-target height for lang switcher buttons */
.lang-btn {
    min-height: 36px;
}

/* Soften news-card border on hover via base — theme overrides this for blue */
.news-card:hover {
    border-color: var(--color-secondary);
}

/* Ensure social links have pointer */
.social-link {
    cursor: pointer;
}

/* Stat section inside page needs breathing room at tablet */
@media (max-width: 1024px) {
    .section--stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

/* Prevent hero from overflowing on small landscape phones */
@media (max-width: 480px) and (orientation: landscape) {
    .hero {
        min-height: 480px;
    }
}

/* Tight spacing fix for sport card grid on tablet */
@media (max-width: 900px) {
    .sports-grid {
        gap: var(--space-lg);
    }
    .news-grid {
        gap: var(--space-lg);
    }
}

/* Section title responsive scaling */
@media (max-width: 480px) {
    .section__title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    .section__header {
        margin-bottom: var(--space-2xl);
    }
    .event-card {
        padding: var(--space-lg);
        gap: var(--space-lg);
    }
    .news-card__content {
        padding: var(--space-lg);
    }
    .cta-block {
        padding: var(--space-2xl) var(--space-lg);
    }
    .contact-form {
        padding: var(--space-lg);
    }
}

/* ==========================================================================
   Person Icon Styles — Beautiful human icons for athletes & contacts
   ========================================================================== */

/* Person icon base */
.person-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.person-icon svg {
    width: 100%;
    height: 100%;
}

/* Large person icon for hero/sections */
.person-icon--lg {
    width: 48px;
    height: 48px;
}

/* Person icon in gradient circle */
.person-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(139, 37, 0, 0.3);
}

.person-icon-wrapper .person-icon {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

/* Contact info with person icon */
.contact-info__item--person {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-sand-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
}

.contact-info__item--person .contact-info__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-info__item--person .contact-info__icon svg {
    width: 100%;
    height: 100%;
}

/* Footer contact with person icon */
.footer__contacts li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.footer__contacts li:last-child {
    margin-bottom: 0;
}

/* Social links refined */
.footer__social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Athlete card person avatar placeholder */
.athlete-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-sand), var(--color-sand-light));
    color: var(--color-primary);
}

.athlete-avatar-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.6;
}

/* Profile card person icon */
.profile-card__avatar-person {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid var(--color-secondary);
}

.profile-card__avatar-person svg {
    width: 40px;
    height: 40px;
    color: var(--color-white);
}

/* Contact page person icon styling */
.contact-person-icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-md);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 37, 0, 0.25);
}

.contact-person-icon svg {
    width: 100%;
    height: 100%;
}

/* Responsive person icon adjustments */
@media (max-width: 768px) {
    .person-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .person-icon-wrapper .person-icon {
        width: 24px;
        height: 24px;
    }
    
    .contact-person-icon {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

/* ---------- Video Player Styles ---------- */
.news-article__video {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.news-article__video::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.news-article__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments for video */
@media (max-width: 768px) {
    .news-article__video {
        border-radius: var(--radius-md);
        margin-bottom: 1.5rem;
    }
}
}

/* ══════════════════════════════════════════════
   SPORT DETAIL PAGE (sport.html)
   ══════════════════════════════════════════════ */
.sport-detail-hero {
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background: linear-gradient(135deg, #8C1B2F, #5E121E);
    background-size: cover;
    background-position: center;
}
.sport-detail-hero__inner {
    padding: 48px 24px 48px;
    width: 100%;
}
.sport-detail-back {
    display: inline-block;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s;
}
.sport-detail-back:hover { color: #fff; }
.sport-detail-hero__content {
    display: flex;
    align-items: center;
    gap: 24px;
}
.sport-detail-hero__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(200,150,62,0.7);
    background: rgba(0,0,0,0.3);
    flex-shrink: 0;
}
.sport-detail-hero__icon img,
.sport-detail-hero__icon svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sport-detail-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.sport-detail-hero__count {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    margin: 0;
}
.sport-detail-desc {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}
.sport-detail-desc--full {
    margin-top: 1.2rem;
    color: var(--color-text-light);
}

/* Alternating gallery rows */
.sport-gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}
.sport-gallery-row--photo-right {
    direction: rtl;
}
.sport-gallery-row--photo-right > * {
    direction: ltr;
}
.sport-gallery-row__photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}
.sport-gallery-row__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.sport-gallery-row__photo img:hover { transform: scale(1.03); }
.sport-gallery-row__text {
    padding: 16px 8px;
}
.sport-gallery-row__ornament {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 2px;
    margin-bottom: 16px;
}
.sport-gallery-row__text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
}
.sport-gallery-single {
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 500px;
    margin-bottom: 2rem;
}
.sport-gallery-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sport-detail-athletes-link {
    text-align: center;
    padding: 2rem 0 1rem;
}
@media (max-width: 768px) {
    .sport-detail-hero { min-height: 300px; }
    .sport-gallery-row { grid-template-columns: 1fr; gap: 20px; direction: ltr; }
    .sport-gallery-row--photo-right { direction: ltr; }
    .sport-detail-hero__icon { width: 56px; height: 56px; }
}

/* ══════════════════════════════════════════════
   SPORT CATEGORY CARDS (athletes page)
   ══════════════════════════════════════════════ */
.sport-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 16px;
}
.sport-cat-card {
    display: flex;
    flex-direction: column;
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.22,.68,0,1.2), box-shadow .35s;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
}
.sport-cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(0,0,0,.16);
}
.sport-cat-cover {
    height: 190px;
    background: var(--color-primary) center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sport-cat-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.52) 100%);
}
.sport-cat-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 2.5px solid rgba(255,255,255,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform .3s;
}
.sport-cat-card:hover .sport-cat-icon { transform: scale(1.1); }
.sport-cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.sport-cat-icon svg {
    width: 50px;
    height: 50px;
}
.sport-cat-body {
    padding: 16px 18px 20px;
    border-top: 3px solid var(--color-secondary);
}
.sport-cat-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 5px;
    line-height: 1.25;
}
.sport-cat-count {
    font-size: .82rem;
    color: var(--color-secondary);
    margin: 0;
    font-weight: 600;
    letter-spacing: .02em;
}
@media (max-width: 768px) {
    .sport-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .sport-cat-cover { height: 150px; }
}
@media (max-width: 480px) {
    .sport-cat-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   TIMELINE MODAL (about.html key dates)
   ══════════════════════════════════════════════ */
.event-card--clickable {
    cursor: pointer;
    transition: all var(--transition-base);
}
.event-card--clickable:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
}
.event-card__more-hint {
    display: inline-block;
    margin-top: 8px;
    font-size: .85rem;
    color: var(--color-secondary);
    font-weight: 600;
}
.timeline-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.timeline-modal.hidden { display: none; }
.timeline-modal__box {
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px 48px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}
.timeline-modal__close {
    position: sticky;
    float: right;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 4px 8px;
    transition: color .2s;
}
.timeline-modal__close:hover { color: var(--color-primary); }
.timeline-modal__year {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -1.5rem;
}
.timeline-modal__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}
.timeline-modal__desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.timeline-modal__full {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.timeline-modal__gallery {
    margin-top: 2rem;
}
.timeline-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}
.timeline-modal__row--photo-right { direction: rtl; }
.timeline-modal__row--photo-right > * { direction: ltr; }
.timeline-modal__row-photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.timeline-modal__row-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.timeline-modal__row-text p {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--color-text-light);
}
@media (max-width: 600px) {
    .timeline-modal__box { padding: 24px 20px; }
    .timeline-modal__row { grid-template-columns: 1fr; direction: ltr; }
    .timeline-modal__row--photo-right { direction: ltr; }
    .timeline-modal__year { font-size: 2.5rem; }
}
