/* ==========================================================================
   BetPredict PRO - Design System & Modern Dark Sports Theme
   ========================================================================== */

:root {
  --bg-main: #0a0e1a;
  --bg-card: rgba(18, 26, 47, 0.75);
  --bg-card-hover: rgba(26, 37, 65, 0.85);
  --bg-card-elevated: #151f38;
  --bg-input: #0e1628;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #10b981;
  --border-glass: rgba(255, 255, 255, 0.12);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.25);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-rose: #f43f5e;
  --accent-indigo: #6366f1;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--accent-emerald-glow);

  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.5rem;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-glow);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--accent-emerald);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-stats-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(18, 26, 47, 0.6);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.stat-pill strong {
  color: var(--text-primary);
  font-weight: 700;
}

.stat-pill.emerald strong {
  color: var(--accent-emerald);
}

.stat-pill.amber strong {
  color: var(--accent-amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-glass);
}

.btn-betslip-trigger {
  position: relative;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.btn-betslip-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
}

.badge-counter {
  background: #ffffff;
  color: #064e3b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Live Pulse Badge
   ========================================================================== */

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 12px #ef4444; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   Main Layout & Sections
   ========================================================================== */

.app-main {
  max-width: 1400px;
  margin: 1.5rem auto;
  padding: 0 1.5rem 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Hero & Biletul Zilei Banner */
.biletul-zilei-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%), var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.1);
}

.bilet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.bilet-title-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bilet-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1e1b10;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bilet-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.bilet-metrics {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bilet-metric-box {
  text-align: right;
}

.bilet-metric-box .label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.bilet-metric-box .val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-amber);
}

.bilet-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.bilet-item-card {
  background: rgba(14, 22, 40, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition);
}

.bilet-item-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(18, 28, 52, 0.85);
}

.bilet-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.bilet-item-match {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.bilet-item-pick {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

.bilet-item-selection {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.9rem;
}

.bilet-item-odd {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.bilet-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.bilet-rationale {
  font-size: 0.84rem;
  color: var(--text-secondary);
  max-width: 750px;
}

.btn-add-combo {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-add-combo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   Two-Column Analytics Dashboard
   ========================================================================== */

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.section-title span.count-badge {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
}

/* Date Selector Bar (Azi / Mâine / Poimâine) */
.date-selector-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  background: rgba(15, 23, 42, 0.75);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.date-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

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

.date-btn.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28) 0%, rgba(99, 102, 241, 0.38) 100%);
  border-color: rgba(99, 102, 241, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
  font-weight: 700;
}

.date-icon {
  font-size: 1rem;
}

.date-main {
  font-size: 0.88rem;
  font-weight: 700;
}

.date-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.date-btn.active .date-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Quick League Filter Bar */
.league-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
}

.league-pill {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.league-pill:hover {
  background: rgba(51, 65, 85, 0.9);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.league-pill.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(99, 102, 241, 0.45) 100%);
  color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
  font-weight: 700;
}

.league-pill.highlight-ro {
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.1);
  color: #fef08a;
}

.league-pill.highlight-ro:hover {
  background: rgba(234, 179, 8, 0.22);
  border-color: rgba(234, 179, 8, 0.7);
  color: #ffffff;
}

.league-pill.highlight-ro.active {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.45) 0%, rgba(220, 38, 38, 0.4) 100%);
  color: #ffffff;
  border-color: #eab308;
  box-shadow: 0 2px 14px rgba(234, 179, 8, 0.4);
}

/* Filter Chips */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

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

.tab-btn.active {
  background: var(--accent-emerald);
  color: #064e3b;
  font-weight: 700;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald-glow);
}

/* ==========================================================================
   Match Center Cards
   ========================================================================== */

.matches-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.match-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.league-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.minute-live {
  color: #ef4444;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.minute-ht {
  color: var(--accent-amber);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
}

