/* ═══════════════════════════════════════════════════════════════════
   THE GUNNA SHOW — Master Stylesheet
   Brand: Black (#0a0a0a) + Electric Green (#00ff41) + Gold (#f5c518)
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --green:      #00ff41;
  --green-dim:  #00c831;
  --green-glow: rgba(0,255,65,0.25);
  --gold:       #f5c518;
  --gold-dim:   #c9a000;
  --red:        #ff3333;
  --bg:         #0a0a0a;
  --bg2:        #111111;
  --bg3:        #1a1a1a;
  --bg4:        #222222;
  --border:     rgba(0,255,65,0.2);
  --text:       #ffffff;
  --text-dim:   rgba(255,255,255,0.6);
  --radius:     12px;
  --font-head:  'Bebas Neue', sans-serif;
  --font-sub:   'Barlow Condensed', sans-serif;
  --font-body:  'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1,h2,h3 { font-family: var(--font-head); letter-spacing: 0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

.subheading { font-family: var(--font-sub); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

a { color: var(--green); text-decoration: none; }
a:hover { color: #fff; }

/* ── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--green) !important;
  text-shadow: 0 0 20px var(--green-glow);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand .brand-the { font-size: 1rem; color: var(--text-dim); }

.navbar-nav .nav-link {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim) !important;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--green) !important; }

.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,255,65,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  border-radius: 4px;
  animation: pulse-red 1.5s infinite;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }

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

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1a0d 50%, #0a0a0a 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,255,65,0.08) 0%, transparent 70%),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(0,255,65,0.03) 60px, rgba(0,255,65,0.03) 61px),
    repeating-linear-gradient(0deg,  transparent, transparent 60px, rgba(0,255,65,0.03) 60px, rgba(0,255,65,0.03) 61px);
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 { line-height: 0.9; margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--green); text-shadow: 0 0 30px var(--green-glow); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 2rem;
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn-gunna {
  background: var(--green);
  color: #000 !important;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-gunna:hover { background: #fff; color: #000 !important; transform: translateY(-2px); box-shadow: 0 8px 24px var(--green-glow); }

.btn-outline {
  background: transparent;
  color: var(--green) !important;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid var(--green);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--green); color: #000 !important; }

.btn-gold {
  background: var(--gold);
  color: #000 !important;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-gold:hover { background: #fff; transform: translateY(-2px); }

/* ── CARDS ───────────────────────────────────────────────────────── */
.card-gunna {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card-gunna:hover { border-color: var(--green); transform: translateY(-3px); }

/* ── SECTION HEADERS ─────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.section-header h2 { color: var(--green); }
.section-header a { font-family: var(--font-sub); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── BATTLE CARD ─────────────────────────────────────────────────── */
.battle-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.battle-card::before {
  content: 'VS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-head);
  font-size: 4rem;
  color: rgba(0,255,65,0.06);
  pointer-events: none;
}

.battle-fighters {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.fighter-side { text-align: center; }

.fighter-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  display: block;
  margin: 0 auto 0.75rem;
}

.fighter-name {
  font-family: var(--font-sub);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.odds-badge {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}
.odds-positive { background: rgba(0,255,65,0.15); color: var(--green); }
.odds-negative { background: rgba(255,51,51,0.15); color: var(--red); }

.vs-divider {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--green);
  text-shadow: 0 0 20px var(--green-glow);
}

/* ── ARTIST CARD ──────────────────────────────────────────────────── */
.artist-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.artist-card:hover { border-color: var(--green); transform: translateY(-4px); }
.artist-card:hover .artist-photo { transform: scale(1.05); }

.artist-photo-wrap { overflow: hidden; height: 240px; }
.artist-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }

