/* Gol24 — sports streaming UI */
:root {
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --sport-football: #ff3d5a;
  --sport-nba: #ff8c32;

  --accent-sport: var(--sport-football);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 50px color-mix(in srgb, var(--accent-sport) 40%, transparent);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] {
  --bg-deep: #03040a;
  --bg-elevated: #0a0c12;
  --bg-card: #10131c;
  --bg-hover: #181c28;
  --bg-section-alt: #080a10;
  --text: #f4f6f9;
  --text-muted: #8e96a8;
  --border: rgba(255, 255, 255, 0.07);
  --header-bg: rgba(3, 4, 10, 0.78);
  --hero-overlay: linear-gradient(
    180deg,
    rgba(3, 4, 10, 0.15) 0%,
    rgba(3, 4, 10, 0.88) 55%,
    var(--bg-deep) 100%
  );
}

[data-theme="light"] {
  --bg-deep: #eceef3;
  --bg-elevated: #f6f7fa;
  --bg-card: #ffffff;
  --bg-hover: #eef1f6;
  --bg-section-alt: #e8ebf2;
  --text: #0f1218;
  --text-muted: #5a6270;
  --border: rgba(15, 18, 24, 0.08);
  --header-bg: rgba(246, 247, 250, 0.88);
  --hero-overlay: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(236, 238, 243, 0.96) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, color-mix(in srgb, var(--sport-nba) 10%, transparent), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 20%, color-mix(in srgb, #6366f1 8%, transparent), transparent 45%);
}

[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, color-mix(in srgb, var(--sport-nba) 8%, transparent), transparent 45%);
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent-sport);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* Layout: home/news → përmbajtje | 160×600 djathtas; stream → 160 majtas | përmbajtje | 300 djathtas */
.page-with-sidebar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  box-sizing: border-box;
}

.page-with-sidebar__main {
  flex: 1 1 0;
  min-width: 0;
}

.page-with-sidebar__rail {
  flex-shrink: 0;
  align-self: flex-start;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  overflow: hidden;
}

.page-with-sidebar__rail--left {
  flex: 0 0 160px;
  width: 160px;
  max-width: 160px;
}

/* 160×600 në të djathtë — faqja kryesore & NEWS (stream përdor --left + --right) */
.page-with-sidebar__rail--sky-right {
  flex: 0 0 160px;
  width: 160px;
  max-width: 160px;
}

.page-with-sidebar__rail--right {
  flex: 0 0 300px;
  width: 300px;
  max-width: 100%;
}

.page-with-sidebar__rail .ad-slot--skyscraper {
  padding-left: 0;
  padding-right: 0;
}

.page-with-sidebar__rail--right .ad-slot--rectangle {
  max-width: 100%;
  margin-inline: auto;
}

/* Stream: vetëm wrapper-at kryesorë më të gjerë (jo .container brenda main — shmang overflow mbi reklama) */
.page-stream > .container {
  width: min(1720px, 100% - 2rem);
}

/* Tre kolona pa mbivendosje — mos përdor z-index mbi video; gap i qartë */
.page-with-sidebar--stream {
  flex-wrap: nowrap;
  gap: 1.25rem 1.75rem;
  align-items: flex-start;
}

.page-with-sidebar--stream .page-with-sidebar__main {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.page-with-sidebar__rail .ad-slot,
.page-with-sidebar__rail .ad-slot iframe {
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .page-with-sidebar__rail {
    position: sticky;
    top: 5.25rem;
  }
}

.page-stream .page-with-sidebar {
  flex: 1 1 auto;
}

@media (max-width: 991px) {
  .page-with-sidebar {
    flex-direction: column;
  }

  .page-with-sidebar--stream {
    flex-wrap: wrap;
  }

  .page-with-sidebar__rail--left,
  .page-with-sidebar__rail--sky-right {
    width: 100%;
    max-width: 160px;
    margin-inline: auto;
    position: static;
  }

  .page-with-sidebar__rail--right {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    position: static;
  }

  .page-with-sidebar--stream .page-with-sidebar__rail {
    position: static;
  }

  /* Përmbajtja sipër, banerët poshtë */
  .page-with-sidebar:not(.page-with-sidebar--stream) .page-with-sidebar__main {
    order: 1;
  }

  .page-with-sidebar:not(.page-with-sidebar--stream) .page-with-sidebar__rail--sky-right {
    order: 2;
  }

  .page-with-sidebar--stream .page-with-sidebar__main {
    order: 1;
  }

  .page-with-sidebar--stream .page-with-sidebar__rail--left {
    order: 2;
  }

  .page-with-sidebar--stream .page-with-sidebar__rail--right {
    order: 3;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-compact .nav-categories,
.header-compact .search-wrap,
.header-compact .live-now-badge {
  display: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  max-width: 1400px;
  margin-inline: auto;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.08em;
  color: var(--text);
  background: linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--sport-football) 75%, #fff) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.2s, transform 0.2s;
}

.logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

[data-theme="light"] .logo {
  background: linear-gradient(135deg, #12141a 0%, var(--sport-football) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-categories {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  padding: 0.2rem;
  background: color-mix(in srgb, var(--bg-card) 85%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.nav-link {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.nav-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--sport-football) 60%, transparent);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
  min-width: min(240px, 40vw);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-wrap:focus-within {
  border-color: color-mix(in srgb, var(--sport-football) 45%, var(--border));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.search-icon {
  opacity: 0.5;
  font-size: 1rem;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
}

.live-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: color-mix(in srgb, var(--sport-football) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--sport-football) 45%, transparent);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--sport-football);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sport-football);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--sport-football) 60%, transparent);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
    box-shadow: 0 0 0 6px transparent;
  }
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  background: var(--bg-hover);
  border-color: color-mix(in srgb, var(--text-muted) 35%, var(--border));
}

