@import url('./authEntry.css?v=20261103_auth_v1');

/* Google Fonts loaded via preconnected HTML link tag in index.html to prevent render-blocking waterfalls */

/* --- DESIGN SYSTEM & CSS VARIABLES (DEEPPREDICTBET STYLE) --- */
:root {
  /* Colors */
  --bg-dark: #080b11;
  --bg-dark-accent: #0f141f;
  --card-bg: #151b28;
  --card-bg-hover: #1b2334;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(255, 255, 255, 0.12);
  
  --brand-royal-blue: #1a68db;
  --primary: var(--brand-royal-blue); /* DeepPredictBet Royal Blue */
  --primary-hover: #2f7beb;
  --primary-glow: rgba(26, 104, 219, 0.25);
  
  --secondary: #10b981; /* DeepPredictBet Emerald Green for tips & wins */
  --secondary-glow: rgba(16, 185, 129, 0.25);
  
  --accent-gold: #f59e0b; /* Pro Picks Gold */
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Details */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --glow-blue: 0 0 20px var(--primary-glow);
  --glow-green: 0 0 20px var(--secondary-glow);
  --glow-gold: 0 0 20px var(--accent-gold-glow);
}

/* --- BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 5% 15%, rgba(26, 104, 219, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 95% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(8, 11, 17, 1) 0%, rgba(5, 7, 11, 1) 100%);
  background-attachment: fixed;
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-dark-accent);
  border: 1px solid var(--bg-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  line-height: 1.6;
}

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

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- GLASS CARD EFFECT --- */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-color-hover);
  background: var(--card-bg-hover);
  box-shadow: var(--shadow-md);
}

/* --- HEADER / NAVBAR --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-height: 48px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
}

@media (max-width: 1024px) {
  .brand-logo-img {
    height: 38px;
    max-height: 40px;
  }
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 34px;
    max-height: 36px;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 28px;
    max-height: 30px;
  }
}

.brand-logo-text {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  font-family: 'Neo Sans Pro Black Italic', 'Neo Sans Pro', 'Neo Sans Bold Italic', 'Neo Sans', 'Neo Sans Std', 'Exo 2', sans-serif !important;
  font-weight: 900 !important;
  font-style: italic !important;
  font-size: 1.85rem !important;
  letter-spacing: -0.035em !important;
  word-spacing: 0px !important;
  white-space: nowrap !important;
  text-transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-synthesis: weight style !important;
}

.brand-logo-text span,
.brand-logo-text .brand-deep,
.brand-logo-text .brand-predict,
.brand-logo-text .brand-bet {
  display: inline-block !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: inherit !important;
  word-spacing: 0px !important;
  line-height: inherit !important;
}

.brand-logo-text .brand-deep {
  color: #10b981 !important;
}

.brand-logo-text .brand-predict {
  color: #2563eb !important;
  margin-left: -0.8px !important;
}

.brand-logo-text .brand-bet {
  color: #ef4444 !important;
  margin-left: -0.8px !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: #94a3b8;
  position: relative;
  padding: 6px 0;
  white-space: nowrap !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-full);
}

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

.nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
  flex-shrink: 0;
  list-style: none;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-primary);
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 25px rgba(26, 104, 219, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-premium {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  color: #1e1b04;
  box-shadow: var(--glow-gold);
}

.btn-premium:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--accent-gold) 100%);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}

/* --- REDESIGNED HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 40px 0 28px;
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulseHeroDot 2s infinite ease-in-out;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

.hero-title-accent {
  background: linear-gradient(135deg, #10b981 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 24px 0;
  max-width: 580px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  width: 100%;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 26px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  color: #f1f5f9 !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.hero-value-indicators {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 24px;
  margin-bottom: 18px;
}

.hero-value-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.hero-value-item .value-check {
  color: #10b981;
  font-weight: 900;
  font-size: 0.88rem;
}

.hero-disclaimer {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

/* Product Preview Card */
.hero-preview-container {
  position: relative;
  width: 100%;
}

.hero-preview-card {
  background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(16, 185, 129, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.hero-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.hero-preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-preview-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.hero-doctor-snippet {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-doctor-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}

.hero-health-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.72rem;
}

.hero-doctor-prescription {
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.45;
  background: rgba(16, 185, 129, 0.06);
  border-left: 3px solid #10b981;
  padding: 6px 10px;
  border-radius: 0 6px 6px 0;
}

.hero-match-snippet {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-match-league {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
}

.hero-prob-bar-container {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  gap: 2px;
}

.hero-prob-fill-home {
  background: #10b981;
  height: 100%;
}
.hero-prob-fill-draw {
  background: #f59e0b;
  height: 100%;
}
.hero-prob-fill-away {
  background: #3b82f6;
  height: 100%;
}

.hero-prob-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
}
.hero-prob-labels .home { color: #34d399; }
.hero-prob-labels .draw { color: #fbbf24; }
.hero-prob-labels .away { color: #60a5fa; }

.hero-preview-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
}

.hero-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #cbd5e1;
}

.hero-metric-pill span.val {
  color: #38bdf8;
  font-weight: 800;
}

.hero-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-value-indicators {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 24px 0 20px;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.92rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .hero-value-indicators {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: center;
  }
}

/* --- DASHBOARD & FIXTURE ROWS (DEEPPREDICTBET DENSE LAYOUT) --- */
.dashboard-section {
  padding: 30px 0 60px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
}



.tab-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

/* Matchday Rows/List Layout */
.fixtures-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   MATCH CARD COMPONENT (Multi-Tier Structured Layout Across All Devices)
   ========================================================================== */

.match-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  width: 100%;
  box-sizing: border-box;
}

.match-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: var(--card-bg-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* Card Header: League Info on Left, Time/Status on Right */
.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.league-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text-primary);
}

.match-time {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
}

.match-time.live {
  color: var(--danger);
  font-weight: 700;
}

/* Teams Wrapper: Professional Centered & Symmetrical Team Identity Section */
.teams-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  width: 100%;
  gap: 8px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 40%;
  min-width: 0;
}

.team-role-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
  line-height: 1;
  display: block;
  user-select: none;
}

.team-logo {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 6px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.team-logo img {
  width: 36px;
  height: 36px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.scout-team-crest {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
}

.team-name {
  font-weight: 700;
  font-size: 0.90rem;
  font-family: var(--font-body);
  text-align: center;
  width: 100%;
  max-width: 100%;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 5px;
  word-break: break-word;
  min-height: 2.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.form-badges-container {
  display: flex;
  gap: 3px;
  margin-top: 2px;
  justify-content: center;
  align-items: center;
}

.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  width: 18%;
  flex-shrink: 0;
  text-align: center;
}

.vs-text {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 3px;
}

.vs-scores {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-top: 2px;
  font-family: var(--font-display);
  letter-spacing: 1px;
}

/* Predictions 3-Segment Probability Bar */
.prediction-bar-container {
  margin-bottom: 12px;
  width: 100%;
}

.prediction-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
  width: 100%;
}

.bar-segment {
  height: 100%;
  transition: width 0.3s ease;
}

.bar-segment.home { background: #2563eb; }
.bar-segment.draw { background: #64748b; }
.bar-segment.away { background: #10b981; }

.bar-percentages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  font-size: 0.8rem;
  margin-top: 6px;
  width: 100%;
}

.pct-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.pct-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 800;
}

.pct-val {
  font-weight: 700;
  font-size: 0.82rem;
}

.pct-val.home { color: #3b82f6; }
.pct-val.draw { color: #94a3b8; }
.pct-val.away { color: #10b981; }

/* AI Recommendation Tip Banner */
.insight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
  width: 100%;
}

.insight-row.premium {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-gold);
}

/* Statistical Parameters Row */
.match-params-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 2px 0 12px;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  width: 100%;
}

.match-param-pill {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.match-param-pill.param-form {
  background: rgba(26, 104, 219, 0.08);
  border: 1px solid rgba(26, 104, 219, 0.2);
  color: var(--primary);
}

.match-param-pill.param-goals {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--secondary);
}

.match-param-pill.param-xg {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
}

.match-param-pill.param-corners {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Card Footer: Confidence Meter & Action Buttons */
.match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  width: 100%;
}

.confidence-meter {
  display: flex;
  align-items: center;
  gap: 6px;
}

.confidence-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
}

.confidence-dot.high { background: var(--secondary); }
.confidence-dot.medium { background: var(--warning); }

.scout-btn {
  font-size: 0.8rem;
  padding: 6px 12px;
}

/* Premium overlay card */
.match-card.premium-locked::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  border-radius: var(--radius-md);
}

.premium-lock-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  text-align: center;
  width: 90%;
  max-width: 280px;
}

@media (min-width: 900px) {
  .premium-lock-box {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 11;
    background: transparent;
    padding: 0;
  }
  .match-card.premium-locked {
    padding: 8px 24px;
  }
}

.premium-lock-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 8px;
}

@media (min-width: 900px) {
  .premium-lock-icon {
    margin-bottom: 0;
  }
}

.premium-lock-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

@media (min-width: 900px) {
  .premium-lock-title {
    margin-bottom: 0;
    font-size: 0.95rem;
  }
}

.premium-lock-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

@media (min-width: 900px) {
  .premium-lock-desc {
    display: none; /* Hide desc on desktop */
  }
}

.btn-premium-card {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* --- STATS SECTION --- */
.stats-section {
  padding: 40px 0;
}

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

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: 1.8fr 1.2fr;
  }
}

.chart-card {
  padding: 24px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

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

.chart-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 200px;
  padding-top: 10px;
  position: relative;
}

.bar-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  height: 100%;
  justify-content: flex-end;
  gap: 8px;
}

.bar-chart-fill {
  width: 50%;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(26, 104, 219, 0.2) 100%);
  transition: height var(--transition-slow);
  position: relative;
}

.bar-chart-fill:hover {
  background: linear-gradient(180deg, var(--primary-hover) 0%, rgba(26, 104, 219, 0.4) 100%);
  box-shadow: 0 0 15px rgba(26, 104, 219, 0.3);
}

.chart-tooltip {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark-accent);
  border: 1px solid var(--border-color);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
  white-space: nowrap;
}

.bar-chart-fill:hover .chart-tooltip {
  opacity: 1;
}

.chart-x-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.list-card {
  padding: 24px;
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.stat-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.stat-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-lbl-combo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-lbl-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.stat-lbl-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.stat-lbl-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.stat-lbl-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-lbl-val.up { color: var(--secondary); }

/* --- PREMIUM SECTION --- */
.premium-section {
  padding: 40px 0;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 32px auto 0;
}

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

.price-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card.featured {
  border-color: var(--accent-gold);
  box-shadow: var(--glow-gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, rgba(21, 27, 40, 0.6) 100%);
  position: relative;
}

.badge-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-gold);
  color: #1e1b04;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.price-header {
  margin-bottom: 20px;
}

.price-title {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.price-amount {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 24px;
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  margin-right: 2px;
}

.price-val {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.price-feature-check {
  color: var(--secondary);
  font-weight: 700;
}

.price-feature-check.no {
  color: var(--text-muted);
}

/* --- FOOTER --- */
.deeppredictbet-footer {
  background: #060b13;
  border-top: 2px solid var(--brand-royal-blue);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.deeppredictbet-footer .footer-top-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .deeppredictbet-footer .footer-top-row {
    flex-direction: row;
  }
}

.deeppredictbet-footer .footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deeppredictbet-footer .footer-diamond-logo {
  flex-shrink: 0;
}

.deeppredictbet-footer .footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.deeppredictbet-footer .responsible-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.deeppredictbet-footer .gt-badge {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-display), sans-serif;
  text-align: left;
}

.deeppredictbet-footer .gt-badge .gt-main {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.deeppredictbet-footer .gt-badge .gt-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: -1px;
}

.deeppredictbet-footer .gamstop-badge {
  display: flex;
  align-items: center;
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-display), sans-serif;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.deeppredictbet-footer .gamstop-badge .gs-gam {
  margin-right: 4px;
}

.deeppredictbet-footer .gamstop-badge .gs-stop {
  background: #000000;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 2px;
}

.deeppredictbet-footer .gambleaware-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display), sans-serif;
}

.deeppredictbet-footer .gambleaware-badge .ga-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
}

.deeppredictbet-footer .gambleaware-badge .ga-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

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

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

