/* ============================================
   BettingNigeria — Sports Dashboard / Neon Green + Dark
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050a05;
  --primary: #39ff14;
  --secondary: #ffd700;
  --accent: #ff4136;
  --text: #e5ede5;
  --muted: #5a6e5a;
  --surface: #0c140c;
  --glow: rgba(57,255,20,0.3);
  --glow-strong: rgba(57,255,20,0.5);
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 6px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.mono { font-family: var(--font-mono); }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- SECTION DIVIDER --- */
.section-divider {
  height: 4px;
  background: var(--primary);
  border: none;
  margin: 0;
  box-shadow: 0 0 16px var(--glow);
}

.section-divider--thin {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border: none;
  margin: 0;
}

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,10,5,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(57,255,20,0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-shadow: 0 0 12px var(--glow);
}

.nav__logo span { color: var(--text); }

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--glow);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--primary);
  text-shadow: 0 0 8px var(--glow);
}

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* --- HERO --- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(57,255,20,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
  border: 1px solid rgba(57,255,20,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--primary);
  text-shadow: 0 0 20px var(--glow);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn--primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 20px var(--glow);
}

.btn--primary:hover {
  background: #50ff30;
  color: var(--bg);
  box-shadow: 0 0 30px var(--glow-strong);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: rgba(57,255,20,0.1);
  color: var(--primary);
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--secondary);
  color: var(--bg);
}

.btn--gold:hover {
  background: #ffe033;
  color: var(--bg);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* --- LEAGUE TABLE --- */
.league-table-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.league-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.league-table thead th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--primary);
}

.league-table thead th:first-child { text-align: center; width: 60px; }

.league-table tbody tr {
  border-bottom: 1px solid rgba(57,255,20,0.08);
  transition: all var(--transition);
}

.league-table tbody tr:hover {
  background: rgba(57,255,20,0.04);
  box-shadow: inset 4px 0 0 var(--primary);
}

.league-table td {
  padding: 20px 16px;
  vertical-align: middle;
}

.league-table td:first-child {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
}

.league-table .site-name {
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
}

.league-table .site-tag {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.league-table .bonus-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1rem;
}

/* Rating bar */
.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-bar__track {
  width: 100px;
  height: 8px;
  background: rgba(57,255,20,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar__fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  box-shadow: 0 0 8px var(--glow);
  transition: width 1s ease;
}

.rating-bar__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  min-width: 36px;
}

.league-table .score-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow);
}

.league-table .cta-cell a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
}

.league-table .cta-cell a:hover {
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-2px);
}

/* --- TABS --- */
.tabs-section { padding: 60px 0; }

.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(57,255,20,0.15);
  margin-bottom: 32px;
}

.tabs__btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: none;
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.tabs__btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background var(--transition);
}

.tabs__btn:hover,
.tabs__btn.active { color: var(--primary); text-shadow: 0 0 8px var(--glow); }
.tabs__btn.active::after { background: var(--primary); box-shadow: 0 0 8px var(--glow); }

.tabs__panel { display: none; }
.tabs__panel.active { display: block; }

/* --- ODDS DISPLAY --- */
.odds-section { padding: 60px 0; }

.odds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.odds-card {
  background: var(--surface);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.odds-card:hover {
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-4px);
}

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