.theme-toggle .sun {
  display: none;
}

[data-theme="light"] .theme-toggle .moon {
  display: none;
}

[data-theme="light"] .theme-toggle .sun {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 20% -10%, color-mix(in srgb, var(--sport-nba) 22%, #0a0612) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 90% 30%, color-mix(in srgb, var(--sport-football) 18%, #08060c) 0%, transparent 50%),
    linear-gradient(165deg, #060810 0%, #0c1018 45%, #08060c 100%);
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 100% 70% at 15% 0%, color-mix(in srgb, var(--sport-football) 15%, #fff) 0%, transparent 50%),
    linear-gradient(165deg, #f0f2f7 0%, #e4e7ef 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sport-nba) 95%, #fff);
  background: color-mix(in srgb, var(--sport-nba) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--sport-nba) 35%, transparent);
  border-radius: 999px;
  box-shadow: 0 0 24px color-mix(in srgb, var(--sport-nba) 15%, transparent);
}

[data-theme="light"] .hero-eyebrow {
  color: #b45309;
  background: color-mix(in srgb, var(--sport-nba) 12%, var(--bg-card));
  border-color: color-mix(in srgb, var(--sport-nba) 28%, var(--border));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-league {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sport-football);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

.hero-title--brand {
  font-size: clamp(3rem, 8vw, 5rem);
}

.hero-meta--brand {
  max-width: 36rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 28rem;
}

.hero-title .vs {
  font-size: 0.5em;
  opacity: 0.6;
  vertical-align: middle;
  margin: 0 0.25em;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-score {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.live-badge,
.thumb-live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--sport-football);
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 20px color-mix(in srgb, var(--sport-football) 55%, transparent);
  animation: live-glow 2s ease-in-out infinite;
}

.live-badge--soon {
  background: color-mix(in srgb, var(--text-muted) 35%, var(--bg-card));
  color: var(--text-muted);
  border: 1px solid var(--border);
  animation: none;
  box-shadow: none;
  letter-spacing: 0.1em;
}

/* Static / placeholder cards — not real API live games */
.thumb-demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: color-mix(in srgb, var(--text-muted) 35%, var(--bg-card));
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  animation: none;
  box-shadow: none;
}

.hero-live {
  font-size: 0.7rem;
  padding: 0.35rem 0.65rem;
}

@keyframes live-glow {
  0%,
  100% {
    box-shadow: 0 0 16px color-mix(in srgb, var(--sport-football) 50%, transparent);
  }
  50% {
    box-shadow: 0 0 28px color-mix(in srgb, var(--sport-football) 75%, transparent);
  }
}

.hero-pulse {
  position: absolute;
  right: 8%;
  bottom: 15%;
  z-index: 1;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border: 2px solid color-mix(in srgb, var(--sport-football) 45%, transparent);
  border-radius: 50%;
  animation: pulse-ring 2.5s ease-out infinite;
}

.pulse-ring.delay {
  animation-delay: 1s;
}

/* Hero — NBA / basketball accent */
.hero[data-sport="nba"] .hero-league {
  color: var(--sport-nba);
}

.hero[data-sport="nba"] .live-badge,
.hero[data-sport="nba"] .hero-live {
  background: var(--sport-nba);
  box-shadow: 0 0 20px color-mix(in srgb, var(--sport-nba) 55%, transparent);
  animation: live-glow-nba 2s ease-in-out infinite;
}

@keyframes live-glow-nba {
  0%,
  100% {
    box-shadow: 0 0 16px color-mix(in srgb, var(--sport-nba) 50%, transparent);
  }
  50% {
    box-shadow: 0 0 28px color-mix(in srgb, var(--sport-nba) 75%, transparent);
  }
}

.hero[data-sport="nba"] .btn-primary {
  background: linear-gradient(135deg, var(--sport-nba), #c45c00);
  box-shadow: 0 0 40px color-mix(in srgb, var(--sport-nba) 35%, transparent);
}

.hero[data-sport="nba"] .pulse-ring {
  border-color: color-mix(in srgb, var(--sport-nba) 45%, transparent);
}

.hero[data-sport="nba"] .hero-eyebrow {
  color: #fff;
  background: color-mix(in srgb, var(--sport-nba) 22%, transparent);
  border-color: color-mix(in srgb, var(--sport-nba) 45%, transparent);
  box-shadow: 0 0 28px color-mix(in srgb, var(--sport-nba) 20%, transparent);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sport-football), #c1121f);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-hero {
  padding: 0.9rem 1.85rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--text) 22%, var(--border));
  box-shadow: none;
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border-color: color-mix(in srgb, var(--text) 35%, var(--border));
  transform: translateY(-1px);
}

.btn-hero-secondary {
  padding: 0.9rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.btn-small {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  background: var(--accent-sport);
  color: #fff;
  border-radius: var(--radius-sm);
}

.match-card .btn-small {
  background: color-mix(in srgb, var(--accent-sport) 90%, #000);
}

.btn-bell {
  background: var(--bg-hover);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.75rem;
}

.btn-bell.is-active {
  border-color: var(--accent-sport);
  color: var(--accent-sport);
}

/* Filters */
.filters-section {
  padding: 1.25rem 0 0;
  position: sticky;
  top: 58px;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--bg-deep) 96%, transparent) 0%,
    color-mix(in srgb, var(--bg-deep) 88%, transparent) 70%,
    transparent 100%
  );
  backdrop-filter: blur(8px);
  margin-top: -1px;
}

