/* ====================
   COLOR PALETTE (extracted from logo.png)
   --light : #E5E5EA   → light‑silver background
   --mid   : #90909A   → mid‑grey accents
   --dark  : #2A2B34   → charcoal / logo letters
=====================*/
:root {
    --light: #E5E5EA;
    --mid:   #90909A;
    --dark:  #2A2B34;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --page-bg: linear-gradient(135deg, #E5E5EA 0%, #D4D5D9 100%);
    --header-bg: linear-gradient(105deg, #f4f4f6 0%, #d7d7dc 36%, #b5b5bd 68%, #8f9099 100%);
    --header-overlay:
        linear-gradient(120deg, rgba(255,255,255,0) 8%, rgba(255,255,255,0.34) 26%, rgba(255,255,255,0.08) 46%, rgba(255,255,255,0.28) 62%, rgba(255,255,255,0) 84%),
        linear-gradient(90deg, rgba(136,136,146,0.08), rgba(255,255,255,0.16), rgba(136,136,146,0.08));
    --header-overlay-opacity: 0.65;
    --nav-bg: #2A2B34;
    --top-strip-bg: linear-gradient(135deg, rgba(12,18,28,0.98), rgba(28,34,46,0.95));
    --hero-bg:
        linear-gradient(135deg, rgba(12,18,28,0.96), rgba(28,34,46,0.92)),
        linear-gradient(rgba(42,43,52,0.84), rgba(42,43,52,0.9));
    --hero-card-bg: linear-gradient(180deg, rgba(16,22,33,0.98), rgba(11,16,27,0.96));
    --hero-card-border: rgba(0,213,213,0.10);
    --hero-soft-border: rgba(0,213,213,0.14);
    --hero-accent: #00d5d5;
    --hero-accent-strong: #00a0a0;
    --hero-accent-soft: rgba(0,213,213,0.18);
    --hero-accent-soft-bg: rgba(0,213,213,0.1);
    --hero-link: #8ef8f8;
    --hero-button-text: #10202a;
    --hero-active-button-bg: linear-gradient(90deg, rgba(0,213,213,0.92), rgba(0,160,160,0.88));
    --theme-control-bg: rgba(42,43,52,0.12);
    --theme-control-border: rgba(42,43,52,0.12);
    --theme-control-text: #242733;
    --theme-control-select-bg: rgba(255,255,255,0.72);
    --theme-control-select-border: rgba(42,43,52,0.16);
    --theme-control-select-text: #232733;
}

body[data-theme="silver-steel"] {
    --page-bg: linear-gradient(135deg, #eef1f4 0%, #c6ccd4 100%);
    --header-bg: linear-gradient(105deg, #f6f7f8 0%, #dce1e7 34%, #b2bac5 68%, #7d8692 100%);
    --nav-bg: #313744;
    --top-strip-bg: linear-gradient(135deg, rgba(30,37,48,0.98), rgba(59,68,82,0.95));
    --hero-bg:
        linear-gradient(135deg, rgba(21,28,39,0.96), rgba(41,49,64,0.92)),
        linear-gradient(rgba(48,56,71,0.84), rgba(30,36,47,0.9));
    --hero-card-bg: linear-gradient(180deg, rgba(25,33,45,0.98), rgba(16,22,32,0.96));
    --hero-card-border: rgba(136,198,255,0.12);
    --hero-soft-border: rgba(136,198,255,0.16);
    --hero-accent: #83c5ff;
    --hero-accent-strong: #4f8fcb;
    --hero-accent-soft: rgba(131,197,255,0.2);
    --hero-accent-soft-bg: rgba(131,197,255,0.12);
    --hero-link: #c1e3ff;
    --hero-button-text: #13202e;
    --hero-active-button-bg: linear-gradient(90deg, rgba(131,197,255,0.92), rgba(79,143,203,0.88));
    --theme-control-bg: rgba(34,41,53,0.13);
    --theme-control-border: rgba(34,41,53,0.16);
    --theme-control-text: #1f2430;
    --theme-control-select-bg: rgba(255,255,255,0.78);
    --theme-control-select-border: rgba(34,41,53,0.18);
    --theme-control-select-text: #1f2430;
}

body[data-theme="court-green"] {
    --page-bg: linear-gradient(135deg, #e9efea 0%, #ccd8d0 100%);
    --header-bg: linear-gradient(105deg, #eff4ef 0%, #d7e1d6 34%, #aab9ae 68%, #75877a 100%);
    --nav-bg: #26332d;
    --top-strip-bg: linear-gradient(135deg, rgba(10,28,21,0.98), rgba(24,49,39,0.95));
    --hero-bg:
        linear-gradient(135deg, rgba(8,23,18,0.96), rgba(20,44,34,0.92)),
        linear-gradient(rgba(20,34,28,0.84), rgba(13,24,20,0.9));
    --hero-card-bg: linear-gradient(180deg, rgba(14,34,27,0.98), rgba(9,22,18,0.96));
    --hero-card-border: rgba(112,239,171,0.12);
    --hero-soft-border: rgba(112,239,171,0.16);
    --hero-accent: #46e09f;
    --hero-accent-strong: #1f9f6d;
    --hero-accent-soft: rgba(70,224,159,0.22);
    --hero-accent-soft-bg: rgba(70,224,159,0.12);
    --hero-link: #8affcc;
    --hero-button-text: #0f251b;
    --hero-active-button-bg: linear-gradient(90deg, rgba(70,224,159,0.92), rgba(31,159,109,0.88));
    --theme-control-bg: rgba(20,50,38,0.12);
    --theme-control-border: rgba(20,50,38,0.16);
    --theme-control-text: #193126;
    --theme-control-select-bg: rgba(255,255,255,0.76);
    --theme-control-select-border: rgba(20,50,38,0.18);
    --theme-control-select-text: #173126;
}

body[data-theme="arena-blue"] {
    --page-bg: linear-gradient(135deg, #e7edf7 0%, #c7d3e9 100%);
    --header-bg: linear-gradient(105deg, #edf3fb 0%, #d5dff0 34%, #a2b1cb 68%, #6f7f9e 100%);
    --nav-bg: #23314e;
    --top-strip-bg: linear-gradient(135deg, rgba(8,18,38,0.98), rgba(22,40,73,0.95));
    --hero-bg:
        linear-gradient(135deg, rgba(9,17,35,0.96), rgba(18,40,76,0.92)),
        linear-gradient(rgba(22,32,56,0.84), rgba(9,16,30,0.9));
    --hero-card-bg: linear-gradient(180deg, rgba(14,24,47,0.98), rgba(8,16,31,0.96));
    --hero-card-border: rgba(104,191,255,0.12);
    --hero-soft-border: rgba(104,191,255,0.16);
    --hero-accent: #4ab4ff;
    --hero-accent-strong: #0f7fd1;
    --hero-accent-soft: rgba(74,180,255,0.22);
    --hero-accent-soft-bg: rgba(74,180,255,0.12);
    --hero-link: #9ed9ff;
    --hero-button-text: #122136;
    --hero-active-button-bg: linear-gradient(90deg, rgba(74,180,255,0.92), rgba(15,127,209,0.88));
    --theme-control-bg: rgba(26,45,78,0.12);
    --theme-control-border: rgba(26,45,78,0.16);
    --theme-control-text: #1a2b47;
    --theme-control-select-bg: rgba(255,255,255,0.76);
    --theme-control-select-border: rgba(26,45,78,0.18);
    --theme-control-select-text: #1a2b47;
}

body[data-theme="sandstone"] {
    --page-bg: linear-gradient(135deg, #f1ebe1 0%, #d8cfbf 100%);
    --header-bg: linear-gradient(105deg, #f6f1e9 0%, #e1d7c7 34%, #b6aa95 68%, #847763 100%);
    --nav-bg: #3a342e;
    --top-strip-bg: linear-gradient(135deg, rgba(36,29,22,0.98), rgba(59,49,40,0.95));
    --hero-bg:
        linear-gradient(135deg, rgba(28,21,16,0.96), rgba(56,44,30,0.92)),
        linear-gradient(rgba(44,34,25,0.84), rgba(24,18,14,0.9));
    --hero-card-bg: linear-gradient(180deg, rgba(36,28,20,0.98), rgba(20,15,11,0.96));
    --hero-card-border: rgba(255,195,102,0.12);
    --hero-soft-border: rgba(255,195,102,0.16);
    --hero-accent: #f0b45c;
    --hero-accent-strong: #be7c22;
    --hero-accent-soft: rgba(240,180,92,0.22);
    --hero-accent-soft-bg: rgba(240,180,92,0.12);
    --hero-link: #ffd39b;
    --hero-button-text: #2b1b0e;
    --hero-active-button-bg: linear-gradient(90deg, rgba(240,180,92,0.92), rgba(190,124,34,0.88));
    --theme-control-bg: rgba(60,49,37,0.12);
    --theme-control-border: rgba(60,49,37,0.16);
    --theme-control-text: #3b2f24;
    --theme-control-select-bg: rgba(255,248,239,0.78);
    --theme-control-select-border: rgba(60,49,37,0.18);
    --theme-control-select-text: #3b2f24;
}

body[data-theme="wood-court"] {
    --light: #f7f3ec;
    --mid: #8a6f54;
    --dark: #2b2828;
    --page-bg:
        radial-gradient(circle at top left, rgba(46,160,96,0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(35,101,187,0.14), transparent 30%),
        linear-gradient(135deg, #f7f3ec 0%, #e1dbd0 100%);
    --header-bg: linear-gradient(105deg, #fbf8f2 0%, #ebe0d0 34%, #c79f76 68%, #8d6643 100%);
    --header-overlay:
        linear-gradient(135deg, rgba(50,44,42,0) 8%, rgba(255,255,255,0.22) 24%, rgba(255,255,255,0.08) 40%, rgba(46,160,96,0.18) 60%, rgba(35,101,187,0.14) 78%, rgba(50,44,42,0) 96%),
        linear-gradient(90deg, rgba(136,111,84,0.08), rgba(255,255,255,0.16), rgba(35,101,187,0.10));
    --header-overlay-opacity: 0.78;
    --nav-bg: #313036;
    --top-strip-bg: linear-gradient(135deg, rgba(26,28,31,0.98), rgba(74,54,39,0.95));
    --hero-bg:
        linear-gradient(135deg, rgba(19,22,27,0.96), rgba(61,52,46,0.92)),
        linear-gradient(135deg, rgba(46,160,96,0.10), rgba(35,101,187,0.12));
    --hero-card-bg: linear-gradient(180deg, rgba(252,248,242,0.98), rgba(243,236,227,0.96));
    --hero-card-border: rgba(136,103,69,0.16);
    --hero-soft-border: rgba(46,160,96,0.18);
    --hero-accent: #2ea060;
    --hero-accent-strong: #2365bb;
    --hero-accent-soft: rgba(46,160,96,0.20);
    --hero-accent-soft-bg: rgba(35,101,187,0.12);
    --hero-link: #1f7ed2;
    --hero-button-text: #f8f6f2;
    --hero-active-button-bg: linear-gradient(90deg, rgba(46,160,96,0.94), rgba(35,101,187,0.90));
    --theme-control-bg: rgba(49,48,54,0.10);
    --theme-control-border: rgba(49,48,54,0.14);
    --theme-control-text: #2d2927;
    --theme-control-select-bg: rgba(255,255,255,0.82);
    --theme-control-select-border: rgba(49,48,54,0.16);
    --theme-control-select-text: #2d2927;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    color: var(--dark);
    background: var(--page-bg);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Header & Logo ===== */
header {
    position: relative;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42,43,52,0.08);
    padding: 1rem 1.25rem;
    text-align: left;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 250px;
    padding: 0;
    background: transparent;
}
.logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: inline-block;
    border-radius: 12px;
    transition: opacity 0.2s ease;
}
.logo-wrap a:hover .logo {
    opacity: 0.88;
}
.header-news {
    min-width: 0;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}
.theme-picker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.55rem;
    border-radius: 14px;
    background: var(--theme-control-bg);
    border: 1px solid var(--theme-control-border);
    box-shadow: 0 10px 18px rgba(0,0,0,.08);
}
.theme-picker label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--theme-control-text);
}
.theme-picker select {
    appearance: none;
    border: 1px solid var(--theme-control-select-border);
    background: var(--theme-control-select-bg);
    color: var(--theme-control-select-text);
    border-radius: 10px;
    padding: 0.46rem 1.9rem 0.46rem 0.7rem;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.1;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position:
        calc(100% - 14px) calc(50% - 2px),
        calc(100% - 9px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.theme-picker select:focus {
    outline: 2px solid rgba(0,0,0,0.14);
    outline-offset: 2px;
}
.top-news-strip {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    background: var(--top-strip-bg);
}

/* ===== Navigation Bar ===== */
nav {
    background: rgba(42,43,52,0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0.65rem 1rem;
    gap: 0.25rem 1.25rem;
    flex-wrap: wrap;
}
nav ul li {
    margin: 0;
}
nav ul li a {
    color: rgba(229,229,234,0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 0.35rem 0.1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
nav ul li a:hover {
    color: #fff;
    border-bottom-color: var(--hero-accent);
}
.nav-tournaments,
.nav-shop,
.nav-game {
    color: rgba(229,229,234,0.92);
}
.label-with-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.free-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #7dff8a, #2ecc71);
    color: #0d2814;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 8px 16px rgba(46, 204, 113, 0.22);
    white-space: nowrap;
}

/* ===== Hero Section ===== */
.hero {
    background: var(--hero-bg);
    color: var(--light);
    padding: 4rem 1.5rem 4.5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, var(--hero-accent-soft), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(255,255,255,0.04), transparent 50%);
    pointer-events: none;
}
.hero-slider-shell {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-slider-viewport {
    overflow: hidden;
}
.hero-slider-track {
    display: flex;
    transition: transform 0.55s ease;
    will-change: transform;
}
.hero-slide-panel {
    flex: 0 0 100%;
    min-width: 0;
}
.hero-slide-main {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
    gap: 2rem;
    align-items: start;
}
.hero-slide-copy {
    text-align: left;
    max-width: 700px;
    padding-top: 0.3rem;
}
.hero-slide-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.36rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(229,229,234,0.88);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero-kicker {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--dark);
}
.hero-kicker-focus {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(42,43,52,0.06);
    border: 1px solid rgba(42,43,52,0.1);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-kicker-focus:hover {
    background: rgba(42,43,52,0.1);
    border-color: rgba(42,43,52,0.16);
}
.hero-kicker-focus.one {
    border-color: rgba(242,201,76,0.35);
    background: rgba(242,201,76,0.12);
}
.hero-kicker-focus.two {
    border-color: rgba(255,126,12,0.3);
    background: rgba(255,126,12,0.1);
}
.hero-kicker-focus.three {
    border-color: rgba(176,32,45,0.25);
    background: rgba(176,32,45,0.08);
}
.header-news .hero-kicker {
    align-self: flex-end;
}
.hero-slide-copy h1,
.hero-slide-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 18ch;
}
.hero-slide-copy p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 0 1.5rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.cta-button {
    display: inline-block;
    background: var(--hero-accent);
    color: var(--hero-button-text);
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 4px 16px var(--hero-accent-soft);
    transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}
.cta-button:hover {
    box-shadow: 0 6px 24px var(--hero-accent-soft);
    transform: translateY(-1px);
    filter: brightness(1.05);
}
.cta-button.alt {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--hero-soft-border);
    color: var(--light);
    box-shadow: none;
}
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.hero-pills a {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--hero-soft-border);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
}
.hero-pills a:hover {
    background: var(--hero-accent-soft-bg);
}
.hero-slide-visual {
    min-width: 0;
}
.hero-showcase {
    border-radius: 18px;
    border: 1px solid var(--hero-card-border);
    box-shadow: 0 18px 30px rgba(0,0,0,.24);
    background: var(--hero-card-bg);
    padding: 1rem;
    overflow: hidden;
}
.hero-showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}
.hero-showcase-meta {
    min-width: 0;
}
.hero-showcase-badges {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}
.hero-panel-badge {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--hero-accent-soft-bg);
    border: 1px solid var(--hero-soft-border);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--hero-link);
}
.hero-showcase h3 {
    font-size: 1.06rem;
    margin-bottom: 0.35rem;
    color: #f4f7fb;
}
.hero-showcase p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(214,221,230,0.82);
}
.hero-showcase-link {
    color: var(--hero-link);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.hero-showcase-link:hover {
    text-decoration: underline;
}
.hero-marquee {
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}
.hero-marquee-track {
    display: flex;
    width: max-content;
    gap: 0.9rem;
    padding: 0.95rem;
    animation: hero-marquee 34s linear infinite;
}
.hero-showcase:hover .hero-marquee-track {
    animation-play-state: paused;
}
.hero-slide,
.hero-dashboard-slide {
    flex: 0 0 auto;
    width: 172px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(10,14,20,0.92);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 20px rgba(0,0,0,.2);
}
.hero-slide img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top center;
}
.hero-slide.wide {
    width: 320px;
}
.hero-slide.wide img {
    height: 220px;
}
.hero-slide.phone {
    width: 150px;
}
.hero-slide.phone img {
    height: 260px;
}
.hero-slide figcaption,
.hero-dashboard-slide figcaption {
    padding: 0.7rem 0.8rem 0.8rem;
    color: rgba(214,221,230,0.82);
    font-size: 0.76rem;
    line-height: 1.45;
}
.hero-dashboard-slide {
    width: 260px;
    background: linear-gradient(180deg, #070a0f, #0d1320);
}
.hero-dashboard-shot {
    padding: 0.8rem;
}
.hero-dashboard-tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
}
.hero-dashboard-tabs span {
    padding: 0.28rem 0.45rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: rgba(229,229,234,0.74);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hero-dashboard-tabs span.active {
    background: linear-gradient(90deg, #ff8b1f, #ff6f00);
    color: #22160f;
}
.hero-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}
.hero-dashboard-card {
    min-height: 138px;
    border-radius: 12px;
    overflow: hidden;
    background: #0f1727;
    border: 1px solid rgba(255,255,255,0.05);
}
.hero-dashboard-card-top {
    padding: 0.62rem;
    background: linear-gradient(180deg, #ff7e0c, #ff6a00);
    color: #22160f;
}
.hero-dashboard-card-top strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.15;
}
.hero-dashboard-card-top span {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.18rem 0.38rem;
    border-radius: 6px;
    background: rgba(255,236,208,0.22);
    font-size: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.hero-dashboard-card-body {
    padding: 0.62rem;
    color: rgba(229,229,234,0.78);
    font-size: 0.62rem;
    line-height: 1.5;
}
.hero-dashboard-card-body em {
    color: #ffb150;
    font-style: normal;
    font-weight: 700;
}
.hero-feature-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.8rem;
}
.hero-feature-row span {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.68rem 0.72rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
    font-size: 0.78rem;
    color: rgba(214,221,230,0.86);
}
.hero-feature-row strong {
    color: var(--hero-accent);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.overview-cards {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}
.overview-card {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 22px rgba(0,0,0,.18);
}
.overview-card h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}
.overview-card p {
    margin: 0;
    color: rgba(214,221,230,0.8);
    font-size: 0.92rem;
    line-height: 1.55;
}
.hero-mock-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}
.hero-events-grid {
    display: grid;
    grid-template-columns: minmax(210px, 235px) minmax(0, 1fr);
    gap: 0.9rem;
    align-items: stretch;
}
.hero-screen-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, #10151f, #0c1018);
    box-shadow: 0 14px 24px rgba(0,0,0,.22);
}
.hero-screen-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top center;
    background: #0b0f17;
}
.hero-screen-card figcaption {
    padding: 0.78rem 0.9rem 0.92rem;
    color: rgba(220,227,236,0.82);
    font-size: 0.76rem;
    line-height: 1.5;
}
.hero-events-stack {
    display: grid;
    gap: 0.9rem;
}
.hero-ui-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, #10151f, #0c1018);
    box-shadow: 0 14px 24px rgba(0,0,0,.22);
}
.hero-ui-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    padding: 0.78rem 0.9rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hero-ui-top strong {
    color: #f3f6fb;
    font-size: 0.9rem;
}
.hero-ui-top span {
    color: #ff9a3c;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero-ui-body {
    padding: 0.88rem;
    color: rgba(220,227,236,0.82);
    font-size: 0.76rem;
    line-height: 1.5;
}
.hero-ui-list {
    display: grid;
    gap: 0.45rem;
}
.hero-ui-list span {
    display: block;
    padding: 0.5rem 0.58rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
}
.hero-ui-list strong {
    color: #7dff8a;
    margin-right: 0.3rem;
}
.hero-shop-card {
    border-radius: 18px;
    overflow: hidden;
    background: #f5f7fa;
    border: 1px solid rgba(42,43,52,0.08);
    box-shadow: 0 16px 26px rgba(0,0,0,.14);
}
.hero-shop-topbar {
    padding: 0.68rem 0.9rem;
    background: #617181;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
}
.hero-shop-header {
    display: grid;
    grid-template-columns: 120px 1fr 190px;
    gap: 0.7rem;
    align-items: center;
    padding: 0.8rem 0.9rem;
}
.hero-shop-logo,
.hero-shop-cart,
.hero-shop-search {
    border-radius: 10px;
    min-height: 52px;
    display: grid;
    place-items: center;
}
.hero-shop-logo {
    background: linear-gradient(135deg, #ffffff, #e7ebf0);
    color: #1f2430;
    font-size: 1.35rem;
    font-weight: 800;
}
.hero-shop-search {
    background: #ffffff;
    border: 1px solid rgba(42,43,52,0.12);
    color: #5a6370;
    justify-items: start;
    padding-left: 1rem;
    font-size: 0.82rem;
}
.hero-shop-cart {
    background: #ffb74d;
    color: #1f2430;
    font-size: 0.82rem;
    font-weight: 800;
}
.hero-shop-nav {
    display: flex;
    gap: 0.55rem;
    padding: 0 0.9rem 0.85rem;
    flex-wrap: wrap;
}
.hero-shop-nav span {
    padding: 0.48rem 0.7rem;
    border-radius: 10px;
    background: #2d313d;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}
.hero-shop-body {
    padding: 0 0.9rem 0.9rem;
    display: grid;
    gap: 0.8rem;
}
.hero-shop-banner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0.5rem;
    min-height: 140px;
}
.hero-shop-banner span {
    border-radius: 14px;
    display: block;
}
.hero-shop-banner span:first-child {
    background: linear-gradient(135deg, #d7224f, #ff5577);
}
.hero-shop-banner span:last-child {
    background: linear-gradient(135deg, #164135, #0f6f5d);
}
.hero-shop-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}
.hero-shop-product {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(42,43,52,0.08);
    padding: 0.65rem;
}
.hero-shop-thumb {
    height: 90px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f1f4f8, #dde5ef);
    margin-bottom: 0.55rem;
}
.hero-shop-product strong {
    display: block;
    color: #2d313d;
    font-size: 0.72rem;
    margin-bottom: 0.25rem;
}
.hero-shop-product span {
    color: #66707c;
    font-size: 0.66rem;
}
.hero-shop-service {
    padding: 0.85rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(42,43,52,0.08);
}
.hero-shop-service strong {
    display: block;
    color: #2d313d;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
}
.hero-shop-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}
.hero-shop-fields span {
    display: block;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(42,43,52,0.1);
    background: #fafbfd;
    color: #66707c;
    font-size: 0.68rem;
}
.hero-slider-nav {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}
.hero-slider-button {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    color: rgba(229,229,234,0.82);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}
.hero-slider-button.active {
    background: var(--hero-active-button-bg);
    color: var(--hero-button-text);
    border-color: var(--hero-soft-border);
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 2rem;
}
.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hero-accent-strong);
    margin-bottom: 0.5rem;
}
.highlights {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding: 0 1.5rem;
}
.highlights h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.highlight-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(42, 43, 52, 0.08);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.highlight-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}
.highlight-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(42,43,52,0.96), rgba(83,84,96,0.92));
    color: var(--light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.highlight-card h3 {
    color: var(--dark);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.highlight-card p {
    color: #4d4f59;
    margin-bottom: 1rem;
}
.highlight-card a {
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
}
.highlight-card a:hover {
    text-decoration: underline;
}

/* ===== Sports Details Grid ===== */
.sports-details {
    max-width: 1200px;
    margin: 3rem auto 2rem;
    padding: 0 1.5rem;
    position: relative;
}
.sports-details .section-title {
    margin-bottom: 2.5rem;
}
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.sport-card {
    background: rgba(255,255,255,0.9);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: left;
    border: 1px solid rgba(42,43,52,0.1);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sport-card:hover {
    transform: translateY(-4px);
    border-color: rgba(42,43,52,0.16);
    box-shadow: var(--shadow-lg);
}
.sport-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}
.sport-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dark), rgba(83,84,96,0.95));
    color: var(--light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex: 0 0 auto;
}
.sport-card h3 {
    color: var(--dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}
.sport-card p {
    color: #5b5e68;
    font-size: 0.92rem;
    line-height: 1.65;
}
.sport-card p strong {
    color: var(--dark);
    font-weight: 600;
}
.sport-photo {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    margin: 0 0 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(42,43,52,0.08);
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.info-section {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}
.info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: 2rem;
    align-items: start;
}
.info-card {
    background: rgba(255, 255, 255, 0.82);
    padding: 1.35rem;
    border-radius: var(--radius);
    border: 1px solid rgba(42, 43, 52, 0.15);
    box-shadow: var(--shadow);
}
.info-card h2 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.info-card p {
    color: #4d4f59;
    margin-bottom: 0.9rem;
}
.info-card a {
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
}
.info-card a:hover {
    text-decoration: underline;
}
.info-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.info-link {
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(42, 43, 52, 0.18);
    background: rgba(42, 43, 52, 0.05);
}
.contact-card {
    display: grid;
    gap: 0.9rem;
}
.contact-card .ticker-lead {
    margin-bottom: 0.15rem;
}
.contact-grid {
    display: grid;
    gap: 0.85rem;
}
.contact-panel {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(42, 43, 52, 0.12);
    background: rgba(255,255,255,0.45);
}
.contact-panel strong {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--dark);
    font-size: 1rem;
}
.contact-panel p {
    margin-bottom: 0.55rem;
    font-size: 0.93rem;
    color: #5b5e68;
}
.contact-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(42, 43, 52, 0.16);
    background: rgba(42,43,52,0.05);
    text-decoration: none;
}
.ticker-shell {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(42, 43, 52, 0.12);
    background: linear-gradient(90deg, rgba(24, 29, 39, 0.98), rgba(43, 49, 61, 0.96));
    color: var(--light);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}
