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

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  min-height: 100vh;
}

.controls-container {
  max-width: 800px;
  margin: 0 auto 30px auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.selector-group {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.selector-group:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 0, 0.3);
}

.selector-group label {
  color: #00ff00;
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 100px;
  text-align: left;
}

select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  padding: 10px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 150px;
}

select:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

select option {
  background: #1a1a2e;
  color: white;
}

/* Live Game Pulsing Indicator */
.game-item.live-game {
  border: 2px solid rgba(255, 0, 0, 0.6);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  }
}

.game-status.live {
  background: rgba(255, 0, 0, 0.2);
  color: #ff0000;
  animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  background: linear-gradient(45deg, #00ff00, #00cc88);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.date-select {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px 15px;
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  min-width: 160px;
}

.date-select:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.league-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.league-select {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px 15px;
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  min-width: 200px;
}

.league-select:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.refresh-btn {
  background: linear-gradient(45deg, #00ff00, #00cc88);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: #00ff00;
}

.spinner {
  border: 4px solid rgba(0, 255, 0, 0.1);
  border-left: 4px solid #00ff00;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.league-info {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.league-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ff00;
  margin-bottom: 20px;
}

.league-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.date-navigation {
  display: flex;
  gap: 10px;
  align-items: center;
}

.date-nav-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px 15px;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.date-nav-btn:hover {
  background: rgba(0, 255, 0, 0.2);
  border-color: #00ff00;
  transform: translateY(-1px);
}

.today-btn {
  background: linear-gradient(45deg, #00ff00, #00cc88);
  color: #000;
  font-weight: bold;
}

.today-btn:hover {
  background: linear-gradient(45deg, #00cc88, #00ff00);
}

.current-date {
  font-size: 1rem;
  color: #00ff00;
  font-weight: bold;
  text-align: center;
  min-width: 150px;
}

.league-controls {
  max-width: 800px;
  margin: 0 auto 30px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.detail-label {
  font-size: 0.9rem;
  color: #999;
}

.detail-value {
  font-size: 1.1rem;
  color: white;
  font-weight: bold;
}


.matches-grid {
  display: grid;
  gap: 24px;
  max-width: 1100px;
  margin: auto;
  grid-template-columns: repeat(2, 1fr);
  padding: 20px;
}

.gc-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(170deg, #111827 0%, #0a0f1e 100%);
  border: 1.5px solid rgba(255,255,255,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.gc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #22c55e);
}
.gc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(20,184,166,0.12);
  border-color: rgba(20,184,166,0.25);
}
.gc-card.live-game {
  border-color: rgba(239,68,68,0.3);
}
.gc-card.live-game::before {
  background: linear-gradient(90deg, #ef4444, #f59e0b);
}
.gc-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 0;
}
.gc-datetime {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.gc-status-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.gc-status-pill.pre {
  background: rgba(20,184,166,0.12);
  color: #14b8a6;
}
.gc-status-pill.in {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  animation: gc-pulse 1.5s ease-in-out infinite;
}
.gc-status-pill.post {
  background: rgba(148,163,184,0.1);
  color: #94a3b8;
}
@keyframes gc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.gc-versus {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 14px 12px 10px;
  position: relative;
}
.gc-versus::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(20,184,166,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.gc-card.live-game .gc-versus::before {
  background: radial-gradient(ellipse at 50% 60%, rgba(239,68,68,0.08) 0%, transparent 60%);
}
.gc-team-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.gc-team-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  max-width: 100%;
  overflow: hidden;
}
.gc-team-logo {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 5px;
  background: rgba(255,255,255,0.12);
  padding: 2px;
}
.gc-team-label {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc-avatar {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 2px solid rgba(20,184,166,0.15);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 16px rgba(20,184,166,0.06);
  margin-bottom: 8px;
}
.gc-card.live-game .gc-avatar {
  border-color: rgba(239,68,68,0.2);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 16px rgba(239,68,68,0.08);
}
.gc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gc-score {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}
.gc-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  flex-shrink: 0;
  width: 40px;
  position: relative;
  z-index: 1;
}
.gc-vs-text {
  font-size: 14px;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  letter-spacing: 2px;
}

.gc-card .betting-section,
.gc-card .stats-section,
.gc-card .game-action-buttons,
.gc-card .hie-signal-hint {
  padding-left: 18px;
  padding-right: 18px;
}
.gc-card .game-action-buttons {
  padding-bottom: 18px;
}
.gc-card .stats-section {
  padding-bottom: 4px;
}
.gc-card .betting-section {
  padding-bottom: 4px;
}

@media (max-width: 860px) {
  .matches-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .gc-avatar { width: 100px; height: 100px; border-radius: 12px; }
  .gc-team-label { font-size: 11px; }
  .gc-score { font-size: 22px; }
  .gc-vs-divider { padding-top: 45px; width: 30px; }
  .gc-vs-text { font-size: 12px; }
  .gc-status-bar { padding: 10px 14px 0; }
  .gc-card .betting-section,
  .gc-card .stats-section,
  .gc-card .game-action-buttons,
  .gc-card .hie-signal-hint { padding-left: 14px; padding-right: 14px; }
}

.match-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 0, 0.1);
  border-color: rgba(0, 255, 0, 0.3);
}

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

.match-competition {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-left: 10px;
}

.match-status {
  color: #999;
  font-size: 0.9rem;
}

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

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.team-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px;
}

.team-name {
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  color: white;
}

.team-score {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00ff00;
}

.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 0 15px;
}

.vs-text {
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0.7;
}

.score-display {
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.9rem;
  color: #00ff00;
}

.match-bet-btn {
  width: 100%;
  background: linear-gradient(45deg, #00ff00, #00cc88);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-bet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
}

.no-games {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 1.1rem;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.game-action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.create-bet-btn {
  flex: 1;
  background: linear-gradient(45deg, #00ff00, #00cc88);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.create-bet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
  background: linear-gradient(45deg, #00cc88, #00ff00);
}

.add-to-parlay-btn {
  flex: 1;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.add-to-parlay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  background: linear-gradient(45deg, #8b5cf6, #6366f1);
}

.live-match {
  border: 2px solid #ff4444;
  background: rgba(255, 68, 68, 0.05);
}

.live-match .match-competition {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
}

.live-badge {
  background: linear-gradient(45deg, #ff4444, #ff6666);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-left: 10px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.no-data {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 1.1rem;
}

.back-button {
  text-align: center;
  margin-top: 50px;
}

.back-button a {
  color: #00ff00;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 15px 30px;
  border: 2px solid #00ff00;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.back-button a:hover {
  background: rgba(0, 255, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

/* Odds Section Styles */
.odds-grid {
  display: grid;
  gap: 15px;
}

.odds-section-header h4 {
  color: #ffaa00;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 170, 0, 0.2);
  padding-bottom: 10px;
}

.odds-placeholder {
  text-align: center;
  padding: 20px;
  color: #ccc;
}

.odds-error {
  color: #ff4444;
  text-align: center;
  font-weight: bold;
  padding: 15px;
}

/* Soccer Betting Modal Styles - Modern Card Design */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 30, 58, 0.95) 100%);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-container {
  background: rgba(26, 30, 58, 0.95);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 20px;
  max-width: 600px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
  background: rgba(10, 14, 39, 0.5);
}

.modal-header h2 {
  color: #00ff88;
  margin: 0;
  text-align: center;
  flex: 1;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.modal-content {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.context-info {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
}

.betting-form-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-weight: 600;
  color: #00ff88;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Bet Type Cards */
.bet-type-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bet-type-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bet-type-card:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-2px);
}

.bet-type-card.selected {
  background: rgba(0, 255, 136, 0.15);
  border-color: #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.bet-type-card .icon {
  font-size: 1.8rem;
}

.bet-type-card .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

/* Team Selection Cards */
.team-cards-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.team-card:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-3px);
}

.team-card.selected {
  background: rgba(0, 255, 136, 0.15);
  border-color: #00ff88;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.25);
}

.team-card .team-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.team-card .team-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.team-card .team-odds {
  font-size: 1.1rem;
  font-weight: bold;
  color: #00ff88;
}

.vs-badge {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #00ff88;
  font-size: 0.9rem;
}

/* Over/Under Cards */
.ou-cards-container {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.ou-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
}

.ou-card:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
}

.ou-card.selected {
  background: rgba(0, 255, 136, 0.15);
  border-color: #00ff88;
}

.ou-card .ou-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.ou-card .ou-value {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Amount Buttons */
.amount-buttons-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.amount-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  min-width: 70px;
}

.amount-btn:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
}

.amount-btn.selected {
  background: rgba(0, 255, 136, 0.2);
  border-color: #00ff88;
  color: #00ff88;
}

.custom-amount-input {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  color: white;
  font-size: 1rem;
  width: 100%;
  max-width: 200px;
  text-align: center;
  transition: all 0.3s ease;
}

.custom-amount-input:focus {
  outline: none;
  border-color: #00ff88;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* Floating Bet Summary Footer */
.bet-summary-footer {
  background: rgba(10, 14, 39, 0.95);
  border-top: 1px solid rgba(0, 255, 136, 0.2);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bet-summary-text {
  text-align: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.bet-summary-text .highlight {
  color: #00ff88;
  font-weight: 600;
}

.bet-summary-text .potential-win {
  color: #ffd700;
  font-weight: 600;
}

.place-bet-btn {
  background: linear-gradient(135deg, #00ff88 0%, #00cc88 100%);
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #0a0e27;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.place-bet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.place-bet-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-select {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 14px 16px;
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.form-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(100, 100, 100, 0.3);
}

.form-select option {
  background: #1a1a2e;
  color: white;
  padding: 10px;
}

.form-input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 12px 15px;
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Game info section (NFL-style) */
.game-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-label {
  font-size: 0.9rem;
  color: #999;
}

.info-value {
  font-size: 1rem;
  color: white;
}

/* Betting Section Styles - Consistent with other sports pages */
.betting-section {
  width: 100%;
  margin: 15px 0;
}

.betting-toggle-btn {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  color: #00ff00;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.betting-toggle-btn:hover {
  background: rgba(0, 255, 0, 0.2);
  transform: translateY(-1px);
}

.betting-content {
  margin-top: 10px;
  animation: slideDown 0.3s ease;
}

/* Betting Odds Section Styles - Add to your existing CSS */
.betting-odds-section {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 12px;
  padding: 15px;
  margin: 20px 0;
  backdrop-filter: blur(5px);
}

.betting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.betting-provider {
  font-size: 0.9rem;
  color: #00cc88;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.betting-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.betting-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.betting-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.betting-item:hover {
  background: rgba(0, 255, 0, 0.1);
  border-color: rgba(0, 255, 0, 0.3);
  transform: translateY(-1px);
}

.betting-label {
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.betting-value {
  font-size: 1rem;
  color: #00ff00;
  font-weight: bold;
}

/* Mobile responsive for betting odds */
@media (max-width: 768px) {
  .betting-odds-section {
    padding: 12px;
    margin: 15px 0;
  }

  .betting-provider {
    font-size: 0.8rem;
  }

  .betting-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .betting-item {
    padding: 8px;
  }

  .betting-label {
    font-size: 0.75rem;
  }

  .betting-value {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .betting-odds-section {
    padding: 10px;
  }

  .betting-row {
    gap: 6px;
  }

  .betting-item {
    padding: 6px;
  }

  .betting-label {
    font-size: 0.7rem;
  }

  .betting-value {
    font-size: 0.85rem;
  }
}

/* Betting Toggle Styles */
.betting-section {
  width: 100%;
  margin: 15px 0;
}

.betting-toggle-btn {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  color: #00ff00;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.betting-toggle-btn:hover {
  background: rgba(0, 255, 0, 0.2);
  transform: translateY(-1px);
}

.betting-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.betting-content {
  margin-top: 10px;
  animation: slideDown 0.3s ease;
}

/* Update existing betting-odds-section to remove margin since it's now nested */
.betting-odds-section {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 12px;
  padding: 15px;
  margin: 0;
  backdrop-filter: blur(5px);
}

/* Mobile responsive for betting toggle - add this to your existing mobile CSS */
@media (max-width: 768px) {
  .betting-toggle-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .betting-section {
    margin: 12px 0;
  }

  .betting-odds-section {
    padding: 12px;
  }

  .betting-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .betting-item {
    padding: 8px;
  }

  .betting-label {
    font-size: 0.75rem;
  }

  .betting-value {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .betting-toggle-btn {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .betting-odds-section {
    padding: 10px;
  }

  .betting-item {
    padding: 6px;
  }

  .betting-label {
    font-size: 0.7rem;
  }

  .betting-value {
    font-size: 0.85rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    padding: 0 15px;
  }
  to {
    opacity: 1;
    max-height: 500px;
    padding: 15px;
  }
}

.odds-grid {
  display: grid;
  gap: 20px;
}

.odds-section-header h4 {
  color: #00ff00;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.betting-odds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.odds-category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px;
}

.odds-category h4 {
  color: #00ff00;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1rem;
}

.odds-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

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

.team-name {
  color: #fff;
  font-weight: 500;
  flex: 1;
}

.odds-value {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 6px;
  padding: 6px 12px;
  color: #00ff00;
  font-weight: bold;
  font-family: monospace;
  cursor: pointer;
  transition: all 0.3s ease;
}

.odds-value:hover {
  background: rgba(0, 255, 0, 0.2);
  transform: scale(1.05);
}

.loading-odds {
  text-align: center;
  color: #00ff00;
  font-style: italic;
  padding: 20px;
}

.odds-error {
  color: #ff4444;
  text-align: center;
  font-weight: bold;
  padding: 20px;
}

/* Stats section styling (NFL-style) */
.stats-section {
  width: 100%;
  margin: 15px 0;
}

.stats-toggle-btn {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  color: #00ff00;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.stats-toggle-btn:hover {
  background: rgba(0, 255, 0, 0.2);
  transform: translateY(-1px);
}

.stats-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.stats-content {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  animation: slideDown 0.3s ease;
}

.loading-stats {
  text-align: center;
  color: #00cc88;
  font-style: italic;
  padding: 10px;
}

.stats-error {
  text-align: center;
  color: #ff6666;
  font-style: italic;
  padding: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.team-records, .team-stats-section, .leaders-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px;
}

.team-records h4, .team-stats-section h4, .leaders-section h4 {
  color: #00ff00;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
  padding-bottom: 10px;
}

.records, .team-stats-grid, .leaders-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.record, .stat-item, .leader-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.record:last-child, .stat-item:last-child, .leader-item:last-child {
  border-bottom: none;
}

.stat-label {
  color: #aaa;
  font-size: 0.9rem;
  text-align: center;
  flex-basis: 40%;
}

.stat-value {
  font-weight: bold;
  flex-basis: 30%;
  text-align: right;
}

.stat-value:first-of-type {
  text-align: left;
}

.leader-title {
  font-size: 0.8rem;
  color: #bbb;
  margin-bottom: 5px;
}

.leader-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.leader-stats {
  font-size: 0.9rem;
  color: #999;
}

.stats-error {
  color: #ff4444;
  text-align: center;
  font-weight: bold;
}

/* Mobile responsive for betting form */
@media (max-width: 768px) {
  .league-details {
    grid-template-columns: 1fr 1fr;
  }

  .matches-grid {
    grid-template-columns: 1fr;
  }

  /* Scale calendar proportionally for mobile - same layout, smaller size */
  .league-controls {
    margin: 0 10px 20px 10px;
    padding: 15px;
    gap: 15px;
  }

  .date-navigation {
    gap: 6px;
  }

  .date-nav-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .current-date {
    font-size: 0.9rem;
    min-width: 120px;
  }

  .teams-container {
    flex-direction: column;
    gap: 15px;
  }

  .vs-divider {
    transform: rotate(90deg);
    margin: 10px 0;
  }

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

  .form-group {
    min-width: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile: comprehensive optimizations */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  header {
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .logo-container {
    gap: 10px;
    margin-bottom: 15px;
  }

  .logo-img {
    width: 45px;
    height: 45px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .controls-container {
    flex-direction: column;
    gap: 15px;
    margin: 0 10px 20px 10px;
  }

  .selector-group {
    padding: 12px 15px;
    width: 100%;
    justify-content: space-between;
  }

  .selector-group label {
    font-size: 1rem;
  }

  select {
    font-size: 0.9rem;
    padding: 6px 12px;
    min-width: 120px;
  }


  .main-content {
    padding: 0 15px;
  }

  .main-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .selected-league {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .loading {
    font-size: 1rem;
    padding: 30px 20px;
  }

  .spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px auto;
  }

  /* Game containers mobile optimization */
  #soccer-game-containers {
    grid-template-columns: 1fr;
  }

  .game-item {
    padding: 20px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    min-height: auto;
  }

  .game-header {
    margin-bottom: 15px;
  }

  .game-status {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  .teams-container {
    flex-direction: row;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: space-between;
    align-items: center;
  }

  .team {
    flex-direction: column;
    gap: 10px;
    flex: 1;
    align-items: center;
  }

  .team-logo {
    width: 50px;
    height: 50px;
  }

  .team-name {
    font-size: 1rem;
    text-align: center;
  }

  .team-score {
    font-size: 1.5rem;
    text-align: center;
  }

  .vs-divider {
    transform: none;
    margin: 0 10px;
    flex-shrink: 0;
  }

  .vs-text {
    font-size: 1rem;
    opacity: 0.7;
  }

  .game-info {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
  }

  .info-label {
    font-size: 0.8rem;
  }

  .info-value {
    font-size: 0.9rem;
  }

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

  .stats-content {
    padding: 12px;
  }

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

  .stat-item {
    padding: 6px;
    font-size: 0.8rem;
  }

  .create-bet-btn {
    font-size: 0.9rem;
    padding: 12px 20px;
    margin-top: 15px;
  }

  .no-games {
    padding: 30px 20px;
    margin: 20px 10px;
  }

  .no-games h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .no-games p {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .sports-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px 15px;
  }

  .sports-btn {
    width: 100%;
    height: 70px;
    border-radius: 12px;
  }

  .sports-btn img {
    width: 40px;
    height: 40px;
  }

  .back-button {
    margin-top: 20px;
    padding: 0 15px;
  }

  .back-button a {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    display: inline-block;
    text-align: center;
    width: auto;
  }

  /* Modal mobile optimization */
  .modal-container {
    width: 95%;
    max-width: 95%;
    margin: 10px;
    max-height: 90vh;
  }

  .modal-header h2 {
    font-size: 1.4rem;
  }

  .modal-content {
    padding: 15px;
  }
}

/* Touch target optimization */
@media (hover: none) and (pointer: coarse) {
  nav a, .create-bet-btn, .back-button a {
    min-height: 44px;
    min-width: 44px;
  }
}