@media (min-width: 992px) {
  .deeppredictbet-footer .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.deeppredictbet-footer .footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deeppredictbet-footer .footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.deeppredictbet-footer .footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.deeppredictbet-footer .footer-link {
  color: #b4c6e7;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.deeppredictbet-footer .footer-link:hover {
  color: var(--brand-royal-blue);
  transform: translateX(3px);
}

.deeppredictbet-footer .footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (min-width: 768px) {
  .deeppredictbet-footer .footer-bottom-row {
    flex-direction: row;
  }
}

/* Store Badges */
.deeppredictbet-footer .store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.deeppredictbet-footer .store-badge-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 16px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.deeppredictbet-footer .store-badge-btn:hover {
  background: #1e293b;
  border-color: var(--brand-royal-blue);
  transform: translateY(-2px);
}

.deeppredictbet-footer .store-badge-icon {
  color: #ffffff;
  flex-shrink: 0;
}

.deeppredictbet-footer .store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.deeppredictbet-footer .store-badge-sub {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.deeppredictbet-footer .store-badge-main {
  font-size: 0.9rem;
  font-weight: 700;
}

/* Social Icons */
.deeppredictbet-footer .footer-socials {
  display: flex;
  gap: 16px;
}

.deeppredictbet-footer .social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.deeppredictbet-footer .social-icon-link:hover {
  background: var(--brand-royal-blue);
  color: #ffffff;
  transform: scale(1.1);
}

/* --- MODAL (AI SCOUT ASSISTANT) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 11, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(59, 130, 246, 0.45);
  background: var(--bg-dark-accent);
  box-shadow: 0 0 32px rgba(37, 99, 235, 0.35);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
}

.modal-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-scout-avatar {
  width: 36px;
  height: 36px;
  background: rgba(26, 104, 219, 0.1);
  border: 1px solid rgba(26, 104, 219, 0.2);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--glow-blue);
  position: relative;
}

.modal-scout-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border: 2px solid var(--bg-dark-accent);
  border-radius: var(--radius-full);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Scout chat container */
.scout-chat-body {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 45vh;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-bubble.scout {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-top-left-radius: 0;
}

.chat-bubble.user {
  background: var(--primary);
  color: var(--text-primary);
  align-self: flex-end;
  border-top-right-radius: 0;
  font-weight: 500;
}

.scout-match-summary {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.scout-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.scout-sum-row span:last-child {
  font-weight: 700;
  color: var(--text-primary);
}

.scout-sum-prediction {
  border-top: 1px dashed var(--border-color);
  margin-top: 6px;
  padding-top: 6px;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-tab-pane {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.scout-chat-body {
  flex: 1;
  min-height: 180px;
  max-height: 320px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scout-chat-input-area {
  padding: 14px 18px;
  border-top: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  gap: 10px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.16) 100%);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.chat-input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
  transition: all 0.2s ease;
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.chat-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.45);
  background: rgba(0, 0, 0, 0.85);
}

.scout-send-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scout-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55) !important;
}

/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background-color: var(--text-muted);
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Interactive elements */
.form-badge {
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-block;
  min-width: 16px;
  text-align: center;
}

.form-badge.W { background: var(--success); color: #000; }
.form-badge.D { background: var(--text-muted); color: var(--text-primary); }
.form-badge.L { background: var(--danger); color: var(--text-primary); }

/* --- DEEPPREDICTBET TOOLS PANEL STYLES --- */
.tool-content-pane {
  display: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tool-content-pane.active {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease-out;
}

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

/* Container & Tool Pane Boundary Containment */
.tool-glass-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

#tool-machine {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Machine Tool Header */
.machine-tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  padding-bottom: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.machine-tool-header-info {
  flex: 1 1 280px;
  min-width: 0;
}

.machine-tool-title {
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  line-height: 1.25;
}

.machine-tool-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.machine-tool-badge {
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Bet Generator Machine Layout - Rock-Solid Responsive Grid */
.machine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 860px) {
  .machine-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: start;
  }
}

.machine-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.machine-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.machine-ticket-preview {
  background: #0b0f17;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
  max-height: 600px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.machine-ticket-header {
  border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.machine-ticket-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  overflow-y: auto;
  padding-right: 8px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
  min-width: 0;
}

.machine-ticket-footer {
  border-top: 2px dashed rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Enhanced Base Styles for Machine Markets Grid */
#machine-markets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  max-height: 290px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

#machine-markets-grid::-webkit-scrollbar {
  width: 5px;
}
#machine-markets-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
#machine-markets-grid::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 4px;
}
#machine-markets-grid::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Category Filter Chips Horizontal Carousel */
.machine-category-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 8px 2px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.machine-category-chips::-webkit-scrollbar {
  height: 4px;
}
.machine-category-chips::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.machine-category-chips::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.35);
  border-radius: 4px;
}

.machine-category-chips .tab-btn {
  flex-shrink: 0;
  padding: 6px 13px;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 18px;
  white-space: nowrap;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.machine-category-chips .tab-btn:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(96, 165, 250, 0.6);
  color: #ffffff;
}

.machine-category-chips .tab-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.45);
}

.machine-category-chips .tab-btn:active {
  transform: scale(0.96);
}

.checkbox-card {
  background: var(--bg-dark-accent);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.85rem;
  font-weight: 500;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
  box-sizing: border-box;
}

#machine-markets-grid .checkbox-card {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(59, 130, 246, 0.22);
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-card input {
  cursor: pointer;
  margin: 0;
}

#machine-markets-grid .checkbox-card input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #3b82f6;
  cursor: pointer;
  margin: 0;
}

#machine-markets-grid .checkbox-card span {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkbox-card:hover {
  border-color: var(--primary);
  background: rgba(26, 104, 219, 0.05);
}

#machine-markets-grid .checkbox-card:hover {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(30, 58, 138, 0.25);
}

.checkbox-card.selected {
  border-color: var(--primary);
  background: rgba(26, 104, 219, 0.1);
  color: var(--text-primary);
}

#machine-markets-grid .checkbox-card.selected {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

/* Machine Market Header Row */
.machine-market-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.machine-market-header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.machine-market-header-actions button {
  padding: 4px 10px;
  font-size: 0.72rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

/* Tablet & Smaller Desktop Screens (<= 859px) */
@media (max-width: 859px) {
  .machine-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
}

/* Mobile Devices (Smartphones <= 640px) */
@media (max-width: 640px) {
  .tool-glass-container {
    padding: 14px 12px !important;
  }
  
  .machine-tool-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
  }

  .machine-tool-title {
    font-size: 1.18rem !important;
    line-height: 1.3 !important;
  }

  .machine-tool-desc {
    font-size: 0.75rem !important;
  }

  .machine-tool-badge {
    align-self: flex-start !important;
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
  }

  /* Single Column on Phones for clean, perfect readability without cramped text */
  .form-checkbox-group,
  #machine-markets-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    max-height: 260px !important;
    padding-right: 4px !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  #machine-markets-grid .checkbox-card {
    min-height: 44px !important;
    padding: 10px 12px !important;
  }

  #machine-markets-grid .checkbox-card span {
    font-size: 0.82rem !important;
  }

  .machine-category-chips {
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
    gap: 5px !important;
  }

  .machine-category-chips .tab-btn {
    padding: 5px 11px !important;
    font-size: 0.72rem !important;
    min-height: 30px !important;
  }

  .machine-market-header-actions button {
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    min-height: 30px !important;
  }

  #btn-generate-machine-ticket {
    padding: 12px 18px !important;
    font-size: 0.92rem !important;
    min-height: 46px !important;
    border-radius: 12px !important;
  }

  .machine-ticket-preview {
    padding: 16px 12px !important;
  }
}

/* Extra small mobile phones (<= 380px) */
@media (max-width: 380px) {
  .tool-glass-container {
    padding: 10px 8px !important;
  }

  .machine-market-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  #machine-markets-grid .checkbox-card span {
    font-size: 0.78rem !important;
  }
}

#toptips-tool-grid .checkbox-card {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(59, 130, 246, 0.6);
  color: #ffffff;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

#toptips-tool-grid .checkbox-card:hover {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.55);
  transform: translateY(-1px);
}

#toptips-tool-grid .checkbox-card.selected,
#toptips-tool-grid .checkbox-card.active {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.7), 0 0 20px rgba(251, 191, 36, 0.4);
}


/* Live Scanner Layout */
.scanner-match-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  gap: 16px;
}

@media (min-width: 768px) {
  .scanner-match-row {
    grid-template-columns: 1.8fr 1.8fr 1.2fr 0.8fr;
  }
}

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

.scanner-stat-bar-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 4px;
  display: flex;
}

/* Strategy Backtester locked page */
.backtester-locked-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  gap: 16px;
}

/* Ticker scroll animation */
@keyframes tickerScroll {
  0% { transform: translateX(0); }

/* --- HOT TRENDS TICKER REFINED STYLES --- */
#trends-ticker-wrapper {
  margin-top: 14px;
  margin-bottom: 16px;
}

#trends-ticker-container {
  display: flex;
  align-items: center;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
  height: 100%;
  animation: tickerScroll 45s linear infinite;
}

#trends-ticker-container:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 48px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  line-height: 1.2;
}

.ticker-badge.derby {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}

.ticker-badge.ucl {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.4);
}

.ticker-teams {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #ffffff;
}

.ticker-crest-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ticker-team-crest {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain;
  display: inline-block !important;
  vertical-align: middle;
}

.ticker-team-name {
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.82rem;
}

.ticker-vs {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 1px;
}

.ticker-divider {
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
}

.ticker-insight {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
}

.ticker-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.ticker-empty {
  color: #94a3b8;
  font-size: 0.82rem;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
}

  100% { transform: translateX(-33.33%); }
}

.watchlist-star.watched {
  color: #f59e0b !important;
}

.modal-tab-pane {
  display: none;
}

/* Navbar Dropdown Menu & Mega Menu Styles */
.nav-menu li.dropdown-li {
  position: relative;
}

.nav-menu li.mega-dropdown-li {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark-accent);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-width: 240px;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
  padding: 10px 0;
  z-index: 1000;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.nav-menu li.dropdown-li:hover .nav-dropdown,
.nav-menu li.dropdown-li.open .nav-dropdown {
  display: flex;
}

/* Mega Menu Dropdown for Tools Suite */
.mega-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 790px;
  max-width: calc(100vw - 32px);
  background: rgba(11, 17, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 20px 14px;
  display: none;
  z-index: 2000;
  animation: megaDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

@keyframes megaDropdownFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.nav-menu li.mega-dropdown-li:hover .mega-dropdown-menu,
.nav-menu li.mega-dropdown-li.open .mega-dropdown-menu {
  display: block;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.mega-menu-heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px 8px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.mega-menu-item:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateX(2px);
}

.mega-menu-item.active {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.4);
}

.mega-menu-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.mega-menu-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-menu-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.25;
}

.mega-menu-desc {
  font-size: 0.71rem;
  color: #94a3b8;
  line-height: 1.35;
}

.mega-menu-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
}

.mega-menu-all-tools-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.mega-menu-all-tools-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.mega-menu-quick-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
}

.mega-menu-quick-links a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.mega-menu-quick-links a:hover {
  color: #ffffff;
}

/* Responsive constraints on desktop navigation */
@media (min-width: 992px) and (max-width: 1260px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.81rem;
    padding: 4px 0;
  }
  .mega-dropdown-menu {
    width: 710px;
    padding: 14px 16px 10px;
  }
  .mega-menu-desc {
    display: none;
  }
  .mega-menu-title {
    font-size: 0.8rem;
  }
}

.nav-cta-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 7px 16px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
  transform: translateY(-1px);
}

.nav-cta-btn:active {
  transform: translateY(0);
}

.nav-dropdown-item {
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  display: block;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.02);
  margin-top: 4px;
}

.nav-dropdown-item:first-child {
  margin-top: 0;
}

.nav-dropdown-item:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.02);
}

.nav-dropdown-submenu {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  margin-bottom: 6px;
  border-left: 1.5px solid rgba(26, 104, 219, 0.2);
  margin-left: 16px;
}

.nav-dropdown-subitem {
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 4px 12px;
  text-decoration: none;
  transition: var(--transition-fast);
  text-align: left;
}

.nav-dropdown-subitem:hover {
  color: var(--primary);
  background: rgba(26, 104, 219, 0.04);
}

/* Navbar flyout submenus */
.nav-dropdown-submenu-parent {
  position: relative;
}

.nav-dropdown-flyout {
  position: absolute;
  top: 0;
  left: 95%;
  background: var(--bg-dark-accent);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-width: 220px;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
  padding: 8px 0;
  z-index: 1010;
  animation: flyoutFadeIn 0.15s ease-out;
}

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

.nav-dropdown-submenu-parent:hover .nav-dropdown-flyout {
  display: flex;
}

/* Dashboard layout grid columns */
#predictions-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1500px) {
  #predictions-dashboard-layout {
    grid-template-columns: 240px 240px 240px 1fr;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  #predictions-dashboard-layout {
    grid-template-columns: 220px 220px 220px 1fr;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #predictions-dashboard-layout {
    grid-template-columns: 240px 240px 1fr;
  }
}

/* Nav Sidebar Category Title Styling */
.nav-sidebar-cat-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  padding-left: 8px;
}

/* Sidebar Accordion Styling */
.country-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.country-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  background: transparent;
  border: none;
  width: 100%;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.country-accordion-header:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.country-accordion-header.active {
  color: var(--primary);
  font-weight: 700;
}

.country-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  gap: 4px;
}

.sidebar-league-btn {
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  width: 100%;
}

.sidebar-league-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-league-btn.active {
  color: var(--secondary);
  font-weight: 700;
}


@media (min-width: 1200px) {
  .stats-ledger-grid {
    grid-template-columns: 280px 1fr !important;
  }
}
@media (max-width: 1199px) {
  .stats-ledger-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- UNIVERSAL DATE & LIVE SELECTOR BAR (Formal Base State for All Devices) --- */
#universal-date-bar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 3px solid rgba(59, 130, 246, 0.65);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  position: sticky;
  top: 60px;
  z-index: 99;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Base / Default: Desktop Datebar Actions strictly hidden (zero space on mobile/iPads) */
.desktop-datebar-actions {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Formal Top Header Elements in .nav-actions */
.header .nav-actions .header-lang-switcher,
.header .nav-actions #lang-switcher {
  display: flex;
}
.header .nav-actions select.header-lang-switcher,
.header .nav-actions select#lang-switcher {
  display: inline-block;
}

/* --- SMARTPHONES, IPADS & TABLETS (100% Formal State Enforced) --- */
html.is-mobile-tablet #universal-date-bar-wrapper,
html:not(.is-desktop) #universal-date-bar-wrapper {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
}

html.is-mobile-tablet .desktop-datebar-actions,
html:not(.is-desktop) .desktop-datebar-actions {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

html.is-mobile-tablet .header .nav-actions,
html:not(.is-desktop) .header .nav-actions {
  display: flex !important;
  align-items: center !important;
}

html.is-mobile-tablet #nav-user-label,
html:not(.is-desktop) #nav-user-label {
  max-width: 90px !important;
  font-size: 0.82rem !important;
}

/* --- DESKTOP ALONE (html.is-desktop): Relocated Action Strip & Header Username --- */
html.is-desktop #universal-date-bar-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
}

html.is-desktop .desktop-datebar-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 4px !important;
  height: auto !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

html.is-desktop .desktop-datebar-actions select:hover {
  border-color: rgba(59, 130, 246, 0.6) !important;
}

html.is-desktop .desktop-datebar-actions .desktop-coins-pill:hover {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: var(--accent-gold) !important;
  transform: translateY(-1px);
}

html.is-desktop .desktop-datebar-actions .desktop-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55) !important;
}

/* In Desktop Top Header: Remove Language Selector, Coins Pill, and CTA Button */
html.is-desktop .header .nav-actions .header-lang-switcher,
html.is-desktop .header .nav-actions #lang-switcher,
html.is-desktop .header .nav-actions .top-header-coins-pill,
html.is-desktop .header .nav-actions [title="Mines Coins Store"],
html.is-desktop .header .nav-actions .top-header-cta-btn,
html.is-desktop .header .nav-actions #nav-get-started-btn {
  display: none !important;
}

/* In Desktop Top Header: Display USER Name Prominently at Top Right */
html.is-desktop .header .nav-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

html.is-desktop #nav-user-label {
  max-width: 180px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

html.is-desktop #nav-auth-container.is-logged-in #nav-auth-inner-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28) 0%, rgba(29, 78, 216, 0.42) 100%) !important;
  border: 1.5px solid rgba(59, 130, 246, 0.65) !important;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.45) !important;
  padding: 4px 14px 4px 6px !important;
}

html.is-desktop #nav-auth-container.is-logged-in #nav-avatar-icon {
  border-color: #60a5fa !important;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.6) !important;
}

