/* ==========================================================================
   PREMIER LEAGUE LIVE ODDS & FIXTURE SCHEDULE STYLES (PROJECT 21: BONGVIP-3)
   Theme: Midnight Sapphire & Cyber Gold
   Colors: Deep Sapphire (#070d1e, #0c1938), Electric Cyan (#00f2fe, #38bdf8), 
           Cyber Gold (#f59e0b, #fbbf24)
   ========================================================================== */

.epl-sch-wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #e2e8f0;
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 0;
}

.epl-hero {
  text-align: center;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #070d1e 0%, #0c1938 50%, #10244c 100%);
  padding: 28px 20px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 35px rgba(0,0,0,0.6);
  position: relative;
}

.epl-title {
  font-weight: 900;
  font-size: 2rem;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  background: linear-gradient(90deg, #38bdf8, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.epl-sub {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
}

/* API Status Header Bar */
.odds-api-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #081026;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.api-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #38bdf8;
}

.api-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #00f2fe;
  box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
  animation: pulseCyan 1.8s infinite;
}

@keyframes pulseCyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.api-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.api-refresh-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.api-refresh-btn:hover {
  background: #f59e0b;
  color: #070d1e;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.api-clock {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Round Navigator Tabs */
.round-nav-wrap {
  margin-bottom: 22px;
}

.round-nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #0284c7 #081026;
}

.round-tab-btn {
  background: #0c1938;
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #94a3b8;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.round-tab-btn:hover {
  background: rgba(2, 132, 199, 0.25);
  color: #ffffff;
  border-color: #38bdf8;
}

.round-tab-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.5);
}

/* Match Odds Cards Container */
.matches-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.match-card {
  background: #0c1938;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 14px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 240px 1fr 140px;
  gap: 20px;
  align-items: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.match-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.15);
}

.match-info-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.match-time-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.match-status-live {
  color: #ef4444;
  animation: pulseRed 1.5s infinite;
}

.teams-vs-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-logo-small {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

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

/* Odds Columns Grid */
.odds-cols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.odds-col {
  background: rgba(7, 13, 30, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.odds-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.odds-values-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  gap: 6px;
}

.odds-val-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(12, 25, 56, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 48px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.odds-val-item:hover {
  background: #f59e0b;
  color: #070d1e;
  border-color: #fbbf24;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.odds-val-item:hover .odds-num {
  color: #070d1e;
}

.odds-lbl {
  font-size: 0.7rem;
  color: #94a3b8;
}

.odds-num {
  font-size: 0.92rem;
  font-weight: 800;
  color: #38bdf8;
}

/* Bet Action Col */
.match-action-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-match-bet {
  width: 100%;
  padding: 10px 14px;
  background: var(--gold-gradient);
  color: #070d1e;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-match-bet:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #fde047 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6);
}

.btn-match-detail {
  font-size: 0.8rem;
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.btn-match-detail:hover {
  color: #fbbf24;
}

@media (max-width: 900px) {
  .match-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