.top-news-strip .ticker-shell {
    margin-bottom: 0;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
}
.top-news-strip .ticker-track {
    padding: 0.28rem 0;
    animation-duration: 90s;
}
.top-news-strip .ticker-track span {
    font-size: 0.77rem;
    padding: 0 1.3rem;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 70s linear infinite;
    padding: 0.95rem 0;
}
.ticker-shell:hover .ticker-track {
    animation-play-state: paused;
}
.ticker-track span {
    display: inline-block;
    white-space: nowrap;
    padding: 0 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.ticker-track a {
    color: inherit;
    text-decoration: none;
}
.ticker-track a:hover {
    text-decoration: underline;
}
.ticker-track strong {
    color: #ffe45c;
    margin-right: 0.45rem;
}
.ticker-lead {
    font-size: 0.95rem;
    color: #4d4f59;
    margin-bottom: 1.25rem;
}
.headline-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.85rem;
}
.feature-story-card {
    display: grid;
    grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.95rem;
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(127,227,157,0.18), rgba(127,227,157,0) 26%),
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,247,247,0.9));
    border: 1px solid rgba(42, 43, 52, 0.12);
}
.feature-story-media img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 22px rgba(0,0,0,.1);
}
.feature-story-copy {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    justify-content: center;
}
.feature-story-kicker {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hero-accent-strong);
}
.feature-story-copy h3 {
    font-size: 1.18rem;
    line-height: 1.18;
    margin: 0;
    color: var(--dark);
}
.feature-story-copy p {
    margin: 0;
    color: #565963;
}
.feature-story-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.1rem;
}
.feature-story-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(42, 43, 52, 0.14);
    background: rgba(42,43,52,0.05);
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
}
.feature-story-link.primary {
    background: linear-gradient(90deg, rgba(0,213,213,0.9), rgba(0,160,160,0.86));
    border-color: rgba(0,160,160,0.2);
    color: #112228;
}
.headline-item {
    padding: 0.72rem 0.82rem;
    border-radius: 10px;
    background: rgba(42, 43, 52, 0.05);
    border: 1px solid rgba(42, 43, 52, 0.08);
}
.headline-title {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
}
.headline-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(42,43,52,0.96), rgba(83,84,96,0.92));
    color: var(--light);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    flex: 0 0 auto;
}
.headline-icon[data-sport="PADEL"] {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
}
.headline-icon[data-sport="PICKLE"] {
    background: linear-gradient(135deg, #5f0f40, #9a031e);
}
.headline-icon[data-sport="BADM"] {
    background: linear-gradient(135deg, #005f73, #0a9396);
}
.headline-icon[data-sport="TENNIS"] {
    background: linear-gradient(135deg, #6a4c93, #8ac926);
}
.headline-icon[data-sport="TABLE"] {
    background: linear-gradient(135deg, #1d3557, #457b9d);
}
.headline-icon[data-sport="SQUASH"] {
    background: linear-gradient(135deg, #7f5539, #b08968);
}
.headline-icon[data-sport="SPORT"] {
    background: linear-gradient(135deg, rgba(42,43,52,0.96), rgba(83,84,96,0.92));
}
.headline-item a {
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
    line-height: 1.45;
}
.headline-item a:hover {
    text-decoration: underline;
}
.headline-meta {
    margin-top: 0.28rem;
    font-size: 0.78rem;
    color: #6a6d77;
}
@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes hero-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 0.45rem));
    }
}

@keyframes kicker-sheen {
    0%,
    20% {
        transform: translateX(-120%);
    }
    55%,
    100% {
        transform: translateX(120%);
    }
}
@keyframes kicker-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes kicker-chip-cycle {
    0%,
    100% {
        background: rgba(13, 24, 31, 0.22);
        color: #162029;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
    }
    25% {
        background: rgba(177, 143, 33, 0.28);
        color: #211700;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
    }
    50% {
        background: rgba(11, 133, 120, 0.3);
        color: #041f1d;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    }
    75% {
        background: rgba(162, 55, 86, 0.28);
        color: #240d14;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    }
}
.hero-kicker-focus.one {
    background: linear-gradient(135deg, rgba(242, 201, 76, 0.9), rgba(255, 227, 92, 0.98));
    color: #3a2a00;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28), 0 6px 14px rgba(201, 162, 34, 0.18);
    animation: kicker-chip-game 11s ease-in-out infinite;
}
.hero-kicker-focus.two {
    background:
        linear-gradient(135deg, rgba(255, 177, 92, 0.2), rgba(255, 177, 92, 0) 38%),
        linear-gradient(135deg, rgba(255, 126, 12, 0.98), rgba(255, 106, 0, 0.99));
    color: #7dff8a;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.22),
        inset 0 -2px 0 rgba(58, 184, 105, 0.72),
        0 6px 14px rgba(255, 106, 0, 0.24);
    animation: kicker-chip-events 11s ease-in-out infinite;
}
.hero-kicker-focus.three {
    background:
        linear-gradient(135deg, rgba(255, 176, 176, 0.14), rgba(255, 176, 176, 0) 36%),
        linear-gradient(135deg, rgba(176, 32, 45, 0.97), rgba(124, 18, 34, 0.99));
    color: #fff2f2;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.18),
        inset 0 -1px 0 rgba(255, 138, 138, 0.42),
        0 6px 14px rgba(124, 18, 34, 0.24);
    animation: kicker-chip-shop 11s ease-in-out infinite;
}
@keyframes header-metal-shift {
    0% {
        background-position: 0% 50%, 0% 50%;
        transform: translateX(-8%);
    }
    50% {
        background-position: 100% 50%, 100% 50%;
        transform: translateX(4%);
    }
    100% {
        background-position: 0% 50%, 0% 50%;
        transform: translateX(-8%);
    }
}
@keyframes kicker-chip-game {
    0%, 100% {
        background: linear-gradient(135deg, rgba(242, 201, 76, 0.9), rgba(255, 227, 92, 0.98));
        color: #3a2a00;
    }
    50% {
        background: linear-gradient(135deg, rgba(227, 184, 38, 0.92), rgba(255, 213, 70, 0.98));
        color: #2f2200;
    }
}
@keyframes kicker-chip-events {
    0%, 100% {
        background:
            linear-gradient(135deg, rgba(255, 177, 92, 0.2), rgba(255, 177, 92, 0) 38%),
            linear-gradient(135deg, rgba(255, 126, 12, 0.98), rgba(255, 106, 0, 0.99));
        color: #7dff8a;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,0.22),
            inset 0 -2px 0 rgba(58, 184, 105, 0.72),
            0 6px 14px rgba(255, 106, 0, 0.24);
    }
    50% {
        background:
            linear-gradient(135deg, rgba(255, 194, 110, 0.2), rgba(255, 194, 110, 0) 38%),
            linear-gradient(135deg, rgba(255, 132, 20, 0.98), rgba(242, 98, 0, 0.99));
        color: #7dff8a;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,0.22),
            inset 0 -2px 0 rgba(73, 201, 121, 0.78),
            0 6px 14px rgba(242, 98, 0, 0.26);
    }
}
@keyframes kicker-chip-shop {
    0%, 100% {
        background:
            linear-gradient(135deg, rgba(255, 176, 176, 0.14), rgba(255, 176, 176, 0) 36%),
            linear-gradient(135deg, rgba(176, 32, 45, 0.97), rgba(124, 18, 34, 0.99));
        color: #fff2f2;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,0.18),
            inset 0 -1px 0 rgba(255, 138, 138, 0.42),
            0 6px 14px rgba(124, 18, 34, 0.24);
    }
    50% {
        background:
            linear-gradient(135deg, rgba(255, 194, 194, 0.14), rgba(255, 194, 194, 0) 36%),
            linear-gradient(135deg, rgba(196, 38, 52, 0.97), rgba(140, 20, 38, 0.99));
        color: #fff5f5;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,0.18),
            inset 0 -1px 0 rgba(255, 150, 150, 0.48),
            0 6px 14px rgba(140, 20, 38, 0.26);
    }
}
.game-section {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}
.app-stack {
    display: grid;
    gap: 1rem;
}
.game-card {
    background: linear-gradient(135deg, rgba(42, 43, 52, 0.98), rgba(55, 57, 68, 0.94));
    color: var(--light);
    border-radius: var(--radius);
    padding: 1.45rem 1.6rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.06);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.4rem;
    align-items: center;
    transition: box-shadow 0.25s ease;
}
.game-card:hover {
    box-shadow: var(--shadow-lg);
}
.game-card h2 {
    margin-bottom: 0.55rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.game-card p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(229,229,234,0.9);
}
.game-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-end;
}
.game-link {
    display: inline-block;
    background: #0f62fe;
    color: #fff;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}
.game-link-secondary {
    background: #f2c94c;
    color: #2a2b34;
}
.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.store-badge {
    display: inline-flex;
    line-height: 0;
    border-radius: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.94;
}
.store-badge:focus-visible {
    outline: 2px solid var(--hero-accent);
    outline-offset: 3px;
}
.store-badge img {
    display: block;
    height: 40px;
    width: auto;
}
.store-badges--compact .store-badge img {
    height: 32px;
}

/* ===== Footer ===== */
footer {
    background: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 0.75rem;
}
.footer-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
}
.footer-links a:hover {
    text-decoration: underline;
}
.footer-copy {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.92rem;
    color: rgba(229, 229, 234, 0.88);
}
footer img {
    width: 160px;
    height: auto;
    border-radius: 14px;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 768px) {
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem 1rem;
        padding: 0.7rem 0.85rem;
    }
    nav ul li {
        margin: 0;
    }
    .hero {
        padding: 2.4rem 0.95rem 3rem;
    }
    .header-inner {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .header-news {
        align-items: center;
        gap: 0.55rem;
    }
    .theme-picker {
        align-self: center;
        padding: 0.34rem 0.45rem;
    }
    .theme-picker label {
        font-size: 0.64rem;
    }
    .theme-picker select {
        font-size: 0.78rem;
        padding: 0.38rem 1.7rem 0.38rem 0.58rem;
    }
    .top-news-strip {
        margin-top: 0;
        padding: 0;
    }
    .logo-wrap {
        justify-content: center;
        margin: 0 auto;
        max-width: 210px;
    }
    .header-news .hero-kicker {
        align-self: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.22rem;
        width: 100%;
        max-width: 340px;
        padding: 0.34rem 0.42rem;
        font-size: 0.64rem;
        letter-spacing: 0.05em;
    }
    .hero-kicker-focus {
        padding: 0.08rem 0.32rem;
    }
    .logo {
        max-width: 190px;
        filter: drop-shadow(0 5px 10px rgba(0,0,0,.1));
    }
    nav ul li a {
        font-size: 0.95rem;
        letter-spacing: 0.01em;
    }
    nav ul li a.label-with-badge {
        gap: 0.35rem;
    }
    .free-badge {
        font-size: 0.56rem;
        padding: 0.14rem 0.42rem;
    }
    .top-news-strip .ticker-track {
        padding: 0.22rem 0;
        animation-duration: 105s;
    }
    .top-news-strip .ticker-track span {
        font-size: 0.72rem;
        padding: 0 1rem;
    }
    .hero-slider-shell {
        max-width: none;
    }
    .hero-slide-main {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }
    .hero-slide-copy h1,
    .hero-slide-copy h2 {
        font-size: clamp(2rem, 11vw, 3rem);
        max-width: none;
        line-height: 0.98;
    }
    .hero-slide-copy p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    .hero-actions {
        gap: 0.75rem;
    }
    .cta-button {
        padding: 0.78rem 1rem;
        font-size: 0.96rem;
    }
    .hero-feature-row {
        grid-template-columns: 1fr;
    }
    .hero-mock-grid,
    .hero-events-grid,
    .hero-shop-products,
    .hero-shop-fields,
    .hero-shop-header,
    .hero-shop-banner {
        grid-template-columns: 1fr;
    }
    .hero-screen-card img {
        max-height: 420px;
    }
    .hero-dashboard-slide {
        width: 220px;
    }
    .hero-slide {
        width: 150px;
    }
    .hero-slide.wide {
        width: 260px;
    }
    .hero-slide.wide img {
        height: 180px;
    }
    .hero-slider-nav {
        justify-content: center;
        gap: 0.5rem;
    }
    .hero-slider-button {
        font-size: 0.86rem;
        padding: 0.58rem 0.72rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .feature-story-card {
        grid-template-columns: 1fr;
    }
    .game-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .game-links {
        justify-content: flex-start;
    }
}
@media (max-width: 480px) {
    header {
        padding: 0.72rem 0.7rem 0.58rem;
    }
    .header-inner {
        gap: 0.45rem;
    }
    .theme-picker {
        width: 100%;
        max-width: 240px;
        justify-content: space-between;
    }
    .theme-picker select {
        max-width: 150px;
    }
    .logo-wrap {
        max-width: 172px;
    }
    .logo {
        max-width: 158px;
    }
    .header-news .hero-kicker {
        width: min(100%, 320px);
        max-width: 320px;
        padding: 0.24rem 0.3rem;
        font-size: 0.52rem;
        gap: 0.16rem;
        justify-content: center;
    }
    .hero-kicker-focus {
        padding: 0.06rem 0.2rem;
    }
    nav ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem 0.5rem;
        padding: 0.55rem 0.65rem;
    }
    nav ul li a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 2rem;
        font-size: 0.88rem;
        text-align: center;
    }
    nav ul li a.label-with-badge {
        justify-content: center;
    }
    .top-news-strip {
        display: none;
    }
    .hero {
        padding: 1.45rem 0.78rem 2.35rem;
    }
    .hero-slide-copy h1,
    .hero-slide-copy h2 {
        font-size: clamp(1.55rem, 10.5vw, 2.15rem);
        line-height: 0.94;
        letter-spacing: 0.02em;
        margin-bottom: 0.8rem;
        max-width: 11ch;
    }
    .hero-slide-copy p {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 0.72rem 0.92rem;
        font-size: 0.92rem;
    }
    .hero-pills {
        gap: 0.4rem;
    }
    .hero-pills a {
        font-size: 0.76rem;
        padding: 0.42rem 0.58rem;
    }
    .hero-showcase {
        padding: 0.72rem;
        border-radius: 14px;
    }
    .hero-showcase-head {
        margin-bottom: 0.55rem;
    }
    .hero-showcase-link {
        font-size: 0.7rem;
    }
    .hero-marquee-track {
        gap: 0.55rem;
        padding: 0.58rem;
    }
    .hero-slide,
    .hero-dashboard-slide {
        width: 124px;
    }
    .hero-slide img,
    .hero-slide.phone img {
        height: 190px;
    }
    .hero-slide.wide {
        width: 198px;
    }
    .hero-slide.wide img {
        height: 136px;
    }
    .hero-screen-card img {
        max-height: 250px;
    }
    .overview-card,
    .hero-screen-card figcaption,
    .hero-ui-body {
        font-size: 0.7rem;
    }
    .hero-slide-label {
        margin-bottom: 0.75rem;
        padding: 0.3rem 0.5rem;
        font-size: 0.67rem;
    }
    .overview-card {
        padding: 0.82rem;
    }
    .overview-card h3 {
        font-size: 0.96rem;
    }
    .overview-card p,
    .hero-showcase p {
        font-size: 0.84rem;
    }
    .hero-slider-nav {
        gap: 0.35rem;
        margin-top: 0.95rem;
    }
    .hero-slider-button {
        font-size: 0.72rem;
        padding: 0.45rem 0.52rem;
    }
}

