/* ==========================================================================
   PAMBABETS — MOBILE-FIRST DESIGN SYSTEM & APP-LIKE STYLESHEET
   Clean White Base (#FFFFFF) • Precise Teal (#008080 / #009688) • Vivid Orange (#FF5722)
   High Contrast • Crisp Tables • Native Drawer & Bottom Nav
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;

  /* Teal Accents */
  --teal-primary: #008080;
  --teal-light: #009688;
  --teal-dark: #005656;
  --teal-subtle: #e6f6f5;
  --teal-border: rgba(0, 128, 128, 0.25);

  /* Vivid Orange CTA */
  --orange-primary: #ff5722;
  --orange-hover: #f4511e;
  --orange-accent: #ff8f00;
  --orange-subtle: #fff3e0;
  --orange-glow: rgba(255, 87, 34, 0.35);

  /* Dark VVIP Theme */
  --dark-bg: #091017;
  --dark-card: #131c26;
  --dark-border: #1f2c3b;
  --dark-text-muted: #8b9eb5;
  --gold-accent: #ffb300;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Results */
  --color-win: #10b981;
  --color-loss: #ef4444;
  --color-pending: #f59e0b;

  /* App Dimensions */
  --topbar-height: 56px;
  --bottombar-height: 60px;
  --drawer-width: 290px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* Mobile App Shell */
.mobile-app-shell {
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottombar-height) + 16px);
}

@media (min-width: 769px) {
  .mobile-app-shell {
    padding-bottom: 24px;
  }
}

/* ==========================================================================
   TOP APP BAR (MOBILE & DESKTOP)
   ========================================================================== */
.app-topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  height: var(--topbar-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.topbar-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 8px;
  transition: background-color 0.2s;
}

.topbar-btn:active {
  background: var(--bg-alt);
}

.hamburger-btn {
  color: var(--teal-primary);
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.logo-shield {
  font-size: 1.4rem;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-text .pamba {
  color: var(--teal-primary);
}

.logo-text .bets {
  color: var(--orange-primary);
}

.desktop-nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}

.d-nav-item {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-body);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.d-nav-item:hover {
  background: var(--teal-subtle);
  color: var(--teal-primary);
}

.d-nav-item.active {
  background: var(--teal-primary);
  color: #ffffff;
}

.d-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  text-transform: uppercase;
}

.d-pill.orange { background: var(--orange-subtle); color: var(--orange-primary); }
.d-pill.gold { background: #fff8e1; color: #b78103; }
.d-nav-item.active .d-pill { background: rgba(255, 255, 255, 0.25); color: #fff; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-only-btn {
  display: none;
}

.admin-lock-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 6px 10px;
  gap: 6px;
  color: var(--text-muted);
}

.admin-lock-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
}

@media (min-width: 840px) {
  .hamburger-btn { display: none; }
  .desktop-nav-links { display: flex; }
  .desktop-only-btn { display: inline-flex; }
}

/* ==========================================================================
   SLIDE-OUT SIDE DRAWER
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--drawer-width);
  max-width: 85vw;
  background: var(--bg-card);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xl);
}

.side-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 18px 16px;
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.drawer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.drawer-logo .pamba { color: #ffffff; }
.drawer-logo .bets { color: var(--orange-accent); }

.drawer-tagline {
  font-size: 0.78rem;
  color: #e0f2f1;
  margin-top: 2px;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.drawer-user-status {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.status-avatar {
  font-size: 1.3rem;
}

.status-info {
  display: flex;
  flex-direction: column;
}

.status-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

.status-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
}

.drawer-link:hover, .drawer-link:active {
  background: var(--teal-subtle);
  color: var(--teal-primary);
}

.drawer-link.active {
  background: var(--teal-primary);
  color: #ffffff;
}

.drawer-link .link-icon {
  font-size: 1.2rem;
}

.drawer-link .link-text {
  flex: 1;
}

.badge-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.badge-tag.green { background: #e8f5e9; color: #2e7d32; }
.badge-tag.orange { background: var(--orange-subtle); color: var(--orange-primary); }
.badge-tag.gold { background: #fff8e1; color: #b78103; }
.drawer-link.active .badge-tag { background: rgba(255,255,255,0.25); color: #fff; }

.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-footer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.drawer-admin-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottombar-height);
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.bottom-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.icon-relative {
  position: relative;
  display: inline-block;
}

.orange-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 7px;
  height: 7px;
  background: var(--orange-primary);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--orange-primary);
}

.bottom-nav-item.active {
  color: var(--teal-primary);
}

.bottom-nav-item.active .bottom-label {
  color: var(--teal-primary);
  font-weight: 800;
}

/* ==========================================================================
   LIVE SOCIAL PROOF TICKER
   ========================================================================== */