/* Premium Professional Glowing Divider Line */
.royal-blue-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.85) 50%, rgba(37, 99, 235, 0.15) 100%);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
  border-radius: 4px;
  margin: 20px 0;
  border: none;
}

.deeppredictbet-date-bar {
  display: inline-flex;
  align-items: center;
  border: 2.5px solid var(--brand-royal-blue);
  border-radius: 14px;
  padding: 6px 14px;
  background: #ffffff;
  gap: 14px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.deeppredictbet-date-bar::-webkit-scrollbar {
  display: none;
}

.deeppredictbet-date-bar .live-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.deeppredictbet-date-bar .live-btn .live-badge-count {
  background: #e11d48;
  color: #ffffff;
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.deeppredictbet-date-bar .live-btn.active {
  background: var(--brand-royal-blue);
  color: #ffffff;
  border-color: var(--brand-royal-blue);
}

.deeppredictbet-date-bar .live-btn.active .live-badge-count {
  background: #ffffff;
  color: #e11d48;
}

.deeppredictbet-date-bar .divider {
  width: 1.5px;
  height: 28px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.deeppredictbet-date-bar .date-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.deeppredictbet-date-bar .date-item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 8px;
  user-select: none;
  white-space: nowrap;
}

.deeppredictbet-date-bar .date-item:hover {
  color: var(--brand-royal-blue);
  background: #eff6ff;
}

.deeppredictbet-date-bar .date-item.active {
  background: #eff6ff;
  color: var(--brand-royal-blue);
  border: 1px solid #bfdbfe;
  flex-direction: column;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.deeppredictbet-date-bar .date-item.active .day-num {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--brand-royal-blue);
  line-height: 1.1;
}

.deeppredictbet-date-bar .date-item.active .day-name {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--brand-royal-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

/* --- STANDALONE BET CODE CONVERTER (ROYAL BLUE GLASSMOPHIC STYLING) --- */
.betcode-converter-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(29, 78, 216, 0.08) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.5);
  border-radius: 20px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.betcode-promo-carousel {
  height: 140px;
  overflow: hidden;
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  background: #000;
}
.betcode-promo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s ease-in-out;
}
.betcode-promo-slide.active {
  display: block;
}
.betcode-promo-text-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
  text-align: left;
}
.betcode-promo-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: #3b82f6;
}
.betcode-promo-desc {
  font-size: 0.72rem;
  color: #d1d5db;
}
.betcode-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.betcode-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  text-align: left;
}
.betcode-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.betcode-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid #3b82f6;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
  transition: all 0.2s ease;
}
.betcode-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  background: rgba(0, 0, 0, 0.85);
}
.betcode-select-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.betcode-select-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.betcode-select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid #3b82f6;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%233b82f6' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
  transition: all 0.2s ease;
}
.betcode-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  background: rgba(0, 0, 0, 0.85);
}
.betcode-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.betcode-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.45);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.betcode-badge.active {
  background: rgba(37, 99, 235, 0.35);
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}
.betcode-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
  background: rgba(37, 99, 235, 0.28);
}
.betcode-convert-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 900;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.betcode-convert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}
.betcode-promo-bottom-carousel {
  height: 100px;
  overflow: hidden;
  position: relative;
  width: 100%;
  border-top: 1px solid var(--border-color);
  background: #000;
}
.recent-conversions-section {
  margin-top: 40px;
  text-align: center;
}
.recent-conversions-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.recent-conversions-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.recent-conversions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.recent-card {
  background: var(--bg-dark-accent);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.recent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26,104,219,0.3);
}
.recent-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.recent-card-code-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0;
}
.recent-card-code-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.recent-card-code {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}
.recent-card-bookie {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  background: rgba(255,255,255,0.03);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  display: inline-block;
}
.recent-card-arrow {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: bold;
}
.recent-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 8px;
  margin-top: 4px;
}
.recent-card-load-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.72rem;
}
.recent-card-load-btn:hover {
  color: #fff;
}

/* Dashboard Market Submenu & Match Previews Grid Scrollbars */
#market-submenus-container, #match-previews-grid-container {
  margin-top: 4px;
}
#market-submenus-container::-webkit-scrollbar, #match-previews-grid-container::-webkit-scrollbar {
  width: 6px;
}
#market-submenus-container::-webkit-scrollbar-track, #match-previews-grid-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
#market-submenus-container::-webkit-scrollbar-thumb, #match-previews-grid-container::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.6);
  border-radius: 4px;
}
#market-submenus-container::-webkit-scrollbar-thumb:hover, #match-previews-grid-container::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.9);
}
#market-submenus-container::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 4px;
}
#market-submenus-container::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}
/* Dashboard Market Submenu, Match Previews Grid & Top Tips Grid Buttons - Royal Blue Default with Royal Gold Hover/Active */
#market-submenus-container .tab-btn,
#toptips-tool-grid .tab-btn,
#match-previews-grid-container .btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(59, 130, 246, 0.6);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.76rem;
  font-weight: 700;
  user-select: none;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

#market-submenus-container .tab-btn:hover,
#toptips-tool-grid .tab-btn:hover,
#match-previews-grid-container .btn:hover {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.55);
  transform: translateY(-1px);
}

#market-submenus-container .tab-btn.active,
#toptips-tool-grid .tab-btn.active,
#match-previews-grid-container .btn.active {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.7), 0 0 20px rgba(251, 191, 36, 0.4);
}

/* Custom styling for Top Tips filter pills in the menu */
#market-submenus-container .toptip-tab {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(59, 130, 246, 0.6);
  color: #ffffff;
  font-weight: 700;
}
#market-submenus-container .toptip-tab:hover {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.55);
}
#market-submenus-container .toptip-tab.active {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.7);
}

/* --- OPTION 1 MATCH DETAIL MODALS & BETSLIP DRAWER --- */

/* Card clickability signifier */
.match-card:not(.premium-locked) {
  cursor: pointer;
}
.match-card:not(.premium-locked):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(26, 104, 219, 0.3);
}

/* Floating Betslip Drawer Styling */
.betslip-drawer {
  position: fixed;
  bottom: 0;
  right: 24px;
  width: 360px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  z-index: 99999 !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(calc(100% - 46px)); /* Collapsed default */
}

.betslip-drawer.open {
  transform: translateY(0);
}

.betslip-drawer-header {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  user-select: none;
}

.betslip-badge {
  background: var(--brand-royal-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.drawer-toggle-icon {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.betslip-drawer.open .drawer-toggle-icon {
  transform: rotate(180deg);
}

.betslip-drawer-body {
  padding: 16px;
  background: var(--bg-dark);
}

.betslip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.betslip-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(26, 104, 219, 0.2);
}

.betslip-item-remove {
  background: rgba(239, 68, 68, 0.16) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  border-radius: 6px !important;
  color: #ef4444 !important;
  cursor: pointer !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  transition: all 0.15s ease !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
}

.betslip-item-remove:hover,
.betslip-item-remove:active {
  background: rgba(239, 68, 68, 0.5) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

@media (max-width: 1199px) {
  .betslip-drawer {
    right: 12px !important;
    width: 380px !important;
    max-width: calc(100vw - 24px) !important;
    border-radius: 18px 18px 0 0 !important;
    z-index: 99999 !important;
  }

  .betslip-item-remove {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 1.4rem !important;
    touch-action: manipulation !important;
  }
}

@media (max-width: 639px) {
  .betslip-drawer {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 18px 18px 0 0 !important;
    z-index: 99999 !important;
  }
}

/* Modal Advanced Stats probability styles */
.probability-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 4px;
}
.probability-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.probability-progress-fill.home-bar {
  background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
}
.probability-progress-fill.goals-bar {
  background: linear-gradient(90deg, var(--secondary) 0%, #10b981 100%);
}
.probability-progress-fill.btts-bar {
  background: linear-gradient(90deg, var(--accent-gold) 0%, #f59e0b 100%);
}
.form-badge-ring {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.form-badge-ring.W {
  background: var(--secondary);
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.4);
}
.form-badge-ring.D {
  background: var(--text-muted);
}
.form-badge-ring.L {
  background: var(--danger);
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.4);
}

/* Page Router Navigation View Wrappers */
.page-view {
  display: none;
  animation: pageViewFadeIn 0.2s ease-in-out;
  width: 100%;
}
.page-view.active {
  display: block;
}
@keyframes pageViewFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}




/* ==========================================================================
   MOBILE HAMBURGER & LEFT NAVIGATION DRAWER (PINNED TO LEFT)
   Strictly hidden on desktop.
   Visible only on mobile devices, tablets, and iPads.
   ========================================================================== */
.mobile-hamburger-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1000;
}

.mobile-hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #3b82f6;
  color: #60a5fa;
}

/* Mobile Devices, Tablets & iPads: Hamburger visible, desktop nav hidden */
@media (max-width: 991px), (pointer: coarse) and (max-width: 1024px) {
  html:not(.is-desktop) .mobile-hamburger-btn,
  body:not(.is-desktop) .mobile-hamburger-btn {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  html:not(.is-desktop) header .nav-menu,
  html:not(.is-desktop) header .desktop-nav,
  body:not(.is-desktop) header .nav-menu,
  body:not(.is-desktop) header .desktop-nav {
    display: none !important;
  }
}

/* Desktop Displays: Hamburger strictly hidden, desktop nav visible */
@media (min-width: 992px), (hover: hover) and (pointer: fine) {
  .mobile-hamburger-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  header .nav-menu,
  header .desktop-nav {
    display: flex !important;
  }
}

/* Explicit Desktop Environment Enforcer */
html.is-desktop .mobile-hamburger-btn,
body.is-desktop .mobile-hamburger-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#mobile-nav-drawer {
  position: fixed !important;
  top: 0 !important;
  left: -340px !important;
  width: 320px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  background: #ffffff !important;
  color: #0f172a !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 4px 0 24px rgba(0,0,0,0.4) !important;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow-y: auto !important;
  transform: none !important;
}

#mobile-nav-drawer.open,
#mobile-nav-drawer.active {
  left: 0px !important;
  transform: none !important;
}

#mobile-drawer-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(6px) !important;
  z-index: 999998 !important;
  transition: opacity 0.3s ease !important;
}

/* --- MOBILE FIT & ALIGNMENT FOR UNIVERSAL DATE BAR --- */
@media (max-width: 768px) {
  #universal-date-bar-wrapper {
    padding: 6px 8px !important;
    top: 50px !important;
  }
  
  .deeppredictbet-date-bar {
    padding: 4px 8px !important;
    gap: 6px !important;
    border-radius: 12px !important;
    border-width: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
  }



  .deeppredictbet-date-bar .live-btn {
    padding: 4px 8px !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
  }

  .deeppredictbet-date-bar .date-list {
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  .deeppredictbet-date-bar .date-item {
    padding: 4px 7px !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
  }

  .deeppredictbet-date-bar .date-item.active {
    padding: 3px 9px !important;
    border-radius: 8px !important;
  }

  .deeppredictbet-date-bar .date-item.active .day-num {
    font-size: 1.05rem !important;
  }

  .deeppredictbet-date-bar .date-item.active .day-name {
    font-size: 0.58rem !important;
  }
}

/* --- MOBILE LANGUAGE SWITCHER & COINS PILL ROW (POSITIONED BEFORE WIN RATE BADGE) --- */
@media (min-width: 992px) {
  .mobile-lang-coins-row {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .mobile-lang-coins-row {
    display: flex !important;
  }
  .nav-actions #lang-switcher,
  .nav-actions [title="Mines Coins Store"] {
    display: none !important;
  }
}

/* --- PERFECT MOBILE TOP HEADER ALIGNMENT (LOGIN + GO PREMIUM) --- */
@media (max-width: 768px) {
  header {
    padding: 6px 0 !important;
  }
  
  .nav-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .logo {
    font-size: 1.05rem !important;
    gap: 6px !important;
  }
  
  .logo svg {
    width: 22px !important;
    height: 22px !important;
  }
  
  .mobile-hamburger-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.3rem !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 1 !important;
  }

  .nav-container {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 4px !important;
  }

  #nav-auth-container {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  #nav-auth-inner-box {
    padding: 2px 6px 2px 3px !important;
    gap: 4px !important;
  }

  #nav-avatar-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.72rem !important;
  }

  #nav-user-label {
    max-width: 70px !important;
    font-size: 0.75rem !important;
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
  }

  .nav-actions .btn,
  .nav-actions .nav-cta-btn {
    padding: 5px 7px !important;
    font-size: 0.71rem !important;
    letter-spacing: 0.2px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .btn span:nth-child(1) {
    font-size: 0.75rem !important;
    font-weight: 900 !important;
  }

  .nav-actions .btn span:nth-child(2) {
    display: none !important;
  }
}

@media (max-width: 380px) {
  #nav-user-label {
    max-width: 52px !important;
    font-size: 0.7rem !important;
  }

  .logo {
    font-size: 0.95rem !important;
  }
}

/* Tablet Layout (640px to 1199px): Top Leagues and Country Directory Side by Side, Results Full Width Below */
@media (min-width: 640px) and (max-width: 1199px) {
  #predictions-dashboard-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "topleagues countries"
      "matches matches" !important;
    gap: 16px 20px !important;
    align-items: start !important;
  }

  #sidebar-tools-col-wrapper {
    display: none !important;
  }

  #sidebar-community-card {
    display: none !important;
  }

  #sidebar-topleagues-col-wrapper {
    grid-area: topleagues !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  #sidebar-topleagues-card {
    display: flex !important;
    width: 100% !important;
    max-height: 520px !important;
    overflow-y: auto !important;
    margin-bottom: 0 !important;
    background: rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    border-radius: 14px !important;
  }

  #sidebar-directory-card {
    grid-area: countries !important;
    display: flex !important;
    width: 100% !important;
    max-height: 520px !important;
    overflow-y: auto !important;
    margin-bottom: 0 !important;
    background: rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    border-radius: 14px !important;
  }

  /* Results / Match Cards displayed full-width below both side-by-side cards */
  #dashboard-matches-col-wrapper {
    grid-area: matches !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 12px !important;
  }
}

