/* ═══════════════════════════════════════════════════════
   SportsKeen — Premium Sports News CSS
   ═══════════════════════════════════════════════════════ */

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

:root {
  --brand-dark: #0D0D1A;
  --brand-darker: #08080F;
  --brand-red: #E8152A;
  --brand-red-dark: #C01020;
  --brand-yellow: #FFB800;
  --bg: #F0F2F5;
  --surface: #FFFFFF;
  --surface-2: #F7F9FC;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --text-primary: #0D1117;
  --text-secondary: #4A5568;
  --text-muted: #8A97B0;
  --football: #166534;
  --cricket: #92400E;
  --f1: #991B1B;
  --tennis: #4C1D95;
  --basketball: #9A3412;
  --rugby: #0C4A6E;
  --golf: #3F6212;
  --athletics: #6B21A8;
  --ticker-h: 38px;
  --header-h: 64px;
  --nav-h: 44px;
  --font: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.hidden { display: none !important; }

/* ─── TICKER ────────────────────────────────────────────── */
.ticker-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brand-red);
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(232,21,42,.4);
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 100%;
  background: var(--brand-red-dark);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  gap: 0;
  animation: tickerScroll 60s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-inner:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 0 28px;
  cursor: pointer;
  transition: opacity .2s;
  flex-shrink: 0;
}

.ticker-item:hover { opacity: .8; }

.ticker-sep {
  color: rgba(255,255,255,.4);
  font-size: 16px;
  flex-shrink: 0;
  align-self: center;
}

/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: var(--ticker-h);
  z-index: 900;
  background: var(--brand-dark);
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: .88;
  padding-left: 2px;
}

.logo-wordmark .lw-sports {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 4px;
}

.logo-wordmark .lw-keen {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--brand-red);
  letter-spacing: 4px;
}

.logo-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.18);
  margin: 0 14px;
}

.logo-tagline {
  display: flex;
  flex-direction: column;
  gap: 1px;
  justify-content: center;
}

.logo-tagline span {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.6;
}

.header-search {
  flex: 1;
  max-width: 500px;
  display: flex;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}

.header-search:focus-within {
  background: rgba(255,255,255,.13);
  border-color: var(--brand-red);
}

.header-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  padding: 0 14px;
  font-family: var(--font);
}

.header-search input::placeholder { color: rgba(255,255,255,.4); }

.search-btn {
  padding: 0 14px;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  transition: color .2s;
}

.search-btn:hover { color: var(--brand-red); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--brand-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.live-badge .live-dot { background: #fff; }

.refresh-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all .2s;
}

.refresh-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.refresh-btn svg { transition: transform .4s; }
.refresh-btn:hover svg { transform: rotate(180deg); }

/* ─── SPORT NAV BAR ─────────────────────────────────────── */
.sport-nav {
  position: sticky;
  top: calc(var(--ticker-h) + var(--header-h));
  z-index: 800;
  background: var(--brand-darker);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: var(--nav-h);
  overflow: hidden;
}

.sport-nav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  height: var(--nav-h);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sport-nav-inner::-webkit-scrollbar { display: none; }

.nav-pill {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 4px;
  color: rgba(255,255,255,.65);
  font-size: 12.5px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}

.nav-pill:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.nav-pill.active {
  background: var(--brand-red);
  color: #fff;
}

.nav-link { color: rgba(255,255,255,.45); }

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.12);
  margin: 0 6px;
  flex-shrink: 0;
}

/* ─── TRENDING BAR ──────────────────────────────────────── */
.trending-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  position: sticky;
  top: calc(var(--ticker-h) + var(--header-h) + var(--nav-h));
  z-index: 700;
}

.trending-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trending-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.trending-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.trending-scroll::-webkit-scrollbar { display: none; }

.trend-pill {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
  border: none;
}

.trend-pill:hover { opacity: .85; transform: translateY(-1px); }