/* ===== Subpage shared variables ===== */
:root {
    --card-bg: rgba(255,255,255,0.9);
    --card-border: rgba(42,43,52,0.08);
    --surface-bg: rgba(255,255,255,0.9);
    --surface-border: rgba(42,43,52,0.12);
    --footer-bg: #2A2B34;
    --primary-btn-bg: #0f62fe;
    --primary-btn-text: #fff;
    --secondary-btn-bg: #f2c94c;
    --secondary-btn-text: #2A2B34;
}

body[data-theme="silver-steel"] {
    --card-bg: rgba(248,250,253,0.9);
    --card-border: rgba(61,73,91,0.1);
    --surface-bg: rgba(248,250,253,0.9);
    --surface-border: rgba(61,73,91,0.1);
    --footer-bg: #313744;
    --primary-btn-bg: #4f8fcb;
    --secondary-btn-bg: #bcd8f2;
    --secondary-btn-text: #1a2a3a;
}

body[data-theme="court-green"] {
    --card-bg: rgba(248,251,248,0.9);
    --card-border: rgba(28,70,54,0.1);
    --surface-bg: rgba(248,251,248,0.9);
    --surface-border: rgba(28,70,54,0.1);
    --footer-bg: #26332d;
    --primary-btn-bg: #1f9f6d;
    --secondary-btn-bg: #b8ebd3;
    --secondary-btn-text: #143225;
}

