/* ==========================================================================
   READYCRIC — Design System
   A scoreboard-ticker aesthetic: stadium-at-night navy, LED-lime accents,
   monospace "digital scoreboard" numerals for scores, condensed display type
   for headlines. Built mobile-first.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Space+Mono:wght@400;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* --- Color tokens --- */
  --navy-950:#070B14;
  --navy-900:#0B111F;
  --navy-800:#121A2C;
  --navy-700:#1B2540;
  --navy-600:#28345A;
  --line:#243052;

  --lime:#C9F31D;
  --lime-dim:#8FAE16;
  --red:#FF3D5A;
  --sky:#4FA3FF;
  --gold:#FFC24B;

  --paper:#F4F7FC;
  --muted:#8B93A8;
  --muted-dim:#5D667E;

  /* --- Type --- */
  --f-display:'Anton', 'Arial Narrow', sans-serif;
  --f-body:'Inter', -apple-system, sans-serif;
  --f-mono:'Space Mono', monospace;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }

body{
  background:var(--navy-950);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(201,243,29,0.06), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(79,163,255,0.07), transparent 55%);
  color:var(--paper);
  font-family:var(--f-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-family:var(--f-display); font-weight:400; letter-spacing:0.01em; line-height:1.05; }
p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }

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

/* Focus visibility */
a:focus-visible, label:focus-within{ outline:2px solid var(--lime); outline-offset:3px; border-radius:2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ==========================================================================
   Eyebrow / tag / mono utilities
   ========================================================================== */
.eyebrow{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--lime);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{
  content:'';
  width:7px; height:7px; border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 3px rgba(255,61,90,0.18);
}
.eyebrow.is-static::before{ background:var(--muted-dim); box-shadow:none; }

.tag{
  font-family:var(--f-mono);
  font-size:10.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:3px 9px;
  border-radius:3px;
  border:1px solid var(--line);
  color:var(--muted);
  white-space:nowrap;
}
.tag[data-sport="cricket"]{ color:var(--lime); border-color:rgba(201,243,29,0.35); }
.tag[data-sport="ipl"]{ color:var(--gold); border-color:rgba(255,194,75,0.35); }
.tag[data-sport="football"]{ color:var(--sky); border-color:rgba(79,163,255,0.35); }
.tag[data-sport="volleyball"]{ color:#FF9F6B; border-color:rgba(255,159,107,0.35); }
.tag[data-sport="insights"]{ color:#C89CFF; border-color:rgba(200,156,255,0.35); }
.tag[data-sport="entertainment"]{ color:var(--red); border-color:rgba(255,61,90,0.35); }

.mono{ font-family:var(--f-mono); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(7,11,20,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.logo{
  font-family:var(--f-display);
  font-size:26px;
  letter-spacing:0.02em;
  color:var(--paper);
  display:flex; align-items:baseline; gap:2px;
}
.logo span{ color:var(--lime); }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav a{
  font-family:var(--f-mono);
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--muted);
  padding:10px 13px;
  border-radius:5px;
  transition:color .15s ease, background .15s ease;
}
.main-nav a:hover, .main-nav a.is-active{ color:var(--navy-950); background:var(--lime); }

.header-actions{ display:flex; align-items:center; gap:14px; }

/* WhatsApp buttons — the ONLY two clickable "buttons" on the site */
.wa-btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--f-mono);
  font-size:12px; letter-spacing:0.04em;
  text-transform:uppercase;
  background:#22C35E;
  color:#06210F;
  font-weight:700;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid #1AA34E;
  box-shadow:0 6px 18px rgba(34,195,94,0.25);
  transition:transform .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.wa-btn:hover{ transform:translateY(-1px); box-shadow:0 10px 22px rgba(34,195,94,0.35); }
.wa-btn svg{ width:15px; height:15px; flex:none; }

.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:60;
  width:56px; height:56px; border-radius:50%;
  background:#22C35E; color:#06210F;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(0,0,0,0.45), 0 0 0 6px rgba(34,195,94,0.14);
  border:1px solid #1AA34E;
  animation:pulse-wa 2.6s ease-in-out infinite;
}
.wa-float svg{ width:26px; height:26px; }
@keyframes pulse-wa{
  0%,100%{ box-shadow:0 10px 26px rgba(0,0,0,0.45), 0 0 0 6px rgba(34,195,94,0.14); }
  50%{ box-shadow:0 10px 26px rgba(0,0,0,0.45), 0 0 0 10px rgba(34,195,94,0.05); }
}

/* Mobile nav toggle — pure CSS, checkbox-driven (no <button> element) */
.nav-toggle{ display:none; }
.nav-toggle-label{
  display:none;
  width:38px; height:34px;
  border:1px solid var(--line);
  border-radius:6px;
  cursor:pointer;
  align-items:center; justify-content:center;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after{
  content:''; display:block;
  width:18px; height:2px; background:var(--paper);
  position:relative; transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle-label span::before{ position:absolute; top:-6px; }
.nav-toggle-label span::after{ position:absolute; top:6px; }

/* ==========================================================================
   Scoreboard ticker (signature element)
   ========================================================================== */
.ticker{
  background:var(--navy-900);
  border-bottom:1px solid var(--line);
  overflow:hidden;
  position:relative;
}
.ticker::before{
  content:'LIVE';
  position:absolute; left:0; top:0; bottom:0; z-index:2;
  display:flex; align-items:center;
  font-family:var(--f-mono); font-size:11px; font-weight:700; letter-spacing:0.1em;
  color:var(--navy-950); background:var(--red);
  padding:0 14px;
}
.ticker::after{
  content:''; position:absolute; top:0; bottom:0; left:64px; width:36px; z-index:1;
  background:linear-gradient(90deg, var(--navy-900), transparent);
}
.ticker-track{
  display:flex; gap:0;
  width:max-content;
  padding-left:78px;
  animation:ticker-scroll 42s linear infinite;
}
.ticker:hover .ticker-track{ animation-play-state:paused; }
.ticker-item{
  display:flex; align-items:center; gap:10px;
  font-family:var(--f-mono); font-size:12.5px;
  color:var(--muted);
  padding:9px 26px;
  border-right:1px solid var(--line);
  white-space:nowrap;
}
.ticker-item b{ color:var(--paper); font-weight:700; }
.ticker-item .score{ color:var(--lime); }
@keyframes ticker-scroll{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  padding:56px 0 48px;
  border-bottom:1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:40px;
  align-items:start;
}
.hero-headline{
  font-size:clamp(34px, 5.2vw, 62px);
  margin:14px 0 18px;
  color:var(--paper);
}
.hero-headline em{ font-style:normal; color:var(--lime); }
.hero-dek{
  color:var(--muted);
  font-size:16.5px;
  max-width:56ch;
  margin-bottom:20px;
}
.hero-meta{
  display:flex; align-items:center; gap:14px;
  font-family:var(--f-mono); font-size:11.5px; color:var(--muted-dim);
}

.page-hero{ padding:44px 0 36px; border-bottom:1px solid var(--line); }
.page-hero .eyebrow{ margin-bottom:12px; }
.page-hero h1{ font-size:clamp(32px,5vw,54px); color:var(--paper); }
.page-hero p{ color:var(--muted); max-width:62ch; margin-top:14px; font-size:16px; }

/* Scorecard module — signature repeated component */
.scorecard{
  background:linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border:1px solid var(--line);
  border-radius:12px;
  padding:20px;
}
.scorecard-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:14px;
}
.scorecard-title{ font-family:var(--f-mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); }
.scorecard-row{
  display:flex; justify-content:space-between; align-items:baseline;
  padding:10px 0;
  border-top:1px dashed var(--line);
}
.scorecard-row:first-of-type{ border-top:none; }
.scorecard-team{ font-size:14.5px; color:var(--paper); font-weight:600; }
.scorecard-score{ font-family:var(--f-mono); font-size:20px; color:var(--lime); font-weight:700; letter-spacing:0.01em; }
.scorecard-foot{
  margin-top:14px; padding-top:12px; border-top:1px solid var(--line);
  font-family:var(--f-mono); font-size:11.5px; color:var(--muted-dim);
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.section{ padding:56px 0; border-bottom:1px solid var(--line); }
.section:last-of-type{ border-bottom:none; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:20px; margin-bottom:30px;
}
.section-head h2{ font-size:clamp(26px,3.4vw,38px); color:var(--paper); margin-top:8px; }
.section-head a.see-all{
  font-family:var(--f-mono); font-size:12px; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--sky); border-bottom:1px solid rgba(79,163,255,0.4); padding-bottom:2px;
  white-space:nowrap;
}
.section-head a.see-all:hover{ color:var(--lime); border-color:var(--lime); }

/* ==========================================================================
   Category grid (home)
   ========================================================================== */
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.cat-card{
  display:block;
  background:var(--navy-800);
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px 20px;
  transition:border-color .18s ease, transform .18s ease, background .18s ease;
}
.cat-card:hover{ border-color:var(--lime); transform:translateY(-3px); background:var(--navy-700); }
.cat-card .cat-num{ font-family:var(--f-mono); font-size:11px; color:var(--muted-dim); }
.cat-card h3{ font-size:24px; margin:10px 0 8px; color:var(--paper); }
.cat-card p{ font-size:13.5px; color:var(--muted); }
.cat-card .cat-arrow{ margin-top:14px; font-family:var(--f-mono); font-size:12px; color:var(--lime); }

/* ==========================================================================
   Article / headline cards
   ========================================================================== */
.headline-list{ display:flex; flex-direction:column; }
.headline-row{
  display:grid;
  grid-template-columns:110px 1fr auto;
  gap:18px;
  align-items:center;
  padding:18px 0;
  border-top:1px solid var(--line);
  transition:background .15s ease;
}
.headline-row:first-child{ border-top:none; }
.headline-row:hover{ background:rgba(201,243,29,0.03); }
.headline-time{ font-family:var(--f-mono); font-size:11.5px; color:var(--muted-dim); }
.headline-title{ font-family:var(--f-body); font-weight:600; font-size:16.5px; color:var(--paper); line-height:1.4; }
.headline-row:hover .headline-title{ color:var(--lime); }
.headline-dek{ font-size:13.5px; color:var(--muted); margin-top:4px; }
.headline-arrow{ font-family:var(--f-mono); color:var(--muted-dim); font-size:18px; }

.news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.news-card{
  display:flex; flex-direction:column; gap:12px;
  background:var(--navy-800);
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px;
  transition:border-color .18s ease, transform .18s ease;
}
.news-card:hover{ border-color:var(--sky); transform:translateY(-3px); }
.news-card .tag{ align-self:flex-start; }
.news-card h3{ font-family:var(--f-body); font-weight:700; font-size:18px; color:var(--paper); line-height:1.35; }
.news-card:hover h3{ color:var(--lime); }
.news-card p{ font-size:13.75px; color:var(--muted); }
.news-card .card-meta{ margin-top:auto; font-family:var(--f-mono); font-size:11px; color:var(--muted-dim); display:flex; justify-content:space-between; }

/* ==========================================================================
   Insights / Entertainment cards (feature style)
   ========================================================================== */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature-card{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:var(--navy-800);
  transition:transform .18s ease, border-color .18s ease;
}
.feature-card:hover{ transform:translateY(-4px); border-color:var(--lime); }
.feature-card-top{
  height:6px;
  background:linear-gradient(90deg, var(--lime), var(--sky));
}
.feature-card-body{ padding:24px; }
.feature-card .num{ font-family:var(--f-mono); font-size:34px; color:var(--navy-600); font-weight:700; }
.feature-card h3{ font-family:var(--f-body); font-weight:700; font-size:19px; margin:10px 0 10px; color:var(--paper); }
.feature-card p{ font-size:14px; color:var(--muted); }
.feature-card .read-more{ display:inline-block; margin-top:14px; font-family:var(--f-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em; color:var(--sky); }

/* ==========================================================================
   Stat strip
   ========================================================================== */
.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line); border-radius:12px; overflow:hidden;
  background:var(--navy-800);
}
.stat{ padding:22px 18px; text-align:center; border-right:1px solid var(--line); }
.stat:last-child{ border-right:none; }
.stat .stat-num{ font-family:var(--f-mono); font-size:30px; color:var(--lime); font-weight:700; }
.stat .stat-label{ font-size:11.5px; color:var(--muted); text-transform:uppercase; letter-spacing:0.06em; margin-top:6px; }

/* ==========================================================================
   Callout (whatsapp mid-page banner) — text/link only, no extra button
   ========================================================================== */
.callout{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  flex-wrap:wrap;
  background:linear-gradient(120deg, rgba(34,195,94,0.12), rgba(201,243,29,0.05));
  border:1px solid rgba(34,195,94,0.3);
  border-radius:14px;
  padding:26px 28px;
}
.callout h3{ font-family:var(--f-body); font-weight:700; font-size:18px; color:var(--paper); }
.callout p{ color:var(--muted); font-size:13.75px; margin-top:6px; }

/* ==========================================================================
   Legal / long-form text pages
   ========================================================================== */
.legal{ padding:48px 0 80px; }
.legal .container{ max-width:820px; }
.legal h2{ font-family:var(--f-body); font-weight:800; font-size:22px; color:var(--paper); margin:36px 0 12px; }
.legal h2:first-of-type{ margin-top:8px; }
.legal p, .legal li{ color:var(--muted); font-size:15px; margin-bottom:12px; }
.legal ul{ padding-left:20px; list-style:disc; }
.legal li{ margin-bottom:8px; }
.legal .updated{ font-family:var(--f-mono); font-size:12px; color:var(--muted-dim); margin-bottom:30px; display:block; }
.legal strong{ color:var(--paper); }

/* ==========================================================================
   Promo popup — appears centered on homepage load.
   NOT a login/signup form: it's an ad card + WhatsApp CTA only.
   ========================================================================== */
.promo-overlay{
  position:fixed; inset:0; z-index:100;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  background:rgba(5,7,13,0.72);
  backdrop-filter:blur(6px);
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.promo-overlay.is-open{ opacity:1; pointer-events:auto; }

.promo-card{
  width:100%; max-width:400px;
  background:var(--navy-800);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 30px 70px rgba(0,0,0,0.55);
  position:relative;
  transform:translateY(14px) scale(0.97);
  opacity:0;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.promo-overlay.is-open .promo-card{ transform:translateY(0) scale(1); opacity:1; }

.promo-close{
  position:absolute; top:12px; right:12px; z-index:2;
  width:30px; height:30px; border-radius:50%;
  background:rgba(7,11,20,0.55);
  border:1px solid var(--line);
  color:var(--paper);
  display:flex; align-items:center; justify-content:center;
  font-size:18px; line-height:1;
  transition:background .15s ease, transform .15s ease;
}
.promo-close:hover{ background:var(--red); transform:rotate(90deg); }

.promo-art svg{ width:100%; height:auto; display:block; }

.promo-body{ padding:24px 26px 28px; text-align:left; }
.promo-body .eyebrow{ margin-bottom:10px; }
.promo-body h3{
  font-family:var(--f-body); font-weight:800; font-size:20px;
  color:var(--paper); margin-bottom:10px; line-height:1.3;
}
.promo-body p{ font-size:13.75px; color:var(--muted); margin-bottom:18px; }
.promo-wa-btn{ width:100%; justify-content:center; padding:13px 16px; font-size:13px; }
.promo-dismiss{
  display:block; text-align:center; margin-top:14px;
  font-family:var(--f-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em;
  color:var(--muted-dim);
}
.promo-dismiss:hover{ color:var(--muted); }

@media (max-width:480px){
  .promo-body{ padding:20px 20px 24px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background:var(--navy-900); border-top:1px solid var(--line); padding:52px 0 26px; }
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr 1.1fr;
  gap:30px;
  padding-bottom:36px;
  border-bottom:1px solid var(--line);
}
.footer-brand .logo{ margin-bottom:12px; }
.footer-brand p{ font-size:13.5px; color:var(--muted); max-width:32ch; }
.footer-col h4{
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--muted-dim); margin-bottom:14px; font-weight:400;
}
.footer-col a{ display:block; font-size:13.75px; color:var(--muted); padding:6px 0; transition:color .15s ease; }
.footer-col a:hover{ color:var(--lime); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top:22px;
  font-family:var(--f-mono); font-size:11.5px; color:var(--muted-dim);
}
.footer-bottom a{ color:var(--muted-dim); }
.footer-bottom a:hover{ color:var(--lime); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .news-grid{ grid-template-columns:repeat(2,1fr); }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .stat-strip{ grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(2){ border-right:none; }
}

@media (max-width: 720px){
  .nav-toggle-label{ display:flex; }
  .main-nav{
    position:fixed; inset:60px 0 0 0; z-index:49;
    background:var(--navy-950);
    flex-direction:column; align-items:stretch;
    padding:14px;
    transform:translateY(-8px);
    opacity:0; pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
    overflow-y:auto;
  }
  .main-nav a{ padding:16px 14px; font-size:14px; border-bottom:1px solid var(--line); border-radius:0; }
  .nav-toggle:checked ~ .main-nav{ opacity:1; pointer-events:auto; transform:translateY(0); }
  .header-actions .wa-btn span.wa-label-full{ display:none; }
  .cat-grid{ grid-template-columns:1fr 1fr; }
  .news-grid{ grid-template-columns:1fr; }
  .feature-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .headline-row{ grid-template-columns:1fr; gap:4px; }
  .headline-time{ order:2; }
  .headline-arrow{ display:none; }
  .stat-strip{ grid-template-columns:1fr 1fr; }
}