.filter-tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.filter-tab {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}

.filter-tab:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--text-muted) 40%, var(--border));
  transform: translateY(-1px);
}

.filter-tab.active {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--sport-football) 28%, var(--bg-card)),
    color-mix(in srgb, var(--sport-football) 18%, var(--bg-card))
  );
  border-color: color-mix(in srgb, var(--sport-football) 65%, var(--border));
  color: var(--text);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--sport-football) 22%, transparent);
}

/* Sections */
.section {
  padding: 2.75rem 0 3.25rem;
}

.page-home-minimal .live-section--solo {
  padding: 1.25rem 0 2.5rem;
}

.home-live-split {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.home-live-layout-all,
.home-live-layout-sport {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

/* `hidden` duhet të fitojë mbi `display: flex` — përndryshe “Live now / Coming up” mbeten të dukshme bosh. */
.home-live-split .home-live-layout-all[hidden],
.home-live-split .home-live-layout-sport[hidden] {
  display: none !important;
}

/* Seksionet .home-live-block (p.sh. Football) me [hidden] — përndryshe .home-live-block mbishkruan display:none të UA. */
.home-live-split .home-live-block[hidden] {
  display: none !important;
}

/* Navbar → NBA: seksioni NBA sipër, Football poshtë. */
.home-live-split--nba-first #home-section-nba {
  order: -1;
}

.home-live-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-live-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.15;
}

.upcoming-section {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  padding-left: 1rem;
}

.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sport-football), var(--sport-nba));
  box-shadow: 0 0 16px color-mix(in srgb, var(--sport-football) 45%, transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.05;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}

/* Broadcast / streamed: ~5 karta në rresht në container ~1200px (220×5 + gaps) */
.card-grid--broadcast {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 0.75rem;
}

/* Grupim sipas datës — si “26 March” + vijë portokalli */
.match-date-heading {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--sport-nba);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--sport-nba);
}

.card-grid--broadcast > .match-date-heading:not(:first-child) {
  margin-top: 1rem;
}

#live-grid-football > .match-date-heading {
  color: var(--sport-football);
  border-bottom-color: var(--sport-football);
}

.match-card--broadcast {
  padding: 0;
}

.match-card--broadcast:hover {
  transform: translateY(-4px);
}

.match-card--broadcast .card-broadcast {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.match-card--broadcast .card-broadcast:focus-visible {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent-sport) 70%, transparent);
}

.card-broadcast-header {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 128px;
  overflow: hidden;
}

.card-broadcast-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gradient-from), var(--gradient-to));
}

.card-broadcast-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.match-card--streamed .card-streamed-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.22;
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.02);
}

.match-card--streamed .card-streamed-popular {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-weight: 900;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-broadcast-logos {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  height: 100%;
  box-sizing: border-box;
}

.card-broadcast-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.card-broadcast-avatar.has-logo {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.card-broadcast-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}

.card-broadcast-avatar-text {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #0a0c12;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.card-broadcast-league-badge {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  padding: 0.35rem 0.5rem;
  border: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  max-width: 46%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-broadcast-league-badge.has-logo {
  padding: 0.35rem 0.5rem;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.card-broadcast-league-img {
  max-width: 100%;
  max-height: 44px;
  min-width: 28px;
  min-height: 14px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.card-broadcast-league-fallback {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.card-broadcast-body {
  padding: 0.8rem 0.95rem 0.95rem;
  background: #07080d;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .card-broadcast-body {
  background: #07080d;
  color: #f4f6f9;
}

.card-broadcast-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.38;
  color: #f4f6f9;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-broadcast-vs {
  font-weight: 600;
  color: #8e96a8;
  font-size: 0.78rem;
}

.card-broadcast-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.card-broadcast-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-broadcast-time {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent-sport);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.card-broadcast-sep {
  color: #8e96a8;
  font-weight: 600;
  opacity: 0.65;
}

.card-broadcast-channel-txt {
  font-size: 0.68rem;
  color: #8e96a8;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-broadcast-time--live {
  font-weight: 800;
}

.card-broadcast-eta {
  font-size: 0.68rem;
  font-weight: 600;
  color: #8e96a8;
}

.match-card--pregame .card-broadcast-header-bg {
  filter: saturate(0.92);
}

.match-card--inplay {
  border-color: color-mix(in srgb, var(--accent-sport) 38%, var(--border));
}

.card-broadcast-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #f4f6f9;
  flex-shrink: 0;
}

.card-broadcast-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3d5a;
  box-shadow: 0 0 10px rgba(255, 61, 90, 0.85);
  animation: sz-live-pulse 1.6s ease-in-out infinite;
}

@keyframes sz-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

.card-broadcast-live-num {
  font-variant-numeric: tabular-nums;
}

.api-sports-widgets-wrap {
  min-height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
}

.api-sports-widgets-wrap api-sports-widget {
  display: block;
  width: 100%;
}

.widget-section {
  padding-top: 1rem;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  border: 1px dashed color-mix(in srgb, var(--text-muted) 28%, var(--border));
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg-card) 85%, var(--bg-deep));
}