.app-ticker {
  background: #004d40;
  color: #e0f2f1;
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(0, 150, 136, 0.3);
}

.ticker-badge {
  background: var(--orange-primary);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 0.04em;
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-slider {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-slide 28s linear infinite;
  font-weight: 600;
}

.ticker-slider:hover {
  animation-play-state: paused;
}

.ticker-slider .sep {
  color: var(--orange-accent);
  margin: 0 10px;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   APP CONTENT CONTAINER & SCREENS
   ========================================================================== */
.app-content-area {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 14px;
  flex: 1;
}

.screen-view {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.screen-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Common Section Headers */
.section-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.section-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--teal-primary);
  letter-spacing: 0.08em;
  display: block;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.btn-text-action {
  background: transparent;
  border: none;
  color: var(--teal-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-text-action:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SCREEN 1: HOME SCREEN (HERO & QUICK ACCESS)
   ========================================================================== */
.home-hero {
  background: linear-gradient(135deg, #e6f6f5 0%, #ffffff 100%);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.hero-chip {
  display: inline-block;
  background: var(--teal-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-subtext {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* 3 Quick Access Cards */
.quick-access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

@media (min-width: 680px) {
  .quick-access-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quick-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.quick-card:active {
  transform: scale(0.98);
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.card-free {
  border-color: rgba(0, 150, 136, 0.3);
}
.card-free .card-icon-wrap {
  background: var(--teal-subtle);
}

.card-vip {
  border-color: rgba(255, 87, 34, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #fff7f2 100%);
}
.card-vip .card-icon-wrap {
  background: var(--orange-subtle);
}

.card-vvip {
  border-color: rgba(255, 179, 0, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #fffcf0 100%);
}
.card-vvip .card-icon-wrap {
  background: #fff8e1;
}

.card-details {
  flex: 1;
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.green-badge { background: #e8f5e9; color: #2e7d32; }
.orange-badge { background: var(--orange-subtle); color: var(--orange-primary); }
.gold-badge { background: #fff8e1; color: #b78103; }

.card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.card-arrow {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 300;
}

/* App Card Section */
.app-card-section {
  margin-bottom: 24px;
}

/* ==========================================================================
   CRISP TABLES (MOBILE OPTIMIZED)
   ========================================================================== */
.table-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.mobile-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.mobile-table thead th {
  background: #f8fafc;
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-bottom: 2px solid var(--teal-primary);
  white-space: nowrap;
}

.mobile-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
  vertical-align: middle;
}

.mobile-table tbody tr:last-child td {
  border-bottom: none;
}

.mobile-table tbody tr:hover {
  background: #fbfdfe;
}

.flag-emblem {
  font-size: 1.2rem;
  margin-right: 6px;
  vertical-align: middle;
}

.team-name-cell {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
}

.league-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  background: var(--bg-alt);
  border-radius: 4px;
  color: var(--text-muted);
  white-space: nowrap;
}

.pick-pill {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--teal-primary);
  background: var(--teal-subtle);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.odds-num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--orange-primary);
  font-size: 0.98rem;
}

.status-won {
  background: #e8f5e9;
  color: #10b981;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-failed {
  background: #ffebee;
  color: #ef4444;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-pending {
  background: #fff8e1;
  color: #f59e0b;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   DYNAMIC LIVE PERFORMANCE BAR (SEO & TRUST ELEMENT)
   ========================================================================== */
.perf-bar {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}

.perf-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.perf-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.perf-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--teal-primary);
  line-height: 1.1;
}

.perf-val.green-text {
  color: #10b981;
}

.perf-divider {
  width: 1px;
  height: 38px;
  background: var(--border-light);
}

@media (max-width: 640px) {
  .perf-bar {
    padding: 12px;
    gap: 8px;
  }
  .perf-divider {
    display: none;
  }
  .perf-item {
    min-width: 100px;
  }
  .perf-val {
    font-size: 1.15rem;
  }
}

/* Settlement Engine Controls (Admin Tab 2) */
.settle-btn-group {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.settle-btn {
  padding: 5px 9px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.settle-btn.win {
  background: #e8f5e9;
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}
.settle-btn.win:hover, .settle-btn.win.active-status {
  background: #10b981;
  color: #ffffff;
}

.settle-btn.fail {
  background: #ffebee;
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}
.settle-btn.fail:hover, .settle-btn.fail.active-status {
  background: #ef4444;
  color: #ffffff;
}

.settle-btn.pend {
  background: #fff8e1;
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}
.settle-btn.pend:hover, .settle-btn.pend.active-status {
  background: #f59e0b;
  color: #ffffff;
}

.settle-btn.del {
  background: #f1f5f9;
  color: #64748b;
  border-color: var(--border-light);
}
.settle-btn.del:hover {
  background: #e2e8f0;
  color: var(--text-main);
}


/* ==========================================================================
   WINNING SLIPS CAROUSEL / CARDS
   Realistic Betting Slips with 100% WON Stamp
   ========================================================================== */
.slips-scroll-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.slip-ticket-card {
  min-width: 280px;
  max-width: 310px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.slip-stamp-won {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 2.5px solid #10b981;
  color: #10b981;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  transform: rotate(-8deg);
  background: rgba(16, 185, 129, 0.08);
  pointer-events: none;
}

.slip-header-info {
  margin-bottom: 12px;
}

.slip-type-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--orange-primary);
  text-transform: uppercase;
}

.slip-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.slip-matches-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
  padding: 10px 0;
  margin-bottom: 12px;
}

.slip-match-item {
  font-size: 0.82rem;
}

.slip-match-item .sm-teams {
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.slip-match-item .sm-pick {
  color: var(--teal-primary);
  font-size: 0.78rem;
  font-weight: 600;
}

.slip-totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.slip-total-odds {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--orange-primary);
}

.slip-payout {
  font-weight: 800;
  color: #10b981;
}

.slips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

/* ==========================================================================
   SCREEN 2: FREE ODDS & FILTER BAR
   ========================================================================== */
.screen-header-banner {
  border-radius: 12px;
  padding: 20px 16px;
  margin-bottom: 16px;
}

.teal-banner {
  background: linear-gradient(135deg, #e6f6f5 0%, #ffffff 100%);
  border: 1px solid rgba(0, 128, 128, 0.2);
}

.vip-banner {
  background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
  border: 1px solid rgba(255, 87, 34, 0.25);
}

.vvip-banner {
  background: linear-gradient(135deg, #131c26 0%, #091017 100%);
  border: 1px solid var(--gold-accent);
  color: #ffffff;
}

.banner-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--teal-primary);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.vip-crown-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange-primary);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.vvip-crown-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 6px;
}

.vvip-banner .banner-title {
  color: #ffffff;
}

.banner-sub {
  font-size: 0.85rem;
  color: var(--text-body);
}

.vvip-banner .banner-sub {
  color: var(--dark-text-muted);
}

.filter-scroll-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-pill.active {
  background: var(--teal-primary);
  color: #ffffff;
  border-color: var(--teal-primary);
}

.booking-code-card {
  background: var(--bg-card);
  border: 1px dashed var(--teal-primary);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.code-info {
  display: flex;
  flex-direction: column;
}

.code-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.code-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--teal-primary);
}

/* ==========================================================================
   SCREEN 3 & 4: VIP & VVIP PRIVACY OBFUSCATION
   ========================================================================== */
.access-fee-card {
  background: var(--bg-card);
  border: 1.5px solid var(--orange-primary);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.fee-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--orange-primary);
  letter-spacing: 0.08em;
  display: block;
}

.fee-amount {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange-primary);
}

.fee-amount small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.fee-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.78rem;
}

.guarantee-text {
  font-weight: 800;
  color: var(--teal-primary);
}

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

.privacy-locked-cell {
  background: #fdf6ec;
  color: #b45309;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px dashed rgba(245, 158, 11, 0.4);
}

.dark-locked-cell {
  background: #1e293b;
  color: var(--gold-accent);
  border-color: rgba(255, 179, 0, 0.4);
}

.privacy-stars {
  letter-spacing: 2px;
  font-weight: 900;
  color: var(--text-light);
}

.analyst-brief-card {
  background: var(--bg-card);
  border-left: 4px solid var(--teal-primary);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}

.brief-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.brief-text {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Dark VVIP Theme */
.dark-vvip-view {
  background: var(--dark-bg);
  color: #ffffff;
  padding: 8px;
  border-radius: 12px;
}

.vvip-fee-card {
  background: var(--dark-card);
  border-color: var(--gold-accent);
  box-shadow: 0 4px 15px rgba(255, 179, 0, 0.2);
}

.gold-text {
  color: var(--gold-accent) !important;
}

.dark-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.dark-card thead th {
  background: #172230;
  color: var(--gold-accent);
  border-bottom: 2px solid var(--gold-accent);
}

.dark-card tbody td {
  border-bottom: 1px solid var(--dark-border);
  color: #e2e8f0;
}

.dark-card tbody tr:hover {
  background: #1b2735;
}

.vvip-guarantee-box {
  background: #131c26;
  border: 1px solid var(--gold-accent);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.guarantee-icon {
  font-size: 2rem;
}

.vvip-guarantee-box h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-accent);
  margin-bottom: 2px;
}

.vvip-guarantee-box p {
  font-size: 0.82rem;
  color: var(--dark-text-muted);
}

/* ==========================================================================
   SCREEN 5: ADMIN DASHBOARD (/admin)
   ========================================================================== */
.admin-screen-view {
  min-height: 70vh;
}

.admin-login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 10px;
}

.admin-login-card {
  background: var(--bg-card);
  border: 2px solid var(--teal-primary);
  border-radius: 16px;
  padding: 32px 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
}

.admin-login-header {
  text-align: center;
  margin-bottom: 24px;
}

.admin-lock-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.admin-login-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
}

.admin-login-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.admin-login-footer {
  text-align: center;
  margin-top: 20px;
}

.admin-portal-header {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.admin-live-badge {
  color: #10b981;
  font-weight: 800;
  font-size: 0.72rem;
}

.admin-tabs-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 18px;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.admin-tab-btn.active {
  color: var(--teal-primary);
  border-bottom-color: var(--teal-primary);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.admin-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.admin-manage-table td {
  font-size: 0.82rem;
}

.action-btn-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--teal-primary);
}

.form-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 680px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
  .form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.btn-orange:hover {
  background: linear-gradient(135deg, var(--orange-accent) 0%, var(--orange-primary) 100%);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-light) 100%);
  color: #ffffff;
}

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

.btn-outline-gray {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-light);
}

