/* ================================================================
   EGWU.AFRICA — responsive.css
   Progressive enhancement. Mobile base in style.css.

   Breakpoints:
     ≥ 540px   Large phone / small tablet
     ≥ 768px   Tablet portrait
     ≥ 960px   Tablet landscape / small laptop  (nav dropdowns visible)
     ≥ 1100px  Laptop  (logo tagline visible)
     ≥ 1200px  Desktop
     ≥ 1440px  Wide desktop
   ================================================================ */


/* ═══════════════════════════════════════════════════════════════
   ≥ 540px
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 540px) {
  :root { --px: 28px; }

  .hero h1  { font-size: 52px; }
  .hero-sub { font-size: 16px; }

  .hero-phone   { width: 230px; }
  .hero-stat-card.hsc-1 { right: -14px; }
  .hero-stat-card.hsc-2 { right: -14px; }

  .sec-title { font-size: 38px; }
  .stat-card .num { font-size: 32px; }
  .vision-body blockquote { font-size: 32px; }
  .cta-copy h2 { font-size: 32px; }
}


/* ═══════════════════════════════════════════════════════════════
   ≥ 768px — Tablet portrait
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  :root { --px: 36px; --nav-h: 64px; }

  /* Logo */
  .nav-logo img { height: 30px; }

  /* Hero */
  .hero h1  { font-size: 60px; letter-spacing: 0; }
  .hero-sub { font-size: 17px; max-width: 520px; }

  .hero-btns { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .hero-btns .btn { width: auto; max-width: none; }
  .app-store-btns { justify-content: flex-start; }
  .fans-app-split { flex-direction: row; align-items: center; gap: 52px; text-align: left; }
  .fans-app-text { text-align: left; }

  .hero-phone { width: 260px; }
  .hero-stat-card.hsc-1 { right: -18px; }
  .hero-stat-card.hsc-2 { right: -18px; }

  /* Love panels 2-col */
  .love-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 52px; }
  .love-panel { padding: 32px; border-radius: 26px; }

  /* Marquee */
  .marquee-item { font-size: 13px; }
  .marquee-track { gap: 52px; }

  /* Sections */
  .section { padding: 88px var(--px); }
  .sec-title { font-size: 44px; }
  .sec-lead  { font-size: 16px; }

  /* Cards 2-col */
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }

  /* Stat */
  .stat-card { padding: 22px 20px; border-radius: 20px; }
  .stat-card .num { font-size: 36px; }

  /* Vision */
  .vision-section { padding: 96px var(--px); }
  .vision-body blockquote { font-size: 38px; }

  /* CTA */
  .cta-outer { padding: 0 var(--px) 88px; }
  .cta-box { text-align: left; padding: 52px 48px; border-radius: 28px; }
  .cta-copy h2 { font-size: 36px; }
  .cta-btns { flex-direction: row; justify-content: flex-start; }
  .cta-btns .btn { width: auto; max-width: none; }

  /* Footer */
  footer { padding: 48px var(--px); }
  .footer-logo-d { display: block; height: 30px; }
  .footer-logo-m { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   ≥ 960px — Tablet landscape / small laptop
   KEY: Show dropdown nav, hide hamburger
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 960px) {
  :root { --px: 48px; --nav-h: 68px; }

  /* Show desktop dropdown nav */
  .nav-desktop { display: flex; }
  .hamburger-btn { display: none !important; }
  .btn-nav-login { display: inline-flex; }
  .nav-logo img { height: 38px; }

  /* Hero — side-by-side split */
  .hero { padding: calc(var(--nav-h) + 80px) var(--px) 96px; }
  .hero h1  { font-size: 72px; letter-spacing: 0; }
  .hero-sub { font-size: 18px; max-width: 520px; }

  .hero-split {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    text-align: left;
  }
  .hero-text { text-align: left; }
  .hero-btns { justify-content: flex-start; }
  .hero-sub  { margin-left: 0; margin-right: 0; }
  .hero-app-links { justify-content: flex-start; }

  .hero-phone { width: 280px; }
  .hero-stat-card.hsc-1 { right: -24px; top: 10%; }
  .hero-stat-card.hsc-2 { right: -24px; bottom: 12%; }

  /* Sections */
  .section  { padding: 104px var(--px); }
  .sec-title { font-size: 52px; }
  .sec-lead  { font-size: 17px; }

  /* Split 2-col */
  .split {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 80px;
    align-items: center;
  }
  .split-reverse .split-text   { order: 2; }
  .split-reverse .split-visual { order: 1; }

  /* Cards 3-col */
  .card-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 52px; }
  .fans-app-text .card-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }

  /* How it works 2-col */
  .how-wrap {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 80px;
    align-items: start;
  }
  .player-card {
    position: sticky;
    top: calc(var(--nav-h) + 28px);
    align-self: start;
    padding: 32px; border-radius: 28px;
  }

  /* Stat */
  .stat-card .num { font-size: 40px; }

  /* Vision */
  .vision-section { padding: 120px var(--px); }
  .vision-body blockquote { font-size: 46px; }

  /* CTA row layout */
  .cta-outer { padding: 0 var(--px) 104px; }
  .cta-box {
    flex-direction: row; align-items: center;
    justify-content: space-between; gap: 48px;
    text-align: left; padding: 64px 72px; border-radius: 32px;
  }
  .cta-copy { flex: 1; min-width: 0; }
  .cta-copy h2 { font-size: 44px; }
  .cta-copy p  { font-size: 16px; }
  .cta-btns { flex-direction: column; align-items: stretch; flex-shrink: 0; gap: 12px; }
  .cta-btns .btn { width: 100%; white-space: nowrap; }

  /* Love panels */
  .love-panel { padding: 36px; }

  /* Footer logo */
  .footer-logo-d { height: 32px; }
}


