/* =========================================================
   Maç Saatinde — Açık tema tasarım sistemi
   ========================================================= */
:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #f8fafd;
    --ink: #0b1526;
    --text: #27354a;
    --soft: #5b6b82;
    --muted: #8a97ab;
    --line: #e5eaf2;
    --line-2: #d8e0ec;

    --blue: #1f6bff;
    --blue-600: #1557d8;
    --blue-50: #edf3ff;
    --blue-100: #dbe7ff;
    --sky: #19b5ff;
    --orange: #ff7a1a;
    --orange-600: #e2620a;
    --orange-50: #fff3ea;
    --red: #ef3b4f;
    --red-50: #ffeef0;
    --green: #12b981;
    --green-50: #e8faf3;
    --violet: #7c5cff;
    --violet-50: #f2efff;
    --yellow: #ffc61a;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --radius-xl: 30px;

    --shadow-xs: 0 1px 2px rgba(15, 30, 60, .06);
    --shadow-sm: 0 2px 6px rgba(15, 30, 60, .05), 0 8px 24px rgba(15, 30, 60, .05);
    --shadow: 0 4px 12px rgba(15, 30, 60, .05), 0 18px 48px rgba(15, 30, 60, .08);
    --shadow-lg: 0 10px 30px rgba(15, 30, 60, .08), 0 30px 80px rgba(15, 30, 60, .12);
    --ring: 0 0 0 4px rgba(31, 107, 255, .16);

    --ease: cubic-bezier(.2, .8, .2, 1);
    --container: 1200px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
    background: var(--bg);
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(31, 107, 255, .18); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Arka plan efektleri ---------- */
.bg-decor {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bg-decor::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(31, 107, 255, .09) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
}
.blob {
    position: absolute;
    border-radius: 50%;
    opacity: .7;
}
.blob--1 { width: 760px; height: 760px; left: -300px; top: -360px; background: radial-gradient(circle, #c7dbff 0%, rgba(199, 219, 255, 0) 65%); animation: drift1 18s ease-in-out infinite; }
.blob--2 { width: 640px; height: 640px; right: -260px; top: -260px; background: radial-gradient(circle, #ffe0c7 0%, rgba(255, 224, 199, 0) 65%); animation: drift2 22s ease-in-out infinite; }
.blob--3 { width: 560px; height: 560px; left: 38%; top: 160px; background: radial-gradient(circle, #d6f1ff 0%, rgba(214, 241, 255, 0) 65%); opacity: .55; animation: drift1 26s ease-in-out infinite reverse; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.08); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, 60px) scale(1.1); } }

/* ---------- Okuma ilerleme çubuğu ---------- */
.progress-bar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    height: 3px;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(var(--progress, 0));
    background: linear-gradient(90deg, var(--blue), var(--sky), var(--orange));
    pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 12px 0;
    transition: padding .3s var(--ease);
}
.site-header__inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 8px 8px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-sm);
    backdrop-filter: saturate(1.6) blur(18px);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { padding: 8px 0; }
.site-header.is-scrolled .site-header__inner { background: rgba(255, 255, 255, .88); box-shadow: var(--shadow); }

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand__logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, var(--blue-50));
    box-shadow: inset 0 0 0 1px var(--blue-100), 0 6px 16px rgba(31, 107, 255, .14);
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
    overflow: hidden;
    transition: transform .4s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.brand__logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand__text strong { color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand__text small { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }

.main-nav {
    margin-left: auto;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 10px;
    color: var(--soft);
    font-size: 14px;
    font-weight: 700;
    transition: color .2s, background .2s, box-shadow .2s;
}
.main-nav a .icon { width: 16px; height: 16px; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.is-active { color: var(--blue-600); background: #fff; box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--line); }

.social-actions { display: flex; gap: 8px; }
.icon-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.icon-btn .icon { width: 18px; height: 18px; }
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn--telegram { background: linear-gradient(145deg, #2aa7ef, #1f86d6); box-shadow: 0 6px 16px rgba(34, 150, 230, .3); }
.icon-btn--x { background: #0f1419; box-shadow: 0 6px 16px rgba(15, 20, 25, .22); }

/* ---------- Genel düzen ---------- */
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
main.container { padding-bottom: 40px; }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-600);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    white-space: nowrap;
}
.chip .icon { width: 15px; height: 15px; }

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--green);
}
.pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--blue), #3a86ff); box-shadow: 0 8px 20px rgba(31, 107, 255, .28); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(31, 107, 255, .36); transform: translateY(-2px); }
.btn--ghost { color: var(--ink); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--blue-100); color: var(--blue-600); transform: translateY(-2px); }

/* ---------- Görünür olunca animasyon ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .45s var(--ease), transform .45s var(--ease);
    transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Ana sayfa
   ========================================================= */
.hero {
    position: relative;
    margin-top: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 20px;
    align-items: stretch;
}
.hero__main {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
    border-radius: var(--radius-xl);
    background: linear-gradient(150deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.hero__main::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 46px solid rgba(31, 107, 255, .05);
    pointer-events: none;
}
.hero__ball {
    position: absolute;
    right: clamp(18px, 4vw, 44px);
    top: clamp(18px, 3vw, 34px);
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-size: 32px;
    background: #fff;
    box-shadow: var(--shadow);
    animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(8deg); } }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--live { color: #0b7a55; background: var(--green-50); border-color: #c6f0de; }
.hero h1 {
    margin: 18px 0 12px;
    max-width: 620px;
    color: var(--ink);
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.045em;
}
.text-gradient {
    background: linear-gradient(100deg, var(--blue) 0%, var(--sky) 30%, #6a5cff 60%, var(--blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p.lead { margin: 0; max-width: 520px; color: var(--soft); font-size: 17px; font-weight: 500; }

.stats { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.stat {
    position: relative;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.stat strong { display: block; color: var(--ink); font-size: 28px; line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stat--total { background: linear-gradient(140deg, var(--blue), #3a86ff); border-color: transparent; box-shadow: 0 10px 24px rgba(31, 107, 255, .28); }
.stat--total strong, .stat--total span { color: #fff; }

/* Sıradaki maç kartı */
.next-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius-xl);
    color: #fff;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(255, 122, 26, .55), transparent 55%),
        radial-gradient(90% 80% at 0% 100%, rgba(25, 181, 255, .45), transparent 60%),
        linear-gradient(150deg, #1b4fd8 0%, #1f6bff 60%, #2f86ff 100%);
    box-shadow: 0 20px 50px rgba(31, 107, 255, .3);
}
.next-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
    pointer-events: none;
}
.next-card > * { position: relative; }
.next-card__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.next-card__label .pulse-dot { background: #7dffcb; }
.next-card__title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.next-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.next-card__info { display: flex; flex-wrap: wrap; gap: 8px; }
.next-card__info span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); }
.next-card__info .icon { width: 15px; height: 15px; }
.countdown { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.countdown div { padding: 10px 6px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.countdown b { display: block; font-size: 26px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown small { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .08em; }
.next-card__clock { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.next-card__clock b { font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }
.next-card.is-done .countdown { display: none; }
.next-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.next-card__list:empty { display: none; }
.next-card__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; font-weight: 600; animation: rowIn .5s var(--ease) both; }
.next-card__list li:nth-child(2) { animation-delay: .06s; }
.next-card__list li:nth-child(3) { animation-delay: .12s; }
.next-card__list b { font-variant-numeric: tabular-nums; font-weight: 800; }
.next-card__list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next-card__list a:hover { text-decoration: underline; }
.stat__emoji { font-style: normal; }

/* Öne çıkanlar (carousel) */
.featured { margin-top: 28px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.block-head h2 { margin: 0; color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.block-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button {
    width: 40px; height: 40px; display: grid; place-items: center;
    border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; color: var(--ink);
    transition: transform .2s var(--ease), border-color .2s;
}
.carousel-nav button:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 3);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 18px;
    margin: 0 -2px;
    scrollbar-width: none;
    position: relative;
}
.carousel-track::-webkit-scrollbar { display: none; }
.feature-card {
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.feature-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--violet), var(--blue), var(--sky));
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.feature-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feature-card__league { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: var(--soft); font-size: 13px; font-weight: 700; }
.feature-card__league span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feature-card__league img { width: 20px; height: 20px; object-fit: contain; }
.feature-card__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; }
.feature-team { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.feature-team__logo { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.feature-card:hover .feature-team__logo { transform: scale(1.06); }
.feature-team__logo img { width: 42px; height: 42px; object-fit: contain; }
.feature-team__logo span { font-size: 20px; font-weight: 800; color: var(--blue); }
.feature-team strong { color: var(--ink); font-size: 15px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.feature-card__vs { display: grid; justify-items: center; gap: 4px; }
.feature-card__vs b { font-size: 22px; color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.feature-card__vs small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.feature-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.feature-card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line-2); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.carousel-dots button.is-active { width: 26px; background: var(--blue); }

/* Araç çubuğu (filtre + arama) */
.toolbar {
    position: sticky;
    top: 84px;
    z-index: 40;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    backdrop-filter: saturate(1.5) blur(16px);
    -webkit-backdrop-filter: saturate(1.5) blur(16px);
}
.tabs { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); flex: 0 0 auto; }
.tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--soft);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: color .25s;
}
.tab em { font-style: normal; font-size: 12px; padding: 1px 7px; border-radius: 99px; background: var(--line); color: var(--soft); transition: background .25s, color .25s; }
.tab.is-active { color: var(--ink); }
.tab.is-active em { background: var(--blue); color: #fff; }
.tabs__indicator {
    position: absolute;
    z-index: 0;
    top: 4px;
    bottom: 4px;
    left: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--line);
    transition: transform .4s var(--ease), width .4s var(--ease);
}
.search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 40px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.search input::placeholder { color: var(--muted); font-weight: 500; }
.search input:focus { border-color: var(--blue); background: #fff; box-shadow: var(--ring); }
.search__clear {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border: 0; border-radius: 8px; background: var(--line); color: var(--soft);
    cursor: pointer; display: none; font-size: 16px; line-height: 1;
}
.search.has-value .search__clear { display: block; }
.switch { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--soft); font-size: 14px; font-weight: 700; cursor: pointer; user-select: none; white-space: nowrap; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { position: relative; width: 42px; height: 24px; border-radius: 99px; background: var(--line-2); transition: background .25s; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch input:checked + .switch__track { background: var(--blue); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { box-shadow: var(--ring); }

/* İçerik + yan alan */
.layout { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.content-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.sport-block { overflow: hidden; }
.sport-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}
.sport-block__title { display: flex; align-items: center; gap: 12px; }
.sport-block__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; font-size: 22px; background: var(--blue-50); }
.sport-block--basketball .sport-block__icon { background: var(--orange-50); }
.sport-block__head h2 { margin: 0; color: var(--ink); font-size: 21px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.sport-block__head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.count-badge { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--blue-600); background: var(--blue-50); font-variant-numeric: tabular-nums; }
.sport-block--basketball .count-badge { color: var(--orange-600); background: var(--orange-50); }

.match-list { padding: 6px 10px 10px; }
.match-row {
    position: relative;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 12px;
    border-radius: 16px;
    transition: background .25s, transform .3s var(--ease), opacity .3s, box-shadow .3s;
}
.match-row + .match-row::before {
    content: "";
    position: absolute;
    left: 12px; right: 12px; top: 0;
    height: 1px;
    background: var(--line);
}
.match-row:hover { background: var(--surface-2); }
.match-row:hover::before, .match-row:hover + .match-row::before { opacity: 0; }
.match-row.is-link { cursor: pointer; }
.match-row.is-link:hover { transform: translateX(3px); }

.match-time { display: grid; justify-items: center; gap: 5px; }
.match-time time {
    display: block;
    width: 100%;
    padding: 9px 0;
    border-radius: 12px;
    text-align: center;
    color: var(--blue-600);
    background: var(--blue-50);
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
    transition: background .3s, color .3s;
}
.sport-block--basketball .match-time time { color: var(--orange-600); background: var(--orange-50); }
.match-status { display: none; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.is-live .match-status { display: inline-flex; color: var(--red); background: var(--red-50); }
.is-live .match-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.2s ease-in-out infinite; }
.is-soon .match-status { display: inline-flex; color: #a35400; background: #fff4dc; }
.is-ended .match-status { display: inline-flex; color: var(--muted); background: var(--surface-2); }
.match-row.is-live .match-time time { color: #fff; background: linear-gradient(135deg, var(--red), #ff6b6b); box-shadow: 0 6px 16px rgba(239, 59, 79, .3); }
@keyframes blink { 50% { opacity: .25; } }

.match-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.match-title-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.teams-visual { display: inline-flex; align-items: center; flex: 0 0 auto; }
.teams-visual:not(:has(.team-logo)) { display: none; }
.team-logo { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); overflow: hidden; transition: transform .35s var(--ease); }
.team-logo + .team-logo { margin-left: -9px; }
.match-row:hover .team-logo--home { transform: translateX(-3px); }
.match-row:hover .team-logo--away { transform: translateX(3px); }
.team-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.match-title { margin: 0; min-width: 0; color: var(--ink); font-size: 16.5px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.match-detail-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.match-row.is-link .match-title { transition: color .2s; }
.match-row.is-link:hover .match-title { color: var(--blue-600); }

.match-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.2; }
.match-meta > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.match-meta img { width: 16px; height: 16px; object-fit: contain; }
.match-meta .meta-country img { width: 18px; height: 13px; object-fit: cover; border-radius: 3px; }

.match-channel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-self: end;
    max-width: 240px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line-2);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    transition: border-color .25s, color .25s;
}
.match-channel .icon { width: 16px; height: 16px; color: var(--orange); }
.match-channel span { overflow: hidden; text-overflow: ellipsis; }
.match-row:hover .match-channel { border-color: var(--blue-100); }
.match-arrow { display: none; }

.match-row.is-ended { opacity: .5; }
.match-row.is-ended .match-title { text-decoration: line-through; text-decoration-color: rgba(11, 21, 38, .35); text-decoration-thickness: 1.5px; }
.match-row.is-ended .match-time time { color: var(--muted); background: var(--surface-2); box-shadow: none; }
.match-row.is-ended:hover { opacity: .85; }
.match-row.is-hidden, .sport-block.is-hidden, .featured.is-hidden, .feature-card.is-hidden { display: none; }

.js .match-list .match-row { animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .match-list .match-row.is-ended { animation-name: rowInEnded; }
@keyframes rowInEnded { from { opacity: 0; transform: translateY(10px); } to { opacity: .5; transform: none; } }

mark { padding: 0 2px; border-radius: 4px; background: #fff0b3; color: inherit; }

.empty-state {
    padding: 48px 24px;
    text-align: center;
    color: var(--soft);
}
.empty-state__icon { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 20px; background: var(--blue-50); font-size: 30px; }
.empty-state strong { display: block; color: var(--ink); font-size: 19px; font-weight: 800; }
.empty-state p { margin: 6px 0 0; font-size: 15px; }
.no-results { display: none; }
.no-results.is-visible { display: block; }

/* Yan alan */
.side { position: sticky; top: 160px; display: flex; flex-direction: column; gap: 16px; }
.ad-card { display: block; overflow: hidden; padding: 10px; }
.ad-card a { display: block; overflow: hidden; border-radius: 16px; }
.ad-card img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.ad-card a:hover img { transform: scale(1.04); }
.ad-placeholder { min-height: 220px; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--ink); font-weight: 800; font-size: 20px; background: linear-gradient(135deg, var(--blue-50), var(--orange-50)); }
.social-card { padding: 20px; }
.social-card h3 { margin: 0 0 4px; color: var(--ink); font-size: 18px; font-weight: 800; }
.social-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; font-weight: 500; }
.social-links { display: grid; gap: 10px; }
.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    font-weight: 700;
    color: var(--ink);
    transition: transform .3s var(--ease), border-color .25s, box-shadow .3s;
}
.social-link:hover { transform: translateY(-2px); border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.social-link .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
.social-link .icon-btn .icon { width: 16px; height: 16px; }
.social-link small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.social-link > .icon { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.social-link:hover > .icon { transform: translateX(4px); color: var(--blue); }

/* Promo kartı (totemiptvplay.com) */
.promo-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    color: var(--ink);
    background: linear-gradient(120deg, #fff8dc 0%, #fff 55%);
    border: 1px solid #ffe7a1;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.promo-card__glow { position: absolute; width: 180px; height: 180px; left: -60px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 198, 26, .45), transparent 70%); pointer-events: none; }
.promo-card__icon { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow); color: #111; box-shadow: 0 8px 18px rgba(255, 198, 26, .4); }
.promo-card__icon .icon { width: 24px; height: 24px; }
.promo-card__body { position: relative; min-width: 0; }
.promo-card__body strong { display: block; font-size: 16px; font-weight: 800; }
.promo-card__body span { display: block; color: var(--soft); font-size: 14px; font-weight: 500; }
.promo-card__cta { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #111827; color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; transition: background .25s; }
.promo-card__cta .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.promo-card:hover .promo-card__cta .icon { transform: translateX(4px); }
.promo-card--stack { grid-template-columns: auto minmax(0, 1fr); }
.promo-card--stack .promo-card__cta { grid-column: 1 / -1; justify-content: center; }

/* =========================================================
   Maç detay
   ========================================================= */
.page-actions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.match-hero {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
    padding: clamp(24px, 4vw, 44px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(70% 90% at 0% 0%, rgba(31, 107, 255, .1), transparent 60%),
        radial-gradient(60% 90% at 100% 100%, rgba(255, 122, 26, .1), transparent 60%),
        #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.match-hero__league { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.match-hero__league img { width: 18px; height: 18px; object-fit: contain; }
.match-hero__teams { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; }
.hero-team { display: grid; justify-items: center; gap: 14px; text-align: center; min-width: 0; }
.hero-team__logo {
    width: clamp(84px, 12vw, 120px);
    height: clamp(84px, 12vw, 120px);
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    animation: popIn .8s var(--ease) both;
}
.hero-team--away .hero-team__logo { animation-delay: .12s; }
.hero-team__logo img { width: 72%; height: 72%; object-fit: contain; }
.hero-team__logo span { font-size: 34px; font-weight: 800; color: var(--blue); }
.hero-team strong { color: var(--ink); font-size: clamp(20px, 3vw, 30px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.hero-team small { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
@keyframes popIn { from { opacity: 0; transform: scale(.7) translateY(10px); } to { opacity: 1; transform: none; } }
.vs-block { display: grid; justify-items: center; gap: 10px; }
.vs-block__time { padding: 12px 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--blue), #3a86ff); box-shadow: 0 10px 24px rgba(31, 107, 255, .3); font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.vs-block__vs { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .2em; }
.vs-block__status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: var(--soft); background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vs-block__status.is-live { color: var(--red); background: var(--red-50); border-color: #ffd3d9; }
.vs-block__status.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
.match-hero__channel { margin-top: 28px; display: flex; justify-content: center; }
.channel-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; background: var(--orange-50); border: 1px solid #ffd9bd; color: #8a3a00; font-size: 16px; font-weight: 800; text-align: center; }
.channel-pill .icon { width: 20px; height: 20px; color: var(--orange); }

.info-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px; transition: transform .3s var(--ease), box-shadow .3s; }
.info-box:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-box__icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: var(--blue-50); }
.info-box b { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.info-box span { display: flex; align-items: center; gap: 8px; margin-top: 3px; color: var(--ink); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.flag-icon { width: 22px; height: 16px; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-xs); }
.match-promo { margin-top: 20px; }

/* =========================================================
   Blog
   ========================================================= */
.page-hero {
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    padding: clamp(26px, 4.5vw, 52px);
    border-radius: var(--radius-xl);
    background: linear-gradient(150deg, #fff 0%, #f2f7ff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 26, .16), transparent 70%);
}
.page-hero h1 { position: relative; margin: 16px 0 10px; max-width: 780px; color: var(--ink); font-size: clamp(32px, 5vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }
.page-hero p { position: relative; margin: 0; max-width: 720px; color: var(--soft); font-size: 17px; font-weight: 500; line-height: 1.6; }
.blog-tools { margin-top: 22px; display: flex; gap: 12px; align-items: center; }
.blog-tools .search { max-width: 420px; }
.blog-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.blog-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.blog-card__num { color: var(--line-2); font-size: 28px; font-weight: 800; line-height: 1; transition: color .3s; }
.blog-card:hover .blog-card__num { color: var(--blue-100); }
.blog-card h2 { margin: 4px 0 0; color: var(--ink); font-size: 19px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; }
.blog-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.blog-card p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.6; }
.blog-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600); font-size: 14px; font-weight: 800; }
.blog-card__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.blog-card:hover .blog-card__more .icon { transform: translateX(5px); }
.blog-card.is-hidden { display: none; }

.article-wrap { margin-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.article { padding: clamp(24px, 4.5vw, 52px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.article h1 { margin: 16px 0 12px; color: var(--ink); font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.article .description { margin: 0; color: var(--soft); font-size: 18px; line-height: 1.6; font-weight: 500; }
.meta-row { margin: 22px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.meta-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; color: var(--soft); background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.meta-chip .icon { width: 15px; height: 15px; color: var(--blue); }
.prose { margin-top: 26px; color: var(--text); font-size: 17px; line-height: 1.8; }
.prose h2 { margin: 36px 0 12px; color: var(--ink); font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -.025em; scroll-margin-top: 100px; }
.prose h3 { margin: 28px 0 10px; color: var(--ink); font-size: 21px; font-weight: 800; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--blue-600); font-weight: 700; text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 0 0 18px; padding: 16px 20px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; background: var(--blue-50); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); color: var(--ink); }
.article-footer { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.share { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.share a, .share button {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
    border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer;
    transition: transform .25s var(--ease), color .2s, border-color .2s;
}
.share a:hover, .share button:hover { transform: translateY(-2px); color: var(--blue); border-color: var(--blue-100); }
.share button.is-copied { color: var(--green); border-color: #c6f0de; }
.article-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.toc { padding: 20px; }
.toc h3 { margin: 0 0 10px; color: var(--ink); font-size: 15px; font-weight: 800; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--soft); font-size: 14px; font-weight: 600; line-height: 1.35; transition: background .2s, color .2s; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--muted); font-weight: 800; font-size: 12px; padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: var(--blue-600); background: var(--blue-50); }
.related { padding: 20px; }
.related h3 { margin: 0 0 10px; color: var(--ink); font-size: 15px; font-weight: 800; }
.related a { display: block; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.4; transition: color .2s, padding .3s var(--ease); }
.related a:first-of-type { border-top: 0; }
.related a:hover { color: var(--blue-600); padding-left: 6px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 0 0 28px; }
.site-footer__inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.site-footer__brand { max-width: 460px; }
.site-footer__brand p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 11px; color: var(--soft); background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 700; transition: color .2s, border-color .2s, transform .25s var(--ease); }
.site-footer__links a:hover { color: var(--blue-600); border-color: var(--blue-100); transform: translateY(-2px); }
.site-footer__links a.is-promo { color: #111; background: var(--yellow); border-color: #f3b800; }
.site-footer__links a .icon { width: 15px; height: 15px; }
.site-footer__bottom { margin-top: 16px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; }

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: var(--ink);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px) scale(.9);
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
    .carousel-track { grid-auto-columns: calc((100% - 16px) / 2); }
    .layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-wrap { grid-template-columns: minmax(0, 1fr) 260px; }
}

@media (max-width: 920px) {
    .hero { grid-template-columns: 1fr; }
    .layout { grid-template-columns: 1fr; }
    .side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
    .side .promo-card { grid-column: 1 / -1; }
    .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-wrap { grid-template-columns: 1fr; }
    .article-side { position: static; }
    .toc { display: none; }
    .toolbar { flex-wrap: wrap; }
    .toolbar .search { order: 3; flex-basis: 100%; }
    .switch { margin-left: auto; }
}

@media (max-width: 680px) {
    :root { --header-h: 64px; }
    .blob { animation: none; }
    .site-header__inner, .toolbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .96); }
    html { scroll-padding-top: 190px; }
    .container, .site-header__inner, .site-footer__inner { width: calc(100% - 20px); }
    .site-header { padding: 8px 0; }
    .site-header__inner { gap: 8px; padding: 6px; border-radius: 16px; }
    .brand__logo { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
    .brand__text strong { font-size: 15px; }
    .brand__text small { display: none; }
    .main-nav { padding: 3px; border-radius: 12px; }
    .main-nav a { padding: 8px 10px; font-size: 13px; }
    .main-nav a .icon { display: none; }
    .social-actions { gap: 6px; }
    .main-nav { margin-left: auto; }
    .icon-btn { width: 38px; height: 38px; border-radius: 11px; }

    .hero__main { padding: 22px 20px; border-radius: 24px; }
    .hero__ball { display: none; }
    .stat__emoji { display: none; }
    .next-card__list { display: none; }
    .hero h1 { margin-top: 16px; font-size: 38px; }
    .hero p.lead { font-size: 15.5px; }
    .stats { margin-top: 20px; gap: 8px; }
    .stat { padding: 12px; border-radius: 14px; }
    .stat strong { font-size: 24px; }
    .stat span { font-size: 10.5px; letter-spacing: .04em; }
    .next-card { padding: 20px; border-radius: 24px; }
    .next-card__title { font-size: 19px; }
    .countdown b { font-size: 22px; }

    .featured { margin-top: 22px; }
    .block-head h2 { font-size: 20px; }
    .carousel-nav { display: none; }
    .carousel-track { grid-auto-columns: 86%; gap: 12px; }

    .toolbar { top: 70px; margin-top: 22px; gap: 8px; padding: 8px; border-radius: 16px; }
    .tabs { flex: 1 1 100%; }
    .tab { flex: 1 1 0; justify-content: center; padding: 8px 6px; font-size: 13px; gap: 5px; }
    .tab em { font-size: 11px; padding: 1px 6px; }
    .toolbar .search { order: 2; flex: 1 1 0; }
    .switch { order: 3; margin-left: 0; gap: 7px; font-size: 12px; line-height: 1.15; white-space: normal; max-width: 112px; }
    .switch__track { flex: 0 0 42px; }
    .search input { height: 42px; font-size: 16px; }

    .sport-block { border-radius: 20px; }
    .sport-block__head { padding: 14px 16px; }
    .sport-block__icon { width: 38px; height: 38px; font-size: 19px; border-radius: 12px; }
    .sport-block__head h2 { font-size: 18px; }
    .match-list { padding: 4px 6px 6px; }
    .match-row {
        grid-template-columns: 62px minmax(0, 1fr);
        grid-template-areas:
            "time main"
            "time channel";
        gap: 8px 12px;
        align-items: start;
        padding: 13px 8px;
    }
    .match-row + .match-row::before { left: 8px; right: 8px; }
    .match-row.is-link:hover { transform: none; }
    .match-time { grid-area: time; }
    .match-time time { font-size: 15.5px; padding: 9px 0; }
    .match-status { font-size: 9.5px; padding: 2px 6px; }
    .match-main { grid-area: main; gap: 5px; }
    .match-title-line { gap: 9px; align-items: flex-start; }
    .team-logo { width: 26px; height: 26px; }
    .team-logo + .team-logo { margin-left: -8px; }
    .match-title { font-size: 15.5px; }
    .match-meta { font-size: 12px; gap: 4px 10px; }
    .match-channel { grid-area: channel; justify-self: start; max-width: 100%; padding: 6px 10px; font-size: 12.5px; border-radius: 10px; }
    .match-channel .icon { width: 14px; height: 14px; }

    .side { grid-template-columns: 1fr; }
    .promo-card { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 12px; }
    .promo-card__icon { width: 42px; height: 42px; }
    .promo-card__cta { grid-column: 1 / -1; justify-content: center; }

    .page-actions .btn { flex: 1 1 0; }
    .match-hero { padding: 22px 16px; border-radius: 24px; }
    .match-hero__teams { gap: 10px; margin-top: 22px; }
    .hero-team { gap: 10px; }
    .hero-team__logo { border-radius: 22px; }
    .hero-team strong { font-size: 17px; }
    .vs-block__time { padding: 10px 12px; font-size: 20px; border-radius: 13px; }
    .vs-block__status { font-size: 11px; padding: 4px 8px; }
    .channel-pill { font-size: 14.5px; padding: 10px 14px; }
    .info-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .info-box { padding: 14px; }
    .info-box--wide { grid-column: 1 / -1; }
    .info-box:not(.info-box--wide) .info-box__icon { display: none; }
    .info-box span { font-size: 15px; }
    .page-actions .btn { font-size: 14px; padding: 0 12px; white-space: nowrap; }

    .page-hero { padding: 24px 20px; border-radius: 24px; }
    .page-hero p { font-size: 15.5px; }
    .blog-tools .search { max-width: none; }
    .blog-grid { grid-template-columns: 1fr; gap: 14px; }
    .blog-card { padding: 20px; }
    .article { padding: 22px 18px; border-radius: 22px; }
    .article .description { font-size: 16px; }
    .prose { font-size: 16px; line-height: 1.75; }
    .prose h2 { font-size: 22px; }
    .article-footer { flex-direction: column; align-items: stretch; }
    .article-footer .btn { width: 100%; }

    .site-footer__inner { flex-direction: column; align-items: flex-start; padding: 20px; }
    .site-footer__links { justify-content: flex-start; }
    .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (max-width: 520px) {
    .site-header .social-actions { display: none; }
}

@media (max-width: 380px) {
    .brand__text strong { font-size: 14px; }
    .main-nav a { padding: 7px 8px; }
    .hero h1 { font-size: 33px; }
    .tab { font-size: 12px; }
    .tab em { display: none; }
}

@media (hover: none) {
    .match-row:hover { background: transparent; }
    .stat:hover, .feature-card:hover, .blog-card:hover, .info-box:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
}
