/* =====================================================
   AFOKE KARAOKE CLASH - Premium Dark Theme
   Design System: Dark Music Competition Platform
   ===================================================== */

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

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #F01272;
  --primary-dark: #c00e5f;
  --primary-light: #ff4d99;
  --secondary: #8A2EA8;
  --secondary-dark: #6b1e84;
  --accent: #00D4FF;
  --accent-dark: #00a8cc;
  --gold: #FFD700;
  --dark: #0A0A0F;
  --dark-2: #111118;
  --dark-3: #16161f;
  --dark-4: #1e1e2e;
  --dark-5: #252538;
  --dark-border: rgba(255,255,255,0.08);
  --dark-border-hover: rgba(255,255,255,0.18);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.45);
  --glass-bg: rgba(255,255,255,0.04);
  --glass-bg-hover: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.08);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 8px 30px rgba(0,0,0,0.6);
  --shadow-glow-accent: 0 8px 30px rgba(0,0,0,0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background-color: var(--dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-main); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-accent {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 12px;
  background: rgba(240,18,114,0.1);
  border: 1px solid rgba(240,18,114,0.3);
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,15,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--primary); }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: var(--glass-bg-hover);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--dark-2);
  border-bottom: 1px solid var(--dark-border);
  padding: 16px 24px;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile ul li a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-border);
  color: var(--text-secondary);
  font-weight: 500;
}
.nav-mobile ul li a:hover { color: var(--primary); }
.nav-mobile .nav-mobile-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-main);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(240,18,114,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240,18,114,0.45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--dark-border-hover);
}
.btn-outline:hover {
  background: var(--glass-bg-hover);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #0099cc);
  color: #000;
  font-weight: 700;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,212,255,0.3); color: #000; }