body[data-theme="arena-blue"] {
    --card-bg: rgba(247,250,255,0.9);
    --card-border: rgba(31,60,110,0.1);
    --surface-bg: rgba(247,250,255,0.9);
    --surface-border: rgba(31,60,110,0.1);
    --footer-bg: #23314e;
    --primary-btn-bg: #0f7fd1;
    --secondary-btn-bg: #b8dfff;
    --secondary-btn-text: #132742;
}

body[data-theme="sandstone"] {
    --card-bg: rgba(255,250,244,0.9);
    --card-border: rgba(74,55,39,0.1);
    --surface-bg: rgba(255,250,244,0.9);
    --surface-border: rgba(74,55,39,0.1);
    --footer-bg: #3a342e;
    --primary-btn-bg: #be7c22;
    --secondary-btn-bg: #efd0a6;
    --secondary-btn-text: #3a2816;
}

/* ===== Subpage layout ===== */
body.subpage header,
body.article-page header,
body.error-page header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 2rem 0 1rem;
}

body.subpage .wrap,
body.article-page .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

body.subpage .logo,
body.article-page .logo {
    width: clamp(150px, 22vw, 220px);
    height: auto;
    max-width: none;
    border-radius: 0;
    filter: none;
}

body.subpage .topbar,
body.article-page .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

