/* ===== RESET & BASE ===== */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

:root {
  --bg-dark: #0d1117;
  --bg-card: #161b22;
  --bg-input: #21262d;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.3);
  --red: #ef4444;
  --red-dark: #dc2626;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --border: #30363d;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

/* ===== AUTH PAGES ===== */
.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.logo i { font-size: 1.75rem; }

.auth-nav {
  display: flex;
  gap: 12px;
}

.auth-nav a {
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s;
  color: var(--text-muted);
}

.auth-nav a:hover,
.auth-nav a.active {
  background: var(--accent);
  color: #000;
}

.auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 40px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}

.auth-icon {
  text-align: center;
  margin-bottom: 24px;
}

.auth-icon i {
  font-size: 4rem;
  color: var(--accent);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.75rem;
}

.auth-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.pass-wrap {
  position: relative;
}

.toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.forgot-link {
  color: var(--accent);
}

.error-msg {
  color: var(--red);
  font-size: 0.9rem;
  margin-bottom: 16px;
  min-height: 20px;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--accent);
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.feature-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== DASHBOARD ===== */
.dash-body {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
}

.sidebar-logo {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.sidebar-logo i { font-size: 1.5rem; }

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
  background: var(--bg-input);
  color: var(--text);
}

.nav-item i {
  width: 20px;
  text-align: center;
}

.nav-item .fa-crown {
  color: var(--accent);
}

.premium-lock-icon {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--accent);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.user-info i {
  font-size: 2rem;
  color: var(--text-muted);
}

.user-info span {
  font-weight: 500;
}

.user-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--bg-input);
  border-radius: var(--radius);
  color: var(--red);
  font-size: 0.9rem;
}

/* Main Content */
.dash-content {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

.topbar-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.live-badge i {
  font-size: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.clock {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Stat Cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-icon.green { background: rgba(34, 197, 94, 0.1); color: var(--green); }
.stat-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); }
.stat-icon.red { background: rgba(239, 68, 68, 0.1); color: var(--red); }

.stat-num {
  font-size: 1.75rem;
  font-weight: 700;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 24px;
  flex: 1;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
}

/* Matches Header */
.matches-header {
  margin-bottom: 20px;
}

.matches-header h3 {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Matches Grid */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
}

/* Match Cards */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s;
}

.match-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.match-card.live {
  border-color: var(--green);
  background: linear-gradient(90deg, var(--bg-card) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.league-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.league-info img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.match-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-input);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.match-status.live {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.team {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.team.home {
  justify-content: flex-end;
}

.team img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.score {
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  justify-content: center;
}

.score .separator {
  color: var(--text-muted);
}

.vs {
  color: var(--text-muted);
  font-size: 0.9rem;
}
/* AI Cards */
.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: all 0.2s;
}

.ai-card:hover {
  border-color: var(--accent);
}

/* Blur Effect for Non-Premium */
.ai-card.blurred {
  position: relative;
}

.ai-card.blurred::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  z-index: 5;
}

.blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  border-radius: var(--radius);
}

.blur-overlay i {
  font-size: 2.5rem;
  color: var(--accent);
}

