
@import url('https://rsms.me/inter/inter.css');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
*, *::before, *::after { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
    /* Brand */
    --red: #e11d48;
    --red-hover: #be123c;
    --red-soft: #fef2f2;
    --red-line: #fee2e2;

    /* Neutrals (Vercel/Linear inspired) */
    --black: #09090b;
    --gray-900: #18181b;
    --gray-700: #3f3f46;
    --gray-500: #71717a;
    --gray-400: #a1a1aa;
    --gray-300: #d4d4d8;
    --gray-200: #e4e4e7;
    --gray-100: #f4f4f5;
    --gray-50: #fafafa;
    --white: #ffffff;

    /* Surfaces */
    --bg: #fcfcfc;
    --surface: #ffffff;
    --surface-hover: #fafafa;
    --border: #ececef;
    --border-hover: #d4d4d8;

    /* Type */
    --text: var(--gray-900);
    --text-muted: var(--gray-500);
    --text-light: var(--gray-400);

    /* Effects */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow: 0 4px 12px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-lg: 0 24px 48px -12px rgba(0,0,0,0.10);
    --shadow-red: 0 8px 32px -8px rgba(225, 29, 72, 0.25);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --container: 1180px;
    --container-narrow: 880px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

a { color: var(--text); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.mono { font-family: 'JetBrains Mono', monospace; font-feature-settings: 'tnum'; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* Background — subtle gradient mesh */
body::before {
    content: ''; position: fixed; top: 0; left: 0; right: 0;
    height: 600px; pointer-events: none; z-index: -1;
    background:
      radial-gradient(ellipse 60% 50% at 80% 0%, rgba(225, 29, 72, 0.06), transparent 60%),
      radial-gradient(ellipse 50% 40% at 0% 20%, rgba(225, 29, 72, 0.04), transparent 60%);
}

/* HEADER — Minimal floating */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(252, 252, 252, 0.72);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid transparent;
    padding: 14px 0;
    transition: all 0.25s var(--ease);
}
header.scrolled {
    background: rgba(252, 252, 252, 0.88);
    border-bottom-color: var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.05em; font-weight: 600;
    color: var(--text); letter-spacing: -0.02em;
    transition: opacity 0.2s var(--ease);
}
.logo:hover { color: var(--text); opacity: 0.75; }
.logo-img {
    height: 32px; width: 32px;
    border-radius: 7px; object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.logo svg { height: 26px; width: 26px; }
.logo-text .accent { color: var(--red); }
nav { display: flex; gap: 2px; align-items: center; }
nav a {
    color: var(--text-muted); padding: 7px 14px; border-radius: 8px;
    font-weight: 500; font-size: 0.92em;
    transition: all 0.15s var(--ease);
}
nav a:hover {
    color: var(--text); background: var(--gray-100);
}
nav a.active {
    color: var(--text); background: var(--gray-100);
}

/* HERO — Editorial minimalist */
.hero {
    padding: 96px 0 64px;
    position: relative;
}
.hero-content { max-width: 780px; }
.hero h1 {
    font-size: clamp(2.25em, 5.5vw, 4em);
    font-weight: 700; letter-spacing: -0.028em;
    line-height: 1.08; margin-bottom: 20px;
    color: var(--text);
    animation: fadeUp 0.6s var(--ease) 0.05s both;
    font-feature-settings: 'kern', 'ss01';
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--red) 0%, #fb7185 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15em; color: var(--text-muted);
    max-width: 580px; line-height: 1.65;
    animation: fadeUp 0.7s var(--ease) 0.1s both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO STATS — minimal cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 44px;
    animation: fadeUp 0.8s var(--ease) 0.15s both;
}
.stat-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.stat-block::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
    background: var(--red);
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.4s var(--ease);
}
.stat-block:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.stat-block:hover::before { transform: scaleY(1); }
.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2em; font-weight: 700; letter-spacing: -0.02em;
    color: var(--text);
    display: block; line-height: 1;
}
.stat-label {
    font-size: 0.78em; color: var(--text-muted); font-weight: 500;
    margin-top: 10px; letter-spacing: 0.01em;
}