.minute-ft {
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(148, 163, 184, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
}

.minute-upcoming {
  color: var(--accent-cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6, 182, 212, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
}

.teams-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.team-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.team-block.home {
  justify-content: flex-end;
  text-align: right;
}

.team-block.away {
  justify-content: flex-start;
  text-align: left;
}

.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.team-crest {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

.team-crest-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.score-display {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Match Momentum Bar */
.momentum-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.momentum-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.momentum-bar {
  height: 6px;
  background: #1e293b;
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
}

.momentum-fill-home {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  transition: width 0.4s ease;
}

.momentum-fill-away {
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
  transition: width 0.4s ease;
}

/* Quick Stats Bar in Card */
.quick-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 22, 40, 0.4);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.quick-stats-row strong {
  color: var(--text-primary);
}

/* Odds Mini Grid */
.odds-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.odd-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
}

.odd-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-emerald);
}

.odd-btn.selected {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--accent-emerald);
}

.odd-btn .pick-name {
  color: var(--text-muted);
}

.odd-btn .pick-val {
  font-weight: 800;
  color: var(--accent-emerald);
}

/* ==========================================================================
   AI Bot Recommendation Box (Per Match Card)
   ========================================================================== */

.ai-best-pick-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 78, 59, 0.18) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ai-best-pick-box:hover {
  border-color: rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.24) 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.ai-best-pick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-header-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-win-rate-pill {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ai-best-pick-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.ai-pick-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ai-market-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ai-selection-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.ai-pick-reasoning {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

.btn-bet-this {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 105px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-bet-this:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.btn-bet-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #064e3b;
}

.btn-bet-odd {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
}

/* ==========================================================================
   Multi-Pick AI Suggestions Box (Per Match Card)
   ========================================================================== */

.ai-picks-container {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.ai-picks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-picks-header .ai-header-left {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-picks-count-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
}

.ai-picks-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ai-pick-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  transition: var(--transition);
}

.ai-pick-row:hover {
  background: var(--bg-card-hover);
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateX(2px);
}

.ai-pick-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.ai-pick-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-tier-tag {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  letter-spacing: 0.03em;
}

.ai-tier-tag.MAX_CHANCE {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.ai-tier-tag.BALANCED {
  background: rgba(6, 182, 212, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.ai-tier-tag.VALUE_PICK {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.ai-market-badge {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.ai-pick-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.ai-pick-subtext {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.25;
}

.ai-pick-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.ai-win-badge {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  min-width: 52px;
}

.ai-win-badge .chance-val {
  font-size: 0.98rem;
  font-weight: 900;
  color: #34d399;
}

.ai-win-badge .chance-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-bet-pick {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 72px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-bet-pick:hover {
  transform: scale(1.04);
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}

.btn-bet-pick .pick-odd-val {
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
}

.btn-bet-pick .pick-plus {
  font-size: 0.62rem;
  font-weight: 800;
  color: #064e3b;
  text-transform: uppercase;
}

/* ==========================================================================
   AI Betting Suggestions Panel
   ========================================================================== */

.suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.suggestion-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: var(--transition);
}

.suggestion-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.suggestion-card.value-bet {
  border-left: 4px solid var(--accent-emerald);
}

.suggestion-card.live-momentum {
  border-left: 4px solid #f43f5e;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.06) 0%, var(--bg-card) 100%);
}

.suggestion-card.goals-special {
  border-left: 4px solid var(--accent-cyan);
}

.suggestion-card.hot-pick {
  border-left: 4px solid var(--accent-amber);
}

.suggestion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sugg-category-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-value {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-momentum {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-goals {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-hot {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sugg-match-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.suggestion-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.market-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.selection-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.odd-ev-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ev-tag {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.odd-display {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-md);
}

/* Confidence Bar */
.confidence-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.conf-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.conf-track {
  height: 6px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.conf-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  border-radius: var(--radius-full);
}

.sugg-reasoning {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  background: rgba(14, 22, 40, 0.4);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--border-glass);
}

.sugg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.35rem;
}

.kelly-stake {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.kelly-stake strong {
  color: var(--text-primary);
}

.btn-add-ticket {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.btn-add-ticket:hover {
  background: var(--accent-emerald);
  color: #064e3b;
  border-color: var(--accent-emerald);
}

/* ==========================================================================
   Virtual Bet Slip Drawer (Slide-Over)
   ========================================================================== */

.betslip-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 390px;
  max-width: 100vw;
  height: 100vh;
  background: #0d1424;
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 220;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.betslip-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.betslip-header {
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.betslip-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-close-slip {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.betslip-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.slip-empty-state {
  text-align: center;
  color: var(--text-muted);
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.slip-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
}

.slip-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.slip-item-match {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 85%;
}

.btn-remove-slip-item {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-remove-slip-item:hover {
  color: var(--accent-rose);
}

.slip-item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slip-item-selection {
  font-size: 0.88rem;
  color: var(--accent-emerald);
  font-weight: 700;
}

.slip-item-odd {
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.betslip-footer {
  padding: 1.25rem 1.4rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card-elevated);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slip-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.slip-summary-row.highlight {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.slip-summary-row.highlight strong {
  color: var(--accent-emerald);
}

.stake-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stake-input-group label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stake-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.stake-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  outline: none;
  transition: var(--transition);
}

.stake-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald-glow);
}

.stake-currency {
  position: absolute;
  right: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-place-virtual-bet {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}

.btn-place-virtual-bet:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Backdrop */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Match Detail Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Detailed Stats Table / Bars */
.stats-bars-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stat-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
}

.stat-bar-track {
  height: 8px;
  background: #1e293b;
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
}

.stat-bar-h {
  background: #10b981;
}

.stat-bar-a {
  background: #38bdf8;
}

/* Timeline Events in Modal */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.timeline-event {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.84rem;
  background: var(--bg-input);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--border-glass);
}

.timeline-event.goal {
  border-left-color: var(--accent-emerald);
}

.timeline-event.yellow_card {
  border-left-color: var(--accent-amber);
}

.timeline-event.red_card {
  border-left-color: var(--accent-rose);
}

.timeline-min {
  font-weight: 800;
  color: var(--text-accent);
  min-width: 32px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #ffffff;
  animation: slide-in 0.3s ease;
  pointer-events: auto;
}

.toast.goal {
  border-left: 4px solid var(--accent-emerald);
}

@keyframes slide-in {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Mobile Floating Bet Slip Bar
   ========================================================================== */

.mobile-floating-betslip {
  display: none;
}

/* Navigare mobilă ascunsă implicit pe desktop */
.mobile-section-nav {
  display: none !important;
}

.mobile-bottom-nav {
  display: none !important;
}

@keyframes floatBounce {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Comprehensive Responsive Layouts (Tablets & Mobile)
   ========================================================================== */

/* Medium Devices & Tablets (<= 1024px) */
@media screen and (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Responsive Layout for Mobile & Small Screens (<= 900px) */
@media screen and (max-width: 900px) {
  *, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
  }

  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
  }

  .app-header {
    padding: 0.6rem 0.75rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    backdrop-filter: blur(16px) !important;
  }

  .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    gap: 0.5rem !important;
  }

  .brand-wrapper {
    gap: 0.45rem !important;
    min-width: 0 !important;
  }

  .brand-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
  }

  .brand-title {
    font-size: 1.05rem !important;
    white-space: nowrap !important;
  }

  .brand-subtitle {
    display: none !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
  }

  .btn-betslip-trigger {
    padding: 0.4rem 0.65rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  /* Ascundere strip statistici pe mobil pentru a preveni extinderea orizontală */
  .header-stats-strip {
    display: none !important;
  }

  .app-main {
    padding: 0 0.65rem calc(5rem + env(safe-area-inset-bottom, 0px)) 0.65rem !important;
    margin: 0.65rem auto !important;
    gap: 0.85rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .dashboard-grid,
  .matches-section,
  .suggestions-section,
  .matches-list,
  .suggestions-list,
  .match-card,
  .suggestion-card,
  .biletul-zilei-banner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Butoane Segmentate Sus pe Mobil */
  .mobile-section-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.35rem;
    background: rgba(14, 22, 40, 0.75);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
  }

  .mob-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 0.4rem;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mob-nav-btn.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 78, 59, 0.5) 100%);
    color: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
  }

  .mob-nav-btn .nav-badge {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
  }

  .mob-nav-btn.active .nav-badge {
    background: var(--accent-emerald);
    color: #064e3b;
    font-weight: 800;
  }

  /* Meniu Jos Fix pe Mobil (Bottom Navigation Bar) */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 170;
    background: rgba(10, 15, 29, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.35rem calc(0.4rem + env(safe-area-inset-bottom, 0px)) 0.35rem;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.7);
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.35rem 0.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 48px;
    border-radius: var(--radius-sm);
  }

  .bottom-nav-item .bnav-icon {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  .bottom-nav-item .bnav-label {
    font-size: 0.68rem;
    font-weight: 700;
  }

  .bottom-nav-item.active {
    color: var(--accent-emerald);
  }

  .bottom-nav-item.active .bnav-icon {
    transform: scale(1.12);
  }

  .bottom-nav-item.active .bnav-label {
    color: #ffffff;
    font-weight: 800;
  }

  .bottom-nav-item .bnav-badge {
    position: absolute;
    top: 3px;
    right: calc(50% - 20px);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-full);
    background: var(--accent-emerald);
    color: #064e3b;
    line-height: 1;
  }

  .bottom-nav-item[data-tab="slip"] .bnav-badge {
    background: var(--accent-amber);
    color: #78350f;
  }

  /* Logica Comutare Secțiuni pe Mobil */
  body:not(.tab-predictions):not(.tab-bilet) .matches-section {
    display: block !important;
  }
  body:not(.tab-predictions):not(.tab-bilet) .suggestions-section,
  body:not(.tab-predictions):not(.tab-bilet) .biletul-zilei-banner {
    display: none !important;
  }

  body.tab-predictions .suggestions-section {
    display: block !important;
  }
  body.tab-predictions .matches-section,
  body.tab-predictions .biletul-zilei-banner {
    display: none !important;
  }

  body.tab-bilet .biletul-zilei-banner {
    display: flex !important;
    margin: 0 auto;
    width: 100%;
  }
  body.tab-bilet .matches-section,
  body.tab-bilet .suggestions-section {
    display: none !important;
  }

  /* Biletul Zilei Banner */
  .biletul-zilei-banner {
    padding: 1.15rem;
    gap: 1rem;
    border-radius: var(--radius-md);
  }

  .bilet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .bilet-title {
    font-size: 1.1rem;
    line-height: 1.25;
  }

  .bilet-metrics {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .bilet-metric-box {
    flex: 1;
    background: rgba(14, 22, 40, 0.5);
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    text-align: center;
  }

  .bilet-items-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .bilet-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .btn-add-combo {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    font-size: 0.92rem;
    font-weight: 800;
  }

  /* Bare de Filtrare (Dată & Ligă) */
  .date-selector-bar {
    padding: 0.25rem;
    gap: 0.35rem;
  }

  .date-btn {
    padding: 0.55rem 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.35rem;
  }

  .date-badge {
    display: none;
  }

  .league-filter-bar {
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .league-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.76rem;
    min-height: 38px;
    flex-shrink: 0;
  }

  .filter-tabs {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.76rem;
    min-height: 38px;
    flex-shrink: 0;
  }

  /* Card Meci Mobil - Layout Simetric și Fără Suprapuneri */
  .match-card {
    padding: 0.85rem 0.75rem !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .teams-scoreboard {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.2rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .team-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .team-block.home, .team-block.away {
    justify-content: center !important;
    text-align: center !important;
  }

  .team-block .team-crest, .team-block .team-crest-img {
    order: 1 !important;
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  .team-name {
    order: 2 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .score-display {
    padding: 0.25rem 0.55rem !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    border-radius: var(--radius-sm) !important;
    flex-shrink: 0 !important;
    gap: 0.35rem !important;
  }

  /* Quick Stats Row - Grilă 2x2 pe Mobil */
  .quick-stats-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0.25rem 0.5rem !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.7rem !important;
    background: rgba(14, 22, 40, 0.5) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .quick-stats-row span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  /* Odds Mini Grid - Touch Friendly */
  .odds-mini-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .odd-btn {
    min-height: 40px !important;
    padding: 0.35rem 0.35rem !important;
    font-size: 0.76rem !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* AI Multi-Pick Box pe Mobil */
  .ai-picks-container {
    padding: 0.55rem 0.65rem !important;
    gap: 0.45rem !important;
    margin-top: 0.35rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .ai-pick-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
    padding: 0.55rem 0.65rem !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(14, 22, 40, 0.6) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .ai-pick-left {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
  }

  .ai-pick-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .ai-tier-tag {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    padding: 0.15rem 0.45rem !important;
  }

  .ai-market-badge {
    font-size: 0.7rem !important;
    color: var(--text-muted) !important;
  }

  .ai-pick-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .ai-pick-subtext {
    font-size: 0.7rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }

  .ai-pick-right {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 0.4rem !important;
    box-sizing: border-box !important;
  }

  .ai-win-badge {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    line-height: 1 !important;
  }

  .ai-win-badge .chance-val {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    color: #34d399 !important;
  }

  .ai-win-badge .chance-label {
    font-size: 0.66rem !important;
    color: var(--text-muted) !important;
  }

  .btn-bet-pick {
    min-height: 38px !important;
    padding: 0.4rem 0.9rem !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    border-radius: var(--radius-sm) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3) !important;
    box-sizing: border-box !important;
  }

  /* Card Sugestie AI pe Mobil */
  .suggestion-card {
    padding: 0.85rem 0.75rem !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .suggestion-header {
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
  }

  .sugg-match-title {
    font-size: 0.88rem !important;
  }

  .suggestion-main {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .odd-ev-box {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .btn-add-ticket {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    box-sizing: border-box !important;
  }

  /* Betslip Drawer ca Bottom Sheet / Full Mobile */
  .betslip-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    right: 0 !important;
    transform: translateX(100%) !important;
    visibility: hidden;
  }

  .betslip-drawer.open {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  .betslip-footer {
    padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)) 1.25rem;
  }

  .btn-place-virtual-bet {
    min-height: 48px;
    font-size: 1rem;
  }

  /* Modal Meci pe Mobil */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-container {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }

  .modal-header {
    padding: 1rem 1.25rem;
    position: sticky;
    top: 0;
    background: var(--bg-card-elevated);
    z-index: 10;
  }

  .modal-body {
    padding: 1rem;
    gap: 1.15rem;
  }

  /* Buton Plutitor Bilet Virtual - înlocuit de Bottom Nav pe mobil */
  .mobile-floating-betslip {
    display: none !important;
  }

  /* Toasts pe Mobil - poziționate deasupra barei de navigare */
  .toast-container {
    left: 0.85rem;
    right: 0.85rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .toast {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.84rem;
  }
}

/* Extra Small Phones (<= 400px) */
@media screen and (max-width: 400px) {
  .brand-title {
    font-size: 1rem;
  }

  .team-name {
    font-size: 0.82rem;
    max-width: 95px;
  }

  .score-display {
    font-size: 1.15rem;
    padding: 0.25rem 0.55rem;
  }
}