/* Smartphone Layout (< 640px): Stacked Top Leagues & Country Directory with Results Below */
@media (max-width: 639px) {
  #predictions-dashboard-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  #sidebar-tools-col-wrapper {
    display: none !important;
  }

  #sidebar-community-card {
    display: none !important;
  }

  #sidebar-topleagues-col-wrapper {
    display: flex !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  #sidebar-topleagues-card {
    display: flex !important;
    width: 100% !important;
    max-height: 440px !important;
    overflow-y: auto !important;
    margin-bottom: 0 !important;
    background: rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    border-radius: 14px !important;
  }

  #sidebar-directory-card {
    display: flex !important;
    width: 100% !important;
    max-height: 440px !important;
    overflow-y: auto !important;
    margin-bottom: 0 !important;
    background: rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    border-radius: 14px !important;
  }

  #dashboard-matches-col-wrapper {
    width: 100% !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 1199px) {
  #sidebar-tools-card,
  #sidebar-community-card,
  #sidebar-betting-tools-card,
  #sidebar-leaderboard-card,
  #sidebar-store-card,
  #sidebar-userhub-card {
    display: none !important;
  }

  .sidebar-league-btn.active {
    color: var(--secondary);
    font-weight: 700;
  }

  .country-accordion-header {
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
    min-height: 44px !important;
    touch-action: manipulation;
  }

  .country-accordion-content {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 6px !important;
  }

  .sidebar-league-btn {
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 8px !important;
    background: rgba(30, 41, 59, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 3px !important;
    touch-action: manipulation;
  }
}

/* --- AI SCOUT INPUT & ASK SCOUT BUTTON MOBILE FIT & ALIGNMENT --- */
@media (max-width: 576px) {
  .scout-input-row {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  
  #hero-scout-input {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }
  
  .scout-input-row button {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 0.92rem !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box !important;
  }
}


/* --- MODAL SUBTABS & ACTION TOOLBAR MOBILE CENTER ALIGNMENT --- */
.modal-subtabs-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 16px 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  gap: 10px;
  width: calc(100% - 32px);
  box-sizing: border-box;
}

.modal-tab-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  flex-wrap: wrap;
}

.modal-tab-group .tab-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.modal-action-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  flex-wrap: wrap;
}

.modal-coins-badge {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.modal-action-toolbar .action-btn {
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .modal-subtabs-bar {
    margin: 0 6px 10px !important;
    width: calc(100% - 12px) !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
  }

  .modal-tab-group {
    justify-content: center !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
  }

  .modal-tab-group .tab-btn {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .modal-action-toolbar {
    justify-content: center !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
  }

  .modal-action-toolbar .action-btn {
    padding: 5px 8px !important;
    font-size: 0.68rem !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .modal-coins-badge {
    font-size: 0.7rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}


/* --- MATCH DIRECTORY TABS CONTAINER MOBILE CENTER FIT --- */
.tabs-container {
  display: flex;
  gap: 4px;
  background: var(--bg-dark-accent);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .section-header {
    justify-content: center !important;
    text-align: center !important;
  }

  .tabs-container {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 0 auto !important;
    padding: 4px !important;
    box-sizing: border-box !important;
  }

  .tabs-container .tab-btn {
    flex: 1 1 auto !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 7px 8px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   DEEPPREDICTBET PREMIUM PAYWALL 2.0 — SPORTS INTELLIGENCE SUBSCRIPTION SYSTEM
   ========================================================================== */

#vip-subscription-modal .modal-content {
  background: linear-gradient(180deg, #0b1120 0%, #060913 100%);
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 25px 70px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(37, 99, 235, 0.15);
  border-radius: 24px;
  overflow: hidden;
  max-width: 660px;
  width: 95%;
  position: relative;
  color: #f8fafc;
}

.vip-paywall-header {
  text-align: center;
  padding: 28px 24px 16px;
  position: relative;
}

.paywall-top-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.paywall-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.vip-paywall-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
  line-height: 1.2;
}

.vip-paywall-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto 16px;
}

/* Value Before Price — Benefits List */
.paywall-benefits-wrap {
  padding: 0 24px 16px;
}

.paywall-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.paywall-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.paywall-benefit-check {
  color: #38bdf8;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1.3;
}

/* Feature Preview Terminal Card */
.paywall-feature-preview-container {
  padding: 0 24px 16px;
}

.paywall-feature-preview-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.paywall-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.paywall-preview-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.paywall-preview-tag .dot-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.paywall-preview-watermark {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.paywall-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.paywall-preview-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  padding: 3px 0;
}

.paywall-metric-label {
  color: #94a3b8;
  font-weight: 500;
}

.paywall-metric-val {
  color: #f1f5f9;
  font-weight: 700;
  font-family: var(--font-display);
}

.paywall-preview-blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.2) 0%, rgba(11, 17, 32, 0.85) 100%);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paywall-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 14px rgba(37, 99, 235, 0.25);
}

/* Multi-Currency Selector & Switching Component */
.paywall-currency-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 24px 14px;
}

.paywall-currency-prompt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
}

.paywall-currency-toggle,
.currency-toggle-group {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 3px;
  gap: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.paywall-curr-btn,
.currency-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: var(--font-display, inherit);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  white-space: nowrap;
}

.paywall-curr-btn:hover,
.currency-toggle-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.paywall-curr-btn.active,
.currency-toggle-btn.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(30, 64, 175, 0.45) 100%);
  border: 1px solid rgba(59, 130, 246, 0.75);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35), 0 0 12px rgba(59, 130, 246, 0.25);
}

.curr-flag,
.currency-flag {
  font-size: 1rem;
  line-height: 1;
}

.curr-code {
  font-weight: 900;
  letter-spacing: 0.5px;
}

.curr-desc {
  font-size: 0.68rem;
  color: #cbd5e1;
  font-weight: 500;
  opacity: 0.85;
}

/* On-Page Pricing Currency Bar */
.currency-selector-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 24px;
  flex-wrap: wrap;
}

.currency-selector-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #94a3b8;
}

.currency-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .paywall-curr-btn .curr-desc {
    display: none;
  }
  .paywall-curr-btn,
  .currency-toggle-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

/* Subscription 3-Package Selector Grid */
.vip-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 4px 24px 20px;
}

.vip-plan-card {
  position: relative;
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-radius: 16px;
  padding: 18px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  user-select: none;
}

.vip-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 99, 235, 0.15);
}

.vip-plan-card.selected {
  border-color: #3b82f6;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35), 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 99, 235, 0.25);
}

.vip-best-value-pill {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.vip-plan-name-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.vip-plan-card.selected .vip-plan-name-label {
  color: #60a5fa;
}

.vip-plan-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-top: 2px;
}

.vip-plan-daily {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
  margin: 4px 0 6px;
}

.vip-save-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-block;
  margin-top: auto;
}

.vip-save-placeholder {
  height: 18px;
  margin-top: auto;
}

/* Primary Action Button */
.vip-actions-wrapper {
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.vip-continue-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
  transition: all 0.25s ease;
  min-height: 52px;
}

.vip-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.65);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.vip-continue-btn:active {
  transform: translateY(0);
}

.btn-tier-price {
  font-weight: 700;
  opacity: 0.9;
  font-size: 0.95rem;
}

.vip-cancel-guarantee {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.vip-cancel-guarantee:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Security & Trust Row */
.paywall-reassurance-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.72rem;
  color: #94a3b8;
  padding: 0 24px 14px;
  flex-wrap: wrap;
}

.paywall-reassurance-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Feature Comparison Table */
.paywall-comparison-section {
  padding: 0 24px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4px;
  padding-top: 14px;
}

.paywall-comparison-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.paywall-comparison-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.paywall-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.paywall-comparison-table th {
  padding: 8px 6px;
  color: #64748b;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.paywall-comparison-table th:nth-child(2),
.paywall-comparison-table th:nth-child(3) {
  text-align: center;
  width: 75px;
}

.paywall-comparison-table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.paywall-comparison-table td:nth-child(2),
.paywall-comparison-table td:nth-child(3) {
  text-align: center;
  font-weight: 700;
}

.cmp-check {
  color: #34d399;
  font-weight: 900;
}

.cmp-dash {
  color: #64748b;
}

.cmp-limited {
  color: #94a3b8;
  font-size: 0.7rem;
}

/* Factual Trust Block */
.paywall-trust-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 24px 14px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
}

.paywall-trust-block strong {
  color: #e2e8f0;
  display: block;
  margin-bottom: 4px;
  font-size: 0.74rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Responsible Gambling Footer */
.paywall-responsible-gambling-footer {
  padding: 12px 24px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.4;
}

.paywall-responsible-gambling-footer strong {
  color: #94a3b8;
}

/* Active & Expired Subscriber Lifecycle Panes */
.paywall-lifecycle-pane {
  padding: 32px 24px;
  text-align: center;
}

.paywall-lifecycle-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: left;
  margin: 16px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
}

/* Mobile Layout Adjustments */
@media (max-width: 640px) {
  .vip-plans-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vip-plan-card {
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 16px;
    text-align: left;
    align-items: center;
  }
  .vip-plan-card .vip-plan-name-label {
    margin-bottom: 2px;
  }
  .vip-plan-card .vip-plan-daily {
    margin: 2px 0 0;
  }
  .vip-best-value-pill {
    top: -9px;
    left: 20px;
    transform: none;
  }
  .paywall-reassurance-row {
    flex-direction: column;
    gap: 8px;
  }
}

/* AI Recommendation Tip Banner & Expandable Markets Tray */
.insight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.insight-row:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
}

.insight-row.premium {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-gold);
}

.insight-row.premium:hover {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.45);
}

.ai-tip-main {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.ai-tip-prefix {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-tip-badge {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  font-weight: 700;
  border: 1px solid rgba(59, 130, 246, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ai-tip-val {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.ai-tip-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-tip-expand-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.ai-tip-expand-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #93c5fd;
}

.ai-tip-chevron {
  font-size: 0.75rem;
  display: inline-block;
  transition: transform 0.25s ease;
}

.expanded-ai-tips-tray {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  margin: -4px 0 12px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  width: 100%;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expanded-tray-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.expanded-tray-title {
  font-size: 0.73rem;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.expanded-tray-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.expanded-tips-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.65) rgba(15, 23, 42, 0.7);
}

.expanded-tips-chips::-webkit-scrollbar {
  width: 7px;
}

.expanded-tips-chips::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.expanded-tips-chips::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8));
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.expanded-tips-chips::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.expanded-tip-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.expanded-tip-chip:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.expanded-tip-chip.active-tip-chip {
  background: rgba(37, 99, 235, 0.28) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4) !important;
}

.chip-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2px;
}

.chip-cat {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

.chip-odds {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 800;
}

.chip-tip {
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.vip-trust-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.2);
}

/* Payment Gateway Step */
.vip-payment-wrapper {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vip-order-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vip-payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vip-pay-method-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.vip-pay-method-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #34d399;
}

.vip-pay-form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.vip-pay-form-input:focus {
  border-color: #10b981;
}

@media (max-width: 580px) {
  .vip-paywall-title {
    font-size: 1.55rem;
  }
  .vip-plans-grid {
    gap: 8px;
    padding: 4px 12px 18px;
  }
  .vip-plan-card {
    padding: 14px 4px 0;
  }
  .vip-plan-price {
    font-size: 0.92rem;
  }
  .vip-plan-daily {
    font-size: 0.65rem;
  }
  .vip-plan-label-block {
    font-size: 0.72rem;
    padding: 10px 4px;
  }
}

/* ==========================================================================
   MOBILE APP BOTTOM NAVIGATION BAR (MATCHING REFERENCE SCREENSHOT)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 62px !important;
    background: rgba(15, 23, 42, 0.98) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 99990 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 4px !important;
  }

  .bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #94a3b8 !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    flex: 1 !important;
    gap: 2px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .bottom-nav-item.active {
    color: #38bdf8 !important;
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
  }

  .bottom-nav-icon {
    font-size: 1.15rem !important;
  }

  .bottom-nav-vip-badge {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: -16px !important;
    border: 3px solid #0f172a !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.6) !important;
  }

  .bottom-nav-vip-badge .bottom-nav-icon {
    font-size: 1.1rem !important;
    color: #ffffff !important;
  }

  .bottom-nav-label {
    font-size: 0.68rem !important;
    letter-spacing: 0.2px !important;
  }
}

/* ==========================================================================
   VIP FEATURE MANAGER & BADGE STYLES
   ========================================================================== */

.vip-switch-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.vip-switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.vip-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.vip-switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vip-switch-toggle input:checked + .vip-switch-slider,
.vip-switch-slider.active {
  background-color: #10b981;
}

.vip-switch-toggle input:checked + .vip-switch-slider:before,
.vip-switch-slider.active:before {
  transform: translateX(22px);
}

.vip-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  animation: pulse-vip-badge 2s infinite ease-in-out;
}

@keyframes pulse-vip-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

/* ==========================================================================
   ACTIVE BETSLIP SOCIAL SHARING ECOSYSTEM (7-PLATFORM & DEEPPREDICTBET BRANDING)
   ========================================================================== */

.btn-betslip-share {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-betslip-share:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.btn-betslip-share:active {
  transform: translateY(0);
}

#betslip-share-modal {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000005 !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(8, 11, 17, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

#betslip-share-modal.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: all !important;
  visibility: visible !important;
  z-index: 10000005 !important;
}

.betslip-share-content {
  max-width: 580px !important;
  width: 94% !important;
  max-height: 90vh !important;
  height: auto !important;
  background: #0b111e !important;
  border: 1.5px solid rgba(59, 130, 246, 0.45) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(37, 99, 235, 0.25) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transform: none !important;
  transition: none !important;
  content-visibility: visible !important;
}

.modal-overlay.active .betslip-share-content {
  transform: none !important;
}

.betslip-share-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0 !important;
}

.betslip-share-body {
  padding: 18px;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  max-height: calc(90vh - 75px) !important;
  flex: 1 1 auto !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Branded Ticket Preview Card */
.betslip-ticket-preview {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  border-radius: 14px;
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.betslip-ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.betslip-ticket-logo {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.betslip-ticket-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.betslip-ticket-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 8px;
  margin-bottom: 12px;
  text-align: center;
}

.stat-label {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.stat-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-odds {
  color: #fbbf24 !important;
}

.stat-verified {
  color: #34d399 !important;
}

/* Fixtures List expands naturally in the scrollable body - NO nested scroll container */
.betslip-ticket-fixtures {
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 0;
  margin-bottom: 12px;
}

.betslip-ticket-fixtures::-webkit-scrollbar {
  width: 5px;
}

.betslip-ticket-fixtures::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
}

.betslip-ticket-fixtures::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.7), rgba(37, 99, 235, 0.7));
  border-radius: 8px;
}

.share-fixture-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 10px;
  transition: background 0.15s ease;
}

.share-fixture-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.share-fixture-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.share-fixture-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: #3b82f6;
  width: 22px;
  flex-shrink: 0;
}