/* HERO — sağ üstte absolute standings widget */
.hero, .hero .container { position: relative; }
.hero-has-standings { min-height: 540px; }
.hero-has-standings .hero-content { max-width: calc(100% - 320px); padding-right: 0; }
.hero-has-standings .hero-stats   { max-width: calc(100% - 320px); padding-right: 0; }
.hero-has-standings .standings-card {
    position: absolute;
    top: 0;
    right: 24px;
    width: 280px;
    z-index: 5;
}
@media (max-width: 640px) {
    .hero-has-standings { min-height: 0; }
    .hero-has-standings .hero-content,
    .hero-has-standings .hero-stats { max-width: 100%; }
    .hero-has-standings .standings-card {
        position: static;
        width: 100%;
        max-width: 340px;
        margin: 36px 0 0;
    }
}

/* STANDINGS CARD (Süper Lig canlı puan tablosu — kompakt widget) */
.standings-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    animation: fadeUp 0.8s var(--ease) 0.15s both;
}
.standings-header {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.standings-title {
    font-weight: 600;
    font-size: 0.88em;
    letter-spacing: -0.01em;
    color: var(--text);
    display: flex; align-items: center; gap: 7px;
}
.standings-live-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}
.standings-meta {
    font-size: 0.68em;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72em;
}
.standings-table th {
    padding: 4px 10px;
    text-align: left;
    font-size: 0.62em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    background: #fafafa;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.standings-table th.num { text-align: right; }
.standings-table tbody tr {
    transition: background 0.15s ease;
}
.standings-table td {
    padding: 2px 10px;
    border-top: 1px solid var(--border-light, #f0f0f0);
    vertical-align: middle;
    text-align: left;
}
.standings-table tr:first-child td { border-top: none; }
.standings-table td.pos {
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    font-weight: 600;
    width: 1%;
    white-space: nowrap;
    padding-right: 6px;
}
.standings-table td.team {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: left;
}
.standings-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    width: 1%;
    white-space: nowrap;
    padding-left: 6px;
    padding-right: 8px;
}
.standings-table td.pts { padding-right: 10px; }
.standings-table td.pts {
    font-weight: 700;
    color: var(--text);
}
/* Bölge arka plan tint — subtle ama net */
.standings-table tr.zone-ucl  { background: rgba(37, 99, 235, 0.06); }
.standings-table tr.zone-uel  { background: rgba(249, 115, 22, 0.07); }
.standings-table tr.zone-uecl { background: rgba(22, 163, 74, 0.07); }
.standings-table tr.zone-rel  { background: rgba(239, 68, 68, 0.06); }
.standings-table tr.zone-ucl:hover  { background: rgba(37, 99, 235, 0.12); }
.standings-table tr.zone-uel:hover  { background: rgba(249, 115, 22, 0.13); }
.standings-table tr.zone-uecl:hover { background: rgba(22, 163, 74, 0.13); }
.standings-table tr.zone-rel:hover  { background: rgba(239, 68, 68, 0.12); }
.standings-table tr.zone-ucl  td.pos { color: #1d4ed8; }
.standings-table tr.zone-uel  td.pos { color: #c2410c; }
.standings-table tr.zone-uecl td.pos { color: #15803d; }
.standings-table tr.zone-rel  td.pos { color: #b91c1c; }
.standings-table tr.separator td {
    padding: 4px 10px;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.9em;
    background: #fafafa;
    letter-spacing: 0.2em;
}
.standings-footer {
    padding: 7px 12px;
    border-top: 1px solid var(--border);
    font-size: 0.62em;
    color: var(--text-muted);
}
.standings-legend {
    display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.standings-legend-item {
    display: inline-flex; align-items: center; gap: 4px;
    white-space: nowrap;
}
.standings-legend-dot {
    width: 8px; height: 8px; border-radius: 2px; display: inline-block;
}

/* SECTIONS */
section {
    padding: 48px 0;
    position: relative;
}
.section-header {
    display: flex; align-items: end; justify-content: space-between;
    gap: 24px; margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.section-meta {
    color: var(--text-muted); font-size: 0.88em;
}
h2 {
    font-size: clamp(1.4em, 2.5vw, 1.75em);
    font-weight: 600; letter-spacing: -0.025em;
    color: var(--text);
    display: flex; align-items: center; gap: 10px;
}
h2 .icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: var(--red-soft); color: var(--red);
    border-radius: 8px;
    font-size: 0.9em;
}
h3 {
    font-size: 1.15em; font-weight: 600; margin: 28px 0 12px;
    letter-spacing: -0.015em; color: var(--text);
}
h4 {
    font-size: 0.78em; font-weight: 600;
    color: var(--text-muted); margin: 20px 0 10px;
    text-transform: uppercase; letter-spacing: 0.08em;
}
p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
strong { color: var(--text); font-weight: 600; }

/* GRID */
.grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.grid-2 {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
}

/* CARD — Editorial */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
    will-change: transform;
    cursor: pointer;
}
.card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.card-meta {
    color: var(--text-muted); font-size: 0.78em;
    font-weight: 500; margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
}
.card-meta::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%;
    background: var(--red); flex-shrink: 0;
}
.card-title {
    font-size: 1.05em; font-weight: 600; margin-bottom: 8px;
    line-height: 1.35; letter-spacing: -0.015em;
    color: var(--text);
}

/* FEATURED MATCH — Editorial premium card */
.featured-match {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    position: relative; overflow: hidden;
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.featured-match::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--red), #f43f5e, transparent);
}
.featured-match::after {
    content: ''; position: absolute; top: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.04), transparent 60%);
    pointer-events: none; z-index: 0;
}
.featured-match:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}
.featured-match > * { position: relative; z-index: 1; }
.featured-match-label {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--red); color: #fff;
    padding: 5px 12px; border-radius: 100px;
    font-size: 0.74em; font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    box-shadow: var(--shadow-red);
}
.featured-match-label::before { content: '✦'; font-size: 0.95em; }
.featured-match-tournament {
    color: var(--text-muted); font-size: 0.88em; font-weight: 500;
    margin-bottom: 28px;
}

