/* ==========================================
   BETIN - PREMIUM SPORTSBOOK DESIGN SYSTEM
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  /* === BACKGROUNDS === */
  --bg-darkest:   #060c09;
  --bg-dark:      #0b1612;
  --bg-card:      rgba(11, 22, 18, 0.75);
  --bg-card-solid:#0d1a15;
  --bg-surface:   #0e1e19;

  /* === BRAND GREENS === */
  --green-primary:   #10b981;
  --green-dark:      #047857;
  --green-light:     #34d399;
  --green-glow:      rgba(16, 185, 129, 0.2);
  --green-gradient:  linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
  --green-btn-hover: #059669;

  /* === SECONDARY ACCENT (Gold / Amber for Odds) === */
  --amber:       #fbbf24;
  --amber-light: #fef08a;
  --amber-dim:   rgba(251, 191, 36, 0.15);
  --amber-gradient: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);

  /* === NAVY / PURPLE ACCENTS === */
  --navy:        #1e3a8a;
  --navy-light:  #3b82f6;
  --navy-glow:   rgba(59, 130, 246, 0.15);

  /* === TEXT === */
  --text-primary:   #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted:     #6b7280;

  /* === STATUS === */
  --color-success: #10b981;
  --color-pending: #f59e0b;
  --color-error:   #ef4444;

  /* === BORDERS === */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-green: rgba(16, 185, 129, 0.35);

  /* === SHADOWS & GEOMETRY === */
  --shadow-card:  0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-green: 0 4px 20px rgba(16, 185, 129, 0.25);
  --radius-xl:    20px;
  --radius-lg:    14px;
  --radius-md:    9px;
  --radius-sm:    5px;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--green-primary) var(--bg-darkest);
}

body, button, input, select, textarea {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-darkest); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-light); }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-darkest);
  background-image:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(16,185,129,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 80% 100%, rgba(59,130,246,0.08) 0%, transparent 60%);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==========================================
   GLASSMORPHIC PANEL
   ========================================== */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.glass-panel:hover {
  border-color: var(--border-green);
  box-shadow: 0 10px 40px -15px rgba(16, 185, 129, 0.15);
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
header.navbar-main {
  background: rgba(6, 12, 9, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16,185,129,0.15);
  position: sticky;
  top: 0;
  z-index: 500;
  transition: all 0.3s;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

.logo-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}

.logo-icon-glowing {
  color: var(--green-light);
  font-size: 26px;
  filter: drop-shadow(0 0 10px var(--green-primary));
}

.logo-text-styled {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-text-styled span {
  color: var(--green-primary);
}

.nav-menu-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}
.nav-link-item:hover,
.nav-link-item.active {
  color: var(--text-primary);
}
.nav-link-item.active {
  border-bottom-color: var(--green-primary);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary-gold,
.btn-green {
  background: var(--green-gradient);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.btn-primary-gold:hover,
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
  filter: brightness(1.1);
}
.btn-primary-gold:active,
.btn-green:active {
  transform: translateY(0);
}
.btn-primary-gold.disabled {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.btn-nav-action {
  background: var(--green-gradient);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-nav-action:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

.btn-secondary-blue {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-secondary-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}

.btn-outline-glass {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 11px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-outline-glass:hover {
  border-color: var(--green-primary);
  color: var(--green-light);
  background: rgba(16,185,129,0.05);
}

/* ==========================================
   HERO / MAIN SITE LANDING
   ========================================== */
.hero-landing {
  position: relative;
  padding: 60px 0 80px 0;
  display: flex;
  align-items: center;
  min-height: calc(85vh - 74px);
}

.stadium-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, transparent 30%, var(--bg-darkest) 95%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.match-info-parent {
  display: flex;
  flex-direction: column;
}

.match-header-card {
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(16,185,129,0.2);
}

.countdown-header {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-light);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.match-teams-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 35px;
}

.team-badge-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.team-badge-large img {
  border: 2px solid var(--border-light);
  transition: transform 0.3s ease;
}
.team-badge-large img:hover {
  transform: scale(1.08);
}

/* Clickable pick card on landing page */
.team-pick-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  transition: all 0.25s ease;
  position: relative;
}
.team-pick-card:hover {
  border-color: var(--green-primary);
  background: rgba(16,185,129,0.07);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.2);
}
.team-pick-card:hover img {
  transform: scale(1.08);
}

.draw-pick-card {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  transition: all 0.25s ease;
}
.draw-pick-card:hover {
  border-color: var(--green-primary);
  background: rgba(16,185,129,0.07);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(16,185,129,0.15);
}

.pick-hint-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-light);
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-top: 2px;
}
.team-pick-card:hover .pick-hint-label,
.draw-pick-card:hover .pick-hint-label {
  opacity: 1;
}