.share-fixture-teams {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.share-fixture-match {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.share-fixture-sub {
  font-size: 0.7rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.share-fixture-odds {
  font-size: 0.85rem;
  font-weight: 800;
  color: #34d399;
  font-family: monospace;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
}

.betslip-ticket-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

/* Quick Action Buttons */
.betslip-share-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.btn-ticket-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-download-image {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid #3b82f6;
  color: #60a5fa;
}

.btn-download-image:hover {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.btn-copy-text {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
}

.btn-copy-text:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-device-share {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}

.btn-device-share:hover {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Social Platforms Sharing Grid */
.betslip-share-platforms-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.share-format-selector-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.share-platforms-heading {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.share-format-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.75);
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-format-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 7px;
  border: 1px solid transparent;
  color: #94a3b8;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.share-format-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.share-format-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.35) 100%);
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.share-format-status-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 6px 11px;
}

.share-format-status-badge .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
  animation: pulse 1.8s infinite;
}

.betslip-share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.78rem;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.share-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.share-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.share-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.share-email {
  background: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.share-email:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.share-x {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.share-x:hover {
  background: #171717;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.share-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.share-instagram:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.45);
}

.share-facebook {
  background: #1877F2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.share-facebook:hover {
  background: #1464cc;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}

.share-threads {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.share-threads:hover {
  background: #222222;
  transform: translateY(-1px);
}

.share-pinterest {
  background: #E60023;
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.25);
}

.share-pinterest:hover {
  background: #cc001f;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 0, 35, 0.35);
}

.share-telegram {
  background: #229ED9;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.28);
}

.share-telegram:hover {
  background: #1b8ec5;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.4);
}

@media (max-width: 520px) {
  .betslip-share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .betslip-share-quick-actions {
    grid-template-columns: 1fr;
  }
}

/* Top Tips Tool Enhanced Layout & Interaction Styling */
#deeppredictbet-tools,
#tool-toptips,
.tool-content-pane {
  scroll-margin-top: 90px;
}

.toptips-row-container:hover {
  background: rgba(255, 255, 255, 0.025);
}

.toptips-add-slip-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.toptips-add-slip-btn.in-slip {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.toptips-markets-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px);
}





/* --- WHAT DO YOU WANT TO DO? INTENT HUB SECTION --- */
.intent-hub-section {
  padding: 6px 0 32px;
  position: relative;
}

.intent-hub-header {
  text-align: center;
  margin-bottom: 24px;
}

.intent-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #38bdf8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.intent-hub-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}

.intent-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.intent-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(11, 17, 32, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.intent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.intent-card-predict:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(16, 185, 129, 0.2);
}

.intent-card-analyse:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.2);
}

.intent-card-convert:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(245, 158, 11, 0.2);
}

.intent-card-discover:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(168, 85, 247, 0.2);
}

.intent-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.intent-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intent-card-icon.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.intent-card-icon.icon-cyan {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.intent-card-icon.icon-gold {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.intent-card-icon.icon-purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.intent-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}

.intent-card-desc {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #94a3b8;
  margin: 0 0 18px 0;
  flex-grow: 1;
  min-height: 40px;
}

.btn-intent-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-intent-predict {
  background: rgba(16, 185, 129, 0.14);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  color: #34d399 !important;
}
.btn-intent-predict:hover {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.btn-intent-analyse {
  background: rgba(56, 189, 248, 0.14);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8 !important;
}
.btn-intent-analyse:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

.btn-intent-convert {
  background: rgba(245, 158, 11, 0.14);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24 !important;
}
.btn-intent-convert:hover {
  background: #d97706;
  border-color: #d97706;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
}

.btn-intent-discover {
  background: rgba(168, 85, 247, 0.14);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  color: #c084fc !important;
}
.btn-intent-discover:hover {
  background: #9333ea;
  border-color: #9333ea;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(147, 51, 234, 0.4);
}

/* Tablet & iPad Viewport (768px - 1023px): All 4 action cards side-by-side in 1 row matching desktop */
@media (min-width: 768px) and (max-width: 1023px) {
  .intent-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .intent-card {
    padding: 16px 12px;
  }
  .intent-card-header {
    gap: 10px;
    margin-bottom: 10px;
  }
  .intent-card-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .intent-card-title {
    font-size: 1rem;
  }
  .intent-card-desc {
    font-size: 0.78rem;
    min-height: 44px;
    margin-bottom: 12px;
  }
  .btn-intent-cta {
    font-size: 0.72rem;
    padding: 9px 6px;
    min-height: 40px;
    gap: 4px;
  }
}

/* Smartphone Viewport (<768px): Compact 2x2 grid displaying all 4 cards at once on screen */
@media (max-width: 767px) {
  .intent-hub-section {
    padding: 6px 0 24px;
  }
  .intent-hub-title {
    font-size: 1.35rem;
  }
  .intent-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .intent-card {
    padding: 14px 12px;
    border-radius: 14px;
  }
  .intent-card-header {
    gap: 8px;
    margin-bottom: 8px;
  }
  .intent-card-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
  }
  .intent-card-icon svg {
    width: 18px;
    height: 18px;
  }
  .intent-card-title {
    font-size: 0.95rem;
  }
  .intent-card-desc {
    font-size: 0.74rem;
    line-height: 1.35;
    min-height: 46px;
    margin-bottom: 10px;
  }
  .btn-intent-cta {
    font-size: 0.7rem;
    padding: 8px 4px;
    min-height: 38px;
    gap: 4px;
  }
}

/* --- TODAY'S FOOTBALL INSIGHTS SECTION --- */
.today-insights-section {
  padding: 12px 0 36px;
  position: relative;
}

.today-insights-header {
  text-align: center;
  margin-bottom: 24px;
}

.today-insights-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #60a5fa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.today-insights-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.today-insights-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.45;
}

.today-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.insight-match-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(11, 17, 32, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.insight-match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(37, 99, 235, 0.2);
}

.insight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-league-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #93c5fd;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-league-emoji {
  font-size: 0.88rem;
}

.insight-kickoff-time {
  font-size: 0.73rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.insight-teams-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.insight-team-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.insight-team-logo {
  font-size: 1.15rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  flex-shrink: 0;
}

.insight-team-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-market-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.insight-market-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.insight-market-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #94a3b8;
}

.insight-odds-badge {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 1px 7px;
  border-radius: 5px;
}

.insight-prediction-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #38bdf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-confidence {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.insight-conf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.insight-conf-dot.high {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.insight-conf-dot.medium {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.insight-conf-value {
  font-weight: 800;
  color: #f1f5f9;
}

.btn-insight-analysis {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.btn-insight-analysis:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.today-insights-cta-wrap {
  text-align: center;
  margin-top: 10px;
}

.btn-view-all-predictions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-view-all-predictions:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55);
}

@media (max-width: 1023px) {
  .today-insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .today-insights-section {
    padding: 10px 0 28px;
  }
  .today-insights-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .today-insights-title {
    font-size: 1.35rem;
  }
  .today-insights-subtitle {
    font-size: 0.85rem;
  }
  .btn-view-all-predictions {
    width: 100%;
    padding: 14px 20px;
  }
}



/* --- BET DOCTOR SHOWCASE SECTION --- */
.bet-doctor-showcase-section {
  padding: 24px 0 44px;
  position: relative;
}

.bet-doctor-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 29, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bet-doctor-showcase-container::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.bet-doctor-showcase-container::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Left Narrative Column */
.doctor-narrative-col {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.doctor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  align-self: flex-start;
}

.doctor-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0;
}

.doctor-subheadline {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0 0 20px 0;
}

.doctor-feature-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.doctor-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #94a3b8;
}

.doctor-feature-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.doctor-feature-item b {
  color: #f1f5f9;
}

.doctor-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-doctor-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 44px;
}

.btn-doctor-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.55);
  transform: translateY(-2px);
}

.btn-doctor-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0 !important;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-doctor-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}

.doctor-disclaimer-note {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
}

/* Right Interactive Demo Column */
.doctor-demo-col {
  position: relative;
  z-index: 2;
}

.doctor-demo-card {
  background: rgba(11, 17, 32, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  position: relative;
}

.doctor-demo-watermark {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #64748b;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.doctor-demo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.doctor-health-gauge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #f59e0b;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.doctor-health-gauge-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fbbf24;
}

.doctor-demo-meta-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.doctor-demo-health-label {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fbbf24;
  font-family: var(--font-display);
}

.doctor-demo-meta-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
}