.btn-ghost { background: var(--glass-bg); color: var(--text-secondary); }
.btn-ghost:hover { background: var(--glass-bg-hover); color: var(--text-primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; transform: translateY(-1px); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; transform: translateY(-1px); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

/* ===== CARDS / GLASS ===== */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--dark-border-hover);
  background: var(--glass-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card-glow:hover { box-shadow: var(--shadow-glow); }
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
  background: #0A0A0F;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(240,18,114,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,18,114,0.1);
  border: 1px solid rgba(240,18,114,0.3);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== COMPETITION CARDS ===== */
.competition-card {
  position: relative;
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}
.competition-card:hover {
  border-color: rgba(240,18,114,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), var(--shadow-glow);
}
.competition-card-banner {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.competition-card-body { padding: 20px; }
.competition-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.status-active { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }
.status-voting { background: rgba(0,212,255,0.15); color: var(--accent); border: 1px solid rgba(0,212,255,0.3); }
.status-completed { background: rgba(255,255,255,0.08); color: var(--text-muted); border: 1px solid var(--dark-border); }
.status-draft { background: rgba(245,158,11,0.15); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.competition-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 10px 0 6px;
  line-height: 1.3;
}
.competition-card-meta { font-size: 0.8rem; color: var(--text-muted); }
.competition-card-prize {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  margin: 12px 0;
}
.competition-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--dark-border);
  margin-top: 14px;
}

/* ===== CONTESTANT / SUBMISSION CARDS ===== */
.contestant-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.contestant-card:hover {
  border-color: rgba(240,18,114,0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.contestant-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}
.contestant-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}
.contestant-avatar-placeholder {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid rgba(240,18,114,0.4);
}
.contestant-name { font-weight: 700; font-size: 0.95rem; }
.contestant-song { font-size: 0.8rem; color: var(--text-muted); }
.audio-player-bar {
  background: var(--dark-5);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.play-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.play-btn:hover { transform: scale(1.1); box-shadow: 0 4px 15px rgba(240,18,114,0.4); }
.progress-bar-wrap {
  flex: 1;
  height: 4px;
  background: var(--dark-border);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}
.time-display { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.contestant-card-footer {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--dark-border);
}
.vote-count { font-size: 0.85rem; color: var(--text-secondary); }
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(240,18,114,0.1);
  border: 1px solid rgba(240,18,114,0.3);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.vote-btn:hover, .vote-btn.voted {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== LEADERBOARD ===== */
.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  margin-bottom: 8px;
  transition: var(--transition);
}
.leaderboard-row:hover {
  border-color: rgba(240,18,114,0.2);
  background: var(--dark-4);
}
.leaderboard-row.top-1 { border-color: rgba(255,215,0,0.3); background: rgba(255,215,0,0.04); }
.leaderboard-row.top-2 { border-color: rgba(192,192,192,0.3); }
.leaderboard-row.top-3 { border-color: rgba(205,127,50,0.3); }
.rank-badge {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #000; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #A0522D); color: #fff; }
.rank-other { background: var(--dark-5); color: var(--text-muted); }
.leaderboard-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--dark-border);
  flex-shrink: 0;
}
.leaderboard-info { flex: 1; min-width: 0; }
.leaderboard-name { font-weight: 700; font-size: 0.95rem; }
.leaderboard-song { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leaderboard-score {
  text-align: right;
  flex-shrink: 0;
}
.hybrid-score {
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.score-meta { font-size: 0.72rem; color: var(--text-muted); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-4);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  background: var(--dark-5);
  box-shadow: 0 0 0 3px rgba(240,18,114,0.1);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control option { background: var(--dark-4); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input[type='checkbox'] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-divider { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 16px 0; position: relative; }
.form-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--dark-border);
  z-index: 0;
}
.form-divider span { position: relative; z-index: 1; background: var(--dark-2); padding: 0 16px; }

/* ===== ALERTS ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: var(--success); }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--danger); }
.alert-info { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3); color: var(--accent); }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); color: var(--warning); }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-primary { background: rgba(240,18,114,0.15); color: var(--primary); border: 1px solid rgba(240,18,114,0.3); }
.badge-success { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }
.badge-muted { background: var(--glass-bg); color: var(--text-muted); border: 1px solid var(--dark-border); }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--dark-border); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--dark-4); border-bottom: 1px solid var(--dark-border); }
thead th { padding: 14px 16px; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
tbody tr { border-bottom: 1px solid var(--dark-border); transition: var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--dark-4); }
tbody td { padding: 14px 16px; font-size: 0.875rem; color: var(--text-secondary); vertical-align: middle; }

/* ===== GRID ===== */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ===== DASHBOARD ===== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 70px;
}
.sidebar {
  width: 260px;
  background: var(--dark-2);
  border-right: 1px solid var(--dark-border);
  padding: 24px 0;
  flex-shrink: 0;
  position: fixed;
  top: 70px;
  left: 0;
  bottom: 0;
  overflow-y: auto;
}
.sidebar-nav { list-style: none; padding: 0 12px; }
.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 4px;
}
.sidebar-nav li a:hover, .sidebar-nav li a.active {
  background: rgba(240,18,114,0.1);
  color: var(--primary);
}
.sidebar-nav li a .icon { width: 18px; font-size: 1rem; }
.sidebar-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); padding: 16px 28px 8px; }
.dashboard-main {
  flex: 1;
  margin-left: 260px;
  padding: 32px;
  background: var(--dark);
  min-height: calc(100vh - 70px);
}
.stat-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}
.stat-card:hover { border-color: rgba(240,18,114,0.2); transform: translateY(-2px); }
.stat-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 4px;
}
.stat-value { font-size: 2rem; font-weight: 900; color: var(--text-primary); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ===== JUDGE SCORING ===== */
.score-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--dark-5);
  outline: none;
  cursor: pointer;
}
.score-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(240,18,114,0.4);
}
.score-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(240,18,114,0.3);
}

/* ===== AUDIO PLAYER (Full) ===== */
.audio-player-full {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky;
  bottom: 20px;
  z-index: 50;
  backdrop-filter: blur(20px);
}

/* ===== BLOG ===== */
.blog-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { border-color: rgba(240,18,114,0.3); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.blog-card:hover img { transform: scale(1.03); }
.blog-img-wrap { overflow: hidden; }
.blog-card-body { padding: 20px; }
.blog-card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
}
.blog-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; }