.team-name-label {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: 'Space Grotesk', sans-serif;
}

.versus-styled {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  font-style: italic;
  opacity: 0.8;
  padding: 10px 16px;
  background: var(--border-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

/* === COUNTDOWN CLOCK === */
.countdown-parent {
  background: rgba(6,12,9,0.5);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.countdown-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 15px;
}

.countdown-segment {
  background: rgba(11,22,18,0.8);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  border: 1px solid rgba(255,255,255,0.05);
}

.countdown-value {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--amber);
  text-shadow: 0 0 8px rgba(251,191,36,0.3);
}

.countdown-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.counter-closed-banner {
  color: var(--color-error);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1em;
  padding: 15px;
  border: 1px solid rgba(239,68,68,0.25);
  background: rgba(239,68,68,0.05);
  border-radius: var(--radius-md);
  text-shadow: 0 0 8px rgba(239,68,68,0.2);
}

/* === TROPHY GLOW === */
.trophy-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.trophy-light-effect {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(234,179,8,0.22) 0%, transparent 70%);
  z-index: 1;
  animation: pulse-glow 4s infinite ease-in-out;
}

.trophy-image-media {
  max-width: 310px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.6));
  animation: float-trophy 6s infinite ease-in-out;
}

@keyframes float-trophy {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* ==========================================
   METRICS LIVE TICKER
   ========================================== */
.ticker-analytics-wrapper {
  background: rgba(11,22,18,0.85);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 30px 0;
  position: relative;
  z-index: 10;
}

.grid-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.anal-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.anal-stat-card i {
  font-size: 26px;
  color: var(--green-primary);
  filter: drop-shadow(0 0 5px rgba(16,185,129,0.3));
}

.anal-stat-number {
  font-size: 28px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}

.anal-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   RULES & FAQ
   ========================================== */
.how-it-works-sec {
  padding: 90px 0;
}

.section-title-styled {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}
.section-title-styled span {
  color: var(--green-light);
  background: linear-gradient(120deg, var(--green-primary), var(--green-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.rule-card {
  padding: 35px;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.rule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--green-gradient);
}

.rule-card-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-glow);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 24px;
}

.rule-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.rule-card-p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === FAQ ACCORDION === */
.faq-wrapper-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item-glass {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: rgba(11,22,18,0.45);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item-glass:hover {
  border-color: rgba(16,185,129,0.3);
}

.faq-trigger-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.faq-trigger-btn i {
  color: var(--text-secondary);
  transition: transform 0.3s;
}

.faq-item-glass.active {
  border-color: var(--border-green);
}
.faq-item-glass.active .faq-trigger-btn i {
  transform: rotate(180deg);
  color: var(--green-light);
}

.faq-content-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-item-glass.active .faq-content-drawer {
  max-height: 200px;
}

.faq-content-inner {
  padding: 0 24px 24px 24px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* === RESPONSIBLE GAMING === */
.responsible-notice-sec {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.18);
  border-radius: var(--radius-lg);
  margin-top: 100px;
  align-items: flex-start;
}

.responsible-icon {
  font-size: 28px;
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.responsible-header {
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 8px;
  font-size: 16px;
}

.responsible-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-section {
  background: #040907;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr 0.6fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links-list a:hover {
  color: var(--green-light);
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
}

/* ==========================================
   FORM INPUTS & LABELS
   ========================================== */
.form-input-group {
  margin-bottom: 20px;
}

.form-label-style {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input-element {
  width: 100%;
  background: rgba(6, 12, 9, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s;
}

.form-input-element:focus {
  border-color: var(--green-primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--green-glow);
}

.terms-agree-text {
  text-align: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.terms-agree-text a {
  color: var(--green-light);
  text-decoration: none;
  font-weight: 600;
}

.terms-agree-text a:hover {
  text-decoration: underline;
}

/* ==========================================
   AUTH PAGE WORKFLOW
   ========================================== */
.auth-bg-wrapper {
  min-height: calc(90vh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card-styled {
  width: 100%;
  max-width: 440px;
  padding: 40px;
  background: var(--bg-card-solid);
  border: 1px solid rgba(16,185,129,0.18);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.06);
  border-radius: var(--radius-xl);
}

.auth-form-panel {
  opacity: 0;
  transform: translateY(12px);
  animation: authFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes authFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-brand-strip {
  text-align: center;
  margin-bottom: 30px;
}

.auth-brand-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.auth-brand-title {
  font-size: 26px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}
.auth-brand-title span {
  color: var(--green-light);
}

.auth-tab-triggers {
  display: flex;
  background: rgba(6,12,9,0.6);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 26px;
  border: 1px solid var(--border-light);
}

.auth-tab-btn {
  width: 50%;
  background: transparent;
  border: none;
  padding: 10px;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.auth-tab-btn.active {
  background: var(--green-gradient);
  color: white;
}

.phone-input-wrap {
  display: flex;
  position: relative;
  align-items: center;
}

.phone-prefix {
  position: absolute;
  left: 14px;
  font-size: 16px;
  color: var(--text-secondary);
  pointer-events: none;
}

.phone-input-field {
  padding-left: 42px !important;
}

.forgot-link-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--green-light);
  cursor: pointer;
  display: block;
  margin: -10px 0 20px auto;
  font-weight: 600;
}
.forgot-link-btn:hover {
  text-decoration: underline;
}

.terms-check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.terms-check-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--green-primary);
}

.loader-ring {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s infinite linear;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================
   USER DASHBOARD & ADMIN PANEL NAVIGATION
   ========================================== */
.dashboard-grid,
.admin-main-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 40px 0;
}

.dashboard-sidebar,
.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logout-side-btn {
  margin-top: 30px;
  width: 100%;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-md);
  color: #fca5a5;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
  transition: all 0.2s;
}
.logout-side-btn:hover {
  background: #ef4444;
  color: white;
}

.dashboard-feed,
.admin-table-box {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* === WALLET CARD === */
.wallet-status-card {
  padding: 24px;
  background: var(--bg-card-solid);
  border: 1px solid rgba(16,185,129,0.15);
}

.status-card-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.status-card-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 6px 0 12px 0;
  font-family: 'Space Grotesk', sans-serif;
}

.wallet-status-bar {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* === DYNAMIC SPLIT VIEW === */
.prediction-view-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.feed-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bet-slip-panel {
  display: flex;
  flex-direction: column;
}

/* === MATCH HEADER BANNER === */
.match-banner-card {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(11,22,18,0.7) 0%, rgba(22,163,74,0.06) 100%);
  border: 1px solid rgba(16,185,129,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.match-teams-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.team-flag-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag-img {
  width: 44px;
  height: 30px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.team-name-str {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.vs-badge {
  padding: 4px 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-secondary);
}

.countdown-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.countdown-inline .val {
  color: var(--amber);
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}

/* === MARKETS CARDS === */
.market-box-panel {
  padding: 20px;
  background: var(--bg-card-solid);
}

.market-label-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.market-label-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.market-active-tag {
  font-size: 10px;
  background: rgba(16,185,129,0.12);
  color: var(--green-light);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
}

.market-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* default; overridden inline per market */
  gap: 10px;
}

/* === ODDS SELECTION CARD (match winner options) === */
.odds-select-card {
  background: rgba(6,12,9,0.55);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  min-height: 80px;
  justify-content: center;
}
.odds-select-card:hover {
  border-color: var(--green-primary);
  background: rgba(16,185,129,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(16,185,129,0.15);
}
.odds-select-card.selected {
  background: var(--green-gradient);
  border-color: transparent;
  box-shadow: var(--shadow-green);
}
.odds-select-card.selected .odds-label-str,
.odds-select-card.selected .odds-multiplier-val {
  color: #fff;
}

.action-btn-pill {
  background: rgba(6,12,9,0.45);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.action-btn-pill:hover {
  border-color: var(--green-primary);
  background: rgba(16,185,129,0.06);
}
.action-btn-pill.active {
  background: var(--green-gradient);
  border-color: transparent;
  box-shadow: var(--shadow-green);
}

.odds-label-str {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}
.action-btn-pill.active .odds-label-str {
  color: #fff;
}

.odds-multiplier-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--amber);
  font-family: 'Space Grotesk', sans-serif;
}
.action-btn-pill.active .odds-multiplier-val {
  color: #fff;
}

/* === BET SLIP === */
.bet-slip-panel .glass-panel {
  padding: 20px;
  background: rgba(13, 26, 21, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-xl);
}

.slip-title {
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}
.slip-title i {
  color: var(--green-light);
}

.slip-empty-prompt {
  text-align: center;
  padding: 50px 10px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.slip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.slip-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--green-light);
  position: relative;
  transition: all 0.2s ease;
}
.slip-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.3);
}

.slip-item-selection {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  padding-right: 70px;
  word-wrap: break-word;
}

.slip-item-market {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-top: 3px;
}

.slip-item-odds {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  font-size: 14px;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.09);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(251, 191, 36, 0.2);
  font-family: 'Space Grotesk', sans-serif;
}

.slip-item-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  transition: color 0.15s;
  padding: 4px;
}
.slip-item-clear-btn:hover {
  color: var(--color-error);
}

.bet-count-selector {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  align-items: center;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.25);
  width: 100%;
  padding: 4px;
}

