/* sports.css — layout, navigation, hero, stat cards, status bar, sections.
   Premium RuslanMV dashboard: dark nav, emerald accents, light page, rounded
   cards, soft shadows, large dark-green hero. */

:root {
  --s-bg: #eef1f3;
  --s-text: #14181a;
  --s-muted: #6b7480;
  --s-green: #0aa06e;
  --s-green-d: #0a7d56;
  --s-green-soft: #e9f7f1;
  --s-emerald: #18d08f;
  --s-line: #e4e8ec;
  --s-card: #ffffff;
  --s-nav: #0b0e0d;
  --s-red: #e5484d;
  --s-shadow: 0 16px 40px rgba(13, 30, 22, 0.10);
  --s-shadow-sm: 0 8px 22px rgba(13, 30, 22, 0.06);
  --s-radius: 18px;
  --s-radius-lg: 24px;
}

* { box-sizing: border-box; }

.sports-page {
  margin: 0;
  background: var(--s-bg);
  color: var(--s-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Top navigation ---------- */
.sports-topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  background: var(--s-nav);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.sports-brand {
  color: var(--s-emerald);
  font-weight: 800;
  text-decoration: none;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.sports-topnav { display: flex; gap: 26px; align-items: center; }
.sports-topnav a { color: #e7eae8; text-decoration: none; font-weight: 500; font-size: 15px; position: relative; padding: 22px 0; }
.sports-topnav a:hover { color: #fff; }
.sports-topnav a.active { color: var(--s-emerald); }
.sports-topnav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 16px;
  height: 2px; background: var(--s-emerald); border-radius: 2px;
}
.sports-nav-tools { display: flex; gap: 18px; align-items: center; color: #fff; }
.sports-nav-tools button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; }

/* ---------- Nav dropdown group ---------- */
.sports-nav-group { position: relative; display: flex; align-items: center; }
.sports-nav-group__btn {
  background: none; border: 0; color: #e7eae8; cursor: pointer;
  font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 5px;
  padding: 22px 0; line-height: 1; font-family: inherit;
}
.sports-nav-group__btn:hover { color: #fff; }
.sports-nav-caret { font-size: 0.68em; opacity: 0.7; transition: transform 0.15s ease; display: inline-block; }
.sports-nav-group.is-open .sports-nav-caret { transform: rotate(180deg); }
.sports-nav-group.is-open .sports-nav-group__btn { color: var(--s-emerald); }
.sports-nav-group__menu {
  position: absolute; top: calc(100% + 2px); left: 0;
  padding: 6px 0; min-width: 140px; background: #141f1b;
  border: 1px solid #293530; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 70;
}
.sports-nav-group:hover .sports-nav-group__menu,
.sports-nav-group.is-open .sports-nav-group__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sports-nav-group__menu a {
  display: block; padding: 10px 18px; color: #d6d6d6; text-decoration: none;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  position: static; padding-top: 10px; padding-bottom: 10px;
}
.sports-nav-group__menu a:hover { background: #1e2e28; color: #fff; }
.sports-nav-group__menu a.active { color: var(--s-emerald); }
.sports-nav-group__menu a.active::after { display: none; }

/* ---------- Shell ---------- */
.sports-shell { max-width: 1240px; margin: 0 auto; padding: 26px 28px 90px; }

/* ---------- Hero ---------- */
.sports-hero {
  position: relative;
  border-radius: var(--s-radius-lg);
  padding: 54px 56px 96px;
  color: #fff;
  background:
    radial-gradient(120% 130% at 86% 8%, rgba(24, 208, 143, 0.30), transparent 46%),
    linear-gradient(135deg, #08140e 0%, #0c3a27 55%, #06160f 100%);
  box-shadow: var(--s-shadow);
  overflow: hidden;
}
.sports-hero::after {
  content: ""; position: absolute; inset: 0;
  background: url('../images/sports/hero-waves.svg') right -2% center / 56% auto no-repeat;
  opacity: 0.85; pointer-events: none;
}
.sports-hero-copy { position: relative; z-index: 2; max-width: 680px; }
.sports-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--s-emerald); text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 800; font-size: 13px; margin: 0;
}
.sports-eyebrow i { width: 9px; height: 9px; background: var(--s-emerald); border-radius: 50%; box-shadow: 0 0 0 4px rgba(24,208,143,.22); }
.sports-hero h1 { margin: 20px 0 16px; font-size: clamp(40px, 6vw, 70px); line-height: 0.96; letter-spacing: -0.045em; font-weight: 800; }
.sports-hero-subtitle { max-width: 520px; color: rgba(236, 253, 245, 0.80); font-size: 18px; line-height: 1.55; margin: 0; }

/* ---------- Stat cards (overlap hero) ---------- */
.sports-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: 920px; margin: -64px auto 0; position: relative; z-index: 5;
}
.sports-stats article {
  background: #fff; border-radius: 16px; padding: 22px 18px; text-align: center;
  box-shadow: var(--s-shadow); border: 1px solid rgba(255,255,255,.6);
}
.sports-stats .stat-ic { color: var(--s-green); font-size: 22px; }
.sports-stats strong { display: block; color: #0c3a27; font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.sports-stats strong .unit { font-size: 18px; color: var(--s-green); margin-left: 4px; font-weight: 800; }
.sports-stats em { display: block; color: var(--s-muted); font-weight: 700; text-transform: uppercase; font-style: normal; letter-spacing: 0.05em; font-size: 12px; margin-top: 2px; }

/* ---------- Status / action bar ---------- */
.sports-status-bar {
  background: #fff; border-radius: 16px; padding: 14px 20px; margin-top: 26px;
  box-shadow: var(--s-shadow-sm); border: 1px solid var(--s-line);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.sports-status-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--s-green); }
.sports-status-live i { width: 9px; height: 9px; background: var(--s-green); border-radius: 50%; animation: s-pulse 1.6s infinite; }
@keyframes s-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.sports-status-bar .status-text { color: var(--s-muted); margin: 0; font-size: 15px; }
.sports-status-bar .status-text b { color: var(--s-text); font-weight: 700; }
.sports-status-actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.sports-button {
  border: 1px solid var(--s-line); background: #fff; color: var(--s-text);
  border-radius: 11px; padding: 11px 18px; font-weight: 700; font-size: 14px;
  text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.sports-button:hover { border-color: #cfd6db; }
.sports-button.active { background: #11201a; color: #fff; border-color: #11201a; }

/* ---------- Sections ---------- */
.sports-section { margin-top: 40px; }
.sports-section-title { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.sports-section-title::before { content: ""; width: 4px; height: 22px; background: var(--s-green); border-radius: 3px; }

/* ---------- Snapshot 3-column grid ---------- */
.sports-snapshot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }

/* ---------- Explore Sports ---------- */
.sports-explore-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ---------- Disclaimer ---------- */
.sports-disclaimer {
  margin-top: 34px; padding: 16px 20px; background: #fff; border: 1px solid var(--s-line);
  border-radius: 14px; color: var(--s-muted); font-size: 13.5px; line-height: 1.55;
}
.sports-disclaimer strong { color: var(--s-text); }

/* ---------- World Cup banner ---------- */
.wc-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; padding: 14px 20px; border-radius: 16px; text-decoration: none;
  color: #eafff6; background: linear-gradient(110deg, #0a1f3a 0%, #0c3a27 60%, #0aa06e 140%);
  box-shadow: var(--s-shadow-sm); border: 1px solid rgba(24,208,143,.3);
}
.wc-banner-badge { font-weight: 800; font-size: 14px; }
.wc-banner-text { color: rgba(234,255,246,.82); font-size: 14px; flex: 1; min-width: 200px; }
.wc-banner-text b { color: #fff; }
.wc-banner-cta { font-weight: 800; color: var(--s-emerald); white-space: nowrap; }
.wc-banner:hover .wc-banner-cta { text-decoration: underline; }

/* ---------- Sub-page header + breadcrumb ---------- */
.page-hero {
  position: relative; border-radius: var(--s-radius-lg); margin-bottom: 8px;
  padding: 30px 36px 34px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 130% at 88% 0%, rgba(24,208,143,.28), transparent 46%),
    linear-gradient(135deg, #08140e 0%, #0c3a27 60%, #06160f 100%);
  box-shadow: var(--s-shadow);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-title { margin: 12px 0 8px; font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.page-hero-sub { margin: 0; max-width: 640px; color: rgba(236,253,245,.82); font-size: 16px; line-height: 1.5; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.crumbs a { color: var(--s-emerald); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumb-sep { color: rgba(255,255,255,.4); }
.crumb-current { color: rgba(255,255,255,.85); }
.page-back { display: inline-block; margin-top: 16px; color: var(--s-emerald); font-weight: 700; font-size: 14px; text-decoration: none; }
.page-back:hover { text-decoration: underline; }
