/* HONOR Fight League — Design Tokens & Base */
:root {
  --hfl-orange: #FC4513;
  --hfl-orange-deep: #D63A0F;
  --hfl-orange-glow: rgba(252, 69, 19, 0.5);
  --hfl-black: #07070A;
  --hfl-ink: #0F0F14;
  --hfl-surface: #15151B;
  --hfl-surface-2: #1D1D26;
  --hfl-line: #26262F;
  --hfl-line-bright: #3A3A47;
  --hfl-text: #F2F2F4;
  --hfl-text-dim: #A0A0AC;
  --hfl-text-mute: #6A6A75;
  --hfl-win: #2EE07F;
  --hfl-loss: #FF4D5E;

  --font-display: "Oswald", "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--hfl-black);
  color: var(--hfl-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* === Typography === */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-style: italic;
  line-height: 0.92;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--hfl-orange);
}

.label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 11px;
  color: var(--hfl-text-dim);
}

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === Top nav === */
.hfl-topbar {
  background: #000;
  border-bottom: 1px solid var(--hfl-line);
  font-size: 12px;
  color: var(--hfl-text-dim);
}
.hfl-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.hfl-topbar a:hover { color: var(--hfl-orange); }
.hfl-topbar .topbar-right { display: flex; gap: 24px; align-items: center; }
.hfl-topbar .topbar-left { display: flex; gap: 18px; align-items: center; }

.hfl-nav {
  background: var(--hfl-black);
  border-bottom: 1px solid var(--hfl-line);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.hfl-nav .container {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 32px;
}
.hfl-logo { display: flex; align-items: center; gap: 12px; }
.hfl-logo img { height: 36px; display: block; }

.hfl-nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
}

.hfl-nav-links {
  display: flex;
  gap: 28px;
  margin-left: 24px;
  flex: 1;
}
.hfl-nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--hfl-text);
  padding: 8px 0;
  position: relative;
  transition: color 0.15s;
  white-space: nowrap;
}
.hfl-nav-links a:hover { color: var(--hfl-orange); }
.hfl-nav-links a.active {
  color: var(--hfl-orange);
}
.hfl-nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -28px;
  left: 0; right: 0;
  height: 3px;
  background: var(--hfl-orange);
}
.hfl-nav-cta { display: flex; gap: 12px; align-items: center; }

/* === Hamburger Button === */
.hfl-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 28px;
  z-index: 1001;
}

.hfl-nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--hfl-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Hamburger animatie (X-vorm) */
.hfl-nav-toggle.open span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
  background-color: var(--hfl-orange);
}
.hfl-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.hfl-nav-toggle.open span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
  background-color: var(--hfl-orange);
}

/* === Buttons === */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
  font-style: italic;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--hfl-orange);
  color: #fff;
}
.btn-primary:hover {
  background: #fff;
  color: var(--hfl-black);
}
.btn-ghost {
  background: transparent;
  color: var(--hfl-text);
  border: 2px solid var(--hfl-line-bright);
  clip-path: none;
}
.btn-ghost:hover {
  border-color: var(--hfl-orange);
  color: var(--hfl-orange);
}
.btn-dark {
  background: var(--hfl-surface);
  color: var(--hfl-text);
}
.btn-dark:hover { background: var(--hfl-surface-2); }

/* === Section === */
section { position: relative; }
.section-pad { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
}
.section-title .accent { color: var(--hfl-orange); }

/* === Footer === */
.hfl-footer {
  background: #000;
  border-top: 1px solid var(--hfl-line);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  margin: 0 0 16px 0;
  color: var(--hfl-text);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; color: var(--hfl-text-dim); font-size: 14px; }
.footer-grid a:hover { color: var(--hfl-orange); }
.footer-bottom {
  border-top: 1px solid var(--hfl-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--hfl-text-mute);
  font-size: 12px;
}

/* === Diagonal stripe accent === */
.diag-stripe {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--hfl-orange) 0,
    var(--hfl-orange) 4px,
    transparent 4px,
    transparent 12px
  );
  height: 8px;
  width: 100%;
}

/* === Card === */
.card {
  background: var(--hfl-surface);
  border: 1px solid var(--hfl-line);
  position: relative;
}
.card-hover { transition: all 0.2s; }
.card-hover:hover {
  border-color: var(--hfl-orange);
  transform: translateY(-2px);
}

/* === Pill / tag === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--hfl-surface-2);
  border: 1px solid var(--hfl-line);
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hfl-text-dim);
}
.pill.live {
  background: var(--hfl-orange);
  color: #fff;
  border-color: var(--hfl-orange);
}
.pill.win { background: rgba(46, 224, 127, 0.12); color: var(--hfl-win); border-color: rgba(46,224,127,0.3); }
.pill.loss { background: rgba(255, 77, 94, 0.12); color: var(--hfl-loss); border-color: rgba(255,77,94,0.3); }

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.dot-pulse {
  background: var(--hfl-orange);
  box-shadow: 0 0 0 0 var(--hfl-orange-glow);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--hfl-orange-glow); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* === Page hero (sub-pages) === */
.page-hero {
  background: var(--hfl-ink);
  border-bottom: 1px solid var(--hfl-line);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(252, 69, 19, 0.08), transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 88px;
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.02em;
}
.page-hero h1 .accent { color: var(--hfl-orange); }
.page-hero .crumbs {
  display: flex;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hfl-text-mute);
  margin-bottom: 20px;
}
.page-hero .crumbs a:hover { color: var(--hfl-orange); }
.page-hero .crumbs .sep { color: var(--hfl-line-bright); }

/* Utility classes */
.flex { display: flex; }
.aic { align-items: center; }
.jcb { justify-content: space-between; }
.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; }
.text-orange { color: var(--hfl-orange); }
.text-dim { color: var(--hfl-text-dim); }
.text-mute { color: var(--hfl-text-mute); }

/* ==========================================
   RESPONSIVE MEDIA QUERIES (Base & Nav)
   ========================================== */

/* Tablet (< 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  .hfl-topbar .topbar-right a:not([aria-label]) {
    display: none;
  }
  .section-pad {
    padding: 56px 0;
  }
  .section-title {
    font-size: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobiel Navigation Breakpoint (< 900px) */
@media (max-width: 900px) {
  .hfl-topbar {
    display: none;
  }
  .hfl-nav .container {
    height: 64px;
    gap: 16px;
  }

  /* Hamburger knop tonen op mobiel */
  .hfl-nav-toggle {
    display: flex;
    margin-left: auto;
  }

  /* Menu inklappen op mobiel */
  .hfl-nav-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hfl-black);
    border-bottom: 2px solid var(--hfl-orange);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    z-index: 999;
  }

  /* Menu tonen wanneer actief */
  .hfl-nav-menu.open {
    display: flex !important;
  }

  .hfl-nav-links {
    flex-direction: column;
    margin-left: 0;
    gap: 16px;
  }

  .hfl-nav-links a {
    font-size: 18px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hfl-line);
  }

  .hfl-nav-links a.active::after {
    display: none;
  }

  .hfl-nav-cta {
    width: 100%;
    margin-top: 8px;
  }

  .hfl-nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .page-hero h1 {
    font-size: 48px;
  }
}