/* ============================================================
   PRONOS26 — CARTHAGE LIVE Template
   Dark + Cyan Football Predictions Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Exo+2:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  --cyan:        #00F5FF;
  --cyan-dim:    #00bfcc;
  --cyan-glow:   rgba(0, 245, 255, 0.18);
  --cyan-border: rgba(0, 245, 255, 0.35);
  --bg:          #070b14;
  --bg2:         #0d1220;
  --bg3:         #111827;
  --card:        rgba(13, 18, 32, 0.85);
  --text:        #e2eaf5;
  --text-muted:  #6b7fa3;
  --white:       #ffffff;
  --red:         #ff3b5c;
  --gold:        #ffd700;
  --silver:      #c0c0c0;
  --bronze:      #cd7f32;
  --radius:      10px;
  --radius-lg:   18px;
  --transition:  0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* === GRID BACKGROUND === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* === HEADER / NAV === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cyan-border);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--cyan);
  text-decoration: none;
  text-shadow: 0 0 20px rgba(0,245,255,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span { color: var(--white); }

.logo-icon {
  width: 36px; height: 36px;
  background: var(--cyan);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg);
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(0,245,255,0.4);
}

nav { display: flex; align-items: center; gap: 0.25rem; }

nav a {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

nav a:hover, nav a.active {
  color: var(--cyan);
  background: var(--cyan-glow);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--cyan);
}

.nav-btn {
  margin-left: 1rem;
  background: var(--cyan);
  color: var(--bg) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 6px;
  transition: var(--transition);
  box-shadow: 0 0 15px rgba(0,245,255,0.3);
}
.nav-btn:hover {
  background: #fff !important;
  color: var(--bg) !important;
  box-shadow: 0 0 25px rgba(0,245,255,0.5);
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--cyan-border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--cyan);
  font-size: 1.2rem;
}

/* === MAIN CONTENT === */
main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* === SECTION TITLE === */
.section-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.section-title span { color: var(--cyan); }

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: 3px;
  margin: 0.75rem 0 2.5rem;
}

/* === CARDS === */
.card {
  background: var(--card);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0,245,255,0.1);
  transform: translateY(-2px);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0,245,255,0.35);
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 35px rgba(0,245,255,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-glow);
  box-shadow: 0 0 20px rgba(0,245,255,0.2);
}

.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* === BADGES === */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-cyan { background: var(--cyan-glow); color: var(--cyan); border: 1px solid var(--cyan-border); }
.badge-red  { background: rgba(255,59,92,0.15); color: var(--red); border: 1px solid rgba(255,59,92,0.3); }
.badge-gold { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }

/* === FORMS === */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input, .form-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--cyan);
  background: rgba(0,245,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,245,255,0.1);
}

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

.input-group { position: relative; }
.input-icon {
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}
.input-group .form-input { padding-left: 42px; }

/* === GRID LAYOUTS === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* === STAT BOX === */
.stat-box {
  background: var(--card);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0,245,255,0.4);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* === TABLE === */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.92rem;
  transition: var(--transition);
}
.data-table tr:hover td { background: rgba(0,245,255,0.03); }
.data-table tr:last-child td { border-bottom: none; }

/* === FOOTER === */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--cyan-border);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
footer a { color: var(--cyan); text-decoration: none; }
footer strong {
  font-family: 'Orbitron', monospace;
  color: var(--cyan);
  letter-spacing: 2px;
}

/* === GLOW PULSE ANIMATION === */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,245,255,0.3); }
  50% { box-shadow: 0 0 40px rgba(0,245,255,0.6); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scanLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
.fade-in { animation: fadeInUp 0.6s ease both; }
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.2s; }
.fade-in-3 { animation-delay: 0.3s; }
.fade-in-4 { animation-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  header { padding: 0 1rem; }
  nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg2); padding: 1rem; border-bottom: 1px solid var(--cyan-border); }
  nav.open { display: flex; }
  .menu-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  main { padding: 2rem 1rem; }
  .section-title { font-size: 1.2rem; }
}