/* 3 Selections Analysed Strip */
.doctor-demo-stats-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.doctor-stat-chip {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.doctor-stat-chip.chip-count {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.doctor-stat-chip.chip-safe {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.doctor-stat-chip.chip-mod {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.doctor-stat-chip.chip-high {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Match Diagnostic Cards in Demo */
.doctor-demo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.doctor-demo-item {
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.doctor-demo-item.item-safe {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.doctor-demo-item.item-mod {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.doctor-demo-item.item-high {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.doctor-item-fixture {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
}

.doctor-item-pick {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 1px;
}

.doctor-item-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.doctor-item-badge.badge-safe {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.doctor-item-badge.badge-mod {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.doctor-item-badge.badge-high {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Demo Prescription Callout */
.doctor-demo-prescription {
  background: rgba(56, 189, 248, 0.06);
  border: 1px dashed rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.74rem;
  color: #93c5fd;
  line-height: 1.4;
}

.doctor-demo-prescription b {
  color: #ffffff;
}

/* "How Bet Doctor Works" Explanatory Modal */
.doctor-info-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.doctor-info-modal-backdrop.active {
  display: flex;
}

.doctor-info-modal {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.2);
  padding: 28px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.doctor-info-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.doctor-info-modal-close:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
}

.doctor-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.doctor-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
}

.doctor-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor-step-content h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.doctor-step-content p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

/* Responsiveness */
@media (max-width: 1023px) {
  .bet-doctor-showcase-container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .bet-doctor-showcase-section {
    padding: 16px 0 32px;
  }
  .bet-doctor-showcase-container {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .doctor-headline {
    font-size: 1.45rem;
  }
  .doctor-subheadline {
    font-size: 0.88rem;
  }
  .doctor-actions-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-doctor-primary,
  .btn-doctor-secondary {
    width: 100%;
  }
  .doctor-demo-card {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
  }
  .doctor-demo-watermark {
    position: static;
    margin-bottom: 10px;
    align-self: flex-start;
    display: inline-block;
  }
  .doctor-demo-header {
    gap: 12px;
  }
  .doctor-demo-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .doctor-item-badge {
    align-self: flex-start;
  }
}



/* --- BET CODE CONVERTER SHOWCASE SECTION --- */
.converter-showcase-section {
  padding: 24px 0 44px;
  position: relative;
}

.converter-showcase-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.converter-showcase-container::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.converter-showcase-container::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.converter-showcase-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
}

.converter-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.converter-showcase-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0 0 10px 0;
}

.converter-showcase-subhead {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

/* Form Card */
.converter-showcase-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(11, 17, 32, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.converter-card-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.converter-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.converter-form-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.converter-select-wrap {
  position: relative;
}

.converter-select,
.converter-input {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.converter-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.converter-select option {
  background: #0f172a;
  color: #ffffff;
}

.converter-select:focus,
.converter-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.converter-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.converter-swap-btn {
  width: 44px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  color: #10b981;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.converter-swap-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  transform: rotate(180deg);
}

/* Bottom Code Input and CTA Row */
.converter-action-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: flex-end;
}

.btn-convert-showcase {
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-convert-showcase:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
}

.converter-value-prop {
  text-align: center;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.converter-value-prop span {
  color: #38bdf8;
  margin: 0 6px;
}

/* Mobile & Smartphone Responsive Styles */
@media (max-width: 640px) {
  .converter-showcase-section {
    padding: 16px 0 32px;
  }
  .converter-showcase-container {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .converter-showcase-card {
    padding: 18px 14px;
  }
  .converter-card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .converter-swap-btn {
    align-self: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: -2px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }
  .converter-swap-btn:hover {
    transform: none;
  }
  .converter-action-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .btn-convert-showcase {
    width: 100%;
  }
  .converter-value-prop {
    font-size: 0.74rem;
  }
}



/* --- AI SCOUT COMMAND HUB SHOWCASE SECTION --- */
.ai-scout-showcase-section {
  padding: 10px 0 32px;
  position: relative;
}

.ai-scout-showcase-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ai-scout-showcase-container::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.ai-scout-showcase-container::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.ai-scout-showcase-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
  position: relative;
  z-index: 2;
}

.ai-scout-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.ai-scout-showcase-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 900;
  line-height: 1.18;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0 0 10px 0;
}

.ai-scout-showcase-subhead {
  font-size: 0.94rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

/* Command Card Container */
.ai-scout-showcase-card {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(11, 17, 32, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.scout-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.scout-card-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 900;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scout-quick-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.scout-pill-btn {
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
}

.scout-pill-btn.pill-emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid #10b981;
  color: #34d399;
}
.scout-pill-btn.pill-emerald:hover {
  background: rgba(16, 185, 129, 0.26);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.scout-pill-btn.pill-blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1.5px solid #3b82f6;
  color: #60a5fa;
}
.scout-pill-btn.pill-blue:hover {
  background: rgba(59, 130, 246, 0.26);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.scout-pill-btn.pill-amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid #f59e0b;
  color: #fbbf24;
}
.scout-pill-btn.pill-amber:hover {
  background: rgba(245, 158, 11, 0.26);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.scout-pill-btn.pill-purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1.5px solid #8b5cf6;
  color: #c084fc;
}
.scout-pill-btn.pill-purple:hover {
  background: rgba(168, 85, 247, 0.26);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.scout-command-row {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.scout-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.scout-input-icon {
  position: absolute;
  left: 16px;
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s;
  z-index: 2;
}

.scout-command-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 14px 18px 14px 44px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  font-family: inherit;
}

.scout-command-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.scout-command-input:focus + .scout-input-icon,
.scout-input-wrapper:focus-within .scout-input-icon {
  color: #38bdf8;
}

.btn-ask-scout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 14px 26px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
  touch-action: manipulation;
  min-height: 48px;
}

.btn-ask-scout:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.btn-ask-scout:active {
  transform: translateY(0);
}

.scout-value-prop {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  letter-spacing: 0.3px;
}

.scout-value-prop span {
  color: #38bdf8;
  margin: 0 6px;
}

.hero-scout-results {
  margin-top: 18px;
  padding: 18px 20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
  text-align: left;
}

/* Tablet & iPad Responsiveness (max-width: 991px) */
@media (max-width: 991px) {
  .ai-scout-showcase-container {
    padding: 28px 22px;
  }
  .ai-scout-showcase-card {
    padding: 20px 20px;
  }
}

/* Tablet & Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  .scout-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .scout-quick-pills {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .scout-quick-pills::-webkit-scrollbar {
    display: none;
  }
}

/* Mobile Smartphone Breakpoint (max-width: 576px) */
@media (max-width: 576px) {
  .ai-scout-showcase-section {
    padding: 8px 0 24px;
  }
  .ai-scout-showcase-container {
    padding: 20px 14px;
    border-radius: 16px;
  }
  .ai-scout-showcase-card {
    padding: 16px 14px;
    border-radius: 14px;
  }
  .scout-command-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .scout-input-wrapper {
    width: 100%;
  }
  .scout-command-input {
    font-size: 16px !important; /* Prevent iOS Safari auto-zoom */
    padding: 12px 14px 12px 40px;
  }
  .btn-ask-scout {
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
  }
  .scout-value-prop {
    font-size: 0.73rem;
  }
}



/* --- DEEPPREDICTBET USER JOURNEY SECTION --- */
.user-journey-section {
  padding: 24px 0 44px;
  position: relative;
}

.journey-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.journey-container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.journey-container::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.journey-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.journey-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.journey-headline {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0 0 10px 0;
}

.journey-subhead {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

/* Horizontal Process Flow */
.journey-flow-wrapper {
  position: relative;
  z-index: 2;
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
  position: relative;
}

.journey-card-wrap {
  display: flex;
  align-items: center;
  position: relative;
}

.journey-card {
  background: rgba(11, 17, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.journey-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.15);
}

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

.journey-step-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tag-step-1 {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.tag-step-2 {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.tag-step-3 {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.tag-step-4 {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.journey-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.journey-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.journey-step-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #94a3b8;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.journey-step-meta {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.journey-step-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #38bdf8;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: auto;
  transition: color 0.2s ease, gap 0.2s ease;
}

.journey-step-link:hover {
  color: #7dd3fc;
  gap: 8px;
}

/* Directional Indicators */
.journey-connector-horizontal {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.journey-connector-vertical {
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  align-items: center;
  justify-content: center;
  margin: 6px auto;
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .journey-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .journey-connector-horizontal {
    display: none;
  }
}

@media (max-width: 640px) {
  .user-journey-section {
    padding: 16px 0 32px;
  }
  .journey-container {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .journey-track {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .journey-card-wrap {
    flex-direction: column;
  }
  .journey-card {
    padding: 18px 16px;
  }
  .journey-connector-horizontal {
    display: none;
  }
  .journey-connector-vertical {
    display: flex;
  }
}

/* ==========================================================================
   PERFORMANCE YOU CAN VERIFY (Transparent Historical Results)
   ========================================================================== */
.performance-showcase-section {
  padding: 24px 0 48px;
  position: relative;
}

.performance-container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 30, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.performance-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), rgba(16, 185, 129, 0.5), transparent);
  pointer-events: none;
}

/* Header */
.performance-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 28px;
}

.performance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.performance-headline {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  font-family: var(--font-display);
}

.performance-subhead {
  font-size: clamp(0.85rem, 1.6vw, 0.98rem);
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Timeframe Bar */
.performance-timeframe-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 28px;
  background: rgba(15, 23, 42, 0.6);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: fit-content;
  flex-wrap: wrap;
}

.perf-time-tab {
  padding: 8px 18px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.perf-time-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.perf-time-tab.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* 8-KPI Grid */
.performance-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.perf-kpi-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  min-height: 90px;
}

.perf-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(30, 41, 59, 0.7);
}

.perf-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-display);
}

.perf-kpi-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-display);
  line-height: 1.15;
}

.perf-kpi-val.emerald {
  color: #34d399;
}

.perf-kpi-val.rose {
  color: #fb7185;
}

.perf-kpi-val.amber {
  color: #fbbf24;
}

.perf-kpi-val.sky {
  color: #38bdf8;
}

.perf-kpi-sub {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

/* Settled Predictions Feed (Wins and Losses) */
.settled-picks-container {
  margin-top: 24px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px;
}

.settled-picks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.settled-picks-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.settled-picks-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-display);
}

.settled-transparency-pill {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.settled-picks-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

.settled-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.settled-pick-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.settled-pick-card:hover {
  transform: translateY(-2px);
}

.settled-pick-card.won {
  border-left: 4px solid #10b981;
}

.settled-pick-card.lost {
  border-left: 4px solid #ef4444;
}

.settled-pick-card.void {
  border-left: 4px solid #64748b;
}

.settled-pick-card.under-review {
  border-left: 4px solid #f59e0b;
}

.settled-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #94a3b8;
}

.settled-league-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #cbd5e1;
}

.settled-time-tag {
  color: #64748b;
  font-weight: 500;
}

.settled-teams-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  min-width: 0;
}

.settled-teams {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
  min-width: 0;
}

.settled-team-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.settled-team-crest-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex-shrink: 0;
}

.settled-team-crest {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
  display: block;
}

.settled-team-name {
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 0.9rem;
}

.settled-score-pill {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
}

.settled-pick-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.settled-tip-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settled-tip-market {
  font-weight: 700;
  color: #e2e8f0;
}

.settled-tip-odds {
  font-size: 0.7rem;
  color: #f59e0b;
  font-weight: 700;
}

.settled-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.settled-status-badge.badge-lost {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.settled-status-badge.badge-void {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

.settled-status-badge.badge-review {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

/* Footer & CTA */
.performance-footer {
  margin-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.performance-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #ffffff !important;
  box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.5);
  transition: all 0.2s ease;
}

.performance-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(37, 99, 235, 0.6);
  border-color: #60a5fa;
}

.performance-disclaimer {
  max-width: 720px;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.performance-disclaimer strong {
  color: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .performance-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .settled-picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .performance-container {
    padding: 24px 18px;
  }
  .performance-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .settled-picks-container {
    padding: 16px;
  }
  .settled-picks-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .performance-timeframe-bar {
    width: 100%;
    justify-content: space-between;
  }
  .perf-time-tab {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding: 8px 8px;
    font-size: 0.78rem;
  }
  .performance-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .performance-showcase-section {
    padding: 16px 0 32px;
  }
  .performance-container {
    padding: 20px 14px;
    border-radius: 16px;
  }
  .performance-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .perf-kpi-val {
    font-size: 1.25rem;
  }
  .perf-kpi-card {
    padding: 12px 8px;
    min-height: 80px;
  }
}

/* ==========================================================================
   MORE THAN PREDICTIONS (Secondary Tools Showcase)
   ========================================================================== */
.secondary-tools-section {
  padding: 16px 0 44px;
  position: relative;
}

.secondary-tools-container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 15, 29, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.secondary-tools-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), rgba(16, 185, 129, 0.4), transparent);
  pointer-events: none;
}

/* Header */
.secondary-tools-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.secondary-tools-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.secondary-tools-headline {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 8px 0;
  font-family: var(--font-display);
}

.secondary-tools-subhead {
  font-size: clamp(0.82rem, 1.5vw, 0.94rem);
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* 6 Secondary Tools Grid (visually smaller than the 4 primary cards) */
.secondary-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sec-tool-card {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-height: 170px;
  position: relative;
  overflow: hidden;
}

.sec-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.4);
}

.sec-tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sec-tool-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.sec-tool-icon-wrap.live-pulse {
  position: relative;
}

.sec-tool-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sec-tool-badge.badge-live {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.sec-tool-badge.badge-value {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.sec-tool-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  font-family: var(--font-display);
  letter-spacing: -0.2px;
}

.sec-tool-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.btn-sec-tool-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sec-tool-cta:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #ffffff !important;
  gap: 6px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .secondary-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .secondary-tools-section {
    padding: 12px 0 32px;
  }
  .secondary-tools-container {
    padding: 20px 14px;
    border-radius: 16px;
  }
  .secondary-tools-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sec-tool-card {
    padding: 16px 14px 14px;
    min-height: auto;
  }
}

/* ==========================================================================
   HOMEPAGE BENEFITS SECTION (BETTING INTELLIGENCE IN ONE PLACE)
   ========================================================================== */
.benefits-section {
  padding: 20px 0 48px;
  position: relative;
}

.benefits-container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(10, 15, 29, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.benefits-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), rgba(99, 102, 241, 0.4), transparent);
  pointer-events: none;
}

.benefits-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.benefits-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.benefits-headline {
  font-size: clamp(1.4rem, 3.2vw, 2.15rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  font-family: var(--font-display);
}

.benefits-subhead {
  font-size: clamp(0.85rem, 1.5vw, 0.96rem);
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* 6 Benefits Grid - Clean & Spacious */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(30, 41, 59, 0.75);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.4);
}

.benefit-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.2s ease;
}

.benefit-card:hover .benefit-icon-wrap {
  transform: scale(1.05);
}

.benefit-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.benefit-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .benefits-section {
    padding: 14px 0 36px;
  }
  .benefits-container {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .benefits-header {
    margin-bottom: 24px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .benefit-card {
    padding: 20px 18px;
  }
}

/* ==========================================================================
   HOMEPAGE PRICING & CONVERSION COMPARISON (FREE vs PRO/VIP)
   ========================================================================== */
.pricing-comparison-section {
  padding: 30px 0 60px;
  position: relative;
}

.pricing-comparison-container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 15, 29, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 44px 32px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.pricing-comparison-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 38px;
}

.pricing-comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-comparison-headline {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  font-family: var(--font-display);
}

.pricing-comparison-subhead {
  font-size: clamp(0.85rem, 1.5vw, 0.98rem);
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* 2-Column Comparison Grid */
.pricing-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

.plan-comparison-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-comparison-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.plan-comparison-card.featured {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 16px 40px -10px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(16, 185, 129, 0.2);
}

.plan-comparison-card.featured:hover {
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 20px 48px -10px rgba(16, 185, 129, 0.25);
}

.featured-ribbon {
  position: absolute;
  top: 14px;
  right: 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.3) 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.plan-card-top {
  margin-bottom: 20px;
}

.plan-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.plan-tag.vip-tag {
  color: #10b981;
}

.plan-card-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-family: var(--font-display);
}

.plan-card-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  min-height: 40px;
}

/* Tier Switcher */
.plan-tier-toggle-wrap {
  margin-bottom: 14px;
}

.plan-tier-toggle {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px;
  border-radius: 10px;
  gap: 3px;
}

.plan-tier-pill {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-tier-pill.active {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.plan-price-block {
  margin-bottom: 20px;
}

.plan-price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.plan-price-val {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-display);
  letter-spacing: -0.5px;
}

.plan-billing-cycle {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
}

.plan-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 0 20px 0;
}

.plan-features-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.plan-feature-item.locked {
  color: #64748b;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon.check {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.feature-icon.vip-check {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.feature-icon.cross {
  background: rgba(255, 255, 255, 0.05);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-free-cta {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-free-cta:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-paid-cta {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
}

.btn-paid-cta:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.5);
}

.plan-reassurance {
  margin-top: 14px;
  text-align: center;
  font-size: 0.74rem;
  color: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .pricing-comparison-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .pricing-comparison-section {
    padding: 20px 0 40px;
  }
  .pricing-comparison-container {
    padding: 26px 16px;
    border-radius: 18px;
  }
  .plan-comparison-card {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .plan-price-val {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   HOMEPAGE SECTION A: SOCIAL PROOF (BUILT FOR SMARTER BETTING RESEARCH)
   ========================================================================== */
.social-proof-section {
  padding: 20px 0 50px;
  position: relative;
}

.social-proof-container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(10, 15, 29, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 44px 32px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.social-proof-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.social-proof-headline {
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  font-family: var(--font-display);
}

.social-proof-subhead {
  font-size: clamp(0.85rem, 1.5vw, 0.96rem);
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* 4 Core Pillars Grid */
.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto 28px;
}

.experience-pillar-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.experience-pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.45);
}

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

.pillar-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  flex-shrink: 0;
}

.pillar-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-family: var(--font-display);
}

.pillar-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.pillar-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.pillar-highlight-item {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-highlight-item span.bullet {
  color: #10b981;
  font-weight: 900;
}

/* Community Feedback Callout */
.community-feedback-callout {
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(16, 185, 129, 0.06);
  border: 1px dashed rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.feedback-callout-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feedback-callout-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.feedback-callout-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 3px 0;
  font-family: var(--font-display);
}

.feedback-callout-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
}

.btn-feedback-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-feedback-cta:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  color: #ffffff;
}

/* ==========================================================================
   HOMEPAGE SECTION B: FREQUENTLY ASKED QUESTIONS (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 20px 0 70px;
  position: relative;
}

.faq-container {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 15, 29, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 44px 32px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.faq-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.faq-headline {
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  font-family: var(--font-display);
}

.faq-subhead {
  font-size: clamp(0.85rem, 1.5vw, 0.96rem);
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Accordion Container */
.faq-accordion {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(30, 41, 59, 0.6);
}

.faq-item.open {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(30, 41, 59, 0.7);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
}