.count-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.count-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #fff;
}

.bet-price-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

/* === SLIP ARITHMETICS === */
.slip-summary-table {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slip-math-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.slip-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  border-top: 1px dashed var(--border-light);
  padding-top: 10px;
  margin-top: 4px;
}

.bet-price-amount {
  color: var(--green-light);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* ==========================================
   TABLE SYSTEM & TRANSACTIONS
   ========================================== */
.admin-table-box,
.transactions-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-card-solid);
}

.transactions-table,
.admin-control-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  min-width: 600px;
}

.transactions-table th,
.admin-control-table th {
  background: rgba(6,12,9,0.7);
  padding: 16px 20px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.transactions-table td,
.admin-control-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text-primary);
  vertical-align: middle;
}

.transactions-table tr:last-child td,
.admin-control-table tr:last-child td {
  border-bottom: none;
}

.transactions-table tr:hover,
.admin-control-table tr:hover {
  background: rgba(255,255,255,0.01);
}

.notification-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================
   ADMIN MAIN METRICS
   ========================================== */
.admin-panel-segment {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.analytics-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.analytics-metric-card {
  padding: 24px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
}

.anal-num-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 4px;
}

/* Action pills in admin table */
.pill-approve {
  background: rgba(16,185,129,0.12);
  color: var(--green-light);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  margin-right: 6px;
}
.pill-approve:hover {
  background: var(--green-primary);
  color: white;
}