/* ==========================================================================
   M-PESA PAYMENT MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-top {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  background: #ffffff;
}

.modal-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--orange-primary);
  letter-spacing: 0.08em;
}

.modal-top h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-content {
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  overscroll-behavior: contain;
}

.mpesa-hero-box {
  background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
  border: 1.5px solid #a5d6a7;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
}

.mpesa-logo-badge {
  background: #2e7d32;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.mpesa-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange-primary);
  line-height: 1.1;
}

.mpesa-prompt-note {
  font-size: 0.75rem;
  color: #2e7d32;
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

.phone-box {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.phone-dial {
  background: var(--bg-alt);
  padding: 10px 12px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-main);
  border-right: 1px solid var(--border-light);
  display: flex;
  align-items: center;
}

.phone-dial-select {
  background: var(--bg-alt);
  padding: 10px 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  border: none;
  border-right: 1.5px solid var(--border-light);
  outline: none;
  cursor: pointer;
  max-width: 145px;
  font-family: inherit;
  flex-shrink: 0;
  appearance: menulist;
  -webkit-appearance: menulist;
}

.phone-dial-select:focus {
  background: #ffffff;
}

.phone-box input {
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 1rem;
  width: 100%;
  flex: 1 1 auto;
}

.stk-spinner-box {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.stk-spinner-box strong {
  font-size: 0.85rem;
  color: #b78103;
  display: block;
}

.stk-spinner-box p {
  font-size: 0.78rem;
  color: #795548;
}

.mini-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 143, 0, 0.3);
  border-top-color: var(--orange-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-security-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: calc(var(--bottombar-height) + 12px);
  left: 14px;
  right: 14px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

@media (min-width: 680px) {
  .toast-container {
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 360px;
  }
}

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--teal-primary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.orange { border-left-color: var(--orange-primary); }

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   CONTROLLED GOOGLE ADSENSE CONTAINERS (NON-INTRUSIVE)
   Container 1 (#ads-container-home), Container 2 (#ads-container-free-tips), Container 3 (#ads-container-post-unlock)
   ========================================================================== */