.odds-card__league {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.odds-card__live {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: rgba(255,65,54,0.1);
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.odds-card__team {
  font-weight: 700;
  font-size: 1rem;
  flex: 1;
}

.odds-card__team:last-child { text-align: right; }

.odds-card__vs {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0 16px;
}

.odds-card__odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.odds-box {
  background: rgba(57,255,20,0.05);
  border: 1px solid rgba(57,255,20,0.15);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.odds-box:hover {
  background: rgba(57,255,20,0.1);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--glow);
}

.odds-box__label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.odds-box__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}

/* --- STATS SECTION --- */
.stats-section { padding: 60px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.stat-box {
  background: var(--surface);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.stat-box:hover {
  box-shadow: 0 0 20px var(--glow);
  transform: scale(1.03);
}

.stat-box__number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--primary);
  text-shadow: 0 0 20px var(--glow);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-box__label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- HOW TO SECTION --- */
.howto-section { padding: 60px 0; }

.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.howto-step {
  background: var(--surface);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 24px;
  counter-increment: step;
  position: relative;
  transition: all var(--transition);
}

.howto-step:hover {
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-4px);
}

.howto-step__number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.howto-step h3 { margin-bottom: 12px; font-size: 1.1rem; }
.howto-step p { color: var(--muted); font-size: 0.95rem; }

/* --- PAYMENT SECTION --- */
.payment-section { padding: 60px 0; }

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

.payment-card {
  background: var(--surface);
  border: 1px solid rgba(57,255,20,0.1);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}

.payment-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--glow);
}

.payment-card__icon {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.payment-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.payment-card p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* --- ARTICLES GRID --- */
.articles-section { padding: 60px 0; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--surface);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-4px);
}

.article-card__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.article-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  flex: 1;
}

.article-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.article-card__link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- FOOTER --- */
.footer {
  background: var(--surface);
  border-top: 1px solid rgba(57,255,20,0.1);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand .nav__logo { margin-bottom: 16px; display: inline-block; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; max-width: 300px; }

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--primary);
}

.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--muted); font-size: 0.9rem; }
.footer ul a:hover { color: var(--primary); }

.footer__bottom {
  border-top: 1px solid rgba(57,255,20,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 800px;
  line-height: 1.6;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(57,255,20,0.05);
}

/* --- ARTICLE PAGE --- */
.article-page { padding: 60px 0; }

.article-page__header {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.article-page__meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.article-page__content {
  max-width: 800px;
  margin: 0 auto;
}

.article-page__content h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(57,255,20,0.15);
}

.article-page__content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.article-page__content p {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-page__content ul,
.article-page__content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-page__content ul { list-style: none; }

.article-page__content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.05rem;
}

.article-page__content ul li::before {
  content: '--';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
}

.article-page__content ol {
  list-style: decimal;
  padding-left: 24px;
}

.article-page__content ol li {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.05rem;
}

.article-page__content ol li::marker {
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Info box */
.info-box {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.info-box h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1rem;
}

.info-box p { margin-bottom: 0; color: var(--muted); }

/* CTA box */
.cta-box {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 32px 0;
  box-shadow: 0 0 20px var(--glow);
}

.cta-box h3 { margin-bottom: 12px; }
.cta-box p { color: var(--muted); margin-bottom: 20px; }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.comparison-table thead th {
  background: var(--surface);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  border-bottom: 2px solid var(--primary);
}

.comparison-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(57,255,20,0.08);
}

.comparison-table tbody tr:hover { background: rgba(57,255,20,0.04); }

.comparison-table .highlight-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
}

/* FAQ */
.faq-section { margin-top: 48px; }

.faq-item {
  border-bottom: 1px solid rgba(57,255,20,0.1);
  padding: 20px 0;
}

.faq-item__question {
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-item__question:hover { color: var(--primary); }

.faq-item__toggle {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-item__toggle { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 400px;
  padding-top: 16px;
}

.faq-item__answer p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .league-table { font-size: 0.85rem; }

  .league-table .score-cell { font-size: 1.2rem; }

  .league-table td { padding: 14px 10px; }

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(5,10,5,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(57,255,20,0.15);
  }

  .nav__links.open { display: flex; }

  .nav__toggle { display: flex; }

  .hero { padding: 48px 0 40px; }

  .league-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .league-table { min-width: 600px; }

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

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

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .footer__bottom { flex-direction: column; text-align: center; }

  .tabs__btn { padding: 10px 16px; font-size: 0.8rem; }

  .hero__cta-group { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .stat-box__number { font-size: 2rem; }

  .howto-steps { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr 1fr; }
}