/* ===== ADMIN ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--dark-2);
  border-right: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}
.admin-logo {
  padding: 20px 24px;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.admin-logo span { color: var(--primary); }
.admin-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); padding: 12px 16px 6px; }
.admin-nav ul { list-style: none; }
.admin-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: var(--transition);
}
.admin-nav li a:hover, .admin-nav li a.active {
  background: rgba(240,18,114,0.1);
  color: var(--primary);
}
.admin-main {
  flex: 1;
  margin-left: 240px;
  padding: 32px;
  background: var(--dark);
  min-height: 100vh;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dark-border);
}
.page-title { font-size: 1.5rem; font-weight: 800; }
.page-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--dark) 0%, #12001a 50%, #00121a 100%);
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240,18,114,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(138,46,168,0.08) 0%, transparent 50%);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(22,22,31,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  z-index: 1;
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
  box-shadow: 0 8px 24px rgba(240,18,114,0.3);
}
.auth-title { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 6px; }
.auth-subtitle { font-size: 0.875rem; color: var(--text-muted); text-align: center; margin-bottom: 28px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-logo span { color: var(--primary); }
.footer-brand-logo .icon-box {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.footer-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); }
.footer-links li a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== FAQ ACCORDION ===== */
.faq-item {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(240,18,114,0.3); }
.faq-question {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--dark-3);
  transition: var(--transition);
}
.faq-question:hover { background: var(--dark-4); }
.faq-chevron { transition: transform 0.3s ease; color: var(--text-muted); font-size: 0.8rem; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer.open { max-height: 500px; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; background: var(--dark-3); }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(240,18,114,0.2); transform: translateY(-3px); }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===== MISC ===== */
.divider { height: 1px; background: var(--dark-border); margin: 32px 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.p-0 { padding: 0 !important; }
.hidden { display: none !important; }

/* ===== NETFLIX / SPOTIFY STYLE RAILS ===== */
.netflix-rail {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.netflix-rail::-webkit-scrollbar {
  display: none;
}
.netflix-card {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
@media (max-width: 480px) {
  .netflix-card { width: 130px; }
}
.netflix-card:hover {
  transform: scale(1.05) !important;
  z-index: 10;
}
.netflix-card .card-image-wrap {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.netflix-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.netflix-card:hover img {
  transform: scale(1.08);
}
.spotify-play-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
}
.netflix-card:hover .spotify-play-btn {
  opacity: 1;
  transform: translateY(0);
}
.spotify-play-btn:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 10px 25px rgba(240,18,114,0.6);
}
.netflix-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.netflix-card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== LOADING / SPINNER ===== */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.slide-up { animation: slideUp 0.6s ease both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 40px; }
.page-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}
.page-link:hover, .page-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .dashboard-main { margin-left: 0; padding: 16px; }
  .sidebar { display: none; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 16px; }
  .section { padding: 60px 0; }
  .auth-card { padding: 28px 24px; }
  .leaderboard-row { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* =====================================================
   AFOKE v2 — Design refinement layer
   (gold accent, depth, hierarchy, rhythm)
   ===================================================== */
:root {
  --gold: #F5C518;
  --gold-light: #FFD96B;
  --gold-deep: #C99A0F;
  --gold-glow: 0 0 32px rgba(245,197,24,0.28);
  --pink-glow: 0 0 40px rgba(240,18,114,0.30);
  --section-bg-alt: #0d0818;
  --grain-bg: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Subtle film grain on the whole page — adds warmth/depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: var(--grain-bg);
  opacity: 0.55;
  mix-blend-mode: overlay;
}
.navbar, main, footer { position: relative; z-index: 3; }

/* Section vertical rhythm + alternating tone */
.section { padding: 96px 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } }
.section-alt { background: var(--section-bg-alt); }

/* Eyebrow labels — brighter, tighter, with leading bar */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-gold { color: var(--gold-light); }
.eyebrow-cyan { color: var(--accent); }
.eyebrow-pill {
  background: rgba(240,18,114,0.08);
  border: 1px solid rgba(240,18,114,0.25);
  padding: 6px 14px;
  border-radius: 50px;
}
.eyebrow-pill::before { display: none; }

/* Clean section headings — solid white, accent only on one word */
.h-section {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
}
.h-section .accent { color: var(--primary-light); }
.h-section .accent-gold { color: var(--gold-light); }
.h-section .accent-cyan { color: var(--accent); }

/* Tertiary button (text-only) and gold variant */
.btn-text {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 4px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.btn-text:hover { color: var(--primary-light); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a0f00;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(245,197,24,0.30);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245,197,24,0.45), var(--gold-glow);
  color: #1a0f00;
}

/* Card hover-glow utilities */
.card-glow-pink:hover {
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(240,18,114,0.4),
    var(--pink-glow);
}
.card-glow-gold:hover {
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(245,197,24,0.4),
    var(--gold-glow);
}

/* Prize grid — featured + secondary tiers */
.prize-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.prize-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .prize-grid, .prize-grid-row { grid-template-columns: 1fr; }
}
.prize-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.prize-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}
.prize-card-featured {
  background: linear-gradient(135deg, rgba(245,197,24,0.10), rgba(245,197,24,0.02) 60%);
  border-color: rgba(245,197,24,0.30);
  padding: 40px;
}
.prize-card-featured::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,0.18), transparent 60%);
  pointer-events: none;
}
.prize-card-featured:hover {
  border-color: rgba(245,197,24,0.55);
  box-shadow: var(--gold-glow);
}
.prize-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.prize-icon-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a0f00;
  box-shadow: var(--gold-glow);
}
.prize-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin: 4px 0 12px;
  position: relative;
  z-index: 1;
}
.prize-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.prize-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.prize-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