.ads-wrapper {
  margin: 18px 0;
  width: 100%;
}

.ads-card-frame {
  background: var(--bg-card);
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.ads-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ads-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ads-indicator {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 600;
}

.ads-inner-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ads-promo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 14px;
  flex-wrap: wrap;
}

.ads-promo-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.ads-promo-body {
  flex: 1;
  min-width: 200px;
}

.ads-promo-body strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  line-height: 1.25;
}

.ads-promo-body p {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-top: 2px;
}

.ads-cta-btn {
  white-space: nowrap;
}

.in-feed-ad {
  margin: 16px 0;
}

.in-feed-promo {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  border-color: #fed7aa;
}

.dark-ad-frame {
  background: #131c26;
  border-color: rgba(255, 179, 0, 0.35);
}

.vvip-ad-promo {
  background: linear-gradient(135deg, #1c2735 0%, #151f2b 100%);
  border-color: rgba(255, 179, 0, 0.4);
}

.vip-ad-promo {
  background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
  border-color: rgba(255, 87, 34, 0.3);
}

/* ==========================================================================
   OFFICIAL PESAPAL PAYMENT ARCHITECTURE & BRANDED DESCRIPTOR
   ========================================================================== */
.pesapal-brand-banner {
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.08) 0%, rgba(255, 87, 34, 0.08) 100%);
  border: 1px solid rgba(0, 128, 128, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pesapal-brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pesapal-brand-logo {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--teal-primary);
  letter-spacing: -0.02em;
}

