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

:root {
  --bg-dark:    #0d0d0f;
  --bg-card:    #16161a;
  --bg-card2:   #1e1e24;
  --accent:     #f5c518;
  --accent2:    #e87b1e;
  --text:       #e8e8e8;
  --text-muted: #888;
  --border:     rgba(255,255,255,0.07);
  --radius:     10px;
  --font-title: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:  'Inter', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-title); letter-spacing: 0.03em; line-height: 1.1; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 20px rgba(245,197,24,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(245,197,24,0.5); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 4px 16px rgba(88,101,242,0.4);
}
.btn-discord:hover { box-shadow: 0 6px 24px rgba(88,101,242,0.6); }

.btn-lg { padding: 18px 36px; font-size: 17px; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(13,13,15,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.site-nav { display: flex; align-items: center; gap: 8px; }

.site-nav a {
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover, .site-nav a.active { color: var(--text); background: var(--bg-card2); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.45);
}

/* Donkere overlay zodat tekst leesbaar blijft */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, rgba(13,13,15,0.5) 0%, rgba(13,13,15,0.05) 40%, rgba(13,13,15,0.75) 100%);
  filter: none;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(64px, 12vw, 120px);
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.8);
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(14px, 2.5vw, 19px);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* placeholder image */
.hero-img-wrap {
  margin: 60px auto 0;
  max-width: 720px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  position: relative;
}

.placeholder-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-card2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.placeholder-img .ph-icon { font-size: 48px; opacity: 0.3; }
.placeholder-img span { opacity: 0.5; }

/* play button overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.2s;
  cursor: pointer;
}
.play-overlay:hover { background: rgba(0,0,0,0.2); }
.play-btn {
  width: 72px; height: 72px;
  background: rgba(245,197,24,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: #000;
  transition: transform 0.2s;
}
.play-overlay:hover .play-btn { transform: scale(1.1); }

/* === SECTIONS === */
.section {
  padding: 96px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 48px;
}

/* === FEATURE CARDS === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.2s;
}
.feature-card:hover { border-color: rgba(245,197,24,0.25); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  background: rgba(245,197,24,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(245,197,24,0.15);
}

.feature-card h3 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.feature-art {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.ph-art {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  opacity: 0.6;
}

/* === LEADERBOARD === */
.leaderboard-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.lb-header {
  display: grid;
  grid-template-columns: 60px 1fr 100px 100px;
  padding: 14px 24px;
  background: var(--bg-card2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.lb-row {
  display: grid;
  grid-template-columns: 60px 1fr 100px 100px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.15s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--bg-card2); }

.lb-rank {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--text-muted);
}
.lb-rank.top1 { color: #ffd700; }
.lb-rank.top2 { color: #c0c0c0; }
.lb-rank.top3 { color: #cd7f32; }

.lb-name {
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.lb-kills { font-size: 15px; font-weight: 600; color: var(--accent); }
.lb-wins { font-size: 14px; color: var(--text-muted); }

.lb-loading, .lb-error, .lb-empty {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* === DISCORD / COMMUNITY === */
.discord-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.discord-section .section-title { margin-bottom: 16px; }
.discord-section p { color: var(--text-muted); max-width: 480px; margin: 0 auto 36px; }

/* === FOOTER === */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 40px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .logo-text { font-size: 28px; }
.footer-brand p { margin-top: 10px; font-size: 14px; color: var(--text-muted); max-width: 260px; }

.footer-links h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links ul a { font-size: 14px; color: var(--text-muted); transition: color 0.15s; }
.footer-links ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* === PAGE HERO (sub-pages) === */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-bg { opacity: 0.5; }
.page-hero h1 { font-size: clamp(48px, 8vw, 88px); color: #fff; position: relative; }
.page-hero p { font-size: 17px; color: var(--text-muted); margin-top: 12px; position: relative; }

/* === UTILITY === */
.text-accent { color: var(--accent); }
.divider { height: 1px; background: var(--border); margin: 0; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .site-nav a { padding: 7px 10px; font-size: 13px; }
  .logo-text { font-size: 18px; }
  .section { padding: 64px 20px; }
  .lb-header, .lb-row {
    grid-template-columns: 48px 1fr 80px;
  }
  .lb-header span:last-child,
  .lb-row .lb-wins { display: none; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
}