/* Testimonial polish */
.testimonial-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(240,18,114,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 14px;
}
.testimonial-text {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* Hero stat strip — social proof under hero CTAs */
.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 18px 24px;
  margin-top: 36px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 600px;
}
@media (max-width: 700px) {
  .hero-stat-strip { grid-template-columns: repeat(2, 1fr); }
}
.hero-stat-cell { text-align: left; }
.hero-stat-cell-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-cell-num.gold { color: var(--gold-light); }
.hero-stat-cell-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Countdown for closing-soon banner */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
.countdown-box {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(239,68,68,0.35);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: #fff;
  min-width: 36px;
  text-align: center;
  line-height: 1.1;
}
.countdown-box small {
  display: block;
  font-size: 8px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 1px;
}

/* Hall of Fame — gold treatment */
.hof-quote-bar { border-left-color: rgba(245,197,24,0.55) !important; }
.hof-stat-after { color: var(--gold-light) !important; }
.hof-stat-after-label { color: var(--gold-light) !important; }

/* Judge card lift */
.judge-card {
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 28px 20px;
  transition: var(--transition);
}
.judge-card:hover {
  border-color: rgba(245,197,24,0.30);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow);
}
.judge-card img,
.judge-card .judge-initial {
  border-color: var(--gold-light) !important;
}
.judge-crown {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a0f00;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border-radius: 50px;
}

/* Stronger body text contrast */
.text-body { color: rgba(255,255,255,0.82); line-height: 1.65; }

/* =====================================================
   AFOKE v2 — Mobile Responsive Layer
   Breakpoints: 1024 / 768 / 480 / 360
   ===================================================== */

/* Prevent any accidental horizontal scroll on small screens */
html, body { overflow-x: hidden; max-width: 100vw; }
img, video { max-width: 100%; height: auto; }

/* Make every button & link finger-friendly (44px min tap target) */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; padding: 8px 16px; }
  .nav-links a, .nav-mobile ul li a { min-height: 40px; display: flex; align-items: center; }
}

/* ---- TABLET (<=1024px) ---- */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .hero-stat-strip { gap: 12px; padding: 14px 18px; }
  .hero-stat-cell-num { font-size: 1.25rem; }
  .featured-split-body { padding: 36px !important; }
  .featured-split-body h3 { font-size: 2rem !important; }
  .prize-card-featured { padding: 32px; }
  .prize-grid { grid-template-columns: 1fr 1fr; }
  .prize-grid .prize-card-featured { grid-column: 1 / -1; }
}