.pesapal-official-tag {
  background: #008080;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pesapal-merchant-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.25;
}

.pesapal-merchant-desc strong {
  color: var(--text-main);
  font-weight: 700;
}

.order-desc-pill {
  background: #f1f5f9;
  border-left: 3px solid var(--orange-primary);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  border-radius: 0 6px 6px 0;
  margin-top: 6px;
  display: inline-block;
  width: 100%;
}

.gateway-switch-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.channel-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg-alt);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-btn:hover {
  border-color: var(--teal-light);
}

.channel-btn.active {
  border-color: var(--teal-primary);
  background: var(--teal-subtle);
  box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.15);
}

.channel-btn .ch-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 3px;
}

.channel-btn strong {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.channel-btn.active strong {
  color: var(--teal-primary);
}

.channel-btn span {
  font-size: 0.64rem;
  color: var(--text-muted);
}

.hero-action-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ACTIVE SUBSCRIBER BANNER (NON-INTRUSIVE STATUS NOTIFICATION)
   ========================================================================== */
.subscriber-banner {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ecfdf5;
  padding: 10px 16px;
  border-bottom: 2px solid #10b981;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 99;
  animation: slideDownBanner 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sub-banner-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
}

.sub-status-dot {
  font-size: 0.85rem;
  animation: pulseDot 2s infinite ease-in-out;
}

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

.sub-banner-action {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.sub-banner-action:hover {
  background: #ffffff;
  color: #064e3b;
}

/* ==========================================================================
   SUBSCRIPTION PRICING CARDS (FEATURED ON SCREEN 1)
   ========================================================================== */
.subscription-pricing-section {
  margin: 24px 0;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.sub-pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.sub-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-primary);
}

.sub-pricing-card.featured-card {
  border: 2px solid var(--orange-primary);
  background: linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.12);
}