/* Cards */
.match-card {
  --accent-sport: var(--sport-football);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: var(--shadow-card);
}

.match-card:hover {
  border-color: color-mix(in srgb, var(--accent-sport) 50%, var(--border));
  box-shadow: var(--shadow-card-hover), 0 0 0 1px color-mix(in srgb, var(--accent-sport) 15%, transparent);
  transform: translateY(-4px);
}

.match-card--compact:hover {
  transform: translateY(-2px);
}

.match-card--streamed-upcoming {
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.match-card--streamed-upcoming .streamed-upcoming-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.match-card--streamed-upcoming .streamed-upcoming-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.1) contrast(1.05);
  opacity: 0.28;
}

.match-card--streamed-upcoming .streamed-upcoming-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 4, 10, 0.15) 0%,
    rgba(3, 4, 10, 0.65) 55%,
    rgba(3, 4, 10, 0.92) 100%
  );
}

.match-card--streamed-upcoming .streamed-upcoming-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0.85rem 0.85rem 1rem;
  /* Lartësi minimale fikse që zona e skuadrave të “ushqejë” hapësirë — Watch mbetet në të njëjtin nivel */
  min-height: 276px;
  gap: 0.65rem;
}

.match-card--streamed-upcoming .streamed-upcoming-top,
.match-card--streamed-upcoming .streamed-upcoming-timebox {
  flex-shrink: 0;
}

.streamed-upcoming-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.streamed-upcoming-pill {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-body);
  line-height: 1;
  white-space: nowrap;
  background: color-mix(in srgb, var(--accent-sport) 18%, var(--bg-hover));
  border: 1px solid color-mix(in srgb, var(--accent-sport) 28%, var(--border));
  color: var(--text-muted);
}

.streamed-upcoming-pill--live {
  background: rgba(255, 61, 90, 0.86);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 61, 90, 0.55);
}

/* Liga mbi skuadrat — rresht i plotë, më shumë vend për emrat poshtë */
.streamed-upcoming-league-row {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 0.2rem 0 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

/* Vijë e shkurtër horizontale poshtë emrit të ligës */
.streamed-upcoming-league-row::after {
  content: '';
  display: block;
  width: min(2.75rem, 42%);
  height: 2px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent-sport) 82%, #fff) 45%,
    color-mix(in srgb, var(--accent-sport) 82%, #fff) 55%,
    transparent 100%
  );
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent-sport) 38%, transparent);
}

.streamed-upcoming-league-text--row {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-sport) 92%, #fff);
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent-sport) 40%, transparent);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  text-overflow: clip;
  hyphens: auto;
}

/* Ora e fillimit në rreshtin e sipërm (majtas) */
.streamed-upcoming-kickoff {
  margin-right: auto;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: var(--text);
  white-space: nowrap;
}

.streamed-upcoming-timebox {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-height: 1.4rem;
}

.streamed-upcoming-timebox .streamed-upcoming-countdown,
.streamed-upcoming-timebox .streamed-upcoming-liveMin {
  flex-shrink: 0;
}

.streamed-upcoming-date {
  font-family: var(--font-body);
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.streamed-upcoming-time {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-body);
  line-height: 1;
}

.streamed-upcoming-liveMin {
  font-family: var(--font-body);
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  color: var(--accent-sport);
  white-space: nowrap;
  line-height: 1;
}

.match-card--streamed-upcoming .countdown {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--accent-sport);
}

.streamed-upcoming-teams {
  --streamed-teams-gap-x: 0.85rem;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: start;
  gap: 0.5rem var(--streamed-teams-gap-x);
  overflow: hidden;
}

.streamed-upcoming-team {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  min-width: 0;
}

/* HOME: logo sipër, emri poshtë me gjerësi të plotë të kolonës (më shumë hapësirë për emër) */
.streamed-upcoming-team--home {
  align-items: flex-start;
}

/* AWAY: të njëjtat, por të drejtuara djathtas */
.streamed-upcoming-team--away {
  align-items: flex-end;
}

