@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- 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;
  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: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after {
  width: 100%;
}

.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);
}

/* --- HERO SECTION --- */
.hero {
  padding: 80px 0 40px;
  position: relative;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 104, 219, 0.1);
  border: 1px solid rgba(26, 104, 219, 0.2);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 550px;
  margin: 40px auto 0;
  gap: 20px;
}

.hero-stat-card {
  padding: 16px;
}

.hero-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.hero-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* --- 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: Home Team Left, VS / Score Center, Away Team Right */
.teams-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  width: 100%;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 42%;
  min-width: 0;
}

.team-logo {
  width: 36px;
  height: 36px;
  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;
}

.team-name {
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  width: 100%;
  text-align: center;
  color: var(--text-primary);
}

.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  width: 16%;
  flex-shrink: 0;
}

.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;
}

.tool-content-pane.active {
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bet Generator Machine Layout */
.machine-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .machine-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.machine-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.machine-ticket-preview {
  background: #0b0f17;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
  max-height: 600px;
}

.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;
}

.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;
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.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;
}

.checkbox-card input {
  cursor: pointer;
}

.checkbox-card:hover {
  border-color: var(--primary);
  background: rgba(26, 104, 219, 0.05);
}

.checkbox-card.selected {
  border-color: var(--primary);
  background: rgba(26, 104, 219, 0.1);
  color: var(--text-primary);
}

#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); }
  100% { transform: translateX(-33.33%); }
}

.watchlist-star.watched {
  color: #f59e0b !important;
}

.modal-tab-pane {
  display: none;
}

/* Navbar Dropdown Menu Styles */
.nav-menu li.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 {
  display: flex;
}

.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 (MATCHES ATTACHED SCREENSHOT) --- */
#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);
}

/* 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)
   ========================================================================== */
@media (min-width: 992px) {
  .mobile-hamburger-btn {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .mobile-hamburger-btn {
    display: inline-flex !important;
  }
  header .nav-menu {
    display: none !important;
  }
}

.mobile-hamburger-btn {
  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-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: 0 !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 {
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4) !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;
  }
}

/* ==========================================================================
   PUNTERS VIP SUBSCRIPTION USER JOURNEY STYLES
   ========================================================================== */

#vip-subscription-modal .modal-content {
  background: #0f172a;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.75), 0 0 35px rgba(16, 185, 129, 0.15);
  border-radius: 24px;
  overflow: hidden;
  max-width: 580px;
  width: 95%;
  position: relative;
}

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

.vip-paywall-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
  line-height: 1.15;
}

.vip-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}

.vip-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

/* Winning Slips Showcase Carousel */
.vip-slips-container {
  display: flex;
  gap: 12px;
  padding: 10px 20px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.vip-slips-container::-webkit-scrollbar {
  display: none;
}

.vip-winning-slip {
  flex: 0 0 240px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.vip-winning-slip:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
}

.vip-slip-badge {
  position: absolute;
  top: -9px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  letter-spacing: 0.5px;
}

.vip-slip-teams {
  font-weight: 800;
  font-size: 0.85rem;
  color: #f8fafc;
  margin-top: 6px;
  margin-bottom: 8px;
}

.vip-slip-picks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.74rem;
  color: #94a3b8;
}

.vip-slip-pick-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 600;
}
.vip-slip-pick-item .check-icon {
  color: #10b981;
  font-size: 0.82rem;
  font-weight: 900;
}

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

.vip-plan-card {
  position: relative;
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  padding: 18px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.vip-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.vip-plan-card.selected {
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.35), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.vip-best-value-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #15803d;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.5);
  z-index: 2;
}

.vip-plan-price {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin-top: 4px;
}

.vip-plan-daily {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  margin: 4px 0 6px;
}

.vip-save-pill {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 12px;
}

.vip-save-placeholder {
  height: 18px;
  margin-bottom: 12px;
}

.vip-plan-label-block {
  width: 100%;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 12px 6px;
  border-radius: 0 0 16px 16px;
  margin-top: auto;
  transition: all 0.2s ease;
}

.vip-plan-card.selected .vip-plan-label-block {
  background: #15803d;
  color: #ffffff;
}

/* Continue Button and Actions */
.vip-actions-wrapper {
  padding: 0 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vip-continue-btn {
  width: 100%;
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.45);
  transition: all 0.25s ease;
}

.vip-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 128, 61, 0.6);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

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

.vip-cancel-guarantee {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.82rem;
  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;
}

/* 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: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !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: #475569 !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    flex: 1 !important;
    gap: 2px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .bottom-nav-item.active {
    color: #15803d !important;
    font-weight: 800 !important;
  }

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

  .bottom-nav-vip-badge {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #15803d !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: -16px !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 4px 10px rgba(21, 128, 61, 0.4) !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.25s ease, visibility 0.25s 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;
  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;
}

.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;
}

.betslip-share-body {
  padding: 18px;
  overflow-y: auto;
  max-height: calc(90vh - 75px);
  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 with Styled Scrollbar */
.betslip-ticket-fixtures {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 4px;
  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);
}