.pricing-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--orange-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(255, 87, 34, 0.4);
}

.sub-card-top {
  margin-bottom: 14px;
}

.sub-plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sub-plan-badge.teal {
  background: var(--teal-subtle);
  color: var(--teal-primary);
  border: 1px solid var(--teal-border);
}

.sub-plan-badge.orange {
  background: var(--orange-subtle);
  color: var(--orange-primary);
  border: 1px solid rgba(255, 87, 34, 0.3);
}

.sub-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.sub-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sub-card-price-row {
  margin: 12px 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sub-card-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-main);
}

.sub-pricing-card.featured-card .sub-card-price {
  color: var(--orange-primary);
}

.sub-card-duration {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sub-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1;
}

.sub-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.35;
}

.sub-feature-list li span.check-icon {
  color: #10b981;
  font-weight: 900;
  line-height: 1;
}

.sub-checkout-btn {
  width: 100%;
  margin-top: auto;
}

/* ==========================================================================
   MODAL PLAN SELECTOR (SWITCH BETWEEN PAY-PER-GAME & SUBSCRIPTION PASSES)
   ========================================================================== */
.modal-plan-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.plan-option-tab {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-option-tab:hover {
  border-color: var(--teal-light);
}

.plan-option-tab.active {
  border-color: var(--teal-primary);
  background: var(--teal-subtle);
}

.plan-option-tab strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.plan-option-tab.active strong {
  color: var(--teal-primary);
}

.plan-option-tab small {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.verify-subscriber-link-row {
  text-align: center;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
}

.verify-subscriber-link-row button {
  background: none;
  border: none;
  color: var(--teal-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ==========================================================================
   ADMIN TAB 3: MANUAL SUBSCRIPTION ACCESS OVERRIDE ENGINE
   ========================================================================== */
.admin-override-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .admin-override-grid {
    grid-template-columns: 360px 1fr;
  }
}

.admin-override-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.admin-override-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.admin-override-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.override-subscriber-list-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.subscribed-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.subscribed-badge-pill.vvip-pill {
  background: #172836;
  color: #ffb300;
  border: 1px solid #ffb300;
}

/* ==========================================================================
   AUTHENTICATION & GOOGLE LOGIN GATE MODAL
   ========================================================================== */
.google-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid #dadce0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #3c4043;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.google-signin-btn:hover {
  background: #f8fafd;
  border-color: #4285f4;
  box-shadow: 0 3px 8px rgba(66, 133, 244, 0.2);
}

.google-g-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-user-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.auth-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-primary);
}

.auth-user-meta strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.auth-user-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.user-account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
  border-radius: 20px;
  padding: 4px 10px 4px 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-primary);
}

.user-account-chip img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.user-account-chip .logout-icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0 2px;
  margin-left: 2px;
}

.user-account-chip .logout-icon-btn:hover {
  color: var(--orange-primary);
}

