/* Fantasy Cricket Money - CLEAN CSS - 2026-07-06 v3
   Brand: Green #15803D + Gold #FACC15
   */

:root {
  --primary: #15803D;
  --primary-dark: #052E16;
  --accent: #FACC15;
  --accent-light: #FDE68A;
  --text: #052E16;
  --text-light: #555;
  --muted: #6B7280;
  --bg: #fff;
  --surface: #FAFAFA;
  --border: #E5E7EB;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-top: 92px;  /* topbar 32 + header 60 */
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

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

/* TOPBAR - simple fixed top */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: var(--primary-dark);
  color: #fff;
  border-bottom: 2px solid var(--accent);
  z-index: 103;
  display: flex;
  align-items: center;
  font-size: 12px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  height: 100%;
}
.topbar .promo { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .badge { background: var(--accent); color: var(--primary-dark); padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 900; }
.topbar .social { display: flex; gap: 8px; }
.topbar .social a { color: #fff; padding: 2px 8px; border: 1px solid rgba(255,255,255,0.3); border-radius: 3px; font-size: 11px; }

/* HEADER - fixed below topbar */
header.site {
  position: fixed;
  top: 32px;
  left: 0; right: 0;
  height: 60px;
  background: #fff;
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(21,128,61,0.12);
  z-index: 102;
  display: flex;
  align-items: center;
}
header.site .container {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo .mark {
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 900;
}
.logo .cs {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-left: 4px;
}

/* NAV - simple horizontal menu */
nav.main {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
}
nav.main a {
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 6px;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

/* HEADER CTA BUTTON */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
}
.btn-primary { background: var(--accent); color: var(--primary-dark); }
.btn-primary:hover { background: #F59E0B; }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }

/* HAMBURGER - 3 bars simple */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 2px solid var(--text);
  border-radius: 4px;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px;
  width: 22px !important;
  height: 3px !important;
  background: var(--text) !important;
  display: block !important;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 30px; }
.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* CTA BAR - between header and content, mobile only */
.cta-bar {
  display: none;
  position: fixed;
  top: 92px;
  left: 0; right: 0;
  background: var(--primary-dark);
  border-bottom: 2px solid var(--accent);
  z-index: 101;
}
.cta-bar .container {
  display: flex;
  gap: 0;
  padding: 0;
}
.cta-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 12px;
  color: #fff !important;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-right: 1px solid #333;
  white-space: nowrap;
}
.cta-bar a:last-child { border-right: 0; }
.cta-bar a.primary-cta { background: var(--accent); color: var(--primary-dark) !important; }
.cta-bar a.secondary-cta { background: var(--accent-light); color: var(--primary-dark) !important; }

/* BREADCRUMB */
.breadcrumb {
  background: var(--surface);
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary) !important; font-weight: 700; }
.breadcrumb span:last-child { color: var(--text); font-weight: 800; }

/* HERO */
.hero {
  background: var(--primary-dark);
  color: #fff;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.hero img { width: 100%; max-height: 500px; object-fit: cover; opacity: 0.4; }
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(5,46,22,0.5), rgba(5,46,22,0.9));
}
.hero-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
}
.hero-content .container { padding: 40px 16px; }
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: #fff;
}
.hero .lede {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 700px;
  color: rgba(255,255,255,0.92);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 24px; font-size: 14px; }