/* TEAM ROW & MATCH SCORE — Editorial */
.team-row {
    display: flex; align-items: center; justify-content: center;
    gap: 28px; margin: 24px 0;
}
.team {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; text-align: center; max-width: 200px;
    transition: transform 0.25s var(--ease);
}
.team:hover { transform: translateY(-2px); }
.team-logo {
    width: 56px; height: 56px; object-fit: contain;
    transition: transform 0.3s var(--ease-bounce);
}
.team:hover .team-logo { transform: scale(1.06); }
.team-logo-large { width: 88px; height: 88px; }
.team-name {
    font-size: 0.92em; font-weight: 600; margin-top: 12px;
    color: var(--text); letter-spacing: -0.005em;
}
.team-name-large { font-size: 1.05em; }
.score-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.85em; font-weight: 700; min-width: 100px;
    text-align: center; color: var(--text);
    letter-spacing: -0.04em; line-height: 1;
    font-feature-settings: 'tnum';
}
.score-display-large { font-size: 3.5em; }
.score-display-huge {
    font-size: 4.5em; font-weight: 700;
    color: var(--text);
    letter-spacing: -0.05em;
}

/* SCORE BADGES — Editorial */
.score-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 8px;
    font-weight: 600; font-size: 0.82em;
    font-feature-settings: 'tnum';
}
.score-95 { background: var(--red); color: #fff; }
.score-75 { background: #f97316; color: #fff; }
.score-60 { background: #eab308; color: #422006; }
.score-45 { background: var(--gray-200); color: var(--gray-700); }
.score-30 { background: var(--gray-200); color: var(--text-muted); }
.score-0  { background: var(--gray-300); color: var(--text-muted); }

/* REFEREE GRADE — Editorial */
.referee-grade {
    display: inline-flex; align-items: center;
    padding: 5px 12px; border-radius: 8px;
    font-weight: 600; font-size: 0.88em;
    font-feature-settings: 'tnum';
    font-family: 'JetBrains Mono', monospace;
}
.grade-A { background: #10b981; color: #fff; }
.grade-B { background: #84cc16; color: #1a2e05; }
.grade-C { background: #eab308; color: #422006; }
.grade-D { background: #f97316; color: #fff; }
.grade-F { background: var(--red); color: #fff; }

/* TWEET BOX — Editorial reading */
.tweet-box {
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 16px 0;
    white-space: pre-wrap;
    font-size: 0.96em;
    line-height: 1.75;
    color: var(--text);
    position: relative;
    transition: border-color 0.2s var(--ease);
}
.tweet-box::before {
    content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px;
    background: var(--red); border-radius: 0 2px 2px 0;
}
.tweet-box:hover { border-color: var(--border-hover); }

/* SHARE BUTTON */
.share-button {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--text); color: #fff;
    padding: 9px 18px; border-radius: 10px;
    font-weight: 500; font-size: 0.88em;
    transition: all 0.2s var(--ease);
    margin-top: 14px;
}
.share-button:hover {
    background: var(--red); color: #fff;
    transform: translateY(-1px);
}

/* TIMELINE — Editorial */
.timeline {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 24px;
    margin-top: 16px;
}
.timeline-item {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: transform 0.2s var(--ease);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item:hover { transform: translateX(4px); }
.timeline-time {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600; color: var(--text);
    min-width: 48px; font-size: 0.95em;
    font-feature-settings: 'tnum';
}
.timeline-icon {
    width: 30px; height: 30px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85em; flex-shrink: 0;
}
.timeline-icon.goal { background: #d1fae5; }
.timeline-icon.card-yellow { background: #fef3c7; }
.timeline-icon.card-red { background: var(--red-soft); }
.timeline-icon.var { background: #e0e7ff; }
.timeline-icon.period { background: var(--gray-100); }
.timeline-text {
    flex: 1; font-size: 0.93em; color: var(--text);
}
.timeline-team {
    color: var(--text-light); font-size: 0.85em; margin-left: 6px;
}

/* MATCH HERO — Editorial */
.match-hero {
    padding: 56px 0 32px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-muted); font-size: 0.88em; font-weight: 500;
    margin-bottom: 20px;
    transition: all 0.2s var(--ease);
}
.back-link:hover { color: var(--text); transform: translateX(-3px); }

/* STATS SUMMARY */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 32px 0;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.25s var(--ease);
}
.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}
.stat-card-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.7em; font-weight: 700; color: var(--text);
    display: block; line-height: 1;
    font-feature-settings: 'tnum';
}
.stat-card-label {
    font-size: 0.78em; color: var(--text-muted); margin-top: 8px;
    font-weight: 500;
}

/* TABLE — Editorial, satir tiklanabilir */
table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    margin: 16px 0;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
th, td {
    padding: 16px 20px; text-align: left;
    border-bottom: 1px solid var(--border);
}
th {
    background: var(--gray-50); color: var(--text-muted);
    font-weight: 500; font-size: 0.78em;
    text-transform: uppercase; letter-spacing: 0.06em;
}
tbody tr {
    transition: all 0.15s var(--ease);
    cursor: pointer;
}
tbody tr[data-href]:hover td { background: var(--gray-50); }
tbody tr[data-href]:hover { box-shadow: inset 3px 0 0 var(--red); }
tr:last-child td { border-bottom: none; }
td a { font-weight: 600; color: var(--text); }
td a:hover { color: var(--red); }
.row-rank {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    font-weight: 600;
    font-feature-settings: 'tnum';
}
tbody tr[data-href]:hover .row-rank { color: var(--red); }

/* FOOTER — Editorial */
footer {
    margin-top: 96px; padding: 48px 0 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.88em;
    background: var(--surface);
}
.footer-inner {
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
    align-items: center;
}
footer strong { color: var(--text); font-weight: 600; }
footer a {
    color: var(--text-muted);
    transition: color 0.15s var(--ease);
}
footer a:hover { color: var(--red); }

/* MATCH GRID 2-COLUMN — Mac detay sayfasinda yan yana analizler */
.match-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}
.match-grid-2 > section {
    padding: 0;
    margin: 0;
}
.match-grid-2 > section > h2 {
    margin-bottom: 14px;
    font-size: 1.15em;
}
.match-grid-2 .tweet-box {
    margin: 0;
    height: calc(100% - 50px);
}
@media (max-width: 768px) {
    .match-grid-2 { grid-template-columns: 1fr; gap: 24px; }
}

/* LEAGUES BAND — Ana sayfada lig amblemleri */
.leagues-band {
    padding: 56px 0 32px;
    border-bottom: 1px solid var(--border);
    margin-top: -16px;
}
.leagues-band-label {
    font-size: 0.78em; color: var(--text-muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    text-align: center; margin-bottom: 28px;
    display: flex; align-items: center; justify-content: center; gap: 14px;
}
.leagues-band-label::before,
.leagues-band-label::after {
    content: ''; height: 1px; flex: 0 0 60px; background: var(--border);
}
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    max-width: 1100px; margin: 0 auto;
}
.league-item {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 10px;
    padding: 24px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
    text-decoration: none;
    color: inherit;
    position: relative; overflow: hidden;
    min-height: 120px;
}
.league-item::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: var(--red);
    transform: scaleX(0); transform-origin: center;
    transition: transform 0.4s var(--ease);
}
.league-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.league-item:hover::before { transform: scaleX(1); }
.league-logo {
    width: 56px; height: 56px; object-fit: contain;
    transition: transform 0.3s var(--ease-bounce);
    filter: grayscale(20%);
}
.league-item:hover .league-logo {
    transform: scale(1.08);
    filter: grayscale(0%);
}
.league-name {
    font-size: 0.78em; font-weight: 600; color: var(--text-muted);
    text-align: center; line-height: 1.3;
    transition: color 0.2s var(--ease);
}
.league-item:hover .league-name { color: var(--text); }
.league-item-fallback {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100); border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.95em;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform 0.3s var(--ease-bounce);
}
.league-item:hover .league-item-fallback {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* ENTRANCE ANIMATIONS */
.stagger > * { animation: fadeUp 0.45s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: 0.04s; }
.stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stagger > *:nth-child(3) { animation-delay: 0.12s; }
.stagger > *:nth-child(4) { animation-delay: 0.16s; }
.stagger > *:nth-child(5) { animation-delay: 0.20s; }
.stagger > *:nth-child(6) { animation-delay: 0.24s; }
.stagger > *:nth-child(7) { animation-delay: 0.28s; }
.stagger > *:nth-child(8) { animation-delay: 0.32s; }
.stagger > *:nth-child(9) { animation-delay: 0.36s; }
.stagger > *:nth-child(10) { animation-delay: 0.40s; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero { padding: 48px 0 32px; }
    .hero h1 { font-size: 2.4em; }
    .hero-subtitle { font-size: 1em; }
    .container { padding: 0 16px; }
    nav { flex-wrap: wrap; }
    nav a { padding: 6px 10px; font-size: 0.85em; }
    .logo { font-size: 1.1em; }
    .grid, .grid-2 { grid-template-columns: 1fr; }
    h2 { font-size: 1.4em; }
    .featured-match { padding: 24px; }
    .team-row { gap: 12px; }
    .team-logo-large { width: 64px; height: 64px; }
    .score-display-huge { font-size: 3em; }
    .score-display-large { font-size: 2.5em; }
    .timeline { padding: 16px; }
    .timeline-item { gap: 10px; }
    .timeline-time { font-size: 0.95em; min-width: 44px; }
}

/* SMOOTH MOUSE GLOW (JS will set --mouse-x, --mouse-y) */