/* ==========================================================================
   FOOTBALL NEWS SCREEN & EDITORIAL CARD GRID
   ========================================================================== */
.news-header-banner {
  background: linear-gradient(135deg, #008080 0%, #005656 100%);
  color: #ffffff;
  padding: 24px 16px;
  border-radius: 14px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.news-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.news-filter-bar::-webkit-scrollbar {
  display: none;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 680px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-md);
}

.news-thumb-wrap {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb-img {
  transform: scale(1.05);
}

.news-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 128, 128, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.news-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  flex: 1;
}

.news-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.news-author-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

/* ==========================================================================
   ARTICLE READER MODAL
   ========================================================================== */
.article-reader-content {
  max-width: 680px;
  margin: 0 auto;
}

.reader-hero-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}

.reader-headline {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 12px;
}

.reader-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reader-body-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
}

.reader-body-text p {
  margin-bottom: 14px;
}

.reader-body-text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 18px 0 8px;
  color: var(--teal-primary);
}

/* ==========================================================================
   ADMIN TAB 4: REGISTERED USERS CRM DIRECTORY
   ========================================================================== */
.crm-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.crm-meta strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.crm-meta small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

/* ==========================================================================
   ANTIGRAVITY VECTOR LOGO STYLES
   ========================================================================== */
.logo-vector-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.topbar-logo:hover .logo-vector-icon {
  transform: rotate(12deg) scale(1.08);
}

/* ==========================================================================
   PROGRESSIVE WEB APP (PWA) INSTALL BANNER
   ========================================================================== */
.pwa-install-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f0fdf4 0%, #e6fffa 100%);
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0 20px 0;
  box-shadow: 0 4px 16px rgba(0, 128, 128, 0.08);
  gap: 12px;
  transition: all 0.3s ease;
}

.pwa-install-banner.hidden {
  display: none !important;
}

.pwa-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.pwa-icon-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-text-box {
  display: flex;
  flex-direction: column;
}

.pwa-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--teal-primary);
  line-height: 1.2;
}

.pwa-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 3px 0 0 0;
  line-height: 1.3;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-dismiss-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}

.pwa-dismiss-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-main);
}

@media (max-width: 600px) {
  .pwa-install-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .pwa-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
  .pwa-banner-actions .btn {
    flex: 1;
  }
}

/* ==========================================================================
   CRM SUPERPOWERS & SUSPENSION STYLES
   ========================================================================== */
.crm-status-suspended {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #f87171;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-block;
}

.btn-xs {
  padding: 3px 8px;
  font-size: 0.72rem;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.btn-outline-red {
  background: transparent;
  border: 1px solid #ef4444;
  color: #ef4444;
}

.btn-outline-red:hover {
  background: #ef4444;
  color: #ffffff;
}

.btn-outline-green {
  background: transparent;
  border: 1px solid #10b981;
  color: #10b981;
}

.btn-outline-green:hover {
  background: #10b981;
  color: #ffffff;
}

.crm-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* ==========================================================================
   PHASE 3: ADVANCED BET SLIP BUILDER, BOOKING CODES HUB & COMMUNITY
   ========================================================================== */

/* 1. Floating Bet Slip Indicator */
.slip-floating-pill {
  position: fixed;
  bottom: calc(var(--bottombar-height) + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.4), 0 0 0 2px var(--teal-primary);
  z-index: 990;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 290px;
  max-width: 90vw;
}

.slip-floating-pill:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--orange-primary);
}

.slip-floating-pill.hidden {
  display: none !important;
}