/* Vetëm një vijë vertikale, në mes të kartës (ndarja HOME / AWAY); skaji i majtë i kartës pa vijë */
.streamed-upcoming-team--home {
  padding-left: 0;
}

.streamed-upcoming-team--away {
  position: relative;
  padding-left: 0.5rem;
}

.streamed-upcoming-team--away::before {
  content: '';
  position: absolute;
  /* qendër e vijës në mes të hapësirës midis kolonave */
  left: calc(-0.5 * var(--streamed-teams-gap-x) - 1.5px);
  top: 0.1rem;
  bottom: 0.1rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent-sport) 95%, #fff) 0%,
    color-mix(in srgb, var(--accent-sport) 35%, transparent) 52%,
    color-mix(in srgb, var(--accent-sport) 8%, transparent) 100%
  );
  box-shadow:
    0 0 14px color-mix(in srgb, var(--accent-sport) 42%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.streamed-team-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.streamed-team-name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.875rem;
  line-height: 1.2;
  text-align: left;
  color: #f4f6f9;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  white-space: normal;
  text-overflow: clip;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.streamed-team-name--right {
  text-align: right;
}

.streamed-upcoming-actions {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 2.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0;
}

/* Zila jashtë rrjedhës — Watch mbetet i vetmi flex-item dhe qendrohet gjeometrikisht */
.streamed-upcoming-actions > .btn-bell {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: calc(100% - 9rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-card--streamed-upcoming .streamed-upcoming-watch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 10.5rem;
  padding: 0.72rem 2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #fff 22%, transparent);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-sport) 92%, #fff) 0%,
    color-mix(in srgb, var(--accent-sport) 55%, #0a0c14) 100%
  );
  box-shadow:
    0 4px 16px color-mix(in srgb, var(--accent-sport) 42%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.15s ease;
}

.match-card--streamed-upcoming .streamed-upcoming-watch:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 8px 26px color-mix(in srgb, var(--accent-sport) 50%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.match-card--streamed-upcoming .streamed-upcoming-watch:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-sport) 80%, #fff);
  outline-offset: 3px;
}

@media (max-width: 380px) {
  .match-card--streamed-upcoming .streamed-upcoming-watch {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
  }
}

/* Compact cards — text only (league, teams, score / kickoff, live or starts) */
.card-compact-inner {
  padding: 1.1rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.card-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-compact-league {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1.2;
}

.card-compact-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.card-compact-badge--live {
  background: var(--sport-football);
  color: #fff;
  box-shadow: 0 0 18px color-mix(in srgb, var(--sport-football) 45%, transparent);
}

.card-compact-badge--soon {
  background: color-mix(in srgb, var(--accent-sport) 14%, var(--bg-hover));
  color: var(--text-muted);
  border: 1px solid var(--border);
  letter-spacing: 0.08em;
}

.card-compact-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.45rem 0.6rem;
}

.card-compact-team {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.card-compact-team--home {
  text-align: left;
}

.card-compact-team--away {
  text-align: right;
}

.card-compact-vs {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-compact-score {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--accent-sport);
  text-align: center;
  line-height: 1;
}

.card-compact-kickoff {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
}

.card-compact-time {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.match-card--compact .card-compact-countdown,
.match-card--compact .countdown {
  margin: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--accent-sport);
}

.card-compact-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.65rem;
  margin-top: 0.1rem;
  border-top: 1px solid var(--border);
}

.card-compact-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.card-thumb--static::after {
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.45) 100%);
}

.thumb-live-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
}

.sport-chip {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.35rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  color: #fff;
}

.card-body {
  padding: 1.15rem 1.15rem 1.25rem;
}

.card-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.team {
  text-align: center;
}

.team.home {
  text-align: left;
}

.team.away {
  text-align: right;
}

.team-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.score {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--accent-sport);
}

.vs-small {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.viewers {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.countdown {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--accent-sport);
  margin-bottom: 0.65rem;
  text-align: center;
}

/* Stream page */
.stream-hero-bar {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 40%, transparent) 0%, transparent 100%);
}

.stream-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.stream-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0;
  letter-spacing: 0.03em;
}

.stream-page-league {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stream-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 2rem;
}

.stream-body--player-only {
  max-width: 100%;
  width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}

.stream-video-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.video-shell {
  width: 100%;
}

.video-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.stream-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Stream page — të gjitha linket nga API (burime të shumëfishta) */
.stream-sources-wrap {
  margin-top: 1rem;
  padding: 1rem 1.1rem 1.15rem;
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.stream-sources-head {
  margin-bottom: 0.65rem;
}

.stream-sources-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--text);
}

.stream-sources-loading {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stream-sources-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stream-feed-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stream-feed-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.stream-feed-group-title {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-sport) 85%, var(--text));
}

.stream-feed-group-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stream-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stream-pick {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.stream-pick-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
}

.stream-pick:hover {
  border-color: color-mix(in srgb, var(--accent-sport) 45%, var(--border));
  background: var(--bg-hover);
}