body.subpage .topbar-group,
body.article-page .topbar-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.subpage .top-links a,
body.article-page .top-links a {
    text-decoration: none;
    font-weight: 700;
    color: var(--dark);
}

body.subpage .top-links a:hover,
body.article-page .top-links a:hover {
    text-decoration: underline;
}

body.subpage main .hero,
body.article-page .hero {
    background: var(--hero-bg);
    color: var(--light);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

body.subpage main .hero h1,
body.article-page .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: none;
}

body.subpage main .hero p,
body.article-page .hero p {
    max-width: 760px;
    margin-bottom: 1rem;
    color: rgba(229,229,234,0.88);
}

body.subpage .card,
body.article-page .card {
    background: var(--surface-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

body.subpage .card h1,
body.subpage .card h2,
body.article-page .card h1,
body.article-page .card h2 {
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    text-transform: none;
}

body.subpage .links,
body.article-page .links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

body.subpage .links a,
body.article-page .links a {
    text-decoration: none;
    font-weight: 700;
}

body.subpage .simple-footer,
body.article-page .simple-footer {
    text-align: center;
    font-size: 0.92rem;
    color: #4d4f59;
    padding-bottom: 2rem;
}

body.subpage .simple-footer p,
body.article-page .simple-footer p {
    margin-bottom: 0.35rem;
}

body.subpage .btn,
body.article-page .btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    background: var(--primary-btn-bg);
    color: var(--primary-btn-text);
}

body.subpage .btn-secondary,
body.article-page .btn-secondary {
    background: var(--secondary-btn-bg);
    color: var(--secondary-btn-text);
}

body.subpage .cta-row,
body.article-page .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

body.subpage .grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

body.subpage main .card h2 {
    font-size: 1.35rem;
}

body.subpage .feature-list {
    padding-left: 1.2rem;
}

body.subpage .feature-list li {
    margin-bottom: 0.75rem;
}

body.subpage .gallery-block {
    margin-bottom: 2rem;
}

body.subpage .gallery-block h2 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: none;
}

