/* ==========================================================================
   RAMJI247 - Enterprise Design System & UI/UX Architecture
   Gold, Crimson & Dark Luxury Aesthetic | WCAG AA Accessible | Mobile-First
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary: Champagne Metallic Gold */
  --gold-50: #fffbeb;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f5b301;
  --gold-600: #d97706;
  --gold-700: #b45309;
  --primary: #f5b301;
  --primary-hover: #ffc425;
  --primary-dark: #b8860b;
  --primary-glow: rgba(245, 179, 1, 0.25);
  --primary-surface: rgba(245, 179, 1, 0.08);

  /* Brand Secondary: Refined Crimson / Ruby Red */
  --crimson-500: #e61f26;
  --crimson-600: #cc161d;
  --crimson-700: #a80f15;
  --crimson-surface: rgba(230, 31, 38, 0.1);
  --secondary: #e61f26;
  --secondary-hover: #ff333a;

  /* Messaging: WhatsApp Green */
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  --whatsapp-surface: rgba(37, 211, 102, 0.12);
  --whatsapp-shadow: rgba(37, 211, 102, 0.35);

  /* Neutrals: Deep Dark Surfaces */
  --bg-base: #0a0d14;
  --bg-surface-1: #101522;
  --bg-surface-2: #161d2e;
  --bg-surface-3: #1e283e;
  --bg-glass: rgba(16, 21, 34, 0.85);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(245, 179, 1, 0.3);
  --border-gold-subtle: rgba(245, 179, 1, 0.15);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Exchange Odds Colors */
  --odds-back: #1d4ed8;
  --odds-back-hover: #2563eb;
  --odds-back-text: #bfdbfe;
  --odds-lay: #be185d;
  --odds-lay-hover: #db2777;
  --odds-lay-text: #fbcfe8;

  /* System States */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Fonts */
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 6px 20px rgba(245, 179, 1, 0.2);
  --shadow-wa: 0 6px 22px rgba(37, 211, 102, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Sticky Dimensions */
  --header-height: 76px;
  --mobile-bottom-height: 64px;
}

/* --------------------------------------------------------------------------
   2. Reset & Universal Layout Standards
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Safe bottom clearance for sticky mobile bars */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--mobile-bottom-height) + env(safe-area-inset-bottom, 0px));
  }
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Universal Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
}

/* --------------------------------------------------------------------------
   3. Typography & Utility Classes
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ffde59 35%, #f5b301 70%, #d49500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.text-red {
  color: var(--secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* Standard Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: var(--primary-surface);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-gold-subtle);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f5b301 0%, #ffd700 60%, #e09f00 100%);
  color: #0a0d14;
  box-shadow: 0 4px 16px rgba(245, 179, 1, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd700 0%, #ffc425 100%);
  box-shadow: 0 6px 22px rgba(245, 179, 1, 0.45);
  transform: translateY(-2px);
  color: #000000;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae771 0%, #20bd5a 100%);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  background: var(--bg-surface-3);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-gold);
}

.btn-outline-gold:hover {
  background: var(--primary-surface);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1.02rem;
  font-weight: 700;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-pulse {
  position: relative;
}

.btn-pulse::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulseRipple 2.2s infinite;
  pointer-events: none;
}

@keyframes pulseRipple {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   5. Top Announcement Ticker
   -------------------------------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, #8a0e13 0%, #5c070a 50%, #8a0e13 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 0;
  border-bottom: 1px solid rgba(245, 179, 1, 0.2);
  overflow: hidden;
  position: relative;
  z-index: 1001;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-badge {
  background: var(--primary);
  color: #0a0d14;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  margin-right: 14px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
  will-change: transform;
}

.announcement-bar:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-content span {
  display: inline-block;
  margin-right: 36px;
  opacity: 0.95;
}

@keyframes tickerSlide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   6. Header & Navigation Architecture
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 13, 20, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: clamp(38px, 5vw, 48px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: var(--transition-base);
}

.brand-logo:hover {
  transform: scale(1.02);
}

/* Desktop Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-base);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--bg-surface-3);
  border-color: var(--primary);
}

/* Mobile Nav Drawer Backdrop */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Drawer Responsive Styles */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--bg-surface-1);
    border-right: 1px solid var(--border-medium);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 12px;
    z-index: 1100;
    overflow-y: auto;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.7);
    transition: transform var(--transition-smooth);
  }

  .nav-menu.active {
    transform: translateX(320px);
  }

  .nav-menu .nav-link {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.98rem;
    border-radius: var(--radius-sm);
  }

  .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
    background: var(--bg-surface-2);
    color: var(--primary);
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-cta-group .btn-outline {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: clamp(40px, 6vw, 75px) 0;
  background: radial-gradient(circle at 50% 10%, rgba(230, 31, 38, 0.12) 0%, rgba(10, 13, 20, 0.98) 75%),
              radial-gradient(circle at 85% 45%, rgba(245, 179, 1, 0.06) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-glow-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 1, 0.08) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-surface);
  border: 1px solid var(--border-gold-subtle);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--text-muted);
  margin-bottom: 26px;
  max-width: 580px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid var(--border-gold-subtle);
}