.trend-pill.sport-football { background: #DCFCE7; color: var(--football); }
.trend-pill.sport-cricket { background: #FEF3C7; color: var(--cricket); }
.trend-pill.sport-f1 { background: #FEE2E2; color: var(--f1); }
.trend-pill.sport-tennis { background: #EDE9FE; color: var(--tennis); }
.trend-pill.sport-basketball { background: #FFEDD5; color: var(--basketball); }
.trend-pill.sport-rugby { background: #E0F2FE; color: var(--rugby); }
.trend-pill.sport-golf { background: #ECFCCB; color: var(--golf); }
.trend-pill.sport-athletics { background: #F3E8FF; color: var(--athletics); }

.skeleton-pill {
  background: var(--border);
  color: transparent;
  border-radius: 20px;
  min-width: 80px;
  animation: shimmer 1.5s infinite;
}

/* ─── AD UNITS ──────────────────────────────────────────── */
.ad-wrap {
  padding: 12px 0;
}

.ad-unit {
  background: var(--surface-2);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ad-unit::before {
  content: attr(data-ad-pos);
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  opacity: .6;
}

.ad-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .3px;
}

.ad-leaderboard {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
}

.ad-billboard {
  width: 100%;
  max-width: 970px;
  height: 250px;
  margin: 0 auto;
}

.ad-mpu {
  width: 300px;
  height: 250px;
}

.ad-halfpage {
  width: 300px;
  height: 600px;
}

.ad-infeed {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
}

.footer-ad {
  margin: 20px auto;
}

/* ─── STICKY BOTTOM AD ──────────────────────────────────── */
.sticky-bottom-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(13,13,26,.95);
  backdrop-filter: blur(8px);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 2px solid var(--brand-red);
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}

.sticky-ad-close {
  position: absolute;
  top: 6px;
  right: 12px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  transition: all .2s;
}

.sticky-ad-close:hover { background: var(--brand-red); color: #fff; }

/* ─── SEARCH OVERLAY ────────────────────────────────────── */
.search-overlay {
  background: var(--bg);
  padding: 24px 0;
  border-bottom: 2px solid var(--brand-red);
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-header h2 { font-size: 22px; font-weight: 800; }

.close-search {
  background: var(--border);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all .2s;
}

.close-search:hover { background: var(--brand-red); color: #fff; }

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ─── HERO SECTION ──────────────────────────────────────── */
.hero-section {
  padding: 16px 16px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 14px;
  min-height: 420px;
}

.hero-main { grid-row: 1; }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-side > * { flex: 1; }

/* ─── CARD: HERO MAIN ───────────────────────────────────── */
.hero-card-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  min-height: 420px;
  box-shadow: var(--shadow-md);
  transition: transform .25s, box-shadow .25s;
}

.hero-card-main:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.hero-card-main .card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,15,.95) 0%, rgba(5,5,15,.6) 50%, transparent 100%);
}

.hero-card-main .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 24px;
}

.hero-card-main .card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.hero-card-main:hover .card-title { color: var(--brand-yellow); }

.hero-card-main .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ─── CARD: HERO SIDE ───────────────────────────────────── */
.hero-card-side {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  min-height: 192px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}

.hero-card-side:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-card-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 192px;
}

.hero-card-side .card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,15,.9) 0%, rgba(5,5,15,.4) 60%, transparent 100%);
}

.hero-card-side .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
}

.hero-card-side .card-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.hero-card-side:hover .card-title { color: var(--brand-yellow); }

.hero-card-side .card-meta {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ─── SPORT BADGE ───────────────────────────────────────── */
.sport-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  color: #fff;
}

.badge-Football { background: var(--football); }
.badge-Cricket { background: var(--cricket); }
.badge-F1 { background: var(--f1); }
.badge-Tennis { background: var(--tennis); }
.badge-Basketball { background: var(--basketball); }
.badge-Rugby { background: var(--rugby); }
.badge-Golf { background: var(--golf); }
.badge-Athletics { background: var(--athletics); }
.badge-default { background: var(--text-muted); }

/* ─── SECTION HEADER ────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 14px;
  border-left: 4px solid var(--brand-red);
  margin-bottom: 14px;
}

.section-header--football { border-left-color: var(--football); }
.section-header--cricket { border-left-color: var(--cricket); }
.section-header--f1 { border-left-color: var(--f1); }
.section-header--tennis { border-left-color: var(--tennis); }
.section-header--basketball { border-left-color: var(--basketball); }
.section-header--rugby { border-left-color: var(--rugby); }
.section-header--golf { border-left-color: var(--golf); }
.section-header--athletics { border-left-color: var(--athletics); }

.section-sport-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.3px;
}

.see-all-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-red);
  transition: color .2s;
}

.see-all-link:hover { color: var(--brand-red-dark); }

/* ─── 3-COLUMN LAYOUT (Football + Cricket + Sidebar) ──── */
.home-3col-wrap { padding: 20px 16px; }

.home-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* ─── 2-COLUMN LAYOUT (F1 + Tennis) ────────────────────── */
.home-2col-wrap { padding: 4px 16px 20px; }

.home-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ─── 3-SPORT LAYOUT (Basketball + Rugby + Golf) ──────── */
.home-3sport-wrap { padding: 4px 16px 20px; }