body.subpage .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

body.subpage .shot {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--card-border);
}

body.subpage .shot:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

body.subpage .shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 5;
    background: #d7d8dd;
}

body.subpage .caption {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.94rem;
    color: #4d4f59;
}

body.subpage .gallery.tablets { grid-template-columns: repeat(2, 1fr); }
body.subpage .gallery.phones { grid-template-columns: repeat(4, 1fr); }
body.subpage .gallery.latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }

body.subpage .gallery.tablets .shot img,
body.subpage .gallery.latest .shot img {
    object-fit: contain;
    padding: 0.9rem;
    background: linear-gradient(180deg, #f9fafc, #dfe3ea);
}

body.subpage .gallery.tablets .shot img { aspect-ratio: 3 / 4; }
body.subpage .gallery.latest .shot img { aspect-ratio: 16 / 10; }

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

body.subpage .video-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.subpage .video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

body.subpage .video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #eef0f4;
}

body.subpage .footer-card {
    background: var(--footer-bg);
    color: var(--light);
    border-radius: 20px;
    padding: 1.5rem;
}

body.subpage footer .footer-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
}

body.subpage .legal {
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.92rem;
    color: rgba(229,229,234,0.88);
}

/* Blog */
body.subpage .eyebrow {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--hero-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.subpage .post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin: 1.7rem 0 2rem;
}