.feat-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.feat-text p {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. Simulated Market Odds Preview Card
   -------------------------------------------------------------------------- */
.hero-card {
  background: linear-gradient(160deg, #141a29 0%, #0d121c 100%);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
}

.live-match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--crimson-surface);
  color: #ff6b6b;
  border: 1px solid rgba(230, 31, 38, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #ff4d4f;
  border-radius: 50%;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.match-tournament {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

.match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  text-align: center;
  gap: 8px;
}

.team-box {
  flex: 1;
}

.team-flag {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 6px;
  border: 1px solid var(--border-gold-subtle);
}

.team-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-score {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

.match-vs {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
  padding: 0 6px;
}

/* Odds Table */
.odds-table {
  background: #090c12;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
}

.odds-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.odds-row:last-child {
  border-bottom: none;
}

.odds-team {
  font-size: 0.84rem;
  font-weight: 600;
}

.odds-buttons {
  display: flex;
  gap: 6px;
}

.odd-btn {
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 52px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.odd-back {
  background: var(--odds-back);
  color: var(--odds-back-text);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.odd-back:hover {
  background: var(--odds-back-hover);
  color: #ffffff;
}

.odd-lay {
  background: var(--odds-lay);
  color: var(--odds-lay-text);
  border: 1px solid rgba(236, 72, 153, 0.4);
}

.odd-lay:hover {
  background: var(--odds-lay-hover);
  color: #ffffff;
}

.instant-id-notice {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 10px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. Statistics Counter Section
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 30px 0;
  background: var(--bg-surface-1);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  text-align: center;
  padding: 12px;
  border-right: 1px solid var(--border-subtle);
}

.stat-card:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
  line-height: 1.15;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   10. Supported Exchanges Section
   -------------------------------------------------------------------------- */
.exchanges-section {
  padding: clamp(50px, 7vw, 80px) 0;
  background: var(--bg-base);
}

.exchanges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}

.exchange-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.exchange-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.exchange-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.exchange-logo-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.exchange-badge-tag {
  background: var(--crimson-surface);
  color: #ff6b6b;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(230, 31, 38, 0.3);
  white-space: nowrap;
}

.exchange-features {
  margin-bottom: 18px;
}

.exchange-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.exchange-feature-item i {
  color: var(--primary);
  font-size: 0.78rem;
}

.exchange-actions {
  display: flex;
  gap: 8px;
}

.exchange-actions .btn {
  flex: 1;
  font-size: 0.82rem;
  padding: 8px 12px;
}

/* --------------------------------------------------------------------------
   11. Services / Available Betting IDs
   -------------------------------------------------------------------------- */
.services-section {
  padding: clamp(50px, 7vw, 80px) 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-subtle);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-surface);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-badge {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-3);
  color: var(--text-sub);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   12. How It Works (Step Roadmap)
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: clamp(50px, 7vw, 80px) 0;
  background: var(--bg-base);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.step-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  position: relative;
  transition: var(--transition-base);
}

.step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, #a80f15 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(230, 31, 38, 0.4);
}

.step-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin: 12px 0 16px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. Payment Gateways Section
   -------------------------------------------------------------------------- */
.payments-section {
  padding: clamp(40px, 6vw, 60px) 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.payment-gateways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: 16px;
  align-items: center;
}

.payment-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  transition: var(--transition-base);
}

.payment-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.payment-icon {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.payment-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.payment-speed {
  font-size: 0.7rem;
  color: var(--success);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-us-section {
  padding: clamp(50px, 7vw, 80px) 0;
  background: var(--bg-base);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}

.why-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-base);
}

.why-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  border: 1px solid var(--border-gold-subtle);
}

.why-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.why-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. Long-Form SEO Content & Inner Editorial Layout
   -------------------------------------------------------------------------- */