.stream-pick.is-current {
  border-color: color-mix(in srgb, var(--accent-sport) 65%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-sport) 35%, transparent);
}

.stream-pick-line1 {
  font-weight: 700;
  min-width: 0;
}

.stream-pick-line2 {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stream-pick-badge {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-sport) 22%, var(--bg-card));
  color: color-mix(in srgb, var(--accent-sport) 95%, #fff);
}

.related-section {
  padding-top: 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.page-stream .related-section {
  display: none;
}

.page-stream .related-section.related-section--has-related {
  display: block;
}

.related-section .section-title {
  margin-bottom: 1rem;
}

/* Home — NEWS strip at bottom (all sources, one marquee row) */
.home-news-band {
  padding: 1.35rem 0 1.85rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--bg-card) 45%, transparent) 100%
  );
}

.home-news-band--empty {
  display: none;
}

.home-news-band-head {
  margin-bottom: 0.7rem;
}

.home-news-band-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--text);
  display: inline-block;
}

.home-news-band-heading:hover {
  color: color-mix(in srgb, var(--sport-football) 88%, var(--text));
}

.home-news-band-loading {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.home-news-band-inner {
  min-width: 0;
}

.home-news-band-viewport {
  overflow: hidden;
  min-width: 0;
  container-type: inline-size;
  container-name: home-band-vp;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--border) 95%, transparent);
  background: color-mix(in srgb, var(--bg-card) 78%, var(--bg-elevated));
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 1%,
    black 99%,
    transparent
  );
}

.home-news-band-track {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  min-width: min-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: home-news-marquee var(--home-news-duration, 45s) linear infinite;
}

.home-news-band:hover .home-news-band-track {
  animation-play-state: paused;
}

.home-news-band-set {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  flex-shrink: 0;
  align-items: stretch;
}

.home-news-band-card {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: max(220px, min(360px, calc((100cqi - 1.3rem) / 3)));
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--border) 100%, transparent);
  background: color-mix(in srgb, var(--bg-elevated) 52%, var(--bg-card));
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-news-band-card:hover {
  border-color: color-mix(in srgb, var(--sport-football) 40%, var(--border));
  box-shadow: var(--shadow-card);
}

.home-news-band-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-card) 70%, var(--border));
}

.home-news-band-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-news-band-card-body {
  padding: 0.55rem 0.65rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-news-band-card-source {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sport-nba) 95%, var(--text-muted));
}

.home-news-band-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@supports not (container-type: inline-size) {
  .home-news-band-card {
    width: clamp(220px, 28vw, 340px);
    min-width: 220px;
  }
}

@media (max-width: 560px) {
  .home-news-band-card {
    width: min(88vw, 300px);
    min-width: 200px;
    max-width: min(88vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-news-band-track {
    animation: home-news-marquee-slow var(--home-news-duration, 90s) linear infinite !important;
  }
}

/* Footer */
.site-footer {
  padding: 2.5rem 1rem 2.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg-elevated) 50%, transparent) 100%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  text-align: left;
}

.footer-brand-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.footer-brand {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}

.page-stream {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-stream .page-with-sidebar__main.stream-layout {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-categories {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    justify-content: center;
  }

  .logo {
    order: 0;
  }

  .header-actions {
    order: 2;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .search-wrap {
    min-width: 100%;
  }

  .hero-pulse {
    opacity: 0.4;
    right: 4%;
  }

  .card-teams {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team.home,
  .team.away {
    text-align: center;
  }

  .score {
    order: -1;
  }

  .match-card--compact .card-compact-match {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .card-compact-team--home,
  .card-compact-team--away {
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot,
  .pulse-ring,
  .live-badge,
  .thumb-live-badge {
    animation: none !important;
  }

  .match-card {
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .match-card:hover {
    transform: none;
  }

  .home-news-track {
    animation: home-news-marquee-slow var(--home-news-duration, 90s) linear infinite !important;
  }

  .home-news-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    mask-image: none;
  }

  .home-news-card {
    scroll-snap-align: start;
  }
}

@keyframes home-news-marquee-slow {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Headlines by source (marquee) — used on News page */
.home-news {
  padding: 1.35rem 0 1.85rem;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.page-news .news-strip.home-news {
  padding: 1.35rem 1.15rem 1.65rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--border) 110%, transparent);
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--bg-card) 72%, var(--bg-elevated)) 0%,
    color-mix(in srgb, var(--bg-deep) 55%, var(--bg-card)) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 12px 40px rgba(0, 0, 0, 0.28);
}

.home-news.home-news--empty {
  display: none;
}

.home-news-head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.35rem 1rem;
  align-items: baseline;
  margin-bottom: 1.1rem;
}

.home-news-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--text);
  grid-column: 1;
  grid-row: 1;
}

.home-news-sub {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.home-news-all {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--sport-football) 90%, var(--text));
  text-decoration: none;
  white-space: nowrap;
}

.home-news-all:hover {
  text-decoration: underline;
}

.home-news-loading {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.home-news-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-news-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 8.5rem) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: stretch;
  min-width: 0;
}