/* ---- SMALL TABLET / LARGE PHONE (<=768px) ---- */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }

  /* ===== Hero ===== */
  .hero-slider-section { min-height: 640px !important; }
  .hero-slider-section h1 {
    font-size: clamp(2.1rem, 8vw, 3rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 18px !important;
  }
  .hero-slider-section p {
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    margin-bottom: 24px !important;
  }
  .hero-slider-section .container > div {
    max-width: 100% !important;
    padding: 0 4px !important;
  }
  .hero-cta { padding: 13px 22px !important; font-size: 11px !important; }
  .hero-cta-row { gap: 12px !important; }

  /* Hero stat strip — bigger numbers, 2 cols */
  .hero-stat-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px 16px;
    margin-top: 28px;
    max-width: 100%;
  }
  .hero-stat-cell-num { font-size: 1.2rem; }
  .hero-stat-cell-label { font-size: 9px; }

  /* Slide controls — bigger tap targets */
  .slide-dot { height: 6px !important; }
  .hero-slider-section button[onclick^="prev"],
  .hero-slider-section button[onclick^="next"] {
    width: 40px !important;
    height: 40px !important;
  }

  /* ===== Closing-soon banner — stack ===== */
  .closing-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 18px 20px !important;
    gap: 14px !important;
  }
  .closing-banner > div:first-child { gap: 12px !important; }
  .closing-banner h3 { font-size: 1rem !important; }
  .closing-banner .btn { width: 100%; padding: 12px 18px !important; }
  .countdown { margin-left: 0; gap: 4px; }
  .countdown-box { min-width: 30px; padding: 3px 6px; font-size: 12px; }
  .countdown-box small { font-size: 7px; }

  /* ===== Featured Performance / Hall of Fame — stack ===== */
  .featured-split { flex-direction: column; border-radius: 24px !important; }
  .featured-split-media {
    flex: 0 0 auto !important;
    min-height: 260px !important;
    width: 100%;
  }
  .featured-split-body {
    flex: 0 0 auto !important;
    padding: 28px 22px !important;
    width: 100%;
  }
  .featured-split-body h3 { font-size: 1.65rem !important; margin: 8px 0 14px !important; }
  .featured-split-body p { font-size: 0.95rem !important; }
  .featured-split-body .btn { width: 100%; justify-content: center; }
  .hof-champion-label { bottom: 20px !important; left: 20px !important; }
  .hof-champion-label h4 { font-size: 2rem !important; }

  /* ===== Leaderboard podium — stack with #1 on top ===== */
  .podium-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 32px !important;
    margin-bottom: 48px !important;
  }
  .podium-card {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }
  .podium-1 { order: 0 !important; padding: 32px 24px !important; }
  .podium-2 { order: 1 !important; }
  .podium-3 { order: 2 !important; }
  .podium-1 h4 { font-size: 1.3rem !important; }

  /* Leaderboard stats card — 2x2 */
  .lb-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 28px 22px !important;
    gap: 22px !important;
  }
  .lb-stats-grid > div div:nth-child(2) { font-size: 1.4rem !important; }

  /* ===== Section headers ===== */
  .section-header { margin-bottom: 36px !important; }
  .section-header h2 { font-size: 1.7rem !important; }
  .h-section { font-size: 1.85rem !important; }
  .h-section.text-center, .h-section[style*="text-align:center"] { font-size: 1.85rem !important; }

  /* ===== Prize cards ===== */
  .prize-grid, .prize-grid-row { grid-template-columns: 1fr !important; gap: 16px; }
  .prize-card { padding: 24px 22px !important; }
  .prize-card-featured { padding: 30px 24px !important; }
  .prize-amount { font-size: 2.4rem !important; }
  .prize-title { font-size: 1.1rem !important; }
  .prize-icon { width: 48px; height: 48px; font-size: 22px; margin-bottom: 16px; }

  /* ===== Playlist / Netflix rails ===== */
  .playlist-card { width: 260px !important; }
  .netflix-card { width: 160px !important; }
  .swiper-slide .netflix-card h3 { font-size: 0.8rem !important; }

  /* Section heading row (rail headers) */
  .section .container > div[style*="display:flex"][style*="justify-content:space-between"][style*="align-items:flex-end"] {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 14px;
  }

  /* ===== Sponsor marquee ===== */
  .sponsor-marquee { padding: 32px 0 !important; }
  .sponsor-item { width: 170px !important; padding: 0 22px !important; }
  .sponsor-item img { max-height: 44px !important; }

  /* ===== Testimonials ===== */
  .testimonial-card { padding: 22px 20px; }

  /* ===== CTA panel ===== */
  section[style*="linear-gradient(135deg,#1a0030"] h2 { font-size: 1.7rem !important; }
  section[style*="linear-gradient(135deg,#1a0030"] .btn { width: 100%; max-width: 320px; }
  section[style*="linear-gradient(135deg,#1a0030"] div[style*="display:flex"][style*="justify-content:center"] {
    flex-direction: column !important;
    align-items: center;
  }

  /* ===== Floating alerts ===== */
  [data-auto-dismiss] {
    top: 76px !important;
    right: 12px !important;
    left: 12px !important;
    max-width: none !important;
  }
}