.artist-card-body { padding: 1.25rem; }
.artist-division {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.artist-card-name { font-family: var(--font-sub); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; }
.artist-record {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.artist-stat { text-align: center; }
.artist-stat-val { font-family: var(--font-sub); font-weight: 900; font-size: 1.3rem; color: var(--green); }
.artist-stat-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }

.champion-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── SCORE TABLE ─────────────────────────────────────────────────── */
.score-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.score-table th {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.score-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}
.score-val {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green);
  background: rgba(0,255,65,0.12);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── LEADERBOARD ─────────────────────────────────────────────────── */
.lb-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.lb-item:hover { background: rgba(0,255,65,0.05); }

.lb-rank {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--text-dim);
  min-width: 36px;
  text-align: center;
}
.lb-rank-1 { color: var(--gold); }
.lb-rank-2 { color: #c0c0c0; }
.lb-rank-3 { color: #cd7f32; }

.lb-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.lb-name { font-family: var(--font-sub); font-weight: 700; font-size: 1.1rem; flex: 1; }
.lb-amount { font-family: var(--font-sub); font-weight: 900; font-size: 1.2rem; color: var(--green); }

/* ── WALLET ──────────────────────────────────────────────────────── */
.wallet-balance-card {
  background: linear-gradient(135deg, #0d2010, #0a1a0a);
  border: 1px solid var(--green);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 0 40px var(--green-glow);
}
.wallet-balance-label { font-family: var(--font-sub); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.wallet-balance-amount { font-family: var(--font-head); font-size: 4rem; color: var(--text); }

.tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tx-amount-credit { font-family: var(--font-sub); font-weight: 700; color: var(--green); }
.tx-amount-debit  { font-family: var(--font-sub); font-weight: 700; color: var(--red); }
.tx-desc { color: var(--text-dim); font-size: 0.9rem; }

/* ── PANEL BOXES ─────────────────────────────────────────────────── */
.panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-header {
  background: rgba(0,255,65,0.05);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
}
.panel-header h4 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
}
.panel-body { padding: 1.25rem; }

/* ── PROMO BANNER ────────────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(90deg, var(--bg3), rgba(0,255,65,0.08), var(--bg3));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

/* ── VOTE CARD ───────────────────────────────────────────────────── */
.vote-card-wrap {
  background: var(--bg2);
  border: 3px solid transparent;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.vote-card-wrap:hover,
.vote-card-wrap.selected { border-color: var(--green); background: rgba(0,255,65,0.07); }
.vote-card-img { width: 100%; border-radius: 8px; margin-bottom: 0.75rem; }
.vote-card-name { font-family: var(--font-sub); font-weight: 900; font-size: 1.2rem; text-transform: uppercase; }

/* ── PROGRESS BAR ────────────────────────────────────────────────── */
.progress-gunna {
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--green);
  transition: width 0.6s ease;
}
.progress-fill-gold { background: var(--gold); }

/* ── NOTIFICATION ────────────────────────────────────────────────── */
.notif-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.notif-icon { font-size: 2.5rem; }
.notif-title { font-family: var(--font-sub); font-weight: 700; font-size: 1.1rem; }
.notif-sub { color: var(--text-dim); font-size: 0.9rem; }

/* ── FORMS ───────────────────────────────────────────────────────── */
.form-gunna {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.form-gunna:focus { border-color: var(--green); }
.form-label-gunna {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
  display: block;
}

/* ── TABS ────────────────────────────────────────────────────────── */
.tabs-gunna {
  display: flex;
  gap: 4px;
  background: var(--bg3);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 1.5rem;
}
.tab-btn {
  flex: 1;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active { background: var(--green); color: #000; }

/* ── COUNTDOWN ───────────────────────────────────────────────────── */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.countdown-unit {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.countdown-val { font-family: var(--font-head); font-size: 2.5rem; color: var(--green); }
.countdown-label { font-family: var(--font-sub); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 6rem;
}
.footer-brand { font-family: var(--font-head); font-size: 2.5rem; color: var(--green); }
.footer-tagline { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.25rem; }
.footer-links h6 { font-family: var(--font-sub); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.footer-links a { display: block; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; margin-top: 2rem; color: var(--text-dim); font-size: 0.8rem; }

.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: all 0.2s;
  font-size: 1rem;
}
.social-link:hover { border-color: var(--green); color: var(--green); }

/* ── UTILITY ─────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-green { color: var(--green) !important; }
.text-gold  { color: var(--gold) !important; }
.text-dim   { color: var(--text-dim) !important; }
.bg2 { background: var(--bg2); }
.bg3 { background: var(--bg3); }
.divider { border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── ALERTS ─────────────────────────────────────────────────────── */
.alert-gunna {
  background: rgba(0,255,65,0.1);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: var(--font-sub);
  color: var(--green);
  font-size: 0.9rem;
}

/* ── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .battle-fighters { grid-template-columns: 1fr auto 1fr; }
  .fighter-photo { width: 70px; height: 70px; }
  .vs-divider { font-size: 1.8rem; }
  .countdown-val { font-size: 1.8rem; }
  .wallet-balance-amount { font-size: 3rem; }
}

/* ── AD SLOTS ───────────────────────────────────────────────────── */
.ad-slot {
  width: 100%;
  margin: 1rem 0;
  text-align: center;
  overflow: hidden;
}
.ad-slot ins { display: block; }
.ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--bg2), var(--bg2) 10px, var(--bg3) 10px, var(--bg3) 20px);
  color: var(--text-dim);
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.ad-slot-sidebar.ad-placeholder { min-height: 250px; }
.ad-slot-header.ad-placeholder,
.ad-slot-footer.ad-placeholder { min-height: 90px; }
.ad-slot-infeed.ad-placeholder { min-height: 120px; }

/* ── OAUTH BUTTONS ──────────────────────────────────────────────── */
.oauth-btn {
  width: 100%;
  padding: 13px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
.oauth-btn:hover { border-color: var(--green); }
.oauth-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  font-weight: 900;
}