.home-news-row-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sport-nba) 95%, var(--text-muted));
  line-height: 1.25;
  padding-top: 0.35rem;
  align-self: start;
}

.home-news-row-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--border) 95%, transparent);
  background: color-mix(in srgb, var(--bg-card) 82%, var(--bg-elevated));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.home-news-toolbar {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: color-mix(in srgb, var(--bg-deep) 45%, var(--bg-card));
  border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
}

/** Tre butona në një vijë horizontale të drejtë */
.home-news-toolbar-tiered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.home-news-toolbar-cell {
  display: flex;
  align-items: center;
}

.home-news-toolbar-cell--left {
  justify-content: flex-start;
}

.home-news-toolbar-cell--right {
  justify-content: flex-end;
}

.home-news-toolbar-cell--pause {
  justify-content: center;
  justify-self: center;
}

.home-news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  min-width: 2.35rem;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 100%, transparent);
  background: color-mix(in srgb, var(--bg-card) 70%, var(--bg-hover));
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-news-btn:hover {
  border-color: color-mix(in srgb, var(--sport-football) 45%, var(--border));
  background: color-mix(in srgb, var(--sport-football) 14%, var(--bg-card));
}

.home-news-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--sport-football) 70%, transparent);
  outline-offset: 2px;
}

.home-news-track--paused {
  animation-play-state: paused !important;
}

.home-news-track--manual {
  animation: none !important;
  transform: none !important;
  will-change: auto;
}

.home-news-viewport--scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  mask-image: none;
  scroll-snap-type: x proximity;
}

.home-news-row-main .home-news-viewport {
  border: none;
  border-radius: 0;
  background: color-mix(in srgb, var(--bg-deep) 22%, var(--bg-card));
}

.home-news-viewport {
  overflow: hidden;
  min-width: 0;
  container-type: inline-size;
  container-name: home-news-vp;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 1.5%,
    black 98.5%,
    transparent
  );
}

.home-news-track {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  min-width: min-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: home-news-marquee var(--home-news-duration, 42s) linear infinite;
  animation-play-state: running;
}

.home-news-row:hover .home-news-track {
  animation-play-state: paused;
}

@keyframes home-news-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.home-news-track-set {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: stretch;
}

.home-news-card {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: max(220px, min(380px, calc((100cqi - 1.3rem) / 3)));
  min-width: 220px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--border) 100%, transparent);
  background: color-mix(in srgb, var(--bg-elevated) 55%, var(--bg-card));
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.home-news-card:hover {
  border-color: color-mix(in srgb, var(--sport-football) 40%, var(--border));
  box-shadow: var(--shadow-card);
}

.home-news-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-card) 70%, var(--border));
}

.home-news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-news-card-text {
  padding: 0.65rem 0.75rem 0.75rem;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.home-news-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@supports not (container-type: inline-size) {
  .home-news-card {
    width: clamp(220px, 28vw, 360px);
    min-width: 220px;
  }
}

@media (max-width: 640px) {
  .home-news-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .home-news-row-label {
    padding-top: 0;
  }

  .home-news-card {
    flex: 0 0 auto;
    width: min(88vw, 320px);
    min-width: 200px;
    max-width: min(88vw, 320px);
  }

  .home-news-head {
    grid-template-columns: 1fr;
  }

  .home-news-all {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .page-news .news-strip.home-news {
    padding-inline: 0.85rem;
    border-radius: var(--radius);
  }
}

/* News page */
.page-news {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-news .news-main {
  flex: 1;
  padding: 2rem 0 3rem;
}

/* Një kolonë gjerësie — shmang .container të dyfishtë (ish-ngushtë në mobile) */
.page-news .news-main-inner {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.news-page-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.news-page-head--news-title {
  margin-bottom: 1rem;
  max-width: none;
}

.news-page-head--news-title .home-news-heading {
  margin: 0;
}

.news-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.news-page-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.news-page-lead code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg-card) 80%, transparent);
  border: 1px solid var(--border);
}

.news-loading,
.news-error,
.news-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 1rem;
}

.news-error {
  color: color-mix(in srgb, var(--sport-football) 65%, var(--text));
}

.news-grid-wrap {
  margin-top: 0.35rem;
}

.news-grid-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-grid-nav--top {
  padding-bottom: 0.75rem;
}

.news-grid-nav--bottom {
  padding-top: 0.75rem;
}

.news-grid-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 100%, transparent);
  background: color-mix(in srgb, var(--bg-card) 75%, var(--bg-elevated));
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.news-grid-page-btn:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--sport-football) 45%, var(--border));
  background: color-mix(in srgb, var(--sport-football) 12%, var(--bg-card));
}

.news-grid-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.news-grid-page-indicator {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  min-width: 4rem;
  text-align: center;
}

.news-grid {
  display: grid;
  gap: 1.25rem;
}

.news-grid--paged {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 992px) {
  .news-grid--paged {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .news-grid--paged {
    grid-template-columns: minmax(0, 1fr);
  }
}

.news-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  border-color: color-mix(in srgb, var(--sport-football) 35%, var(--border));
  box-shadow: var(--shadow-card);
}