.home-3sport {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ─── SPORT COLUMN ──────────────────────────────────────── */
.sport-col { min-width: 0; }

/* ─── FEATURED CARD ─────────────────────────────────────── */
.featured-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.featured-card .fc-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.featured-card .fc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,15,.88) 0%, rgba(5,5,15,.35) 55%, transparent 100%);
}

.featured-card .fc-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
}

.featured-card .fc-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.featured-card:hover .fc-title { color: var(--brand-yellow); }

.featured-card .fc-meta {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ─── LIST CARD ─────────────────────────────────────────── */
.list-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background .15s;
}

.list-card:last-child { border-bottom: none; }

.list-card:hover { background: var(--surface-2); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 6px; }

.lc-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--border);
}

.lc-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  display: block;
}

.lc-img-wrap .sport-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9px;
  padding: 2px 5px;
  margin: 0;
}

.lc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card:hover .lc-title { color: var(--brand-red); }

.lc-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lc-meta .meta-sep { opacity: .4; }

/* ─── GRID CARD ─────────────────────────────────────────── */
.grid-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--border-light);
}

.grid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gc-img-wrap {
  position: relative;
  overflow: hidden;
}

.gc-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.grid-card:hover .gc-img { transform: scale(1.04); }

.gc-img-wrap .sport-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  margin: 0;
}

.gc-body {
  padding: 12px;
}

.gc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-card:hover .gc-title { color: var(--brand-red); }

