* {
  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;
}

.main-content {
  padding-top: 80px;
}

.dropdown-container:hover 

/* Mobile dropdown adjustments */
@media (max-width: 768px) {

  .dropdown-container:hover 
}

/* Submenu Styles */

.submenu-container:hover 

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

/* Tour Selection Controls */
.tour-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;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

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

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

/* Date Navigation Controls */
.date-navigation {
  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;
}

.date-nav-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: 0.9rem;
}

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

.date-picker {
  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);
}

.selected-date-display {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Section Panel shared styles */
.pga-section-panel {
  margin-bottom: 16px;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.pga-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  gap: 8px;
}
.pga-section-header--sim {
  background: linear-gradient(135deg, #0f1f14 0%, #0a160e 100%);
  border-bottom: 1px solid rgba(0,255,136,0.12);
}
.pga-section-header--h2h {
  background: linear-gradient(135deg, #13131f 0%, #0d0d1a 100%);
  border-bottom: 1px solid rgba(99,102,241,0.12);
}
.pga-section-header__left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pga-section-title {
  margin: 0;
  color: #00ff88;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.pga-section-title--h2h {
  color: #818cf8;
}
.pga-badge {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pga-badge--green {
  background: #00ff88;
  color: #0a0a0a;
}
.pga-badge--amber {
  background: #f59e0b;
  color: #0a0a0a;
}
.pga-badge--blue {
  background: #60a5fa;
  color: #0a0a0a;
}
.pga-badge--premium {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}
.pga-section-toggle {
  background: #00ff88;
  color: #0a0a0a;
  border: none;
  padding: 5px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}
.pga-section-toggle:hover { opacity: 0.85; }
.pga-section-toggle--h2h {
  background: #6366f1;
  color: #fff;
}
.pga-section-body {
  padding: 12px;
}
.pga-section-body--sim {
  background: rgba(8, 16, 10, 0.95);
}
.pga-section-body--h2h {
  background: rgba(10, 10, 20, 0.95);
}
.pga-pred-timestamp {
  font-size: 0.72rem;
  color: #555;
  padding-bottom: 10px;
}
.pga-section-footer {
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.65rem;
  color: #444;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Round Simulator cards */
.sim-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sim-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(20,25,20,0.9) 0%, rgba(12,18,14,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}
.sim-card:hover {
  border-color: rgba(0,255,136,0.15);
}
.sim-card--top {
  border-color: rgba(0,255,136,0.15);
  background: linear-gradient(135deg, rgba(0,50,25,0.25) 0%, rgba(12,18,14,0.95) 100%);
}
.sim-card__rank {
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 8px;
  color: #00ff88;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.sim-card--top .sim-card__rank {
  background: rgba(0,255,136,0.15);
  border-color: rgba(0,255,136,0.3);
}
.sim-card__main {
  flex: 1;
  min-width: 0;
}
.sim-card__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sim-card__name {
  color: #e8e8e8;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-card--top .sim-card__name {
  color: #fff;
}
.sim-card__label {
  font-size: 0.6rem;
  color: #00ff88;
  background: rgba(0,255,136,0.1);
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.sim-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sim-dot--high { background: #00ff88; }
.sim-dot--med { background: #f59e0b; }
.sim-dot--low { background: #ef4444; }

.sim-card__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}
.sim-bar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-bar-label {
  width: 36px;
  font-size: 0.68rem;
  color: #666;
  text-align: right;
  flex-shrink: 0;
}
.sim-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.sim-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.sim-bar-fill--win { background: linear-gradient(90deg, #00ff88, #00cc6a); }
.sim-bar-fill--t5 { background: linear-gradient(90deg, #4ade80, #22c55e); }
.sim-bar-fill--t10 { background: linear-gradient(90deg, #60a5fa, #3b82f6); }
.sim-bar-val {
  width: 38px;
  font-size: 0.72rem;
  color: #999;
  text-align: right;
  flex-shrink: 0;
}
.sim-bar-val--win {
  color: #00ff88;
  font-weight: 600;
}

.sim-card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.72rem;
  color: #666;
}
.sim-card__meta strong {
  color: #aaa;
}
.sim-val--safe { color: #00ff88 !important; }
.sim-val--ok { color: #f59e0b !important; }
.sim-val--risk { color: #ef4444 !important; }

@media (max-width: 480px) {
  .sim-card { padding: 10px 10px; gap: 8px; }
  .sim-card__meta { flex-direction: column; gap: 4px; }
  .sim-bar-label { width: 30px; font-size: 0.62rem; }
  .sim-bar-val { width: 34px; font-size: 0.66rem; }
}

/* Loading Spinner */
.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); }
}

/* Tournament Section */
.tournament-section {
  margin-bottom: 40px;
  max-width: 100%;
  overflow: hidden;
}

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

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

.tournament-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 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;
}

/* Leaderboard Section */
.leaderboard-container {
  border-radius: 16px;
  overflow: hidden;
}

.leaderboard-header {
  background: linear-gradient(135deg, rgba(0, 200, 80, 0.08) 0%, rgba(0, 60, 30, 0.06) 100%);
  color: #e0e0e0;
  padding: 14px 20px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.leaderboard-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.lb-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(20, 20, 35, 0.95) 0%, rgba(10, 10, 25, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.lb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.15), transparent);
}

.lb-card:hover {
  border-color: rgba(0, 255, 0, 0.2);
  background: linear-gradient(135deg, rgba(25, 30, 45, 0.95) 0%, rgba(15, 15, 30, 0.98) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.lb-card.lb-top1 {
  border-color: rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, rgba(40, 35, 15, 0.9) 0%, rgba(20, 18, 8, 0.95) 100%);
}

.lb-card.lb-top1::before {
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.lb-card.lb-top2 {
  border-color: rgba(192, 192, 192, 0.2);
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.9) 0%, rgba(18, 18, 22, 0.95) 100%);
}

.lb-card.lb-top3 {
  border-color: rgba(205, 127, 50, 0.2);
  background: linear-gradient(135deg, rgba(35, 25, 15, 0.9) 0%, rgba(20, 14, 8, 0.95) 100%);
}

.lb-pos {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}

.lb-top1 .lb-pos {
  background: linear-gradient(135deg, #ffd700, #f0c000);
  color: #1a1a00;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.lb-top2 .lb-pos {
  background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
  color: #1a1a1a;
}

.lb-top3 .lb-pos {
  background: linear-gradient(135deg, #cd7f32, #b87333);
  color: #1a1a1a;
}

.lb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  background: #0a0a1a;
}

.lb-top1 .lb-avatar {
  border-color: rgba(255, 215, 0, 0.4);
}

.lb-top2 .lb-avatar {
  border-color: rgba(192, 192, 192, 0.3);
}

.lb-top3 .lb-avatar {
  border-color: rgba(205, 127, 50, 0.3);
}

.lb-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lb-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lb-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.leader-badge {
  background: linear-gradient(135deg, #ffd700, #f0c000);
  color: #1a1a00;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.lb-stats-row {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.lb-stats-row span {
  white-space: nowrap;
}

.lb-stats-row .stat-val {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.lb-scores {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lb-score-block {
  text-align: center;
  min-width: 38px;
}

.lb-score-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.lb-score-val {
  font-weight: 700;
  font-size: 1rem;
  color: #00ff00;
}

.lb-score-block.today .lb-score-val {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.lb-score-block.total .lb-score-val {
  color: rgba(0, 255, 0, 0.6);
  font-size: 0.85rem;
}

.player-bet-btn {
  background: linear-gradient(135deg, #00e070, #00c060);
  color: #000;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.8rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.player-bet-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 230, 100, 0.35);
  background: linear-gradient(135deg, #00ff80, #00e070);
}

.lb-score-negative {
  color: #ff4444 !important;
}

.lb-score-even {
  color: rgba(255, 255, 255, 0.5) !important;
}

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

.tournament-bet-section {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

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

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

.sports-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.sports-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.sports-btn:hover {
  background: rgba(0, 255, 0, 0.1);
  border-color: #00ff00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.sports-btn img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.sports-btn a {
  text-decoration: none;
}

.open-bets {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.open-bets h3 {
  color: #00ff00;
  margin-bottom: 15px;
  text-align: center;
}

.open-bets ul {
  list-style: none;
}

.open-bets li {
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
  border-radius: 8px;
  border-left: 3px solid #00ff00;
}

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

@media (max-width: 768px) {
  .tournament-details {
    grid-template-columns: 1fr 1fr;
  }

  .lb-card {
    gap: 8px;
    padding: 10px;
  }

  .lb-avatar {
    width: 36px;
    height: 36px;
  }

  .lb-scores {
    gap: 8px;
  }

  .lb-score-block {
    min-width: 30px;
  }

  .lb-name {
    font-size: 0.85rem;
  }

  .player-bet-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .tour-controls {
    flex-direction: column;
    gap: 15px;
  }

  .date-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    padding: 12px;
    max-width: 100%;
  }

  .date-navigation .date-nav-btn:first-child {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }

  .date-navigation .date-picker {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .date-navigation .date-nav-btn:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
  }

  .date-navigation .date-nav-btn:last-child {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  .date-nav-btn {
    font-size: 0.7rem;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .date-picker {
    font-size: 0.8rem;
    padding: 6px 8px;
    width: auto;
    min-width: 0;
  }
}

/* Golf Betting Modal Styles - Card-Based Design */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-container {
  background: linear-gradient(135deg, rgba(26, 35, 75, 0.98) 0%, rgba(15, 20, 50, 0.98) 100%);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.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(0, 0, 0, 0.2);
}

.modal-header h2 {
  color: #00ff88;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  text-align: center;
}

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

.modal-close:hover {
  background: rgba(255, 100, 100, 0.3);
  color: #ff6666;
}

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

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

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

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

.form-group label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Bet Type Cards */
.bet-type-cards-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

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

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

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

.bet-type-card .bet-odds {
  font-size: 1rem;
  font-weight: bold;
  color: #00ff88;
}

/* Selection Cards (Yes/No for Making Cut) */
.selection-cards-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.selection-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: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

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

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

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

.selection-card .selection-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* 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;
  display: block;
  margin: 0 auto;
}

.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;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

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

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

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
  .modal-container {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

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

  .bet-type-cards-container {
    flex-direction: row;
    gap: 10px;
  }

  .bet-type-card {
    padding: 15px;
    min-width: 120px;
  }

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

  .bet-type-card .bet-name {
    font-size: 0.85rem;
  }

  .selection-cards-container {
    flex-direction: row;
    gap: 10px;
  }

  .selection-card {
    padding: 15px;
    max-width: 45%;
  }

  .selection-card .selection-icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .bet-type-card {
    padding: 12px 10px;
    min-width: 100px;
  }

  .amount-btn {
    padding: 10px 14px;
    font-size: 0.9rem;
    min-width: 60px;
  }
}

/* ============================
   PGA ML Predictions Section
   ============================ */
.pga-ml-section {
  margin-bottom: 16px;
}

.pga-ml-header {
  background: linear-gradient(135deg, #1a2a1a 0%, #0d1f0d 100%);
  border: 1px solid #00ff88;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.pga-ml-header h3 {
  margin: 0;
  color: #00ff88;
  font-size: 1rem;
  white-space: nowrap;
}

.pga-ml-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.pga-ml-badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.pga-badge {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.pga-badge-round {
  background: #00ff88;
  color: #0a0a0a;
}

.pga-badge-round.pga-badge-active {
  background: #f59e0b;
}

.pga-badge-premium {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}

.pga-ml-toggle-btn,
.pga-h2h-toggle-btn {
  background: #00ff88;
  color: #0a0a0a;
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.pga-h2h-toggle-btn {
  background: #6366f1;
  color: #fff;
}

.pga-ml-content {
  background: rgba(10, 20, 10, 0.95);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.pga-ml-updated {
  padding: 6px 16px;
  background: rgba(0, 255, 136, 0.05);
  font-size: 0.75rem;
  color: #888;
}

.pga-ml-footer {
  padding: 8px 16px;
  font-size: 0.7rem;
  color: #555;
  border-top: 1px solid rgba(0, 255, 136, 0.08);
}

/* Prediction Cards */
.pga-pred-list {
  padding: 4px 0;
}

.pga-pred-card {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.06);
  gap: 10px;
}

.pga-pred-card:nth-child(odd) {
  background: rgba(0, 255, 136, 0.02);
}

.pga-pred-top3 {
  background: rgba(0, 255, 136, 0.05) !important;
}

.pga-pred-rank {
  width: 24px;
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.pga-pred-top3 .pga-pred-rank {
  color: #00ff88;
}

.pga-pred-info {
  flex: 1;
  min-width: 0;
}

.pga-pred-name {
  color: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.pga-pred-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pga-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
}

.pga-stat-label {
  font-size: 0.6rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pga-stat-val {
  font-size: 0.78rem;
  color: #aaa;
  font-weight: 600;
}

.pga-stat-win .pga-stat-val {
  color: #00ff88;
  font-weight: 700;
}

.pga-stat-cut .pga-stat-val {
  color: #4ade80;
}

.pga-pred-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.pga-pred-finish {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.7rem;
  color: #aaa;
  white-space: nowrap;
}

.pga-pred-conf {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pga-pred-conf.conf-high {
  background: #00ff88;
}

.pga-pred-conf.conf-med {
  background: #f59e0b;
}

.pga-pred-conf.conf-low {
  background: #ef4444;
}

.pga-pred-show-more {
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 136, 0.08);
}

.pga-show-more-btn {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
  padding: 8px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  width: 100%;
  max-width: 250px;
  -webkit-tap-highlight-color: transparent;
}

/* ============================
   H2H Section
   ============================ */
.pga-h2h-header {
  background: linear-gradient(135deg, #1a1a2a 0%, #0d0d1f 100%);
  border: 1px solid #6366f1;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pga-h2h-header h3 {
  margin: 0;
  color: #6366f1;
  font-size: 1rem;
}

.pga-h2h-content {
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 10px;
}

.pga-h2h-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pga-h2h-card {
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  overflow: hidden;
}

.h2h-players {
  display: flex;
  align-items: center;
  gap: 8px;
}

.h2h-player {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.h2h-name {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.h2h-pct {
  font-size: 0.9rem;
  font-weight: 700;
  color: #888;
  flex-shrink: 0;
}

.h2h-favored .h2h-name {
  color: #00ff88;
  font-weight: 600;
}

.h2h-favored .h2h-pct {
  color: #00ff88;
}

.h2h-vs {
  color: #444;
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.h2h-bar {
  margin-top: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.h2h-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff88, #6366f1);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Mobile: 320px (iPhone SE) */
@media (max-width: 374px) {
  .pga-ml-header,
  .pga-h2h-header {
    padding: 10px 12px;
  }

  .pga-ml-header h3,
  .pga-h2h-header h3 {
    font-size: 0.85rem;
  }

  .pga-ml-header-left {
    gap: 6px;
  }

  .pga-ml-badges {
    gap: 4px;
  }

  .pga-badge {
    font-size: 0.55rem;
    padding: 2px 5px;
  }

  .pga-ml-toggle-btn,
  .pga-h2h-toggle-btn {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .pga-pred-card {
    padding: 8px 10px;
    gap: 8px;
  }

  .pga-pred-name {
    font-size: 0.78rem;
  }

  .pga-pred-stats {
    gap: 4px;
  }

  .pga-stat {
    min-width: 30px;
  }

  .pga-stat-label {
    font-size: 0.55rem;
  }

  .pga-stat-val {
    font-size: 0.7rem;
  }

  .pga-pred-finish {
    font-size: 0.6rem;
    padding: 2px 5px;
  }

  .h2h-name {
    font-size: 0.72rem;
  }

  .h2h-pct {
    font-size: 0.8rem;
  }

  .h2h-vs {
    font-size: 0.6rem;
  }
}

/* Small mobile: 375-480px */
@media (min-width: 375px) and (max-width: 480px) {
  .pga-pred-name {
    font-size: 0.82rem;
  }

  .pga-stat-val {
    font-size: 0.75rem;
  }
}

/* Tablet+ */
@media (min-width: 768px) {
  .pga-h2h-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pga-pred-card {
    padding: 10px 20px;
  }

  .pga-pred-stats {
    gap: 12px;
  }

  .pga-stat {
    min-width: 44px;
  }
}