.faq-question-btn {
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-question-btn:focus-visible {
  box-shadow: inset 0 0 0 2px #38bdf8;
}

.faq-question-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-item.open .faq-question-title {
  color: #38bdf8;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.faq-answer-panel {
  display: none;
  padding: 0 20px 20px 20px;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0;
  padding-top: 14px;
}

.faq-item.open .faq-answer-panel {
  display: block;
}

.faq-answer-panel p {
  margin: 0 0 10px 0;
}

.faq-answer-panel p:last-child {
  margin-bottom: 0;
}

.faq-answer-panel strong {
  color: #ffffff;
}

.faq-answer-panel ul {
  margin: 6px 0 10px 18px;
  padding: 0;
}

.faq-answer-panel li {
  margin-bottom: 4px;
}

/* Responsive adjustments for Social Proof & FAQ */
@media (max-width: 860px) {
  .social-proof-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .community-feedback-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .btn-feedback-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .social-proof-section,
  .faq-section {
    padding: 16px 0 40px;
  }
  .social-proof-container,
  .faq-container {
    padding: 24px 16px;
    border-radius: 18px;
  }
  .experience-pillar-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .faq-question-btn {
    padding: 14px 16px;
    min-height: 52px;
  }
  .faq-question-title {
    font-size: 0.88rem;
  }
  .faq-answer-panel {
    padding: 0 16px 16px 16px;
    padding-top: 12px;
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   HOMEPAGE FINAL CTA, RESPONSIBLE GAMBLING & 5-COLUMN FOOTER STYLING
   ========================================================================== */

/* --- SECTION 1: FINAL CTA --- */
.final-cta-section {
  padding: 30px 0 50px;
  position: relative;
}

.final-cta-card {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.18) 0%, rgba(15, 23, 42, 0.95) 75%), #0a0f1d;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 24px;
  padding: 52px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.final-cta-card::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 240px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.final-cta-sub {
  max-width: 660px;
  margin: 0 auto 36px auto;
  font-size: clamp(0.92rem, 1.5vw, 1.08rem);
  color: #94a3b8;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-final-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.38);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-final-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.btn-final-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9 !important;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-final-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

/* --- SECTION 2: RESPONSIBLE GAMBLING --- */
.responsible-gambling-section {
  padding: 20px 0 60px;
}

.responsible-gambling-card {
  background: linear-gradient(180deg, rgba(20, 24, 39, 0.95) 0%, rgba(11, 15, 26, 0.98) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 22px;
  padding: 40px 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.rg-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rg-badge-18 {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  border: 2.5px solid #ef4444;
  color: #f87171;
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}

.rg-title-wrap {
  flex: 1;
  min-width: 240px;
}

.rg-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
}

.rg-subhead {
  color: #f87171;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rg-core-warning {
  background: rgba(239, 68, 68, 0.08);
  border-left: 4px solid #ef4444;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin-bottom: 28px;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.rg-core-warning p {
  margin: 0 0 8px 0;
}

.rg-core-warning p:last-child {
  margin: 0;
}

.rg-core-warning strong {
  color: #ffffff;
}

.rg-principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.rg-principle-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rg-principle-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #f1f5f9;
}

.rg-principle-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.rg-resources-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.rg-resources-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.rg-resources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rg-resource-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rg-resource-pill:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.rg-helpline-tag {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* --- SECTION 3: REORGANIZED 5-COLUMN FOOTER --- */
.footer-grid-5col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 36px 0 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 24px 0 20px 0;
}

.footer-col-5col {
  display: flex;
  flex-direction: column;
}

.footer-col-title-5col {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links-5col {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-item {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  min-height: 24px;
}

.footer-link-item:hover {
  color: #10b981;
  transform: translateX(2px);
}

.footer-copyright-container {
  padding: 18px 0 8px 0;
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-copyright-container strong {
  color: #94a3b8;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .rg-principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-5col {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .footer-grid-4col {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 640px) {
  .final-cta-card {
    padding: 36px 20px;
    border-radius: 18px;
  }
  .btn-final-cta-primary,
  .btn-final-cta-secondary {
    width: 100%;
  }
  .responsible-gambling-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .rg-principles-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid-5col {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .rg-resources-grid {
    flex-direction: column;
  }
  .rg-resource-pill {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  .footer-grid-5col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   DELIBERATE MOBILE FOOTER REDESIGN (MOBILE-FIRST ARCHITECTURE)
   ========================================================================== */
.footer-desktop-view {
  display: block;
}

.footer-mobile-view {
  display: none;
}

@media (max-width: 767px) {
  .footer-desktop-view {
    display: none !important;
  }

  .footer-mobile-view {
    display: block !important;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px)) 16px;
    color: #94a3b8;
  }

  .deeppredictbet-footer {
    padding: 32px 0 24px 0 !important;
    margin-top: 40px !important;
  }
}

/* Mobile Footer: Brand Section */
.mf-brand-section {
  text-align: center;
  padding: 8px 0 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 10px;
}

.mf-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.mf-brand-tagline {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.mf-brand-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 auto;
  max-width: 320px;
  line-height: 1.45;
}

/* Mobile Footer: Quick Access Shortcuts */
.mf-quick-access {
  padding: 18px 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: left;
}

.mf-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (max-width: 340px) {
  .mf-quick-grid {
    grid-template-columns: 1fr;
  }
}

.mf-quick-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 44px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.mf-quick-pill:hover,
.mf-quick-pill:active {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #38bdf8;
}

.mf-quick-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.mf-quick-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile Footer: Accordions */
.mf-accordions-group {
  padding: 8px 0 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mf-accordion-item:last-child {
  border-bottom: none;
}

.mf-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 48px;
  box-sizing: border-box;
  text-align: left;
  transition: color 0.2s ease;
}

.mf-accordion-header:hover,
.mf-accordion-header:focus-visible {
  color: #38bdf8;
  outline: none;
}

.mf-accordion-icon {
  font-size: 1.25rem;
  line-height: 1;
  color: #94a3b8;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mf-accordion-item.is-open .mf-accordion-header {
  color: #38bdf8;
}

.mf-accordion-item.is-open .mf-accordion-icon {
  color: #38bdf8;
}

.mf-accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.mf-accordion-item.is-open .mf-accordion-panel {
  max-height: 520px;
  opacity: 1;
}

.mf-accordion-list {
  list-style: none;
  padding: 4px 2px 14px 2px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mf-accordion-link {
  display: flex;
  align-items: center;
  padding: 9px 8px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 6px;
  min-height: 44px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.mf-accordion-link:hover,
.mf-accordion-link:active {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
  padding-left: 12px;
}

/* Responsible Gambling Notice (Understated, Trustworthy) */
.mf-responsible-gambling {
  margin: 20px 0 16px 0;
  padding: 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
}

.mf-rg-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mf-rg-badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #ef4444;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.mf-rg-title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #cbd5e1;
}

.mf-rg-sep {
  color: #475569;
  font-size: 0.7rem;
}

.mf-rg-text {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 10px 0;
}

.mf-rg-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mf-rg-partner {
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 6px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.mf-rg-partner:hover {
  text-decoration: underline;
}

/* Social Channels */
.mf-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px 0;
}

.mf-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mf-social-btn:hover,
.mf-social-btn:active {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateY(-2px);
}

/* Store Badges on Mobile */
.mf-stores-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.mf-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.72rem;
  min-height: 44px;
  box-sizing: border-box;
}

.mf-store-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.mf-store-sub {
  font-size: 0.62rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.mf-store-main {
  font-weight: 700;
  font-size: 0.78rem;
}

/* Copyright & Legal Compliance */
.mf-bottom-meta {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mf-copyright {
  font-size: 0.76rem;
  color: #94a3b8;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.mf-copyright strong {
  color: #f1f5f9;
}

.mf-disclaimer {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   HOMEPAGE OPTIMIZATION PASS: ACCESSIBILITY, TOUCH TARGETS & MOBILE UX
   ========================================================================== */

/* 1. Global Focus-Visible for Accessible Keyboard Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #38bdf8 !important;
  outline-offset: 3px !important;
}

/* 2. Touch Target Calibration (>= 44px on touch/mobile/tablet devices) */
@media (max-width: 991px), (pointer: coarse) and (max-width: 1024px) {
  html:not(.is-desktop) .mobile-hamburger-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    touch-action: manipulation;
  }
}

.nav-cta-btn {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-intent-cta {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-insight-analysis {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 14px !important;
}

.journey-step-link {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 10px 0 !important;
}

/* 3. Mobile Header Overflow & Spacing Fixes */
@media (max-width: 420px) {
  .nav-actions #nav-get-started-btn {
    display: none !important;
  }
  .nav-actions {
    gap: 6px !important;
  }
}

/* 4. Prevent iOS Safari Viewport Auto-Zoom on Form Focus */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* 5. Typography Contrast Enhancement (WCAG AA Compliance) */
.doctor-step-content p,
.journey-step-desc,
.faq-answer p,
.benefits-card-desc,
.tool-feature-item,
.performance-stat-label {
  color: #94a3b8 !important;
}

/* --- DASHBOARDS RESPONSIVENESS & TOUCH OPTIMIZATION --- */
@media (max-width: 992px) {
  #view-my-deeppredict .main-container > div:nth-of-type(3),
  #view-founder-analytics .main-container > div:nth-of-type(3) {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  #view-my-deeppredict .glass-card,
  #view-founder-analytics .glass-card {
    padding: 16px !important;
  }
  #view-founder-analytics table {
    min-width: 580px;
  }
}

/* --- MY DEEPPREDICT CUSTOMER COMMAND CENTER STYLES --- */
.dp-dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .dp-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .dp-sidebar-desktop {
    display: none !important;
  }
}

.dp-sidebar-nav {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  position: sticky;
  top: 80px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dp-sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dp-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dp-sidebar-item:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.dp-sidebar-item.active {
  color: #38bdf8;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.05) 100%);
  border-left: 3px solid #38bdf8;
  font-weight: 800;
}

.dp-sidebar-item .dp-icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  display: inline-block;
}

.dp-sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

/* Mobile Bottom Navigation for Customer Dashboard */
.dp-mobile-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .dp-mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    justify-content: space-around;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  }

  .dp-mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    min-width: 58px;
    padding: 4px 6px;
    border-radius: 8px;
    transition: color 0.2s ease;
  }

  .dp-mobile-nav-btn.active {
    color: #38bdf8;
  }

  .dp-mobile-nav-btn .dp-nav-icon {
    font-size: 1.25rem;
  }
}

.dp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.dp-status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fbbf24;
}
.dp-status-badge.won {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}
.dp-status-badge.lost {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

.dp-tab-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dp-tab-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.dp-tab-pill.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
  font-weight: 800;
}

/* ==========================================================================
   DEEPPREDICTBET COMMAND CENTER & AI-FIRST USER JOURNEY STYLES
   ========================================================================== */

.command-center-section {
  padding: 4px 0 24px;
  position: relative;
}

/* Returning User Welcome Banner */
.command-center-welcome {
  background: linear-gradient(135deg, rgba(26, 104, 219, 0.14) 0%, rgba(16, 185, 129, 0.09) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  animation: fadeIn 0.3s ease-out;
}
.command-center-welcome-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.command-center-welcome-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.command-center-welcome-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}
.command-center-welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.command-center-welcome-item {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.command-center-welcome-item:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(26, 104, 219, 0.15);
}
.command-center-welcome-item-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #60a5fa;
}
.command-center-welcome-item-val {
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
}

/* Command Center Header - First Viewport Optimized */
.command-center-intro {
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.command-center-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 104, 219, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}
.command-center-brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 2px 0;
  line-height: 1.1;
}
.command-center-brand-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.command-center-question {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #f1f5f9;
  text-transform: uppercase;
  margin: 0 0 4px 0;
}
.command-center-subtext {
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  color: #94a3b8;
  max-width: 680px;
  line-height: 1.4;
  margin: 0 0 8px 0;
}
.command-center-guest-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748b;
  flex-wrap: wrap;
  justify-content: center;
}
.command-center-guest-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}
.command-center-guest-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}
.command-center-dot {
  color: rgba(255, 255, 255, 0.2);
}

/* PATH A: ASK AI SCOUT COMMAND BOX (Compact) */
.command-scout-box {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(26, 104, 219, 0.12);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.command-scout-box:focus-within {
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6), 0 0 28px rgba(26, 104, 219, 0.22);
}
.command-scout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.command-scout-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.command-scout-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(26, 104, 219, 0.25) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.command-scout-heading {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}
.command-scout-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}
.command-scout-badge-ai {
  font-size: 0.68rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.command-scout-badge-ai:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}
.command-scout-badge-ai-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: scoutIndicatorPulse 2s infinite ease-in-out;
}
@keyframes scoutIndicatorPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #10b981; }
  50% { opacity: 0.55; transform: scale(1.25); box-shadow: 0 0 14px #34d399; }
}

/* Input Form Row */
.command-scout-form {
  display: flex;
  gap: 8px;
  position: relative;
  margin-bottom: 8px;
}
.command-scout-input-wrap {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.command-scout-search-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
}
.command-scout-input {
  width: 100%;
  background: rgba(8, 11, 17, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px 10px 42px;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.command-scout-input:focus {
  border-color: #38bdf8;
  background: rgba(8, 11, 17, 0.98);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.command-scout-input::placeholder {
  color: #64748b;
  font-size: 0.84rem;
}
.command-scout-submit-btn {
  background: linear-gradient(135deg, #1a68db 0%, #2563eb 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(26, 104, 219, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.command-scout-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 104, 219, 0.55);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}
.command-scout-submit-btn:active {
  transform: translateY(0);
}

/* Example Prompts / Chips */
.command-scout-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.command-scout-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.command-scout-chip:hover {
  background: rgba(26, 104, 219, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}
.command-scout-chip:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* Dynamic AI Scout Feedback / Guidance Box */
.command-scout-feedback {
  margin-top: 10px;
  background: rgba(8, 11, 17, 0.95);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  padding: 12px 14px;
  animation: fadeIn 0.25s ease-out;
}
.command-scout-feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.command-scout-feedback-ai-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.command-scout-feedback-text {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.45;
  margin: 0 0 10px 0;
}
.command-scout-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* PATH B: CHOOSE AN ACTION DIVIDER */
.command-center-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 12px 0;
  color: #94a3b8;
}
.command-center-divider::before,
.command-center-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.command-center-divider span {
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
}

/* EXACT 6 ACTION CARDS GRID (3x2 on desktop, compact on mobile) */
.command-action-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.command-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.85) 0%, rgba(13, 19, 33, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  color: inherit;
  min-height: 122px;
}
.command-card:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
.command-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(23, 33, 54, 0.95) 0%, rgba(15, 23, 42, 1) 100%);
}

/* Specific Card Glow Colors */
.card-theme-predictions:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(16, 185, 129, 0.2);
}
.card-theme-doctor:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.2);
}
.card-theme-converter:hover {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(245, 158, 11, 0.2);
}
.card-theme-generator:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(59, 130, 246, 0.25);
}
.card-theme-value:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 18px rgba(245, 158, 11, 0.2);
}
.card-theme-scanner:hover {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 18px rgba(239, 68, 68, 0.2);
}

.command-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.command-card-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.command-card-cat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #94a3b8;
}
.command-card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  margin: 1px 0 0 0;
  line-height: 1.2;
}
.command-card-desc {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0 0 8px 0;
}
.command-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #38bdf8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.command-card:hover .command-card-cta {
  color: #60a5fa;
}
.command-card:hover .command-card-cta svg {
  transform: translateX(3px);
}
.command-card-cta svg {
  transition: transform 0.15s ease;
}

/* DIRECT TERTIARY EXPLORE BUTTON */
.command-explore-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.btn-explore-all-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-explore-all-tools:hover {
  background: rgba(26, 104, 219, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  color: #38bdf8;
  transform: translateY(-1px);
}
.btn-explore-all-tools svg {
  transition: transform 0.2s ease;
}
.btn-explore-all-tools:hover svg {
  transform: translateX(3px);
}

/* Category icon background tints */
.icon-emerald-tint { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.35); }
.icon-cyan-tint { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.35); }
.icon-gold-tint { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.35); }
.icon-blue-tint { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35); }
.icon-amber-tint { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.35); }
.icon-red-tint { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.35); }