.gc-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.gc-summary {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── SIDEBAR ───────────────────────────────────────────── */
.home-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.widget-header {
  background: var(--brand-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 14px;
}

.trending-list {
  padding: 8px 0;
  counter-reset: trend-counter;
}

.trending-list li {
  counter-increment: trend-counter;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trending-list li:last-child { border-bottom: none; }
.trending-list li:hover { background: var(--surface-2); color: var(--brand-red); }

.trending-list li::before {
  content: counter(trend-counter);
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 900;
  font-family: var(--font-serif);
  color: var(--border);
  line-height: 1;
  margin-top: 1px;
  min-width: 24px;
}

.trending-list li:nth-child(1)::before { color: var(--brand-red); }
.trending-list li:nth-child(2)::before { color: #EA580C; }
.trending-list li:nth-child(3)::before { color: var(--brand-yellow); }

/* ─── NEWSLETTER WIDGET ─────────────────────────────────── */
.newsletter-widget .newsletter-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 12px 14px 8px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px 14px;
}

.newsletter-form input {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font);
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s;
}

.newsletter-form input:focus { border-color: var(--brand-red); }

.newsletter-form button {
  background: var(--brand-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px;
  border-radius: 6px;
  transition: background .2s;
}

.newsletter-form button:hover { background: var(--brand-red-dark); }

/* ─── MOST READ ─────────────────────────────────────────── */
.most-read-section { padding: 16px; }

.most-read-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 4px 0;
  counter-reset: mr-counter;
  list-style: none;
}

.most-read-item {
  counter-increment: mr-counter;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.most-read-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.most-read-item::before {
  content: counter(mr-counter);
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}

.most-read-item:nth-child(1)::before { color: rgba(232,21,42,.25); }

.most-read-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.most-read-item:hover .most-read-title { color: var(--brand-red); }

.most-read-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── SKELETON LOADERS ──────────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton-card {
  background: linear-gradient(90deg, #e8eaed 25%, #f0f2f4 50%, #e8eaed 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--radius);
  min-height: 200px;
}

.skeleton-list-card {
  background: linear-gradient(90deg, #e8eaed 25%, #f0f2f4 50%, #e8eaed 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 6px;
  height: 80px;
  margin-bottom: 10px;
}

.skeleton-list-item {
  background: linear-gradient(90deg, #e8eaed 25%, #f0f2f4 50%, #e8eaed 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 4px;
  height: 40px;
  margin-bottom: 8px;
  list-style: none;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,.75);
  margin-top: 32px;
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}

.footer-social { display: flex; gap: 10px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  transition: all .2s;
}

.social-link:hover { background: var(--brand-red); color: #fff; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.9);
  margin-bottom: 14px;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}

.footer-col ul a:hover { color: #fff; }

.footer-newsletter p {
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-nl-form {
  display: flex;
  flex-direction: row !important;
  gap: 6px !important;
  padding: 0 !important;
}

.footer-nl-form input {
  flex: 1;
  background: rgba(255,255,255,.07) !important;
  border: 1.5px solid rgba(255,255,255,.15) !important;
  color: #fff !important;
}

.footer-nl-form input::placeholder { color: rgba(255,255,255,.3) !important; }

.footer-nl-form button {
  width: auto !important;
  padding: 9px 16px !important;
  white-space: nowrap;
}

.footer-sources {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-sources p {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 20px;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ─── SCROLL TO TOP ─────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9000;
  width: 42px;
  height: 42px;
  background: var(--brand-red);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn:hover { background: var(--brand-red-dark); transform: translateY(-2px); }

/* ─── TOAST ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--brand-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease;
  border-left: 4px solid var(--brand-red);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── SPORT PAGE ────────────────────────────────────────── */
.sport-hero-banner {
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sport-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(.8);
}

.sport-hero-inner {
  position: relative;
  z-index: 1;
}

.sport-hero-emoji { font-size: 56px; margin-bottom: 12px; }

.sport-hero-name {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  margin-bottom: 8px;
}

.sport-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

.sport-main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: 24px 16px;
}

.sport-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sport-sidebar { display: flex; flex-direction: column; gap: 20px; }

.load-more-wrap { text-align: center; padding: 24px 0; }

.load-more-btn {
  background: var(--brand-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: 8px;
  transition: background .2s, transform .2s;
}

.load-more-btn:hover { background: var(--brand-red-dark); transform: translateY(-2px); }
.load-more-btn:disabled { background: var(--text-muted); cursor: not-allowed; transform: none; }

/* ─── ARTICLE PAGE ──────────────────────────────────────── */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.breadcrumb-inner a { color: var(--brand-red); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: .5; }

.article-hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.article-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,15,.8) 0%, transparent 50%);
}

.article-hero-gradient-only {
  width: 100%;
  height: 320px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 32px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.article-main { min-width: 0; }

.article-header { margin-bottom: 20px; }

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.article-source {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.article-time {
  font-size: 12px;
  color: var(--text-muted);
}

.article-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-byline {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.article-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.article-body p { margin-bottom: 20px; }

.article-body .article-summary-para {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.article-editorial-note {
  background: var(--surface-2);
  border-left: 4px solid var(--brand-red);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin: 24px 0;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(232,21,42,.3);
}

.article-cta-btn:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,21,42,.4);
  color: #fff;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.share-section { margin: 24px 0; }

.share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s;
}

.share-btn-twitter { background: #000; color: #fff; }
.share-btn-twitter:hover { background: #333; }

.share-btn-facebook { background: #1877F2; color: #fff; }
.share-btn-facebook:hover { background: #1565C0; }

.share-btn-copy { background: var(--surface-2); color: var(--text-primary); border: 1.5px solid var(--border); }
.share-btn-copy:hover { background: var(--border); }

.related-section { margin-top: 32px; }

.related-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--brand-red);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.article-sidebar { display: flex; flex-direction: column; gap: 20px; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1200px) {
  .home-3col { grid-template-columns: 1fr 1fr 280px; }
  .most-read-list { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .home-3col { grid-template-columns: 1fr 1fr; }
  .home-sidebar { display: none; }
  .most-read-list { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }
  .logo-text { font-size: 18px; }
  .header-search { max-width: 200px; }
  .live-badge { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; }
  .home-3col { grid-template-columns: 1fr; }
  .home-2col { grid-template-columns: 1fr; }
  .home-3sport { grid-template-columns: 1fr 1fr; }
  .most-read-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sport-main-layout { grid-template-columns: 1fr; }
  .sport-articles-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-title { font-size: 26px; }
  .ad-billboard { height: 120px; }
  .ad-leaderboard { height: 60px; }
}

@media (max-width: 480px) {
  .home-3sport { grid-template-columns: 1fr; }
  .most-read-list { grid-template-columns: 1fr; }
  .hero-side { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .share-buttons { flex-direction: column; }
  .sport-hero-name { font-size: 32px; }
}

/* ─── ORIGINAL ARTICLE CONTENT ──────────────────────────── */
.article-full-content {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--text-primary);
  margin: 24px 0;
}

.article-full-content p {
  margin-bottom: 1.2em;
}

.article-full-content h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 1.6em 0 .6em;
  color: var(--text-primary);
}

.article-full-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.3em 0 .5em;
}

.article-full-content blockquote {
  border-left: 4px solid var(--brand-red);
  padding: 10px 20px;
  margin: 1.4em 0;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-full-content strong { font-weight: 700; }

/* ─── COOKIE CONSENT ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0A0A14;
  border-top: 3px solid var(--brand-red);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.35);
}

.cookie-banner.hidden { display: none; }

.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

.cookie-text a { color: var(--brand-red); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-btn-accept {
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.cookie-btn-accept:hover { background: var(--brand-red-dark); }

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,.55);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 6px;
  padding: 9px 16px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.cookie-btn-decline:hover { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.8); }

/* ─── UTILITY ───────────────────────────────────────────── */
.text-red { color: var(--brand-red); }
.col-list { padding-top: 4px; }
