/* customFeatures.css — FOOTBALL PRO TECH — Futuristic Tech Theme */

/* ── Feature Card Base ───────────────────────────────────────────── */
.feature-card {
  background: linear-gradient(135deg, rgba(10,25,47,0.97), rgba(15,20,35,0.99));
  border: 1px solid rgba(0,229,255,0.12);
  border-radius: 16px;
  padding: 0;
  margin: 16px auto;
  max-width: 1200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,229,255,0.05);
  color: #e0e0e0;
  overflow: hidden;
  position: relative;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 30%; right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.3), transparent);
}

/* ── Countdown Timer — Holographic Tech ──────────────────────────── */
.countdown-inner {
  padding: 30px 30px 28px;
  text-align: center;
  position: relative;
}
.countdown-inner h3 {
  margin: 0 0 10px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  color: #00e5ff;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}
.countdown-match {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 3px;
  letter-spacing: 0.3px;
}
.countdown-comp {
  font-size: 0.78rem;
  color: #4fc3f7;
  margin: 0 0 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.countdown-digits {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
}
.cd-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 0.75rem;
  color: #546e7a;
  letter-spacing: 0.5px;
}
.cd-unit strong {
  font-size: 2.4rem;
  font-weight: 200;
  color: #00e5ff;
  font-variant-numeric: tabular-nums;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  text-shadow: 0 0 20px rgba(0,229,255,0.35), 0 0 40px rgba(0,229,255,0.1);
  line-height: 1;
}

/* ── Match Prediction — Tech Panel ───────────────────────────────── */
.prediction-inner {
  padding: 28px 30px;
  position: relative;
}
.prediction-inner h3 {
  margin: 0 0 8px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  color: #00e5ff;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}
.pred-comp {
  text-align: center;
  font-size: 0.72rem;
  color: #4fc3f7;
  margin: 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.pred-matchup {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 4px 0 20px;
}
.pred-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.pred-scores {
  display: flex;
  align-items: center;
  gap: 20px;
}
.pred-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pred-team label {
  font-size: 0.68rem;
  color: #78909c;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.pred-team input[type='number'] {
  width: 72px;
  height: 56px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(0,229,255,0.2);
  background: rgba(0,229,255,0.04);
  color: #00e5ff;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}
.pred-team input[type='number']:focus {
  border-color: #00e5ff;
  background: rgba(0,229,255,0.08);
  outline: none;
  box-shadow: 0 0 16px rgba(0,229,255,0.15);
}
.pred-vs {
  font-size: 1.5rem;
  font-weight: 300;
  color: #37474f;
  margin-top: 18px;
}
.pred-submit {
  padding: 10px 30px;
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 8px;
  background: transparent;
  color: #00e5ff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
}
.pred-submit:hover {
  background: rgba(0,229,255,0.1);
  border-color: #00e5ff;
  box-shadow: 0 0 20px rgba(0,229,255,0.2);
  transform: translateY(-1px);
}
.pred-submit:disabled {
  border-color: #2e7d32;
  color: #4caf50;
  background: rgba(76,175,80,0.08);
  cursor: default;
  transform: none;
}
.pred-stats {
  font-size: 0.8rem;
  color: #546e7a;
  text-align: center;
  margin: 8px 0 0;
}

/* ── Drill Selector (shared base) ────────────────────────────────── */
.drill-section { padding: 24px 30px; }
.drill-section h3 {
  margin: 0 0 4px; font-size: 1.1rem; color: #66bb6a;
  letter-spacing: 1px; text-transform: uppercase; text-align: center;
}
.drill-subtitle { text-align: center; font-size: 0.85rem; color: #78909c; margin: 0 0 18px; }
.drill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 16px; }
.drill-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 10px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  cursor: pointer; transition: all 0.25s ease;
}
.drill-card:hover { background: rgba(102,187,106,0.1); border-color: rgba(102,187,106,0.3); transform: translateY(-2px); }
.drill-card.active { background: rgba(102,187,106,0.15); border-color: #66bb6a; box-shadow: 0 0 12px rgba(102,187,106,0.2); }
.drill-icon { font-size: 1.6rem; }
.drill-name { font-size: 0.8rem; font-weight: 600; color: #e0e0e0; text-align: center; line-height: 1.2; }
.drill-level { font-size: 0.65rem; color: #78909c; text-transform: uppercase; letter-spacing: 0.5px; }
.drill-detail { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 16px 20px; min-height: 60px; }
.drill-hint { text-align: center; color: #546e7a; font-size: 0.9rem; margin: 0; }
.drill-info h4 { margin: 0 0 8px; color: #66bb6a; font-size: 1.1rem; }
.drill-info p { margin: 0 0 10px; color: #b0bec5; line-height: 1.5; }
.drill-meta { display: flex; gap: 20px; }
.drill-meta span { font-size: 0.85rem; color: #78909c; }

/* ── Stadium Map ─────────────────────────────────────────────────── */
.map-title { max-width: 1200px; margin: 20px auto 0; padding: 20px 30px 0; text-align: center; }
.map-title h3 { margin: 0 0 4px; font-size: 1.1rem; color: #4fc3f7; letter-spacing: 1px; text-transform: uppercase; }
.map-title p { margin: 0; font-size: 0.85rem; color: #78909c; }
.stadium-map-explorer { height: 450px !important; min-height: 400px; border-radius: 16px; overflow: hidden; margin-bottom: 30px; }
.map-fallback { padding: 30px; text-align: center; }
.map-fallback h3 { color: #4fc3f7; }

/* ── Live Ticker ─────────────────────────────────────────────────── */
.live-ticker { max-width: 1200px; margin: 0 auto; }
/* First feature card clears the fixed header */
.live-ticker, .countdown-timer:first-of-type {
  margin-top: 90px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .feature-card { margin: 10px 10px; border-radius: 10px; }
  .countdown-inner, .prediction-inner { padding: 20px 16px; }
  .cd-unit strong { font-size: 1.8rem; }
  .pred-scores { gap: 12px; }
  .drill-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
  .stadium-map-explorer { height: 300px !important; min-height: 280px; }
}