body.subpage .post-card {
    overflow: hidden;
    background: var(--surface-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.subpage .post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

body.subpage .post-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

body.subpage .post-body { padding: 1.15rem; }

body.subpage .post-kicker {
    display: inline-flex;
    margin-bottom: 0.6rem;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: rgba(42,43,52,0.06);
    color: var(--hero-accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.subpage .post-body h2 {
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 0.55rem;
    font-weight: 800;
}

body.subpage .post-body p {
    color: #555762;
    margin-bottom: 1rem;
}

body.subpage .post-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

body.subpage .post-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(42,43,52,0.14);
    background: rgba(42,43,52,0.05);
}

body.subpage .post-link.primary {
    background: var(--hero-active-button-bg);
    border-color: var(--hero-soft-border);
    color: var(--hero-button-text);
}

/* Article guides */
body.article-page .article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.6rem;
}

body.article-page .hero-copy { min-width: 0; }

body.article-page .article-hero h1 {
    font-size: clamp(2.25rem, 4.3vw, 3.5rem);
    line-height: 1.02;
    max-width: 14ch;
    margin-top: 0.9rem;
}

body.article-page .hero-intro {
    margin-top: 0.85rem;
    color: rgba(229,229,234,0.82);
    font-size: 1.02rem;
    max-width: 62ch;
}

body.article-page .hero-tags,
body.article-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

body.article-page .hero-tag {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.78rem;
    font-weight: 700;
}

body.article-page .hero-media {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
}

body.article-page .hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

body.article-page .media-caption {
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    color: rgba(229,229,234,0.75);
    background: rgba(0,0,0,0.2);
}

body.article-page .summary-grid,
body.article-page .mistake-grid {
    display: grid;
    gap: 1rem;
    margin: 1.6rem 0 2rem;
}

body.article-page .summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.article-page .mistake-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.article-page .summary-card,
body.article-page .section-card,
body.article-page .resource-card,
body.article-page .cta-banner,
body.article-page .mistake-card {
    background: var(--surface-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

body.article-page .summary-card { padding: 1.1rem; }

body.article-page .summary-card strong {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    background: rgba(42,43,52,0.06);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.article-page .summary-card h2,
body.article-page .mistake-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
    font-weight: 800;
}

body.article-page .article-stack {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

body.article-page .section-card { padding: 1.35rem; }

body.article-page .section-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

body.article-page .step-badge {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dark), rgba(83,84,96,0.95));
    color: var(--light);
    font-size: 0.82rem;
    font-weight: 800;
}

body.article-page .section-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

body.article-page .section-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    gap: 1.2rem;
    align-items: start;
}

body.article-page .section-media img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

body.article-page .resource-card,
body.article-page .cta-banner {
    padding: 1.35rem;
    margin: 1.5rem 0 2rem;
}

body.article-page .cta-banner {
    background: linear-gradient(135deg, rgba(42,43,52,0.96), rgba(55,57,68,0.94));
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.08);
}

body.article-page .mistake-card {
    padding: 1.2rem;
}

/* 404 */
body.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.error-page main {
    flex: 1;
    width: min(720px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0;
}

body.error-page header,
body.error-page footer {
    width: min(720px, calc(100% - 2rem));
    margin: 0 auto;
}

body.error-page .card {
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    body.subpage .grid,
    body.subpage .gallery { grid-template-columns: 1fr 1fr; }
    body.subpage .gallery.phones { grid-template-columns: 1fr 1fr; }
    body.subpage .gallery.latest,
    body.subpage .video-grid { grid-template-columns: 1fr; }
    body.article-page .article-hero,
    body.article-page .section-layout { grid-template-columns: 1fr; }
    body.article-page .summary-grid { grid-template-columns: repeat(2, 1fr); }
    body.article-page .mistake-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    body.subpage .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body.subpage .topbar-group,
    body.article-page .topbar-group {
        width: 100%;
        justify-content: center;
    }
    body.subpage main .hero,
    body.article-page .hero { padding: 1.5rem; }
    body.subpage .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    body.subpage .card,
    body.article-page .card { padding: 1.5rem; }
}

@media (max-width: 640px) {
    body.subpage .theme-picker { width: 100%; justify-content: space-between; }
}

/* ===== Polish: sport SVG icons ===== */
.sport-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dark), rgba(83,84,96,0.95));
    color: var(--light);
    flex: 0 0 auto;
}