.news-card-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem;
  flex: 1;
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-card) 70%, var(--border));
}

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

.news-card-source {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sport-nba) 95%, var(--text-muted));
}

.news-card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
}

.news-card-excerpt {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.news-card-cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--sport-football) 85%, var(--text));
}

/* News — mobile / tablet */
@media (max-width: 991px) {
  .page-with-sidebar:not(.page-with-sidebar--stream) {
    gap: 0.85rem 0.75rem;
  }

  .page-news .news-main {
    padding: 1.15rem 0 1.85rem;
  }
}

@media (max-width: 767px) {
  body.page-news {
    overflow-x: clip;
  }

  .page-news .header-inner {
    padding-inline: 0.85rem;
    gap: 0.65rem;
  }

  .page-news .nav-categories {
    gap: 0.12rem;
    padding: 0.15rem;
  }

  .page-news .nav-link {
    padding: 0.4rem 0.62rem;
    font-size: 0.75rem;
  }

  .page-news .news-main {
    padding: 0.95rem 0 1.75rem;
  }

  .page-news .news-page-head {
    margin-bottom: 1.15rem;
  }

  .page-news .news-strip.home-news {
    padding: 1rem 0.65rem 1.35rem;
    margin-bottom: 0.5rem;
  }

  .home-news-loading,
  .news-loading {
    font-size: 0.84rem;
    padding-inline: 0.25rem;
  }

  .news-grid-wrap {
    margin-top: 0.35rem;
  }

  .news-grid--paged {
    gap: 1rem;
  }

  .news-grid-nav--top {
    padding-bottom: 0.5rem;
  }

  .news-grid-nav--bottom {
    padding-top: 0.5rem;
  }

  .news-grid-nav {
    gap: 0.65rem;
  }

  .news-grid-page-btn {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .news-grid-page-indicator {
    min-width: 3.5rem;
    font-size: 0.78rem;
  }

  .news-card-body {
    padding: 0.95rem 1rem;
  }

  .news-card-title {
    font-size: clamp(0.95rem, 3.8vw, 1.05rem);
  }

  .news-card-excerpt {
    font-size: 0.8rem;
    -webkit-line-clamp: 4;
  }

  .page-news .ad-slot-wrap--top {
    padding-top: 0.25rem;
  }
}

@media (max-width: 480px) {
  .page-news .logo {
    font-size: 1.55rem;
  }

  .page-news .news-main {
    padding: 0.75rem 0 1.5rem;
  }

  .page-news .home-news-heading {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .page-news .news-strip.home-news {
    padding: 0.85rem 0.5rem 1.15rem;
    border-radius: var(--radius);
  }

  .page-news .home-news-row {
    gap: 0.45rem;
  }

  .home-news-card {
    width: min(88vw, 300px);
    max-width: min(88vw, 300px);
  }

  .news-loading,
  .news-error,
  .news-empty {
    padding: 0.75rem 0.35rem;
    font-size: 0.86rem;
  }

  .news-card-body {
    padding: 0.8rem 0.85rem;
    gap: 0.4rem;
  }
}

.nav-link--active {
  color: var(--text);
  background: color-mix(in srgb, var(--sport-football) 14%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--sport-football) 38%, var(--border));
}

/* ── Ad slots (Adsterra banner containers — paste “Get code” inside each #sz-ad-*) ── */
/* Kornizë + ikonë X vetëm pamore (nuk heq banerin) */
.ad-slot-frame {
  position: relative;
  width: 100%;
  max-width: 728px;
  margin-inline: auto;
  box-sizing: border-box;
}

.page-with-sidebar__rail .ad-slot-frame {
  max-width: 100%;
}

.ad-slot-fake-close {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(8, 10, 16, 0.72);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}

.ad-slot-fake-close__icon {
  display: block;
}

.ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 0;
  box-sizing: border-box;
}

.ad-slot--leaderboard {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  overflow-x: auto;
}

.ad-slot--rectangle {
  width: 100%;
  max-width: 300px;
  min-height: 250px;
}

.ad-slot--skyscraper {
  width: 100%;
  max-width: 160px;
  min-height: 600px;
}

.ad-slot--billboard {
  width: 100%;
  max-width: 970px;
  min-height: 250px;
}

.ad-slot--footer {
  padding-bottom: 1.25rem;
}

/* Wrapper: njësoj gjerësi me .container — leaderboard i kryqëzuar me përmbajtjen */
.ad-slot-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.ad-slot-wrap--top {
  padding: 0.4rem 0 0.15rem;
}

.ad-slot-wrap--section {
  padding: 0.35rem 0 1rem;
}

@media (max-width: 767px) {
  .ad-slot--leaderboard {
    max-width: 100%;
    min-height: 90px;
  }

  .ad-slot--rectangle {
    max-width: 300px;
    min-height: 250px;
  }
}

/* Social Bar (Adsterra) — ankor në fund të faqes; shumica e skripteve e pozicionojnë vetë */
.sz-social-bar-anchor {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  pointer-events: none;
}

.sz-social-bar-anchor > * {
  pointer-events: auto;
}

