/* Fight Lab Academy — design tokens
   Palette derived from the club badge: black ground, ember-to-blaze flame gradient, bone white. */

:root {
  /* Ground */
  --void: #0b0b0d;
  --char: #17161a;
  --char-2: #201f24;
  --line: #2a292e;

  /* Flame */
  --ember: #e23b2e;
  --ember-dim: #a52a20;
  --blaze: #ff8a1e;
  --blaze-dim: #cc6c14;
  --flame-gradient: linear-gradient(100deg, var(--ember) 0%, var(--blaze) 100%);

  /* Ink */
  --bone: #f3efe6;
  --bone-dim: #cfc9bb;
  --ash: #8d8b92;
  --ash-dim: #5c5a60;

  /* Belt system (functional, not brand — used only inside the app) */
  --belt-white: #f3efe6;
  --belt-blue: #2c5aa0;
  --belt-purple: #6b3fa0;
  --belt-brown: #6b4226;
  --belt-black: #111114;

  /* Type */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;

  /* Rhythm */
  --radius-s: 4px;
  --radius-m: 10px;
  --container: 1180px;
  --edge: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* Belt-stripe divider — a nod to the tabs sewn onto a black belt.
   Stripe count is decorative here, not a claim about sequence. */
.stripe-divider {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stripe-divider li {
  width: 46px;
  height: 6px;
  background: var(--line);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.stripe-divider.is-visible li {
  transform: scaleX(1);
}

.stripe-divider.is-visible li:nth-child(1) { background: var(--ember); transition-delay: 0s; }
.stripe-divider.is-visible li:nth-child(2) { background: var(--ember); transition-delay: 0.08s; }
.stripe-divider.is-visible li:nth-child(3) { background: var(--blaze); transition-delay: 0.16s; }
.stripe-divider.is-visible li:nth-child(4) { background: var(--blaze); transition-delay: 0.24s; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background-position 0.4s ease;
}

.btn-primary {
  background: var(--flame-gradient);
  background-size: 160% 100%;
  background-position: 0% 0%;
  color: var(--void);
  box-shadow: 0 8px 24px -8px rgba(226, 59, 46, 0.55);
}

.btn-primary:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--bone);
}

.btn-ghost:hover {
  border-color: var(--blaze);
  color: var(--blaze);
}

.btn-block {
  width: 100%;
}