.slip-pill-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slip-badge {
  background: var(--orange-primary);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slip-summary-text {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.slip-pill-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slip-odds-display {
  background: rgba(0, 128, 128, 0.35);
  color: #4ade80;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.slip-view-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
}

/* Slip Row Add Button */
.slip-add-btn {
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.slip-add-btn:hover {
  background: var(--teal-primary);
  color: #ffffff;
}

.slip-add-btn.in-slip {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* 2. Interactive Bet Slip Modal & Calculator */
.slip-modal-card {
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.slip-items-scroll {
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px;
  background: var(--bg-alt);
}

.slip-empty-state {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-muted);
}

.slip-empty-state span {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
}

.slip-single-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--bg-card);
  border-radius: 6px;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.slip-item-info {
  flex: 1;
}

.slip-item-teams {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.slip-item-pick {
  font-size: 0.74rem;
  color: var(--teal-primary);
  font-weight: 600;
}

.slip-item-odds-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slip-item-odds {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--orange-primary);
}

.slip-item-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.slip-item-remove:hover {
  background: #fee2e2;
}

.slip-calc-panel {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.slip-stake-row {
  margin-bottom: 12px;
}

.slip-stake-label-group {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stake-chips-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.stake-chip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.stake-chip:hover, .stake-chip.active {
  background: var(--teal-primary);
  color: #ffffff;
  border-color: var(--teal-primary);
}

.slip-returns-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.slip-return-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #10b981;
  font-family: var(--font-heading);
}

.slip-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* 3. Multi-Bookmaker Booking Codes Hub */
.booking-hub-section {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px;
}

.booking-hub-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.bookmaker-card {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.bookmaker-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bm-name {
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bm-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.bm-badge.sporty { background: #ff4757; color: #ffffff; }
.bm-badge.betika { background: #2ed573; color: #000000; }
.bm-badge.onex { background: #1e90ff; color: #ffffff; }
.bm-badge.mozzart { background: #ffa502; color: #000000; }

.bm-code-box {
  background: var(--bg-alt);
  border: 1px dashed var(--border-light);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bm-code-text {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.bm-actions-row {
  display: flex;
  gap: 6px;
}

.bm-actions-row button, .bm-actions-row a {
  flex: 1;
  text-align: center;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* 4. Community Telegram & WhatsApp Banner */
.community-hub-card {
  background: linear-gradient(135deg, #091a28 0%, #004d40 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 22px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 8px 20px rgba(0, 77, 64, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.community-left {
  flex: 1;
  min-width: 250px;
}

.comm-pill {
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.community-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25;
}

.community-desc {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.community-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 5. Floating WhatsApp Support FAB */
.floating-whatsapp-fab {
  position: fixed;
  bottom: calc(var(--bottombar-height) + 16px);
  right: 18px;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  z-index: 980;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  animation: pulse-fab 3s infinite;
}

.floating-whatsapp-fab:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

@keyframes pulse-fab {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 6. Jackpot Pro Zone */
.jackpot-banner-card {
  background: linear-gradient(135deg, #131c26 0%, #1a2a3a 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 18px;
  margin-top: 24px;
  border: 1px solid #ffb300;
  box-shadow: 0 8px 24px rgba(255, 179, 0, 0.12);
}

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

.jp-prize-badge {
  background: #ffb300;
  color: #000000;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.jp-table-wrap {
  overflow-x: auto;
}

.jp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.jp-table th {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  padding: 8px 10px;
  text-align: left;
  font-size: 0.74rem;
}

.jp-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jp-pick-badge {
  background: rgba(0, 128, 128, 0.3);
  color: #2dd4bf;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.jp-double-chance {
  background: rgba(255, 179, 0, 0.2);
  color: #ffb300;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 179, 0, 0.3);
}

@media (max-width: 768px) {
  .slip-floating-pill {
    bottom: calc(var(--bottombar-height) + 10px);
    width: calc(100% - 32px);
    min-width: auto;
  }
  .floating-whatsapp-fab .whatsapp-label {
    display: none;
  }
  .floating-whatsapp-fab {
    padding: 10px;
    bottom: calc(var(--bottombar-height) + 68px);
    right: 14px;
  }

  .modal-backdrop {
    padding: 10px;
    align-items: flex-start;
  }

  .modal-card {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 14px;
    margin-top: auto;
    margin-bottom: auto;
  }

  .modal-top {
    padding: 14px 16px;
  }

  .modal-content {
    padding: 16px;
  }
}

