    :root {
      --gold:       #f5b800;
      --gold-dark:  #d49b00;
      --gold-light: #ffe566;
      --teal:       #1a7a6e;
      --teal-dark:  #0f5049;
      --teal-mid:   #24a090;
      --bg-dark:    #0b1a18;
      --bg-card:    #112320;
      --text-main:  #f0ede4;
      --text-muted: #9ab5b2;
    }
 
    * { box-sizing: border-box; margin: 0; padding: 0; }
 
    body {
      font-family: 'Nunito', sans-serif;
      background: var(--bg-dark);
      color: var(--text-main);
      overflow-x: hidden;
    }
 
    h1, h2, h3, h4, .brand { font-family: 'Oswald', sans-serif; }
 
    /* ── NAVBAR ── */
    .navbar {
      background: linear-gradient(90deg, #071210 0%, #0f2622 60%, #071210 100%);
      border-bottom: 2px solid var(--teal);
      padding: 0.6rem 1.5rem;
      position: sticky; top: 0; z-index: 1000;
    }
    .navbar-brand {
      font-family: 'Oswald', sans-serif;
      font-size: 1.9rem;
      font-weight: 700;
      color: var(--gold) !important;
      text-shadow: 0 0 14px rgba(245,184,0,0.5);
      letter-spacing: 1px;
    }
    .navbar-brand span { color: var(--teal-mid); }
    .nav-link {
      color: var(--text-muted) !important;
      font-weight: 600;
      font-size: 0.88rem;
      letter-spacing: .5px;
      transition: color .2s;
    }
    .nav-link:hover { color: var(--gold) !important; }
    .btn-nav-login {
      border: 1.5px solid var(--teal-mid);
      color: var(--teal-mid) !important;
      border-radius: 20px;
      padding: 4px 18px;
      font-size: 0.85rem;
      font-weight: 700;
      transition: all .2s;
    }
    .btn-nav-login:hover { background: var(--teal-mid); color: #fff !important; }
    .btn-nav-signup {
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      color: #1a1a00 !important;
      border-radius: 20px;
      padding: 4px 18px;
      font-size: 0.85rem;
      font-weight: 800;
      border: none;
      transition: all .2s;
    }
    .btn-nav-signup:hover { background: var(--gold-light); transform: scale(1.04); }
 
    /* ── SIDEBAR ── */
    .sidebar {
      width: 210px;
      background: #091c19;
      border-right: 1px solid #1d3d39;
      min-height: calc(100vh - 60px);
      padding-top: 1rem;
      position: fixed;
      top: 60px;
      left: 0;
      overflow-y: auto;
    }
    .sidebar-section { padding: 0.4rem 1rem; font-size: 0.7rem; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; margin-top: 0.8rem; }
    .sidebar-item {
      display: flex; align-items: center; gap: 10px;
      padding: 0.5rem 1.2rem;
      color: var(--text-muted);
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s;
      border-left: 3px solid transparent;
    }
    .sidebar-item:hover, .sidebar-item.active {
      background: rgba(26,122,110,0.15);
      color: var(--gold);
      border-left-color: var(--gold);
    }
    .sidebar-item i { font-size: 1rem; color: var(--teal-mid); }
    .sidebar-item.active i { color: var(--gold); }
 
    /* ── MAIN CONTENT ── */
    .main-content {
      margin-left: 210px;
      padding: 0;
    }
 
    /* ── HERO ── */
    .hero {
      background: linear-gradient(135deg, #0a2420 0%, #1c5046 40%, #0a2420 100%);
      position: relative;
      overflow: hidden;
      padding: 3.5rem 2.5rem 2.5rem;
      min-height: 380px;
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }
    .hero::before {
      content: '';
      inset: 0;
      background: radial-gradient(ellipse at 70% 50%, rgba(245,184,0,0.08) 0%, transparent 70%);
    }
    .hero::after {
      content: '99';
      position: absolute;
      right: -30px; top: -20px;
      font-family: 'Oswald', sans-serif;
      font-size: 20rem;
      font-weight: 700;
      color: rgba(255,255,255,0.025);
      line-height: 1;
      pointer-events: none;
    }
    .hero-badge {
      background: var(--gold);
      color: #1a1a00;
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 3px 12px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 1rem;
      animation: pulse 2s infinite;
    }
    @keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(245,184,0,0.4)} 50%{box-shadow:0 0 0 8px rgba(245,184,0,0)} }
 
    .hero h1 {
      font-size: 3.2rem;
      font-weight: 700;
      line-height: 1.1;
      color: #fff;
    }
    .hero h1 span { color: var(--gold); }
    .hero p { color: var(--text-muted); font-size: 1rem; max-width: 520px; margin-top: 0.7rem; }
    .btn-hero {
      background: linear-gradient(135deg, var(--gold), var(--gold-dark));
      color: #1a1a00;
      font-weight: 800;
      font-size: 1rem;
      border: none;
      border-radius: 30px;
      padding: 12px 32px;
      margin-top: 1.5rem;
      display: inline-block;
      transition: all .25s;
      text-decoration: none;
      font-family: 'Oswald', sans-serif;
      letter-spacing: 1px;
      box-shadow: 0 4px 20px rgba(245,184,0,0.35);
    }
    .btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,184,0,0.5); color: #000; }
    .btn-whatsapp {
      background: #25D366;
      color: #fff;
      font-weight: 700;
      font-size: 0.95rem;
      border: none;
      border-radius: 30px;
      padding: 11px 28px;
      margin-top: 1.5rem;
      margin-left: 12px;
      display: inline-block;
      transition: all .25s;
      text-decoration: none;
      font-family: 'Oswald', sans-serif;
      letter-spacing: 1px;
    }
    .btn-whatsapp:hover { background: #1ebe5d; color: #fff; transform: translateY(-2px); }
    
    
    /* =========================
   MOBILE FIX (IMPORTANT)
========================= */
@media (max-width: 991px) {

  .hero {
    flex-direction: column;   /* ✅ STACK ITEMS */
  }

  #latestMatches {
    width: 100%;
    margin-top: 20px;         /* ✅ SPACE AFTER BUTTON */
  }

}
    
 
    /* MATCHES SIDEBAR */
    .matches-panel {
      background: #0d2420;
      border-left: 1px solid #1d3d39;
      padding: 1.2rem;
      min-width: 280px;
    }
    .matches-panel h6 { color: var(--gold); font-family: 'Oswald', sans-serif; letter-spacing: 1px; font-size: 0.95rem; margin-bottom: 1rem; }
    .match-card {
      background: #112320;
      border: 1px solid #1d3d39;
      border-radius: 10px;
      padding: 0.75rem 1rem;
      margin-bottom: 0.6rem;
      cursor: pointer;
      transition: all .2s;
    }
    .match-card:hover { border-color: var(--gold); background: #1a3530; }
    .match-card p { margin: 0; color: var(--text-main); font-size: 0.88rem; font-weight: 700; }
    .match-card small { color: var(--text-muted); font-size: 0.75rem; }
    .match-badge { background: var(--teal); color: #fff; font-size: 0.65rem; border-radius: 4px; padding: 2px 6px; font-weight: 700; }
 
    /* ── SECTIONS ── */
    .section-wrapper { padding: 3.5rem 2.5rem; }
    .section-title { font-size: 2rem; font-weight: 700; color: #fff; }
    .section-sub { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.3rem; }
 
    /* GAME CARDS */
    .game-card {
      background: var(--bg-card);
      border: 1px solid #1d3d39;
      border-radius: 16px;
      padding: 2rem 1.5rem;
      text-align: center;
      transition: all .3s;
      height: 100%;
    }
    .game-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 12px 40px rgba(245,184,0,0.12); }
    .game-icon {
      width: 72px; height: 72px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.2rem;
      font-size: 1.8rem;
    }
    .game-icon.cricket  { background: radial-gradient(135deg, var(--teal), var(--teal-dark)); }
    .game-icon.casino   { background: radial-gradient(135deg, #9c2a2a, #6a0000); }
    .game-icon.sports   { background: radial-gradient(135deg, #2a5f9c, #003a8c); }
    .game-icon.cards    { background: radial-gradient(135deg, #4a2a9c, #1a0060); }
    .game-card h5 { font-family: 'Oswald', sans-serif; font-size: 1.1rem; color: var(--gold); letter-spacing: 1px; margin-bottom: 0.5rem; }
    .game-card p  { font-size: 0.85rem; color: var(--text-muted); }
 
    /* FEATURES */
    .feature-card {
      background: var(--bg-card);
      border: 1px solid #1d3d39;
      border-radius: 14px;
      padding: 1.8rem;
      text-align: center;
      transition: all .3s;
    }
    .feature-card:hover { border-color: var(--teal-mid); transform: translateY(-4px); }
    .feat-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; }
    .feature-card h5 { font-family: 'Oswald', sans-serif; font-size: 1.05rem; color: #fff; }
    .feature-card p  { font-size: 0.83rem; color: var(--text-muted); margin-top: 0.4rem; }
 
    /* HOW TO */
    .step-card {
      background: var(--bg-card);
      border: 1px solid #1d3d39;
      border-radius: 14px;
      padding: 2rem 1.5rem;
      text-align: center;
      position: relative;
    }
    .step-num {
      font-family: 'Oswald', sans-serif;
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
      opacity: 0.85;
    }
    .step-card h5 { font-family: 'Oswald', sans-serif; color: #fff; margin-top: 0.5rem; }
    .step-card p  { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; }
 
    /* PAYMENTS */
    .pay-logo {
      background: #fff;
      border-radius: 10px;
      padding: 12px 20px;
      display: flex; align-items: center; justify-content: center;
      font-weight: 800;
      font-size: 1rem;
      color: #222;
      transition: transform .2s;
      min-height: 60px;
    }
    .pay-logo:hover { transform: scale(1.06); }
    .pay-gpay   { color: #3c4043; }
    .pay-paytm  { color: #00B9F1; }
    .pay-phonepe{ color: #5f259f; }
    .pay-upi    { color: #008000; }
 
    /* FAQ */
    .faq-item {
      background: var(--bg-card);
      border: 1px solid #1d3d39;
      border-radius: 12px;
      margin-bottom: 0.7rem;
      overflow: hidden;
    }
    .faq-q {
      padding: 1rem 1.5rem;
      display: flex; justify-content: space-between; align-items: center;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.95rem;
      transition: background .2s;
    }
    .faq-q:hover { background: rgba(26,122,110,0.1); }
    .faq-q.open { color: var(--gold); }
    .faq-q i { transition: transform .3s; }
    .faq-q.open i { transform: rotate(180deg); }
    .faq-a {
      padding: 0 1.5rem;
      max-height: 0;
      overflow: hidden;
      transition: max-height .35s ease, padding .35s;
      color: var(--text-muted);
      font-size: 0.88rem;
    }
    .faq-a.open { max-height: 200px; padding: 0 1.5rem 1rem; }
 
    /* CTA BANNER */
    .cta-banner {
      background: linear-gradient(135deg, var(--teal-dark) 0%, #0a3530 50%, var(--teal-dark) 100%);
      border-top: 2px solid var(--gold);
      border-bottom: 2px solid var(--gold);
      padding: 3.5rem 2rem;
      text-align: center;
    }
    .cta-banner h2 { font-size: 2.5rem; color: #fff; }
    .cta-banner h2 span { color: var(--gold); }
    .cta-banner p { color: var(--text-muted); margin-top: 0.5rem; }
 
    /* FOOTER */
    footer {
        margin-left: 210px; 
      background: #050e0c;
      border-top: 1px solid #1d3d39;
      padding: 3rem 2.5rem 1.5rem;
    }
    footer .brand { font-size: 1.8rem; color: var(--gold); }
    footer .brand span { color: var(--teal-mid); }
    footer h6 { color: var(--gold); font-family: 'Oswald', sans-serif; letter-spacing: 1.5px; margin-bottom: 1rem; font-size: 0.8rem; text-transform: uppercase; }
    footer a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; display: block; margin-bottom: 0.4rem; transition: color .2s; }
    footer a:hover { color: var(--gold); }
    .social-icon {
      width: 36px; height: 36px;
      border: 1px solid #2a5550;
      border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      color: var(--text-muted);
      margin-right: 6px;
      font-size: 0.9rem;
      transition: all .2s;
      cursor: pointer;
    }
    @media(max-width: 991px) {
      footer {
        margin-left: 0;  /* ADD THIS to the existing breakpoint */
      }
    }
    .social-icon:hover { border-color: var(--gold); color: var(--gold); }
    .footer-copy { color: #3a5552; font-size: 0.8rem; text-align: center; padding-top: 2rem; border-top: 1px solid #1a3530; margin-top: 2rem; }
 
    /* WA FLOAT */
    .wa-float {
      position: fixed;
      bottom: 22px; right: 22px;
      width: 54px; height: 54px;
      background: #25D366;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.6rem;
      color: #fff;
      cursor: pointer;
      box-shadow: 0 4px 16px rgba(37,211,102,0.45);
      z-index: 9999;
      transition: transform .2s;
    }
    .wa-float a{
        color: rgb(255 255 255);
        text-decoration: none;
    }
    .wa-float:hover { transform: scale(1.1); }
 
    /* DIVIDER */
    .gold-divider { height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: none; margin: 0; }
 
    /* LIVE BADGE */
    .live-dot {
      display: inline-block;
      width: 8px; height: 8px;
      background: #ff3b3b;
      border-radius: 50%;
      animation: blink 1s infinite;
      margin-right: 4px;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
 
    /* RESPONSIVE */
    @media(max-width:991px){
      .sidebar { display: none; }
      .main-content { margin-left: 0; }
      .hero { min-height: auto; padding: 2.5rem 1.5rem; }
      .hero h1 { font-size: 2.2rem; }
      .matches-panel { min-width: 100%; border-left: none; border-top: 1px solid #1d3d39; }
      .section-wrapper { padding: 2.5rem 1.5rem; }
    }
    
    
    /* MATCH PANEL */
.matches-panel {
  background: #0d2420;
  border: 1px solid #1d3d39;
  padding: 20px;
  border-radius: 10px;
}

.match-card {
  background: #112320;
  border: 1px solid #1d3d39;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.match-card:hover {
  border-color: #f5b800;
  background: #1a3530;
}

.match-card p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}

.match-card small {
  color: #9ab5b2;
  font-size: 12px;
}

.match-badge {
  background: #1a7a6e;
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
}

/* MODAL */
#matchModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* CARD */
.bet-card {
  background: #0d2420;
  border-radius: 16px;
  padding: 25px;
  width: 350px;
  text-align: center;
  color: #fff;
  border: 1px solid #1d3d39;
  position: relative;
}

/* CLOSE */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* LEAGUE */
.league-pill {
  background: #1a7a6e;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 15px;
}

/* TEAMS */
.teams-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}

.team-block img {
  width: 60px;
  height: 60px;
}

.team-name {
  margin-top: 8px;
  font-weight: bold;
  font-size: 14px;
}

/* VS */
.vs-center {
  font-size: 18px;
  font-weight: bold;
  color: #f5b800;
}

/* INFO */
.match-info {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 15px;
}

/* BUTTON */
.bet-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f5b800, #d49b00);
  padding: 10px 20px;
  border-radius: 25px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

/* =========================
   MATCH PANEL (RIGHT SIDE)
========================= */
.matches-panel {
  background: #0d2420;
  border: 1px solid #1d3d39;
  padding: 18px;
  border-radius: 12px;
  color: #fff;
}

.matches-panel h6 {
  font-size: 14px;
  margin-bottom: 12px;
  color: #f5b800;
}


/* =========================
   MATCH CARD
========================= */
.match-card {
  background: #112320;
  border: 1px solid #1d3d39;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.match-card:hover {
  border-color: #f5b800;
  background: #173c35;
  transform: translateY(-2px);
}

.match-card p {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}

.match-card small {
  font-size: 12px;
  color: #9ab5b2;
}


/* MATCH TYPE BADGE */
.match-badge {
  background: #1a7a6e;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
}


/* =========================
   MODAL BACKDROP
========================= */
#matchModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


/* =========================
   MODAL CONTENT BOX
========================= */
.modal-content {
  background: linear-gradient(135deg, #0d2420, #123a33);
  border-radius: 16px;
  width: 100%;
  max-width: 380px; /* 🔥 FIXED SIZE */
  padding: 22px;
  color: #fff;
  position: relative;
  box-shadow: 0 15px 50px rgba(0,0,0,0.6);
  animation: popupFade 0.3s ease;
  border: 1px solid #1d3d39;
  margin: 50px auto;
}


/* =========================
   POPUP ANIMATION
========================= */
@keyframes popupFade {
  from {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}


/* =========================
   CLOSE BUTTON
========================= */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #aaa;
}

.close:hover {
  color: #fff;
}


/* =========================
   MATCH HEADER
========================= */
.match-popup h2 {
  font-size: 14px;
  text-align: center;
  margin-bottom: 12px;
  color: #f5b800;
  letter-spacing: 0.5px;
}


/* =========================
   TEAMS SECTION
========================= */
.match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0;
}


/* TEAM BLOCK */
.team {
  text-align: center;
  width: 40%;
}

.team img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.team h4 {
  font-size: 13px;
  margin-top: 8px;
  font-weight: 600;
}


/* VS TEXT */
.vs {
  font-size: 16px;
  font-weight: bold;
  color: #f5b800;
}


/* =========================
   MATCH INFO
========================= */
.match-info {
  font-size: 13px;
  opacity: 0.85;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.5;
}


/* =========================
   BUTTON (BET NOW)
========================= */
.bet-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #f5b800, #d49b00);
  padding: 10px;
  border-radius: 25px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: 0.25s;
}

.bet-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(245, 184, 0, 0.4);
}


/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 480px) {

  .modal-content {
    max-width: 95%;
    padding: 18px;
  }

  .team img {
    width: 45px;
    height: 45px;
  }

  .team h4 {
    font-size: 12px;
  }

}
