/* ============================================================
   main.css — كم باقي؟ — Design System
   ============================================================ */

/* ── FONTS ── */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── VARIABLES ── */
:root {
  --green:    #0a6640;
  --gm:       #1a8a52;
  --gl:       #e8f5ee;
  --gb:       #b8dfc9;
  --gd:       #064d2e;

  --gold:     #c8780a;
  --goldl:    #fef3e2;
  --goldb:    #f0cc80;

  --blue:     #1a5fa0;
  --bluel:    #e8f0fb;
  --blueb:    #b8d4ef;

  --rose:     #b02d42;
  --rosel:    #fdeef1;
  --roseb:    #f0b8c0;

  --purple:   #4e35a0;
  --purplel:  #eeebfb;
  --purpleb:  #cac4f5;

  --orange:   #b85a0a;
  --orangel:  #fef0e6;

  --text:     #0f1923;
  --text2:    #3d4f62;
  --muted:    #5a6877;
  --border:   #e2e8f0;
  --bg:       #f7f8fa;
  --white:    #ffffff;
  --surface:  #f0f3f7;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.05);

  --nav-h: 68px;
  --max-w: 1280px;
  --container-pad: 48px;
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: opacity .2s;
}
.logo:hover { opacity: .85; }
.logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gm);
}

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text2);
  transition: background .15s, color .15s;
  border: none;
  background: none;
}
.nav-link:hover { background: var(--gl); color: var(--green); }
.nav-link.active { background: var(--gl); color: var(--green); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.date-badge {
  background: var(--gl);
  border: 1px solid var(--gb);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}
.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2);
  transition: background .15s, border-color .15s;
}
.nav-icon-btn:hover { background: var(--gl); border-color: var(--gb); color: var(--green); }

.btn-app {
  display: flex; align-items: center; gap: 6px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s, transform .1s;
}
.btn-app:hover { background: var(--gm); }
.btn-app:active { transform: scale(.98); }