/* ---- PHONE (<=480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }

  /* Hero buttons full width column */
  .hero-cta-row { flex-direction: column !important; gap: 10px !important; width: 100%; }
  .hero-cta { width: 100%; justify-content: center; }
  .hero-slider-section h1 { font-size: 2rem !important; }
  .hero-slider-section p { font-size: 0.92rem !important; }
  .hero-slider-section { min-height: 600px !important; }

  /* Hero stat numbers a touch smaller */
  .hero-stat-strip { padding: 12px 14px; gap: 10px; margin-top: 22px; }
  .hero-stat-cell-num { font-size: 1.05rem; }
  .hero-stat-cell-label { font-size: 8.5px; letter-spacing: 0.12em; }

  /* Slide indicator footer */
  .hero-slider-section .container[style*="bottom:40px"] {
    bottom: 16px !important;
    padding: 0 14px !important;
  }

  /* Closing banner countdown — keep 4 boxes but tighter */
  .countdown { gap: 3px; }
  .countdown-box { min-width: 28px; font-size: 11px; padding: 3px 4px; }
  .closing-banner h3 { font-size: 0.92rem !important; }
  .closing-banner > div:first-child > div:first-child {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }

  /* Featured / Hall of Fame */
  .featured-split-body { padding: 24px 18px !important; }
  .featured-split-body h3 { font-size: 1.5rem !important; }
  .hof-champion-label h4 { font-size: 1.6rem !important; }

  /* Podium #1 tighter */
  .podium-1 { padding: 28px 20px !important; }
  .podium-1 img, .podium-1 > div:nth-child(2) { width: 96px !important; height: 96px !important; }

  /* Stats grid stays 2 cols but smaller */
  .lb-stats-grid { padding: 22px 18px !important; gap: 18px !important; }
  .lb-stats-grid > div div:nth-child(2) { font-size: 1.2rem !important; }
  .lb-stats-grid > div div:first-child { font-size: 1.4rem !important; }

  /* Prize section */
  .prize-amount { font-size: 2rem !important; }
  .prize-card-featured { padding: 26px 22px !important; }

  /* Section heading */
  .section-header h2, .h-section { font-size: 1.55rem !important; }
  .section-header { margin-bottom: 28px !important; }

  /* Cards */
  .playlist-card { width: 230px !important; }
  .netflix-card { width: 140px !important; }

  /* Sponsor */
  .sponsor-item { width: 140px !important; padding: 0 18px !important; }
  .sponsor-item img { max-height: 36px !important; }

  /* Eyebrow tighter */
  .eyebrow { font-size: 10px; letter-spacing: 0.16em; }
  .eyebrow::before { width: 20px; }

  /* Footer */
  .footer { padding: 48px 0 24px !important; }
}

/* ---- TINY PHONE (<=360px) ---- */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .hero-slider-section h1 { font-size: 1.85rem !important; }
  .countdown-box { min-width: 26px; font-size: 10.5px; padding: 2px 3px; }
  .countdown-box small { font-size: 6.5px; }
  .hero-stat-cell-num { font-size: 0.95rem; }
  .prize-amount { font-size: 1.8rem !important; }
  .featured-split-body h3 { font-size: 1.35rem !important; }
}

/* ---- LANDSCAPE PHONE — keep hero usable ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider-section { min-height: 100svh !important; }
  .hero-slider-section h1 { font-size: 1.8rem !important; margin-bottom: 12px !important; }
  .hero-slider-section p { display: none; }
  .hero-stat-strip { margin-top: 16px; padding: 10px 14px; }
  .hero-stat-cell-num { font-size: 1rem; }
}

/* ---- iOS Safari safe-area support ---- */
@supports (padding: max(0px)) {
  .nav-inner { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
  .footer .container {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .sponsor-marquee > div { animation: none !important; }
}