.pill-reject {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  margin-right: 6px;
}
.pill-reject:hover {
  background: #ef4444;
  color: white;
}

.pill-suspend {
  background: rgba(245,158,11,0.12);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
}
.pill-suspend:hover {
  background: var(--amber);
  color: #000;
}

/* ==========================================
   MODAL DIALOG DIALECT
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content-box {
  width: 90%;
  max-width: 460px;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content-box { transform: translateY(0); }

.mpesa-modal-inner {
  padding: 30px;
}

.mpesa-modal-logo {
  display: block;
  max-width: 140px;
  margin: 0 auto 20px auto;
}

/* ==========================================
   ALERT SYSTEM
   ========================================== */
.alert-popup {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.alert-info    { background: rgba(59,130,246,0.15);  border: 1px solid rgba(59,130,246,0.3);   color: #93c5fd; }
.alert-success { background: rgba(16,185,129,0.15);  border: 1px solid rgba(16,185,129,0.3);   color: #a7f3d0; }
.alert-danger  { background: rgba(239,68,68,0.15);  border: 1px solid rgba(239,68,68,0.3);   color: #fca5a5; }

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-completed { background: rgba(16,185,129,0.15);  color: #34d399; }
.badge-pending   { background: rgba(245,158,11,0.15); color: #fbbf24; }
.badge-rejected  { background: rgba(239,68,68,0.15);  color: #f87171; }

.action-btn-pill:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================
   RESPONSIVE DESIGN — FULL OVERHAUL
   ========================================== */

/* ── Tablet landscape (≤1100px) ─────────────────── */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .trophy-container {
    order: -1;
  }
  .trophy-image-media {
    max-width: 220px;
  }
  .prediction-view-split {
    grid-template-columns: 1fr;
  }
  /* On tablet: bet slip after markets */
  .bet-slip-panel {
    order: 1;
  }
}

/* ── Tablet portrait (≤900px) ───────────────────── */
@media (max-width: 900px) {
  /* Dashboard: sidebar goes horizontal top-bar */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 80px 0; /* space for bottom nav */
  }
  .dashboard-sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 4px;
    padding: 10px 16px;
    background: rgba(6, 12, 9, 0.92);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 64px;
    z-index: 100;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dashboard-sidebar::-webkit-scrollbar { display: none; }
  .dashboard-sidebar .side-nav-btn {
    flex-shrink: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px 14px;
    font-size: 11px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: auto;
  }
  .dashboard-sidebar .side-nav-btn i {
    font-size: 16px;
    width: auto;
  }
  .logout-side-btn {
    margin-top: 0;
    background: rgba(239,68,68,0.06);
    border-color: rgba(239,68,68,0.2);
    color: #fca5a5;
  }
  .dashboard-feed {
    padding: 16px;
    gap: 16px;
  }

  /* Admin: sidebar wraps */
  .admin-main-grid {
    grid-template-columns: 1fr;
    padding: 12px 0 40px;
    gap: 16px;
  }
  .admin-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    position: static;
    padding: 12px;
  }
  .admin-sidebar .side-nav-btn {
    flex: 1 1 130px;
    justify-content: center;
    text-align: center;
    padding: 9px 10px;
    font-size: 12px;
    white-space: normal;
  }
  .analytics-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile landscape / small tablet (≤768px) ─── */
@media (max-width: 768px) {
  /* Typography */
  h1, .section-title-styled { font-size: 26px; }
  h2 { font-size: 20px; }

  /* Navbar */
  .navbar-wrapper { height: 60px; }
  .nav-menu-links { gap: 12px; }
  .nav-link-item { font-size: 13px; }
  .logo-text-styled { font-size: 20px; }
  .logo-icon-glowing { font-size: 22px; }

  /* Container */
  .container { padding: 0 16px; }

  /* Hero */
  .hero-landing { padding: 30px 0 50px; min-height: auto; }
  .match-header-card { padding: 20px 16px; }
  .team-name-label { font-size: 15px; }
  .versus-styled { font-size: 18px; padding: 6px 10px; }
  .countdown-timer-grid { gap: 8px; }
  .countdown-value { font-size: 22px; }
  .countdown-label { font-size: 10px; }

  /* Landing stats */
  .grid-three-col { grid-template-columns: 1fr; gap: 16px; }
  .rules-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Hero match teams */
  .match-teams-wrapper { gap: 16px; }
  .team-badge-large img { width: 52px !important; height: 38px !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-section { padding: 40px 0 24px; }

  /* Auth */
  .auth-bg-wrapper { padding: 20px 16px; min-height: auto; }
  .auth-card-styled { padding: 28px 18px; max-width: 100%; }

  /* Dashboard feed */
  .wallet-status-bar { flex-direction: row; gap: 12px; }
  .wallet-status-card { padding: 14px; flex: 1; }
  .status-card-value { font-size: 22px; }

  /* Market option grids respect their inline column count (set per market) */
  /* Correct Score: allow narrow cards to wrap on mobile */
  #odds-board-markets-wrapper .market-options-grid {
    gap: 8px;
  }

  /* Bet slip panels */
  .bet-slip-panel .glass-panel { padding: 16px; }
  .slip-title { font-size: 16px; }

  /* Tables */
  .admin-table-box, .transactions-table-wrap {
    border-radius: var(--radius-md);
  }
  .transactions-table th,
  .admin-control-table th { padding: 12px 14px; }
  .transactions-table td,
  .admin-control-table td { padding: 12px 14px; }

  /* Admin analytics */
  .analytics-metric-card { padding: 16px; }
  .anal-num-val { font-size: 20px; }

  /* Alerts */
  .alert-popup { font-size: 13px; padding: 12px 14px; }

  /* Modals */
  .modal-content-box { width: 95%; }
  .mpesa-modal-inner { padding: 22px 16px; }
}

/* ── Mobile portrait (≤480px) ───────────────────── */
@media (max-width: 480px) {
  /* Container */
  .container { padding: 0 12px; }
  .navbar-main .container { padding: 0 12px; }

  /* Navbar: keep logo + logout only, hide nav links text */
  .nav-menu-links { gap: 6px; }
  .nav-link-item { display: none; } /* hide Home link on tiny screens */
  .btn-nav-action, .btn-outline-glass {
    padding: 7px 11px;
    font-size: 12px;
  }

  /* Hero */
  .hero-landing { padding: 20px 0 40px; }
  .match-teams-wrapper { gap: 10px; }
  .countdown-timer-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .countdown-value { font-size: 20px; }
  .trophy-image-media { max-width: 160px; }
  .trophy-light-effect { width: 180px; height: 180px; }

  /* Ticker / stats */
  .ticker-analytics-wrapper { padding: 20px 0; }
  .anal-stat-number { font-size: 22px; }

  /* Auth */
  .auth-card-styled { padding: 22px 14px; border-radius: var(--radius-lg); }
  .auth-brand-title { font-size: 22px; }

  /* Dashboard sidebar — bottom navigation bar on mobile */
  .dashboard-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    padding: 6px 8px;
    border-top: 1px solid var(--border-light);
    border-bottom: none;
    border-radius: 0;
    gap: 0;
    background: rgba(6, 12, 9, 0.97);
    backdrop-filter: blur(20px);
    z-index: 500;
    overflow-x: visible;
  }
  .dashboard-sidebar .side-nav-btn {
    flex: 1;
    flex-direction: column;
    gap: 3px;
    padding: 6px 4px;
    font-size: 10px;
    border-radius: 6px;
    white-space: normal;
    max-width: 70px;
  }
  .dashboard-sidebar .side-nav-btn i { font-size: 18px; }
  .logout-side-btn { margin-top: 0; }
  .dashboard-grid { padding-bottom: 72px; }
  .dashboard-feed { padding: 12px; gap: 14px; }

  /* Wallet: side-by-side on mobile */
  .wallet-status-bar { flex-direction: row; gap: 10px; }
  .wallet-status-card { padding: 14px; flex: 1; min-width: 0; border-radius: var(--radius-md); }
  .status-card-value { font-size: 20px; }

  /* Market options: 3 cols for the 3 match winner options */
  .market-options-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .action-btn-pill { padding: 12px 6px; }
  .odds-label-str { font-size: 11px; }
  .odds-multiplier-val { font-size: 15px; }

  /* Bet count selector */
  .bet-count-selector { width: 100%; justify-content: center; }

  /* Analytics */
  .analytics-grid-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .analytics-metric-card { padding: 14px; }
  .anal-num-val { font-size: 18px; }
  .status-card-label { font-size: 10px; }

  /* Admin sidebar: icon + short label */
  .admin-sidebar .side-nav-btn {
    flex: 1 1 100px;
    font-size: 11px;
    padding: 8px 6px;
  }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-section { padding: 30px 0 18px; }
  .footer-copyright { font-size: 12px; padding-top: 20px; }

  /* Forms */
  .form-input-element { font-size: 14px; padding: 11px 13px; }
  .btn-primary-gold, .btn-green, .btn-secondary-blue {
    padding: 12px 20px;
    font-size: 14px;
  }
  .slip-title { font-size: 15px; }
  .slip-summary-table { gap: 8px; }
  .slip-total-row { font-size: 14px; }

  /* Responsible gaming notice */
  .responsible-notice-sec {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    margin-top: 50px;
  }
}

/* ── Very small screens (≤360px) ────────────────── */
@media (max-width: 360px) {
  .navbar-wrapper { height: 54px; }
  .logo-text-styled { font-size: 18px; }
  .dashboard-sidebar .side-nav-btn { font-size: 9px; max-width: 58px; }
  .dashboard-sidebar .side-nav-btn i { font-size: 16px; }
  .countdown-value { font-size: 18px; }
  .match-teams-row { gap: 10px; }
  .team-name-str { font-size: 14px; }
  .auth-card-styled { padding: 18px 12px; }
}


/* ==========================================
   ADMIN PORTAL — COMPLETE DESIGN SYSTEM
   ========================================== */

/* ── Layout ── */
.admin-main-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 32px 0 60px;
  min-height: calc(100vh - 74px);
  align-items: start;
}

/* ── Sidebar ── */
.admin-sidebar {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(11, 22, 18, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px;
  backdrop-filter: blur(16px);
}

.side-nav-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.side-nav-btn i {
  font-size: 14px;
  width: 18px;
  text-align: center;
  color: var(--text-muted);
  transition: color 0.2s;
  flex-shrink: 0;
}

.side-nav-btn:hover {
  background: rgba(16, 185, 129, 0.08);
  color: var(--text-primary);
}

.side-nav-btn:hover i {
  color: var(--green-light);
}

.side-nav-btn.active {
  background: rgba(16, 185, 129, 0.14);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.side-nav-btn.active i {
  color: var(--green-primary);
}

/* ── Panel Container ── */
.admin-panel-segment {
  animation: panelSlideIn 0.25s ease;
}

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

.admin-panel-segment h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-panel-segment h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
  margin-left: 8px;
}

/* ── Analytics Cards ── */
.analytics-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.analytics-metric-card {
  padding: 22px 20px;
  border-left: 3px solid var(--green-light);
  position: relative;
  overflow: hidden;
}

.analytics-metric-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  pointer-events: none;
}

.status-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.anal-num-val {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  line-height: 1.1;
}

/* ── Data Tables ── */
.admin-table-box {
  background: rgba(11, 22, 18, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
}

.admin-control-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 600px;
}

.admin-control-table thead {
  background: rgba(6, 12, 9, 0.7);
  border-bottom: 1px solid var(--border-light);
}

.admin-control-table thead th {
  padding: 13px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

.admin-control-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}

.admin-control-table tbody tr:last-child {
  border-bottom: none;
}

.admin-control-table tbody tr:hover {
  background: rgba(16, 185, 129, 0.04);
}

.admin-control-table tbody td {
  padding: 13px 16px;
  color: var(--text-secondary);
  vertical-align: middle;
}

.admin-control-table tbody td strong {
  color: var(--text-primary);
}

/* ── Status Badges ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.badge-completed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pending {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.badge-rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ── Action Buttons (pills) ── */
.action-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.pill-approve {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}
.pill-approve:hover {
  background: rgba(16, 185, 129, 0.28);
  transform: translateY(-1px);
}

.pill-reject {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}
.pill-reject:hover {
  background: rgba(239, 68, 68, 0.24);
  transform: translateY(-1px);
}

.pill-suspend {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
.pill-suspend:hover {
  background: rgba(251, 191, 36, 0.24);
  transform: translateY(-1px);
}

/* ── Filters Row ── */
.filters-row-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 20px;
  background: rgba(11, 22, 18, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

/* ── Settlement Warning Card ── */
.settlement-card-board {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 640px;
}

/* ── Accent/Blue Button ── */
.accent-blue {
  --accent-blue: #3b82f6;
}

/* ── Admin Responsive ── */
@media (max-width: 900px) {
  .admin-main-grid {
    grid-template-columns: 1fr;
    padding: 20px 0 40px;
  }

  .admin-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .side-nav-btn {
    flex: 1 1 140px;
    justify-content: center;
    text-align: center;
    padding: 9px 10px;
    font-size: 12px;
  }

  .analytics-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .analytics-grid-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .side-nav-btn {
    flex: 1 1 120px;
    font-size: 11.5px;
    gap: 6px;
  }

  .filters-row-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .anal-num-val {
    font-size: 18px;
  }
}

/* ==========================================
   STANDARD SPORTSBOOK TICKET TACTILE SLIPS
   ========================================== */
.bet-ticket-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--green-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ticket-top-receipt-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.ticket-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.ticket-brand-text span {
  color: var(--green-light);
}

.ticket-selection-item {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}

.ticket-market-desc {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.ticket-outcome-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticket-odds-multiplier {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.15);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.ticket-summary-dashed-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ticket-payout-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.ticket-payout-row strong {
  color: #fff;
}

.ticket-payout-row.total-win-highlight {
  font-size: 14px;
  font-weight: 800;
  color: var(--amber);
  margin-top: 2px;
}

.ticket-payout-row.total-win-highlight strong {
  color: var(--amber);
}

.badge-ticket-status {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.badge-ticket-status.won {
  background: rgba(16, 185, 129, 0.09);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-ticket-status.pending {
  background: rgba(245, 158, 11, 0.09);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-ticket-status.lost {
  background: rgba(239, 68, 68, 0.09);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