.blur-overlay p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.blur-overlay button {
  padding: 10px 24px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.blur-overlay button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Winning Prediction Animation */
.ai-card.winning-prediction {
  animation: winning-glow 2s infinite;
  border-color: var(--green);
}

@keyframes winning-glow {
  0%, 100% {
    box-shadow: 0 0 5px var(--green-glow);
    border-color: var(--green);
  }
  50% {
    box-shadow: 0 0 20px var(--green), 0 0 40px var(--green-glow);
    border-color: var(--green-dark);
  }
}

.ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ai-header .league {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.confidence-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.confidence-badge.high {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}

.confidence-badge.medium {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
}

.confidence-badge.low {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

.ai-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

.ai-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ai-prediction {
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

.prediction-header {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.prediction-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.prediction-main .label {
  font-size: 1.1rem;
  font-weight: 600;
}

.prediction-main .odds {
  color: var(--accent);
  font-weight: 600;
}

.prediction-main .probability {
  margin-left: auto;
  padding: 4px 12px;
  background: var(--accent);
  color: #000;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.prediction-bar {
  height: 6px;
  background: var(--bg-dark);
  border-radius: 3px;
  overflow: hidden;
}

.prediction-bar .fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s;
}

.ai-reason {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ai-reason i {
  color: var(--accent);
  margin-right: 8px;
}

/* Mini Markets */
.ai-markets {
  margin-bottom: 16px;
}

.mini-markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-market {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  background: var(--bg-dark);
  border-radius: 8px;
  font-size: 0.8rem;
}

.mini-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.mini-prob {
  font-weight: 600;
  font-size: 0.9rem;
}

.mini-prob.high { color: var(--green); }
.mini-prob.medium { color: var(--accent); }
.mini-prob.low { color: var(--red); }

/* Add to Coupon Button */
.add-to-coupon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.add-to-coupon:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.add-to-coupon.added {
  background: var(--green);
}

.add-to-coupon:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Coupon Selection */
.coupon-selection {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-input);
  border-radius: var(--radius);
}

.selected-prediction {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prediction-label {
  font-weight: 600;
  color: var(--accent);
}

.prediction-odds {
  color: var(--green);
}

/* Remove from Coupon */
.remove-from-coupon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s;
}

.remove-from-coupon:hover {
  opacity: 0.8;
}

/* Daily Coupon Hero */
.daily-coupon-hero {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.hero-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-header i {
  font-size: 1.5rem;
  color: var(--accent);
}

.hero-header h3 {
  flex: 1;
  margin: 0;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.total-odds {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.match-count {
  color: var(--text-muted);
}

.btn-add-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-all:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Pick Row */
.pick-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-input);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.pick-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  font-weight: 700;
}

.pick-info {
  flex: 1;
}

.pick-teams {
  font-weight: 600;
  margin-bottom: 4px;
}

.pick-league {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pick-prediction {
  text-align: center;
}

.pick-label {
  font-weight: 600;
  color: var(--accent);
  display: block;
}

.pick-odds {
  color: var(--green);
  font-size: 0.9rem;
}

.pick-prob {
  min-width: 50px;
  text-align: right;
  font-weight: 600;
  color: var(--green);
}
/* Premium Coupons */
.premium-header {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.premium-header i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.premium-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.premium-header p {
  color: var(--text-muted);
}

.premium-coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}

.premium-coupon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.premium-coupon-card.ultra {
  border-color: var(--green);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.premium-coupon-card.high {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.premium-coupon-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-input);
}

.coupon-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
}

.coupon-info {
  flex: 1;
}

.coupon-info h4 {
  margin-bottom: 4px;
}

.coupon-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.coupon-stats {
  text-align: right;
}

.premium-odds {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.premium-confidence {
  font-size: 0.85rem;
  color: var(--green);
}

.premium-picks {
  padding: 16px;
}

.premium-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-dark);
  border-radius: 8px;
  margin-bottom: 8px;
}

.premium-pick:last-child {
  margin-bottom: 0;
}

.pick-num {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
}

.premium-pick .pick-teams {
  flex: 1;
  font-size: 0.9rem;
}

.premium-pick .pick-teams small {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.premium-pick .pick-prediction {
  text-align: center;
  min-width: 80px;
}

.pred-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
}

.pred-odds {
  font-size: 0.8rem;
  color: var(--accent);
}

.pick-prob {
  min-width: 60px;
}

.prob-bar {
  height: 4px;
  background: var(--bg-input);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.prob-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}

.pick-prob span {
  font-size: 0.8rem;
  color: var(--green);
}

.premium-coupon-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.strategy-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Premium Lock Overlay */
.premium-lock-overlay {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.premium-lock-overlay i {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.premium-lock-overlay h2 {
  margin-bottom: 12px;
}

.premium-lock-overlay p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.premium-lock-overlay ul {
  text-align: left;
  display: inline-block;
  margin: 20px 0;
  color: var(--text-muted);
}

.premium-lock-overlay li {
  margin-bottom: 8px;
}

.premium-contact {
  color: var(--accent);
  font-weight: 600;
  margin-top: 20px;
}

/* My Coupon Info */
.my-coupon-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.coupon-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.coupon-stats span {
  color: var(--text-muted);
}

.coupon-stats strong {
  color: var(--accent);
  font-size: 1.2rem;
}

.coupon-amount {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coupon-amount label {
  color: var(--text-muted);
}

.coupon-amount input {
  width: 100px;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
}

.coupon-amount span {
  color: var(--accent);
  font-weight: 600;
}

.btn-clear {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-clear:hover {
  opacity: 0.8;
}

/* Live Filters */
.live-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* Loading & Empty States */
.loading-state {
  text-align: center;
  padding: 60px;
  color: var(--text-muted);
}

.loading-state i {
  font-size: 2rem;
  margin-bottom: 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: 60px;
  color: var(--text-muted);
}

.empty-state.error {
  color: var(--red);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.empty-state p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.empty-state small {
  font-size: 0.9rem;
}

.btn-retry {
  margin-top: 16px;
  padding: 10px 24px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}

/* Success Card */
.success-card {
  border-color: var(--green);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--green);
  color: #000;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Premium Navigation */
.premium-nav {
  position: relative;
  background: linear-gradient(90deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid transparent;
  animation: premium-pulse 2s infinite;
}

.premium-nav:hover {
  background: linear-gradient(90deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.2) 100%);
}

@keyframes premium-pulse {
  0%, 100% {
    border-color: transparent;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
  50% {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  }
}

.premium-text {
  animation: text-glow 1.5s infinite alternate;
}

@keyframes text-glow {
  from {
    text-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
  }
  to {
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.8), 0 0 25px rgba(245, 158, 11, 0.5);
  }
}

/* Nav Badge */
.nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

/* API Info */
.api-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-input);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.api-info .requests {
  font-weight: 600;
  color: var(--accent);
}
/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .dash-content {
    margin-left: 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .ai-cards-grid,
  .matches-grid,
  .premium-coupons-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-cards {
    grid-template-columns: 1fr;
  }
  
  .match-teams {
    flex-direction: column;
    gap: 12px;
  }
  
  .team.home,
  .team.away {
    justify-content: center;
  }

  .mini-markets {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-coupon-header {
    flex-wrap: wrap;
  }
  
  .auth-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  
  .auth-nav {
    width: 100%;
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .topbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .topbar-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .live-filters,
  .continent-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .filter-btn {
    white-space: nowrap;
  }
  
  .section-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .pick-row {
    flex-wrap: wrap;
  }
  
  .pick-prob {
    width: 100%;
    text-align: left;
    margin-top: 8px;
  }
  
  .admin-container {
    padding: 20px 16px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .user-item {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .user-status {
    width: 100%;
    justify-content: flex-end;
  }
  
  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  
  .tab-btn {
    white-space: nowrap;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Selection Color */
::selection {
  background: var(--accent);
  color: #000;
}

/* Focus Styles */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Animation for new items */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.match-card,
.ai-card {
  animation: slideIn 0.3s ease-out;
}

/* Hover effects */
.nav-item,
.filter-btn,
.btn-primary,
.add-to-coupon,
.btn-add-all,
.btn-clear {
  transition: all 0.2s ease;
}

/* Disabled state */
button:disabled,
input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-input) 25%, var(--bg-card) 50%, var(--bg-input) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Tooltip */
[title] {
  position: relative;
}

[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: var(--bg-input);
  color: var(--text);
  font-size: 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 100;
  border: 1px solid var(--border);
}

/* Print styles */
@media print {
  .sidebar,
  .topbar,
  .live-filters,
  .continent-filters,
  .add-to-coupon,
  .btn-add-all,
  .btn-clear,
  .remove-from-coupon {
    display: none !important;
  }
  
  .dash-content {
    margin-left: 0;
  }
  
  .match-card,
  .ai-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