/* HERO PAGE (smaller) */
.hero-page { background: var(--primary-dark); min-height: 240px; }
.hero-page .container { padding: 40px 16px; }
.hero-page h1 { color: #fff; font-size: clamp(24px, 4vw, 42px); }

/* SECTION COMMON */
section { padding: 56px 0; }
.section-eyebrow {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-sub { color: var(--text-light); font-size: 16px; max-width: 700px; margin-bottom: 32px; }

/* SECTION COURSES */
.section-courses { background: #fff; }
.section-courses h2, .section-timetable h2, .section-enroll h2, .section-hubs h2, .section-honors h2, .section-testimonials h2, .section-stats h2, .section-bonus h2, .section-timeline h2, .section-methodology h2, .section-final-cta h2 { text-align: center; }
.courses-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.course-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 20px 12px;
  text-align: center;
  border-top: 4px solid var(--primary);
  text-decoration: none;
  color: inherit;
}
.course-card:hover { border-top-color: var(--accent); }
.course-icon { font-size: 36px; margin-bottom: 8px; }
.course-card h3 { font-size: 14px; margin-bottom: 6px; text-transform: uppercase; font-weight: 900; }
.course-card p { font-size: 12px; line-height: 1.5; margin: 0; }

/* SECTION TIMETABLE */
.section-timetable { background: var(--surface); }
.timetable { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.timetable-row {
  display: grid;
  grid-template-columns: 70px 1fr 2fr;
  gap: 16px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  align-items: center;
}
.day-badge {
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 900;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
}
.timetable-row h3 { font-size: 15px; font-weight: 900; margin: 0; }
.timetable-row p { font-size: 13px; margin: 0; }

/* SECTION METHODOLOGY */
.section-methodology { background: #fff; }
.methodology-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  max-width: 900px;
  margin: 0 auto;
}
.method-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.method-header h3 { font-size: 18px; font-weight: 900; margin: 0; }
.score { color: var(--accent); font-size: 22px; font-weight: 900; }
.var-row { margin-bottom: 14px; }
.var-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.var-bar { background: #fff; border-radius: 4px; height: 8px; overflow: hidden; }
.var-fill { background: linear-gradient(90deg, var(--accent), var(--accent-light)); height: 8px; width: 60%; }

/* SECTION ENROLL */
.section-enroll { background: var(--surface); }
.enroll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  text-align: center;
  padding: 28px 18px;
  background: #fff;
  border-radius: 8px;
  border: 2px solid var(--accent);
}
.step-num {
  background: var(--accent);
  color: var(--primary-dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 16px; margin-bottom: 8px; text-transform: uppercase; }
.step-card p { font-size: 14px; line-height: 1.5; margin: 0; }

/* SECTION HUBS */
.section-hubs { background: #fff; }
.hubs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hub-tile {
  background: var(--surface);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 2px solid var(--border);
  border-bottom: 4px solid var(--accent);
}
.hub-icon { font-size: 28px; margin-bottom: 6px; }
.hub-name { font-size: 13px; font-weight: 900; text-transform: uppercase; }

/* SECTION HONORS */
.section-honors { background: var(--surface); }
.honors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.honor-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  border: 2px solid var(--accent);
  text-align: center;
}
.honor-trophy { font-size: 42px; margin-bottom: 6px; }
.honor-card h3 { font-size: 16px; margin-bottom: 4px; }
.honor-prize { font-size: 13px; color: var(--accent); font-weight: 900; margin-bottom: 6px; }
.honor-strategy { font-size: 11px; color: var(--muted); font-style: italic; }

/* SECTION TESTIMONIALS */
.section-testimonials { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.section-testimonials h2 { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.testimonial-card { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 20px; border: 2px solid var(--accent); }
.testimonial-rating { color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.testimonial-text { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.4; margin-bottom: 12px; }
.testimonial-by { font-size: 12px; color: rgba(255,255,255,0.85); }

/* SECTION STATS */
.section-stats { background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 28px 18px;
  border-radius: 8px;
  border: 3px solid var(--accent);
}
.stat-num { font-size: 42px; font-weight: 900; color: var(--accent-light); line-height: 1; }
.stat-label { color: #fff; font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }

/* SECTION BONUS */
.section-bonus { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.section-bonus h2 { color: #fff; }
.bonus-card {
  background: rgba(255,255,255,0.1);
  border: 3px solid var(--accent);
  border-radius: 16px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.bonus-label { color: rgba(255,255,255,0.85); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.bonus-code { font-family: monospace; font-size: 36px; color: var(--accent-light); font-weight: 900; letter-spacing: 3px; }
.bonus-arrow { font-size: 40px; color: rgba(255,255,255,0.5); }
.bonus-amount { font-size: 56px; color: var(--accent-light); font-weight: 900; line-height: 1; }
.bonus-terms { color: #fff; font-size: 12px; margin-top: 4px; }
.bonus-card > div:last-child { text-align: right; }

/* SECTION TIMELINE */
.section-timeline { background: var(--surface); }
.timeline { background: #fff; padding: 20px; border-radius: 8px; border: 2px solid var(--accent); max-width: 900px; margin: 0 auto; }
.timeline-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.timeline-row:last-child { border-bottom: 0; }
.week-badge { background: var(--accent); color: var(--primary-dark); padding: 6px 10px; border-radius: 4px; font-weight: 900; text-align: center; font-size: 11px; }
.timeline-row p { font-size: 14px; margin: 0; }

/* SECTION FINAL CTA */
.section-final-cta { background: var(--primary-dark); color: #fff; padding: 70px 0; text-align: center; }
.section-final-cta .container { max-width: 720px; }
.section-final-cta h2 { color: #fff; }
.section-final-cta .lede { color: rgba(255,255,255,0.85); margin: 0 auto 28px; max-width: 540px; }
.section-final-cta .hero-actions { justify-content: center; }

/* DISCLAIMER */
.disclaimer {
  background: var(--surface);
  color: var(--muted);
  border-left: 4px solid var(--accent);
  padding: 10px 16px;
  font-size: 12px;
  margin: 0;
  text-align: center;
}

/* STICKY CTA BOTTOM */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  padding: 10px 12px;
  z-index: 90;
  gap: 8px;
  justify-content: center;
  border-top: 2px solid var(--accent);
}
.sticky-cta .btn { flex: 1; max-width: 200px; font-size: 12px; padding: 8px 12px; }

/* HUB CONTENT */
.section-hub-content { background: #fff; }
.section-hub-content .container { max-width: 760px; }
.longform h2 { color: var(--primary); margin-top: 32px; text-align: left; font-size: 24px; }
.longform p { margin-bottom: 16px; line-height: 1.75; }
.figure-inline { margin: 28px 0; border-radius: 8px; overflow: hidden; }
.figure-inline img { width: 100%; height: auto; }
.longform details { background: var(--surface); padding: 14px 18px; border-radius: 6px; margin: 10px 0; border: 1px solid var(--border); }
.longform summary { color: var(--primary); font-weight: 800; cursor: pointer; font-size: 16px; }
.longform details div { margin-top: 10px; color: var(--text-light); line-height: 1.6; font-size: 15px; }

/* CTA INLINE */
.section-cta-inline { background: var(--surface); padding: 50px 0; }
.cta-inline-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 36px; text-align: center; border-radius: 12px; }
.cta-inline-card h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.cta-inline-card p { color: rgba(255,255,255,0.95); margin-bottom: 18px; }
.cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--primary); color: rgba(255,255,255,0.85); padding: 48px 0 20px; border-top: 4px solid var(--accent); }
footer .container { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; }
footer .footer-brand p { color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.7; margin: 10px 0 16px; }
footer .logo { color: #fff; }
footer .cta-row { display: flex; gap: 8px; flex-wrap: wrap; }
footer .footer-heading { color: var(--accent); font-weight: 900; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 6px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 6px; }
footer ul li a { color: rgba(255,255,255,0.85); font-size: 13px; }
footer .legal-bar {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* MOBILE */
@media (max-width: 768px) {
  body { padding-top: 80px; }
  .topbar { height: 28px; font-size: 11px; }
  .topbar .container { padding: 0 8px; gap: 6px; }
  .topbar .social { display: none; }
  .cta-bar { display: flex !important; top: 80px; }
  header.site { top: 28px; height: 52px; }
  header.site .container { padding: 0 8px; gap: 6px; }
  .logo { font-size: 12px; gap: 6px; max-width: 50vw; }
  .logo .mark { padding: 3px 6px; font-size: 10px; }
  .logo .cs { display: none; }
  .hamburger { display: flex; }
  nav.main { display: none; }
  nav.main.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    background: #fff;
    padding: 8px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(21,128,61,0.15);
    z-index: 100;
    border-bottom: 4px solid var(--accent);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  nav.main.open a {
    width: 100%;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  nav.main.open a:last-child { border-bottom: 0; }
  body.menu-open { overflow: hidden !important; position: fixed !important; width: 100%; height: 100%; top: 0; left: 0; }
  .header-cta { display: none !important; }
  .cta-bar a { font-size: 11px; padding: 12px 8px; }
  section { padding: 40px 0; }
  .container { padding: 0 16px; }
  h1 { font-size: 28px !important; line-height: 1.1; }
  h2 { font-size: 22px; }
  p { font-size: 14px; }
  .hero { min-height: 320px; }
  .hero-content .container { padding: 32px 16px; }
  .hero h1 { font-size: 28px; }
  .hero .lede { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; padding: 14px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .timetable-row { grid-template-columns: 60px 1fr; gap: 10px; padding: 12px; }
  .timetable-row p { grid-column: 1 / -1; }
  .enroll-grid { grid-template-columns: 1fr; gap: 14px; }
  .hubs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .honors-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-num { font-size: 32px; }
  .bonus-card { grid-template-columns: 1fr; gap: 16px; padding: 24px 16px; text-align: center; }
  .bonus-card > div:last-child { text-align: center; }
  .bonus-code { font-size: 28px; }
  .bonus-amount { font-size: 44px; }
  .timeline-row { grid-template-columns: 1fr; gap: 6px; }
  footer .container { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .sticky-cta { display: flex !important; }
  .sticky-cta .btn { max-width: 50%; }
}