/* BREADCRUMB BAR FOR TOOL VIEWS */
.tool-view-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 0;
  margin-bottom: 8px;
}
.tool-view-breadcrumb a {
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}
.tool-view-breadcrumb a:hover {
  color: #60a5fa;
  text-decoration: underline;
}
.tool-view-breadcrumb .breadcrumb-sep {
  color: #64748b;
  font-size: 0.8rem;
}
.tool-view-breadcrumb .breadcrumb-current {
  color: #f1f5f9;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .command-action-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .command-center-section {
    padding: 4px 0 20px;
  }
  .command-scout-box {
    padding: 12px 12px;
    border-radius: 14px;
    margin-bottom: 16px;
  }
  .command-scout-form {
    flex-direction: column;
  }
  .command-scout-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
  }
  .command-scout-chips {
    gap: 5px;
  }
  .command-scout-chip {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
  .command-action-cards-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .command-card {
    padding: 12px 12px;
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .command-card,
  .command-scout-chip,
  .command-scout-submit-btn,
  .btn-explore-all-tools {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   UNIFIED DEEPPREDICTBET UPGRADE EXPERIENCE & DISCOVERY DESIGN SYSTEM
   ========================================================================== */

/* 1. FeatureUpgradePrompt Component */
.feature-upgrade-prompt-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-md, 16px);
  padding: 24px 26px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.feature-upgrade-prompt-card.tier-vip {
  border-color: rgba(234, 179, 8, 0.4);
  background: linear-gradient(135deg, rgba(20, 25, 45, 0.95) 0%, rgba(35, 28, 15, 0.85) 100%);
}

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

.fup-discovery-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.tier-vip .fup-discovery-badge {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border-color: rgba(234, 179, 8, 0.35);
}

.fup-context-tag {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 600;
}

.fup-title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.fup-subtitle {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.fup-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.fup-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 8px;
}

.fup-check {
  color: #10b981;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.fup-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.fup-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.tier-vip .fup-btn-primary {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #0b1329;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.35);
}

.fup-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.fup-btn-secondary {
  background: transparent;
  color: #94a3b8;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px 10px;
  transition: color 0.15s ease;
}

.fup-btn-secondary:hover {
  color: #ffffff;
}

.fup-reassurance-note {
  font-size: 0.74rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 2. UsageLimitBanner Component */
.usage-limit-banner {
  border-radius: var(--radius-md, 14px);
  padding: 14px 18px;
  margin-bottom: 18px;
  transition: all 0.2s ease;
  position: relative;
}

.usage-limit-banner.banner-active {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.usage-limit-banner.banner-caution {
  background: rgba(245, 158, 11, 0.09);
  border-color: rgba(245, 158, 11, 0.32);
}

.usage-limit-banner.banner-unlimited {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.usage-limit-banner.banner-exhausted {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.42);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.15);
}

.ulb-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ulb-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ulb-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ulb-headline {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.ulb-subtext {
  font-size: 0.76rem;
  color: #94a3b8;
}

.ulb-count-num {
  color: #60a5fa;
  font-size: 0.98rem;
}

.banner-caution .ulb-count-num {
  color: #f59e0b;
}

.ulb-limit-denom {
  font-size: 0.78rem;
  color: #94a3b8;
}

.ulb-status-pill.pill-unlimited {
  font-size: 0.72rem;
  background: rgba(234, 179, 8, 0.2);
  color: #fef08a;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ulb-explore-link {
  font-size: 0.78rem;
  color: #60a5fa;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.ulb-explore-link:hover {
  color: #93c5fd;
}

/* Exhausted Banner Inner Elements */
.ulb-header-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ulb-warning-icon {
  font-size: 1.15rem;
}

.banner-exhausted .ulb-headline {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fca5a5;
}

.ulb-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ulb-upgrade-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.ulb-upgrade-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.ulb-continue-btn {
  background: transparent;
  color: #94a3b8;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
  transition: color 0.15s ease;
}

.ulb-continue-btn:hover {
  color: #ffffff;
}

.ulb-intact-note {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: #64748b;
}

/* 3. LockedCapability Component */
.locked-capability-card {
  position: relative;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  background: #090d16;
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 24px;
}

.locked-capability-card.tier-vip {
  border-color: rgba(234, 179, 8, 0.35);
}

.lc-surface-preview {
  padding: 24px 22px;
  opacity: 0.35;
  filter: blur(2px);
  user-select: none;
  pointer-events: none;
}

.lc-preview-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.lc-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
}

.tier-vip .lc-pulse-dot {
  background: #eab308;
  box-shadow: 0 0 10px #eab308;
}

.lc-preview-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.lc-watermark {
  margin-left: auto;
  font-size: 0.68rem;
  color: #64748b;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}

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

.lc-preview-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.lc-metric-name {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lc-metric-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.lc-discovery-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.92) 0%, rgba(8, 11, 17, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
}

.lc-overlay-content {
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
  margin-bottom: 12px;
}

.tier-vip .lc-badge {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border-color: rgba(234, 179, 8, 0.35);
}

.lc-title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px;
}

.lc-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 16px;
}

.lc-unlock-list {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 18px;
  width: 100%;
  margin-bottom: 18px;
  text-align: left;
}

.lc-unlock-header {
  font-size: 0.74rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.lc-unlock-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #e2e8f0;
  margin-bottom: 5px;
}

.lc-unlock-item:last-child {
  margin-bottom: 0;
}

.lc-unlock-bullet {
  color: #10b981;
  font-weight: 800;
}

.lc-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

.lc-btn-unlock {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
}

.tier-vip .lc-btn-unlock {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #0b1329;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
}

.lc-btn-unlock:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.lc-btn-continue {
  background: transparent;
  color: #94a3b8;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px 12px;
  transition: color 0.15s ease;
}

.lc-btn-continue:hover {
  color: #ffffff;
}

.lc-intact-reassurance {
  font-size: 0.72rem;
  color: #64748b;
}

/* 4. PlanComparison Component */
.plan-comparison-container {
  padding: 24px 0;
}

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

.pcc-title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 6px;
}

.pcc-subtitle {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

.pcc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.pcc-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg, 18px);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pcc-card.pcc-card-featured {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.2);
}

.pcc-card.pcc-card-vip {
  background: linear-gradient(180deg, rgba(161, 98, 7, 0.2) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: rgba(234, 179, 8, 0.45);
  box-shadow: 0 12px 36px rgba(234, 179, 8, 0.18);
}

.pcc-featured-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.5);
}

.pcc-vip-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #eab308;
  color: #0b1329;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.5);
}

.pcc-card-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.pcc-tier-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.tier-tag-free { color: #94a3b8; }
.tier-tag-pro { color: #60a5fa; }
.tier-tag-vip { color: #facc15; }

.pcc-tier-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}

.pcc-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pcc-amount {
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
}

.pcc-period {
  font-size: 0.8rem;
  color: #94a3b8;
}

.pcc-tier-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.pcc-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.pcc-features-list li {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.pcc-check { color: #10b981; font-weight: 800; flex-shrink: 0; }
.pcc-dash { color: #64748b; font-weight: 800; flex-shrink: 0; }

.pcc-card-footer {
  margin-top: auto;
}

.pcc-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.pcc-btn-vip {
  width: 100%;
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #0b1329;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
  transition: all 0.2s ease;
}

.pcc-btn-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.pcc-footer-reassurance {
  text-align: center;
  font-size: 0.74rem;
  color: #64748b;
}

/* 5. UsageMeter Component */
.usage-meter-widget {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}

.usage-meter-widget.meter-unlimited {
  border-color: rgba(234, 179, 8, 0.3);
  background: rgba(234, 179, 8, 0.05);
}

.usage-meter-widget.meter-caution {
  border-color: rgba(245, 158, 11, 0.35);
}

.usage-meter-widget.meter-exhausted {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.06);
}

.umw-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.umw-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}

.umw-fraction {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
}

.umw-tag-unlimited {
  font-size: 0.72rem;
  font-weight: 800;
  color: #facc15;
  background: rgba(234, 179, 8, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
}

.umw-track-bar {
  height: 6px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.umw-fill-bar {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.35s ease, background 0.35s ease;
}

.umw-fill-bar.bar-normal { background: #3b82f6; }
.umw-fill-bar.bar-caution { background: #f59e0b; }
.umw-fill-bar.bar-exhausted { background: #ef4444; }
.umw-fill-bar.bar-unlimited { background: linear-gradient(90deg, #eab308, #facc15); }

.umw-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.umw-reset-note {
  font-size: 0.72rem;
  color: #64748b;
}

.umw-micro-upgrade {
  background: transparent;
  border: none;
  color: #60a5fa;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.umw-micro-upgrade:hover {
  color: #93c5fd;
}

/* --- Continue Exploring Universal Escape Link --- */
.continue-exploring-link {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, opacity 0.15s ease;
  display: inline-block;
}

.continue-exploring-link:hover {
  color: #f1f5f9;
  text-decoration: underline;
}

.continue-exploring-link:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
  border-radius: 4px;
}




/* --- Dynamic Live League Standings Engine Styles --- */
.standings-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.standings-table {
  min-width: 580px;
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, sans-serif;
}

.standings-table th,
.standings-table td {
  border-collapse: collapse;
}

.standings-league-pill:hover {
  background: rgba(168, 85, 247, 0.2) !important;
  color: #e9d5ff !important;
}

@keyframes standingsPulseBadge {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.04);
  }
}

.standings-live-badge {
  display: inline-block;
  animation: standingsPulseBadge 2s infinite ease-in-out;
}


/* ==========================================================================
   DYNAMIC AUTHENTICATION-AWARE HEADER ACCOUNT AREA
   Strict requirements:
   - Logged-out state: top-right account area must remain completely empty (display: none).
   - Logged-in state: [USER'S NAME OR USERNAME] [LOG OUT]
   - Absolute prohibition: NEVER display account balance, coins, or financial info.
   ========================================================================== */

/* Absolute prohibition of coins, balances, and financial elements in top-right header */
.header .nav-actions .header-coins-pill,
.header .nav-actions .top-header-coins-pill,
.header .nav-actions #header-coins-count,
.header .nav-actions [title="Mines Coins Store"],
.header .nav-actions #nav-auth-container,
.header .nav-actions #nav-get-started-btn {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

.header-account-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
  z-index: 100;
}

.header-user-identity {
  font-family: var(--font-heading, var(--font-body, system-ui, -apple-system, sans-serif));
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 6px;
  max-width: 170px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  flex: 0 1 auto;
}

.header-user-identity:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}

.header-logout-btn {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-logout-btn:hover,
.header-logout-btn:focus-visible {
  background: rgba(239, 68, 68, 0.28);
  border-color: rgba(239, 68, 68, 0.7);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
  transform: translateY(-1px);
}

.header-logout-btn:active {
  transform: translateY(0);
}

/* Responsive Mobile Header & Width Management */
@media (max-width: 768px) {
  .nav-container {
    padding-left: max(8px, env(safe-area-inset-left)) !important;
    padding-right: max(8px, env(safe-area-inset-right)) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  html:not(.is-desktop) .mobile-hamburger-btn,
  body:not(.is-desktop) .mobile-hamburger-btn,
  .mobile-hamburger-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .brand-logo-img {
    height: 24px !important;
    max-width: 105px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 1 !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    flex-shrink: 1 !important;
  }

  .header-account-area {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    flex-shrink: 1 !important;
  }

  .header-user-identity {
    min-width: 0 !important;
    max-width: 110px !important;
    font-size: 0.74rem !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
    flex: 0 1 auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
  }

  .header-logout-btn {
    font-size: 0.74rem !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    min-height: 28px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 380px) {
  .nav-container {
    padding-left: max(4px, env(safe-area-inset-left)) !important;
    padding-right: max(4px, env(safe-area-inset-right)) !important;
    gap: 4px !important;
  }

  .nav-left {
    gap: 4px !important;
  }

  html:not(.is-desktop) .mobile-hamburger-btn,
  body:not(.is-desktop) .mobile-hamburger-btn,
  .mobile-hamburger-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    font-size: 1.05rem !important;
  }

  .brand-logo-img {
    height: 22px !important;
    max-width: 88px !important;
  }

  .nav-actions {
    gap: 4px !important;
  }

  .header-account-area {
    gap: 4px !important;
  }

  .header-user-identity {
    max-width: 78px !important;
    font-size: 0.68rem !important;
    padding: 3px 5px !important;
  }

  .header-logout-btn {
    font-size: 0.68rem !important;
    padding: 3px 6px !important;
    min-height: 26px !important;
  }
}


/* ==========================================================================
   DEEPPREDICTBET FAN ARENA — BRANDING, VOTING & SOCIAL CARD STYLES
   ========================================================================== */
.fan-arena-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000010;
  align-items: center;
  justify-content: center;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px;
  overflow-y: auto;
}

.fan-arena-modal-content {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 15, 29, 0.98) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.15);
  border-radius: 18px;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-primary);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fan-arena-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: rgba(15, 23, 42, 0.7);
}

.fan-arena-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.fan-arena-body {
  padding: 22px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Voting Grid */
.fan-arena-voting-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
}

.fan-arena-voting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.fan-arena-voting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .fan-arena-voting-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.fan-vote-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.fan-vote-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.fan-vote-card.voted {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.fan-vote-card.voted::after {
  content: '✓ YOUR VOTE';
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.2);
  padding: 2px 6px;
  border-radius: 10px;
}

.fan-vote-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fan-vote-pct {
  font-size: 1.4rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--accent-gold);
  display: block;
  margin-bottom: 6px;
}

.fan-vote-card:nth-child(1) .fan-vote-pct { color: #38bdf8; }
.fan-vote-card:nth-child(2) .fan-vote-pct { color: #94a3b8; }
.fan-vote-card:nth-child(3) .fan-vote-pct { color: #c084fc; }

.fan-vote-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.fan-vote-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.fan-vote-fill.home { background: #38bdf8; }
.fan-vote-fill.draw { background: #94a3b8; }
.fan-vote-fill.away { background: #c084fc; }

.fan-vote-count {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

/* Tabs & Selector */
.fan-arena-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fan-arena-tabs-group {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.fan-arena-format-tab,
.fan-arena-type-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fan-arena-format-tab.active,
.fan-arena-type-tab.active {
  background: rgba(56, 189, 248, 0.18);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Preview Canvas Container */
.fan-arena-canvas-container {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}

/* Factual Social Caption Section */
.fan-arena-caption-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.fan-arena-caption-section textarea:focus {
  outline: none;
  border-color: #a855f7 !important;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

/* Prominent Actions */
.fan-arena-actions-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.fan-arena-download-btn {
  flex: 2;
  min-width: 220px;
  height: 48px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 900;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
}

.fan-arena-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.55);
}

.fan-arena-share-btn {
  flex: 1;
  min-width: 140px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  cursor: pointer;
}