/* Search bar in nav */
.nav-search-bar {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 10px 0;
}
.nav-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  transition: border-color .2s;
}
.nav-search-form:focus-within { border-color: var(--gb); }
.nav-search-input {
  flex: 1; border: none; outline: none;
  font-size: 15px; font-family: 'Tajawal', sans-serif;
  background: none; color: var(--text); text-align: right;
}
.nav-search-input::placeholder { color: var(--muted); }
.btn-search-submit {
  background: var(--green); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 7px 16px; font-size: 13px; font-weight: 700;
  font-family: 'Tajawal', sans-serif;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column; gap: 5px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mobile-menu-btn span {
  width: 18px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mobile-menu { background: var(--white); border-top: 1px solid var(--border); }
.mobile-menu-inner { padding: 12px var(--container-pad) 20px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-link {
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; color: var(--text2);
}
.mobile-nav-link.active { background: var(--gl); color: var(--green); }
.mobile-date { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); margin-top: 8px; }

/* ── HERO ── */
.hero {
  padding: 64px var(--container-pad) 56px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gl); border: 1px solid var(--gb);
  border-radius: 20px; padding: 6px 14px;
  font-size: 13px; color: var(--green); font-weight: 700;
  margin-bottom: 20px;
}
.hero-tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gm); }
.hero-h1 {
  font-size: 54px; font-weight: 900; color: var(--text);
  line-height: 1.15; margin-bottom: 16px;
}
.hero-h1 em { font-style: normal; color: var(--green); }
.hero-sub {
  font-size: 18px; color: var(--text2); line-height: 1.75;
  margin-bottom: 30px; max-width: 460px; font-weight: 400;
}
.hero-search {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 14px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px; max-width: 500px;
  transition: border-color .2s, box-shadow .2s;
}
.hero-search:focus-within {
  border-color: var(--gb);
  box-shadow: 0 0 0 4px rgba(26,138,82,.08);
}
.hero-search input {
  flex: 1; border: none; outline: none;
  font-size: 15px; font-family: 'Tajawal', sans-serif;
  color: var(--text); background: none; text-align: right;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search-btn {
  background: var(--green); color: #fff;
  border: none; border-radius: var(--radius-md);
  padding: 10px 18px; font-size: 14px; font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: background .15s;
}
.hero-search-btn:hover { background: var(--gm); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 14px;
  font-size: 14px; font-weight: 600; color: var(--text2);
  transition: all .15s; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.chip:hover { background: var(--gl); border-color: var(--gb); color: var(--green); }
.chip.active { background: var(--gl); border-color: var(--gb); color: var(--green); }

/* Hero right cards */
.hero-cards { display: flex; flex-direction: column; gap: 12px; }

/* ── SALARY HERO CARD ── */
.sal-hero-card {
  background: var(--green);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative; overflow: hidden;
  color: #fff;
}
.sal-hero-card::before {
  content: '';
  position: absolute; top: -40px; left: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.shc-label { font-size: 10px; color: rgba(255,255,255,.6); font-weight: 700; letter-spacing: .5px; margin-bottom: 5px; text-transform: uppercase; }
.shc-name  { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.shc-days  { font-size: 58px; font-weight: 900; line-height: 1; }
.shc-days small { font-size: 18px; font-weight: 500; color: rgba(255,255,255,.7); }
.shc-date  { font-size: 13px; color: rgba(255,255,255,.65); margin: 5px 0 16px; }
.shc-bottom { display: flex; justify-content: space-between; align-items: center; }
.shc-hijri {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; padding: 4px 10px; font-size: 11px;
}
.shc-prog { display: flex; align-items: center; gap: 6px; }
.shc-bar  { width: 80px; height: 5px; background: rgba(255,255,255,.2); border-radius: 3px; overflow: hidden; }
.shc-fill { height: 100%; background: #fff; border-radius: 3px; transition: width 1s ease; }
.shc-pct  { font-size: 11px; color: rgba(255,255,255,.8); }

/* ── MINI CARDS ── */
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px;
  transition: border-color .15s, box-shadow .15s;
  cursor: default;
}
.mini-card:hover { border-color: var(--gb); box-shadow: var(--shadow-sm); }
.mini-card.accent { border-color: var(--gb); background: var(--gl); }
.mc-icon  { font-size: 20px; margin-bottom: 8px; display: block; }
.mc-name  { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.mc-days  { font-size: 24px; font-weight: 900; line-height: 1; color: var(--text); }
.mc-days small { font-size: 11px; font-weight: 400; color: var(--muted); }
.mc-date  { font-size: 10px; color: var(--muted); margin-top: 3px; }

/* ── EVENT CARDS ── */
.event-row-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 13px 15px;
  display: flex; align-items: center; gap: 12px;
  transition: border-color .15s;
  cursor: default;
}
.event-row-card:hover { border-color: var(--gb); }
.erc-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.erc-info { flex: 1; }
.erc-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.erc-date { font-size: 11px; color: var(--muted); }
.erc-badge {
  border-radius: 8px; padding: 4px 10px; font-size: 11px;
  font-weight: 700; flex-shrink: 0; border: 1px solid;
  white-space: nowrap;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 56px;
  padding: 20px 0;
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex; justify-content: space-around; align-items: center;
}
.stat-item { text-align: center; }
.stat-number { font-size: 30px; font-weight: 900; color: var(--green); }
.stat-label  { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── SECTION ── */
.section {
  padding: 64px var(--container-pad);
  max-width: var(--max-w); margin: 0 auto;
}
.section-white { background: var(--white); }
.section-gray  { background: var(--bg); }

.section-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 28px;
}
.section-tag   { font-size: 12px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.section-title { font-size: 30px; font-weight: 900; color: var(--text); }
.section-title em { font-style: normal; color: var(--green); }
.see-all-btn {
  font-size: 13px; font-weight: 700; color: var(--green);
  border: 1px solid var(--gb); background: var(--gl);
  border-radius: var(--radius-sm); padding: 8px 16px;
  transition: all .15s; white-space: nowrap;
  text-decoration: none;
}
.see-all-btn:hover { background: var(--gb); }

/* ── SALARY CARDS GRID ── */
.salaries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.salary-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  transition: all .2s; cursor: default;
  position: relative;
}
.salary-card:hover { border-color: var(--gb); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.salary-card.next  { border-color: var(--gb); background: var(--gl); }
.salary-card.soon  { border-color: var(--blueb); background: var(--bluel); }

.sc-icon  { font-size: 28px; margin-bottom: 12px; display: block; }
.sc-name  { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 5px; }
.sc-days  { font-size: 34px; font-weight: 900; line-height: 1; }
.sc-days small { font-size: 13px; font-weight: 400; color: var(--muted); }
.sc-date  { font-size: 12px; color: var(--text2); margin-top: 6px; font-weight: 500; }
.sc-hijri { font-size: 11px; color: var(--muted); margin-top: 3px; }
.sc-adj   {
  display: inline-block; font-size: 10px; font-weight: 700;
  border-radius: 6px; padding: 2px 8px; margin-top: 8px; border: 1px solid;
}

.salary-app-card {
  background: var(--gl); border: 1.5px dashed var(--gb);
  border-radius: var(--radius-lg); padding: 18px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; text-align: center; cursor: pointer;
  transition: all .2s;
}
.salary-app-card:hover { background: var(--gb); }
.salary-app-card .app-ico { font-size: 28px; }
.salary-app-card .app-t   { font-size: 13px; font-weight: 700; color: var(--green); }
.salary-app-card .app-s   { font-size: 11px; color: var(--muted); }

/* ── OCCASIONS GRID ── */
.occasions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.occasion-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  transition: all .2s; cursor: default;
}
.occasion-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.oc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.oc-icon { width: 50px; height: 50px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.oc-badge { font-size: 11px; font-weight: 700; border-radius: 8px; padding: 4px 10px; border: 1px solid; }
.oc-name  { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.oc-date  { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.oc-days  { font-size: 44px; font-weight: 900; line-height: 1; }
.oc-dlbl  { font-size: 13px; color: var(--muted); margin-top: 3px; }
.oc-hijri { font-size: 12px; color: var(--muted); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ── FOOTBALL ── */
.football-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.match-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  transition: all .2s; cursor: default;
}
.match-card:hover { border-color: var(--blueb); box-shadow: var(--shadow-sm); }
.match-card.live  { border-color: var(--roseb); background: var(--rosel); }
.match-card.live::before {
  content: ''; display: block;
  height: 3px; background: var(--rose);
  margin: -16px -16px 14px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mc-top   { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mc-league{ font-size: 12px; font-weight: 700; color: var(--muted); }
.mc-status{ font-size: 10px; font-weight: 700; border-radius: 6px; padding: 3px 8px; border: 1px solid; }
.mc-teams { display: flex; align-items: center; justify-content: space-between; }
.mc-team  { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.mc-logo  { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.mc-tname { font-size: 13px; font-weight: 700; color: var(--text); text-align: center; }
.mc-vs    { text-align: center; flex-shrink: 0; padding: 0 10px; }
.mc-score { font-size: 26px; font-weight: 900; color: var(--text); letter-spacing: 2px; }
.mc-time  { font-size: 12px; color: var(--muted); margin-top: 3px; }
.mc-days  { font-size: 11px; font-weight: 700; }

/* ── IPO ── */
.ipo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ipo-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  transition: all .2s;
}
.ipo-card:hover { border-color: var(--goldb); box-shadow: var(--shadow-sm); }
.ipo-card.open  { border-color: var(--gb); background: var(--gl); }

.ipo-top    { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ipo-symbol { font-size: 18px; font-weight: 900; color: var(--text); }
.ipo-badge  { font-size: 11px; font-weight: 700; border-radius: 7px; padding: 4px 10px; border: 1px solid; }
.ipo-name   { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ipo-sector { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.ipo-dates  { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--border); padding-top: 12px; }
.ipo-row    { display: flex; justify-content: space-between; font-size: 12px; }
.ipo-lbl    { color: var(--muted); font-size: 13px; }
.ipo-val    { font-weight: 700; color: var(--text); }
.ipo-val.green  { color: var(--green); }
.ipo-val.gold   { color: var(--gold); }
.ipo-val.blue   { color: var(--blue); }

/* ── CTA SECTION ── */
.cta-section { background: var(--green); padding: 64px 0; }
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
}
.cta-title { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.cta-desc  { font-size: 17px; color: rgba(255,255,255,.75); max-width: 400px; line-height: 1.7; }
.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md); padding: 12px 20px;
  color: #fff; transition: background .15s;
}
.store-btn:hover { background: rgba(255,255,255,.25); }
.store-sub  { display: block; font-size: 10px; color: rgba(255,255,255,1); font-weight: 500; }
.store-name { display: block; font-size: 16px; font-weight: 700; color: #fff; }

/* ── FOOTER ── */
.site-footer { background: var(--white); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-logo    { font-size: 20px; font-weight: 900; color: var(--green); display: block; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.footer-hijri   { font-size: 12px; color: var(--green); font-weight: 600; }
.footer-col-title { font-size: 12px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer-link { display: block; font-size: 14px; color: var(--text2); padding: 4px 0; transition: color .15s; }
.footer-link:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; flex-direction: column; gap: 5px; }
.footer-copy       { font-size: 13px; color: var(--text2); }
.footer-disclaimer { font-size: 11px; color: var(--muted); opacity: .7; }

/* ── BADGE COLORS ── */
.badge-green  { background: var(--gl);      color: var(--green);  border-color: var(--gb); }
.badge-blue   { background: var(--bluel);   color: var(--blue);   border-color: var(--blueb); }
.badge-gold   { background: var(--goldl);   color: var(--gold);   border-color: var(--goldb); }
.badge-rose   { background: var(--rosel);   color: var(--rose);   border-color: var(--roseb); }
.badge-purple { background: var(--purplel); color: var(--purple); border-color: var(--purpleb); }

/* ── UTILITIES ── */
.text-green  { color: var(--green); }
.text-blue   { color: var(--blue); }
.text-gold   { color: var(--gold); }
.text-rose   { color: var(--rose); }
.text-purple { color: var(--purple); }
.text-muted  { color: var(--muted); }
.font-bold   { font-weight: 700; }
.font-black  { font-weight: 900; }
.hidden      { display: none !important; }

/* ── COUNTDOWN ── */
.countdown-live {
  font-variant-numeric: tabular-nums;
  will-change: contents;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --container-pad: 24px; }
  .hero-grid        { grid-template-columns: 1fr; gap: 48px; }
  .hero-cards       { order: -1; }
  .hero-h1          { font-size: 40px; }
  .salaries-grid    { grid-template-columns: repeat(2, 1fr); }
  .occasions-grid   { grid-template-columns: repeat(2, 1fr); }
  .football-grid    { grid-template-columns: repeat(2, 1fr); }
  .ipo-grid         { grid-template-columns: repeat(2, 1fr); }
  /* Footer links grid: 3 cols × 2 rows desktop, 2 cols × 3 rows mobile */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.footer-grid      { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-inner      { gap: 0; }
  .stat-number      { font-size: 24px; }
}

@media (max-width: 768px) {
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  :root { --container-pad: 16px; }
  .nav-links      { display: none; }
  .date-badge     { display: none; }
  .mobile-menu-btn{ display: flex; }
  .btn-app        { display: none; }

  .hero           { padding-top: 32px; padding-bottom: 36px; }
  .hero-h1        { font-size: 32px; }
  .hero-sub       { font-size: 15px; }
  .hero-search    { max-width: 100%; }

  .stats-inner    { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-divider   { display: none; }

  .salaries-grid  { grid-template-columns: 1fr 1fr; }
  .occasions-grid { grid-template-columns: 1fr; }
  .football-grid  { grid-template-columns: 1fr; }
  .ipo-grid       { grid-template-columns: 1fr; }

  .section        { padding: 36px var(--container-pad); }
  .section-header { flex-direction: column; gap: 12px; align-items: flex-start; }

  .cta-inner      { flex-direction: column; gap: 24px; }
  .cta-title      { font-size: 24px; }
  .cta-buttons    { flex-wrap: wrap; }

  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* inline grids fix */
  .grid-2col-mobile { grid-template-columns: 1fr !important; }
  .grid-3col-mobile { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .grid-3col-mobile { grid-template-columns: 1fr !important; }
  .salaries-grid  { grid-template-columns: 1fr; }
  .mini-cards     { grid-template-columns: 1fr 1fr; }
  .hero-h1        { font-size: 26px; }
  .shc-days       { font-size: 44px; }
  .sc-days        { font-size: 26px; }
  .section-title  { font-size: 24px; }
  .oc-days        { font-size: 32px; }
}