.seo-content-section {
  padding: clamp(45px, 6vw, 75px) 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
}

.seo-article {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(20px, 4vw, 40px);
  line-height: 1.75;
}

.seo-article h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: #ffffff;
  margin: 32px 0 14px;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: var(--primary);
  margin: 22px 0 10px;
}

.seo-article p {
  font-size: 0.94rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.seo-article ul, .seo-article ol {
  padding-left: 20px;
  margin-bottom: 18px;
}

.seo-article ul li, .seo-article ol li {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 8px;
  list-style: disc;
}

/* Responsive Inner Page Grid Layout */
.content-sidebar-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
  align-items: start;
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin: 25px 0;
}

.sidebar-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 22px;
}

.sidebar-title {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   16. Player Reviews & Testimonials
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: clamp(50px, 7vw, 80px) 0;
  background: var(--bg-base);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.test-stars {
  color: #fbbf24;
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.test-quote {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--border-gold-subtle);
}

.test-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.test-loc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   17. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: clamp(50px, 7vw, 80px) 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.45;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon-arrow {
  color: var(--primary);
  transition: transform 0.3s ease;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* --------------------------------------------------------------------------
   18. Call to Action Banner
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: clamp(45px, 6vw, 65px) 0;
  background: linear-gradient(135deg, #a80f15 0%, #68080c 100%);
  position: relative;
  text-align: center;
  border-top: 1px solid rgba(245, 179, 1, 0.2);
  border-bottom: 1px solid rgba(245, 179, 1, 0.2);
}

.cta-content {
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: #fecdd3;
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   19. Footer Architecture
   -------------------------------------------------------------------------- */
.site-footer {
  background: #06080d;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(45px, 6vw, 65px) 0 25px;
  color: var(--text-muted);
}

.disclaimer-box {
  background: rgba(230, 31, 38, 0.06);
  border: 1px solid rgba(230, 31, 38, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 35px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #fca5a5;
}

.disclaimer-badge {
  display: inline-block;
  background: var(--secondary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  margin-right: 6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 35px;
  margin-bottom: 40px;
}

.footer-brand .brand-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-bio {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--text-muted);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.84rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   20. Floating WhatsApp & Sticky Mobile Action Bar
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.9rem;
  box-shadow: var(--shadow-wa);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-base);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  background: var(--whatsapp-hover);
}

.mobile-sticky-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 13, 20, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold-subtle);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.mobile-bottom-actions {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-bottom-actions .btn {
  flex: 1;
  padding: 10px 10px;
  font-size: 0.86rem;
}

@media (max-width: 768px) {
  .mobile-sticky-bottom {
    display: block;
  }

  .floating-whatsapp {
    bottom: calc(var(--mobile-bottom-height) + 16px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 50px;
    height: 50px;
    font-size: 1.65rem;
  }
}

/* --------------------------------------------------------------------------
   21. Modal Architecture (Demo Request)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: clamp(20px, 4vw, 30px);
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: #ffffff;
  border-color: var(--primary);
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-base);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.15);
}

/* --------------------------------------------------------------------------
   22. Inner Page Headers & Breadcrumbs
   -------------------------------------------------------------------------- */
.page-banner {
  padding: clamp(40px, 5vw, 60px) 0 clamp(30px, 4vw, 45px);
  background: radial-gradient(circle at 50% 10%, rgba(230, 31, 38, 0.15) 0%, var(--bg-base) 80%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-title {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-lead {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   23. Comprehensive Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet & Smaller Laptops (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .content-sidebar-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

/* Tablets & Mobile (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .hero-features-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Small Smartphone Viewports (<= 480px: 360px - 430px) */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 8px 4px;
  }

  .stat-num {
    font-size: 1.55rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .match-teams {
    font-size: 0.8rem;
  }

  .team-flag {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .odds-buttons {
    gap: 4px;
  }

  .odd-btn {
    min-width: 46px;
    padding: 5px 8px;
    font-size: 0.75rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .exchange-actions {
    flex-direction: column;
  }

  .exchange-actions .btn {
    width: 100%;
  }
}

/* Micro Smartphones (<= 360px: iPhone SE, Galaxy Fold 320px) */
@media (max-width: 360px) {
  .brand-logo {
    height: 34px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .btn {
    padding: 8px 14px;
    font-size: 0.84rem;
  }

  .mobile-bottom-actions .btn {
    padding: 8px 6px;
    font-size: 0.78rem;
  }

  .stat-num {
    font-size: 1.35rem;
  }

  .section-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}
