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

.api-status {
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
}

.api-status.success {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  color: #00ff00;
}

.api-status.error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #ff4444;
}

.controls {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

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

/* Live fight indicator */
.fight-card.live-fight {
  border: 2px solid #ff0000;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  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); }
}

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

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

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

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

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

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

.fight-card-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  max-width: 1000px;
  width: 95%;
  margin: 30px auto;
  padding: 20px;
}

.fight-card-header {
  background: rgba(0, 255, 0, 0.1);
  color: #00ff00;
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.fight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  min-height: 280px;
}

.fight-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

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

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

.fight-status {
  color: #999;
  font-size: 0.9rem;
  text-align: right;
  max-width: 220px;
  flex-shrink: 0;
}

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

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

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

.fighter-record {
  font-size: 0.9rem;
  color: #00ff00;
  font-weight: bold;
}

.fighter-country {
  font-size: 0.8rem;
  color: #999;
}

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

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

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

.main-event {
  border: 2px solid #ffd700;
  background: rgba(255, 215, 0, 0.05);
}

.main-event .weight-class {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.title-fight-badge {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #000;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-left: 10px;
}

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

/* UFC 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;
}

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

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

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

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

.fighter-card .fighter-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 136, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

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

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

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

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

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

  .fighter-card .fighter-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .fighter-card .fighter-name {
    font-size: 0.8rem;
  }

  .vs-badge {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .event-details {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .main-content {
    padding: 0 10px;
    max-width: 100%;
  }

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

  .event-info {
    padding: 15px;
  }

  .event-title {
    font-size: 1.3rem;
  }

  .fight-card {
    padding: 15px;
  }

  .weight-class {
    font-size: 0.85rem;
  }

  .fighter-name {
    font-size: 1rem;
  }

  .fighter-record {
    font-size: 0.8rem;
  }

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

  .fight-bet-btn {
    font-size: 0.9rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .fighter-card .fighter-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

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

  .main-content h2 {
    font-size: 1.2rem;
  }

  .event-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fight-card {
    padding: 12px;
  }

  .fighter-name {
    font-size: 0.9rem;
  }

  .vs-text {
    font-size: 0.9rem;
  }
}

.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: #00ff88;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

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

/* Game Action Buttons - Match NFL/NBA/NHL format */
.game-action-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
  padding: 0 10px;
}

.game-action-buttons .create-bet-btn,
.game-action-buttons .add-to-parlay-btn {
  flex: 1;
  min-width: 100px;
  max-width: 180px;
  width: auto !important;
  white-space: nowrap;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  padding: 0 20px !important;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-transform: none !important;
}

.game-action-buttons .create-bet-btn {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border: 1px solid rgba(0, 255, 136, 0.5);
  color: #0a0e27;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4), 0 4px 12px rgba(0, 204, 106, 0.3);
  text-shadow: none;
}

.game-action-buttons .create-bet-btn:hover {
  background: linear-gradient(135deg, #33ffaa, #00ff88);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.6), 0 6px 20px rgba(0, 204, 106, 0.4);
}

.game-action-buttons .add-to-parlay-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: white;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4), 0 4px 12px rgba(139, 92, 246, 0.3);
}

.game-action-buttons .add-to-parlay-btn:hover {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.6), 0 6px 20px rgba(139, 92, 246, 0.4);
}

@media (max-width: 600px) {
  .game-action-buttons {
    gap: 8px;
  }

  .game-action-buttons .create-bet-btn,
  .game-action-buttons .add-to-parlay-btn {
    flex: 1;
    min-width: 0;
    max-width: none;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 0.85rem !important;
  }
}