.sport-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sport-icon svg .fill {
    fill: currentColor;
    stroke: none;
}

/* ===== Polish: hero demo video ===== */
.hero-demo-video {
    margin-top: 1.25rem;
    max-width: 520px;
}

.hero-demo-video-inner {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--hero-soft-border);
    box-shadow: 0 16px 32px rgba(0,0,0,.28);
    background: rgba(0,0,0,0.35);
}

.hero-demo-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0b0f17;
}

.hero-demo-caption {
    margin-top: 0.55rem;
    font-size: 0.82rem;
    color: rgba(214,221,230,0.78);
}

/* ===== Polish: FAQ ===== */
.faq-section {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    padding: 0 1.5rem;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(42,43,52,0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--hero-accent-strong);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 1.25rem 1.1rem;
    color: #5b5e68;
    line-height: 1.65;
    margin: 0;
}

.faq-item a {
    color: var(--hero-accent-strong);
    font-weight: 600;
}

/* ===== Polish: contact form ===== */
.contact-form-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(42,43,52,0.1);
}

.contact-form-section h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.contact-form {
    display: grid;
    gap: 0.75rem;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--dark);
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(42,43,52,0.14);
    background: rgba(255,255,255,0.9);
    font: inherit;
    color: var(--dark);
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--hero-accent-soft);
    outline-offset: 1px;
    border-color: var(--hero-accent-strong);
}

.contact-form button {
    justify-self: start;
    padding: 0.75rem 1.4rem;
    border: none;
    border-radius: 999px;
    background: var(--hero-accent);
    color: var(--hero-button-text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--hero-accent-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--hero-accent-soft);
}

.contact-form-status {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.contact-form-status.success { color: #1f7a4a; }
.contact-form-status.error { color: #b42318; }

.contact-form-routes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.82rem;
}

.contact-form-routes a {
    color: var(--hero-accent-strong);
}

/* ===== Polish: sticky mobile CTA ===== */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(42,43,52,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -8px 24px rgba(0,0,0,.18);
    transform: translateY(110%);
    transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
    transform: translateY(0);
}

.sticky-cta-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: var(--hero-accent);
    color: var(--hero-button-text);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
}

.sticky-cta-dismiss {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: var(--light);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

@media (min-width: 769px) {
    .sticky-cta { display: none; }
}

@media (max-width: 768px) {
    body.has-sticky-cta { padding-bottom: 5rem; }
}