/* ═══════════════════════════════════════════════════════════════
   ≥ 1100px — Show logo tagline
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1100px) {
  .nav-tagline { display: block; }
  .nav-logo img { height: 36px; }

  .hero h1  { font-size: 82px; }
  .hero-phone { width: 300px; }
  .hero-stat-card.hsc-1 { right: -28px; }
  .hero-stat-card.hsc-2 { right: -28px; }
}


/* ═══════════════════════════════════════════════════════════════
   ≥ 1200px — Desktop
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {
  :root { --px: 60px; }

  .hero h1  { font-size: 94px; }
  .hero-sub { font-size: 19px; }
  .hero-phone { width: 320px; }

  .sec-title { font-size: 60px; }

  .split    { gap: 100px; }
  .how-wrap { gap: 96px; }

  .stat-card .num { font-size: 44px; }
  .vision-body blockquote { font-size: 54px; }
  .cta-copy h2 { font-size: 52px; }

  .footer-logo-d { height: 34px; }
}


/* ═══════════════════════════════════════════════════════════════
   ≥ 1440px — Wide desktop
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1440px) {
  :root { --px: 72px; }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE — HAMBURGER VISIBLE, DESKTOP NAV HIDDEN
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 959px) {
  .hamburger-btn { display: flex; }
  .nav-desktop   { display: none; }
  .btn-nav-login { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU PANEL — very small screens
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .mobile-panel { border-radius: 0; }
  .mobile-header { padding: 16px 18px; }
  .mobile-group-btn { padding: 13px 18px; }
  .mobile-sub-link { padding: 8px 10px; }
  .mobile-footer { padding: 16px 16px 22px; }
}


/* ═══════════════════════════════════════════════════════════════
   IMAGES — RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .page-img-strip { aspect-ratio: 16/9; margin: 32px 0; border-radius: 14px; }
  .section-img.ratio-4-3 { aspect-ratio: 16/9; }
}
@media (max-width: 480px) {
  .page-img-strip { aspect-ratio: 4/3; margin: 24px 0; border-radius: 12px; }
}
