/* =========================================================
   TORRIES — digitale sensatiekrant
   ========================================================= */

:root {
  --bg: #060a16;
  --bg-2: #0a1226;
  --bg-3: #0f1a35;
  --line: rgba(120, 160, 255, 0.16);
  --line-strong: rgba(120, 160, 255, 0.32);
  --text: #f4f7ff;
  --muted: #a9b5d6;
  --blue: #2f7bff;
  --blue-bright: #5aa8ff;
  --blue-deep: #1440b8;
  --red: #e3122b;
  --red-deep: #a50a1d;
  --purple: #8b5cf6;
  --purple-soft: #a78bfa;
  --pink: #f472b6;
  --gold: #fbbf24;

  --font-head: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --header-h: 72px;
  --breaking-h: 40px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Breaking-balk ---------- */
.breaking {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: stretch;
  height: var(--breaking-h);
  background: var(--red);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.breaking__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--red-deep);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.08em;
  flex: none;
  position: relative;
  z-index: 2;
  box-shadow: 8px 0 16px rgba(0, 0, 0, 0.25);
}
.breaking__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.2s steps(2, start) infinite;
}
.breaking__track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.breaking__marquee {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.breaking__marquee span {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-right: 4rem;
}
.breaking__marquee span::after {
  content: "■";
  font-size: 0.6em;
  margin-left: 4rem;
  opacity: 0.6;
  vertical-align: middle;
}
.breaking:hover .breaking__marquee { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes blink { to { visibility: hidden; } }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(6, 10, 22, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand__logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, 0.18);
}
.brand__word {
  font-family: var(--font-head);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  gap: 4px;
}
.nav__list a {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}
.nav__list a:hover,
.nav__list a.is-current {
  color: #fff;
  background: rgba(47, 123, 255, 0.14);
}
.nav .nav__join-mobile { display: none; }

.burger {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Knoppen ---------- */
.btn {
  --btn-bg: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  box-shadow: 0 10px 30px -10px rgba(47, 123, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(47, 123, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--light { background: #fff; color: var(--bg); }
.btn--light:hover { box-shadow: 0 14px 34px -12px rgba(255, 255, 255, 0.6); }

.btn--nitro {
  background: linear-gradient(120deg, #5865f2, #a855f7 55%, #ec4899);
  box-shadow: 0 12px 34px -12px rgba(168, 85, 247, 0.9);
}
.btn--boost {
  background: linear-gradient(120deg, var(--purple), #c084fc 60%, var(--pink));
  box-shadow: 0 12px 34px -12px rgba(139, 92, 246, 0.9);
}

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.85rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Sectie-basis ---------- */
.section {
  padding: 96px 0;
  position: relative;
}
.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.section__eyebrow::before {
  content: "";
  width: 28px; height: 3px;
  background: currentColor;
}
.section__eyebrow--red { color: #ff4d5e; }
.section__eyebrow--purple { color: var(--purple-soft); }

.section__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.section__lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  max-width: 62ch;
  margin-bottom: 28px;
}
.section__lead:last-child { margin-bottom: 0; }
.accent { color: var(--blue-bright); }

.nitro-text {
  background: linear-gradient(100deg, #8ea1ff, #c084fc 50%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.boost-text {
  background: linear-gradient(100deg, var(--purple-soft), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(47, 123, 255, 0.28), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(20, 64, 184, 0.35), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; }

.dateline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 10px 0;
  border-top: 3px double var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}
.kicker {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(227, 18, 43, 0.14);
  border: 1px solid rgba(227, 18, 43, 0.5);
  color: #ff7583;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(4.6rem, 17vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.005em;
  background: linear-gradient(180deg, #ffffff 30%, #9ec4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 40px rgba(47, 123, 255, 0.35));
  margin-bottom: 18px;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero__text {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__photo { justify-self: center; width: min(100%, 380px); }
.hero__photo-frame {
  position: relative;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow), 0 0 80px -20px rgba(47, 123, 255, 0.6);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}
.hero__photo-frame:hover { transform: rotate(0deg) scale(1.01); }
.hero__photo-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}
.hero__stamp {
  position: absolute;
  top: 22px; right: -14px;
  padding: 6px 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  font-size: 1rem;
  transform: rotate(8deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}
.hero__photo figcaption {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

.stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(10, 18, 38, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.stat {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: #fff;
}
.stat:first-child .stat__value { color: var(--blue-bright); }
.stat__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Giveaways ---------- */
.giveaways {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(168, 85, 247, 0.16), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s;
}
.step:hover { border-color: rgba(192, 132, 252, 0.5); transform: translateY(-4px); }
.step__num {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(120deg, #8ea1ff, #c084fc, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.step p { color: var(--muted); font-size: 0.95rem; }

.nitro-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(88, 101, 242, 0.25), rgba(168, 85, 247, 0.2) 55%, rgba(236, 72, 153, 0.2)),
    var(--bg-3);
  border: 1px solid rgba(192, 132, 252, 0.35);
}
.nitro-cta__title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1.1;
}
.nitro-cta__text { color: var(--muted); }

/* ---------- Voice ---------- */
.voice { background: var(--bg); }
.voice__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.voice-card {
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(170deg, #1a2342, #0c1328);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.voice-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.voice-card__speaker {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(47, 123, 255, 0.2);
  color: var(--blue-bright);
}
.voice-card__speaker svg { width: 22px; height: 22px; }
.voice-card__name {
  font-weight: 700;
  color: #dbe5ff;
}
.wave {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 22px 0;
}
/* Sfeer: --speed en --amp sturen tempo en hoogte; "complete chaos" = 1 / 1 (de oorspronkelijke staat) */
.voice-card {
  --speed: 1;
  --amp: 1;
  position: relative;
}
.voice-card[data-mood="gezelligheid"] { --speed: 0.6; --amp: 0.55; }
.voice-card[data-mood="gesprekken"]   { --speed: 1;   --amp: 0.8; }
.voice-card[data-mood="rwina"]        { --speed: 2.6; --amp: 1; }
.voice-card[data-mood="sensatie"]     { --speed: 1.6; --amp: 1.15; }
.voice-card[data-mood="chaos"]        { --speed: 1;   --amp: 1; }

.wave span {
  --d: 1.2s;
  width: 8px;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
  transform: scaleY(0.2);
  animation: wave calc(var(--d) / var(--speed)) ease-in-out infinite;
  scale: 1 1;
  transition: scale 0.45s ease;
}
.wave span:nth-child(3n) { --d: 0.9s; }
.wave span:nth-child(4n) { --d: 1.5s; }
.wave span:nth-child(5n) { --d: 1.05s; }
.wave span:nth-child(2n) { animation-delay: -0.4s; }
.wave span:nth-child(3n+1) { animation-delay: -0.75s; }
@keyframes wave {
  0%, 100% { transform: scaleY(calc(0.15 * var(--amp))); }
  50% { transform: scaleY(var(--amp)); }
}

/* Sensatie: korte stoten, om en om in omgekeerde richting */
.voice-card[data-mood="sensatie"] .wave span { animation-name: wave-burst; }
.voice-card[data-mood="sensatie"] .wave span:nth-child(2n) { animation-direction: reverse; }
@keyframes wave-burst {
  0%, 100% { transform: scaleY(calc(0.12 * var(--amp))); }
  12% { transform: scaleY(var(--amp)); }
  30% { transform: scaleY(calc(0.25 * var(--amp))); }
  42% { transform: scaleY(calc(0.85 * var(--amp))); }
  65% { transform: scaleY(calc(0.12 * var(--amp))); }
}

/* Gedempt: staafjes pauzeren; JS zet per staafje de 'scale' zodat ze op scaleY(0.06) uitkomen */
.voice-card.is-muted .wave span { animation-play-state: paused; }

.voice-card__caption {
  min-height: 1.6em;
  margin: -8px 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #dbe5ff;
}

.voice-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.voice-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.12s ease;
}
.voice-chip:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.09);
}
.voice-chip:active { transform: scale(0.96); }
.voice-chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Mute-knop rechtsboven */
.voice-card__top { padding-right: 64px; }
.voice-card__mute {
  position: absolute;
  top: 20px; right: 20px;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(47, 123, 255, 0.2);
  color: var(--blue-bright);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, transform 0.12s ease;
}
.voice-card__mute:hover { background: rgba(47, 123, 255, 0.32); }
.voice-card__mute:active { transform: scale(0.96); }
.voice-card__mute:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 50%;
}
.voice-card__mute svg { width: 24px; height: 24px; }
.voice-card__mic-off { display: none; }
.voice-card__mute[aria-pressed="true"] {
  background: #e3101f;
  color: #fff;
}
.voice-card__mute[aria-pressed="true"] .voice-card__mic { display: none; }
.voice-card__mute[aria-pressed="true"] .voice-card__mic-off { display: block; }

/* ---------- Boosts ---------- */
.boosts {
  background:
    radial-gradient(700px 420px at 0% 50%, rgba(139, 92, 246, 0.22), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.boosts__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.role-preview {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.18), rgba(47, 123, 255, 0.08)), #0d1430;
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: var(--shadow), 0 0 80px -30px rgba(139, 92, 246, 0.8);
}
.role-preview__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-soft);
  margin-bottom: 18px;
}
.member {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 22px;
}
.member__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.role-preview {
  --role1: #a78bfa;
  --role2: #a78bfa;
}
.member__name {
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--role1), var(--role2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}
.role-pill {
  --role: var(--role1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid color-mix(in srgb, var(--role) 55%, transparent);
  transition: border-color 0.3s;
}
.role-pill__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--role1), var(--role2));
  flex: none;
}

/* Kleurkeuze: modus + kleurvakken met hexcode */
.role-colors { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.mode {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.mode__btn {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.mode__btn:hover { color: #fff; }
.mode__btn.is-active {
  background: linear-gradient(120deg, var(--purple), #c084fc);
  color: #fff;
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.slot[hidden] { display: none; }
.slot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.slot.is-active {
  border-color: var(--purple-soft);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25);
}
.slot__pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  flex: none;
}
.slot__dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: var(--slot, #a78bfa);
}
.slot__hex {
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.slot__hex:focus { outline: none; border-color: var(--purple-soft); }
.slot__hex.is-invalid { border-color: #ff6b7d; }

/* Commando */
.cmd { margin-top: 4px; }
.cmd__box {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 6px;
  border-radius: 12px;
  background: #05070f;
  border: 1px solid rgba(167, 139, 250, 0.35);
}
.cmd__code {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  color: #e9e3ff;
  overflow-wrap: anywhere;
  user-select: all;
}
.cmd__copy {
  flex: none;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(120deg, var(--purple), #c084fc);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s;
}
.cmd__copy:hover { transform: translateY(-1px); }
.cmd__status {
  min-height: 1.4em;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #6ee7b7;
}
.cmd__tips {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.cmd__tips code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(167, 139, 250, 0.16);
  color: #e9e3ff;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
}
.swatches {
  border: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.swatches legend {
  float: left;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}
.swatch {
  position: relative;
  width: 34px; height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: var(--c);
  cursor: pointer;
  box-shadow: inset 0 0 0 3px var(--bg-3);
  transition: transform 0.2s, border-color 0.2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { border-color: #fff; }
.swatch--custom {
  background: conic-gradient(#f87171, #fbbf24, #a3e635, #22d3ee, #5865f2, #e879f9, #f87171);
  overflow: hidden;
}
.swatch--custom::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.swatch--custom input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.swatch--custom:focus-within {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

.role-field { margin-bottom: 20px; }
.role-field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.role-field__row { position: relative; }
.role-field__input {
  width: 100%;
  min-height: 48px;
  padding: 0 64px 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
  font-size: 1rem; /* voorkomt inzoomen op iOS */
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.role-field__input::placeholder { color: rgba(169, 181, 214, 0.6); }
.role-field__input:focus {
  outline: none;
  border-color: var(--purple-soft);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.3);
}
.role-field__count {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
}
#role-pill-text { overflow-wrap: anywhere; }
.role-preview__note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Staff ---------- */
.staff { background: var(--bg); }
.staff-group { --accent: var(--blue-bright); margin-top: 48px; }
.staff-group:first-of-type { margin-top: 0; }
.staff-group--owner { --accent: #ffd36b; }
.staff-group--co { --accent: var(--blue-bright); }
.staff-group--admin { --accent: #ff6b7d; }
.staff-group--mod { --accent: #6ee7b7; }

.staff-group__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.staff-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.staff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}
.staff-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  z-index: 1;
}
.staff-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--accent) 50%, transparent);
}
.staff-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: #000;
}
/* Originele kleuren van de bewuste zwarte/witte profielfoto's behouden */
.staff-card__img--black { background: #000; }
.staff-card__img--white { background: #fff; }

.staff-card__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.staff-card__role {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  margin-bottom: 8px;
}
.staff-card__name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.staff-card__handle {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.staff-card__quote {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: #e3eaff;
}

/* Owner: prominentere kaart */
.staff-grid--owner { grid-template-columns: 1fr; }
.staff-card--owner {
  flex-direction: row;
  max-width: 820px;
  border-color: rgba(255, 211, 107, 0.4);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(255, 211, 107, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.staff-card--owner .staff-card__img {
  width: 300px;
  flex: none;
}
.staff-card--owner .staff-card__body {
  justify-content: center;
  padding: 30px 34px;
}
.staff-card--owner .staff-card__name { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.staff-card--owner .staff-card__handle { font-size: 1.05rem; }
.staff-card--owner .staff-card__quote { font-size: 1.35rem; }

/* ---------- Regels ---------- */
.rules {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(227, 18, 43, 0.12), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.rules__paper {
  position: relative;
  padding: 76px clamp(22px, 4vw, 44px) clamp(22px, 4vw, 44px);
  border-radius: 20px;
  background: linear-gradient(180deg, #f4f6fb, #e6eaf3);
  color: #0b1022;
  box-shadow: var(--shadow);
}
.rules__paper::before {
  content: "OFFICIEEL";
  position: absolute;
  top: 26px; right: 26px;
  padding: 4px 12px;
  border: 3px solid var(--red);
  color: var(--red);
  font-family: var(--font-head);
  letter-spacing: 0.14em;
  transform: rotate(6deg);
  opacity: 0.85;
}
.rules__list { display: grid; }
.rule {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 2px solid #0b1022;
}
.rule:first-child { border-top: 4px double #0b1022; }
.rule__num {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
  width: 1.1em;
  text-align: center;
  color: var(--blue-deep);
}
.rule__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.rule__body p {
  color: #36405c;
  font-weight: 600;
}
.rule__tag {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rule__tag--warn { background: #ffe9a8; color: #6b4a00; }
.rule__tag--ban { background: var(--red); color: #fff; }
.rule__tag--perma { background: #0b1022; color: #fff; }

.rules__extra {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #cdd4e4;
}
.rules__extra-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.rules__extra ul { display: grid; gap: 6px; }
.rules__extra li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
  color: #283150;
}
.rules__extra li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 10px;
  background: var(--red);
  transform: rotate(45deg);
}
.rules__sign {
  margin-top: 28px;
  text-align: right;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--blue-deep);
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq__container { max-width: 900px; }
.accordion { display: grid; gap: 12px; }
.acc-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: border-color 0.25s;
}
.acc-item.is-open { border-color: rgba(90, 168, 255, 0.5); }
.acc-item__heading { font-size: inherit; }
.acc-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1.08rem;
  text-align: left;
  cursor: pointer;
  border-radius: 14px;
}
.acc-item__icon {
  position: relative;
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  background: rgba(47, 123, 255, 0.18);
}
.acc-item__icon::before,
.acc-item__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  background: var(--blue-bright);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.acc-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.acc-item.is-open .acc-item__panel { grid-template-rows: 1fr; }
.acc-item__inner {
  overflow: hidden;
}
.acc-item__inner p {
  padding: 0 22px 22px;
  color: var(--muted);
}
.acc-item__inner a { color: var(--blue-bright); font-weight: 700; }

/* ---------- TikTok ---------- */
.tiktok { background: var(--bg); padding-top: 0; }
.tiktok__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 24px;
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(37, 244, 238, 0.16), transparent 60%),
    radial-gradient(500px 260px at 100% 100%, rgba(254, 44, 85, 0.18), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--line-strong);
}
.tiktok__logo {
  width: 72px; height: 72px;
  padding: 16px;
  border-radius: 20px;
  background: #000;
  color: #fff;
  filter: drop-shadow(-2px -2px 0 #25f4ee) drop-shadow(2px 2px 0 #fe2c55);
}
.tiktok__copy .section__title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer {
  background: #04070f;
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer__brand p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 40ch;
}
.footer__heading {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}
.footer__links { display: grid; gap: 8px; }
.footer__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Vaste join-knop mobiel ---------- */
.sticky-join {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(6, 10, 22, 0), rgba(6, 10, 22, 0.92) 35%);
}

/* ---------- Reveal-animaties ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__list a { padding: 8px 9px; font-size: 0.88rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .header__join { display: none; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    padding: 24px 20px 40px;
    background: var(--bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
  }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__list a {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: 0.03em;
    padding: 10px 6px;
    color: #fff;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav .nav__join-mobile { display: inline-flex; min-height: 56px; }

  .hero__grid,
  .voice__grid,
  .boosts__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { width: min(100%, 320px); }
  .boosts__grid .role-preview { order: 2; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .tiktok__card { grid-template-columns: auto 1fr; }
  .tiktok__card .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; --breaking-h: 36px; }
  .container { padding-inline: 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 32px; }
  .brand__word { font-size: 1.6rem; }
  .brand__logo { width: 38px; height: 38px; }
  .breaking__label { padding: 0 10px; font-size: 0.85rem; }
  .breaking__marquee span { font-size: 0.95rem; }

  .dateline span:nth-child(2) { display: none; }
  .hero { padding-top: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }

  .steps { grid-template-columns: 1fr; }
  .nitro-cta { flex-direction: column; align-items: flex-start; }
  .nitro-cta .btn { width: 100%; }

  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .staff-card__body { padding: 14px 14px 16px; }
  .staff-card__name { font-size: 1.35rem; }
  .staff-card__quote { font-size: 0.9rem; }
  .staff-card--owner { flex-direction: column; }
  .staff-card--owner .staff-card__img { width: 100%; }
  .staff-card--owner .staff-card__body { padding: 22px; }

  .rules__paper { padding-top: 64px; }
  .rules__paper::before { top: 16px; right: 16px; font-size: 0.8rem; }
  .rule { grid-template-columns: auto 1fr; gap: 6px 16px; }
  .rule__tag { grid-column: 2; justify-self: start; }

  .tiktok__card { grid-template-columns: 1fr; gap: 20px; }
  .tiktok__card .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .sticky-join { display: block; }
  body { padding-bottom: 84px; }
}

@media (max-width: 340px) {
  .staff-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

/* Minder beweging */
@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;
  }
  .breaking__marquee { animation: none; }
  .wave span {
    animation: none !important;
    transform: scaleY(calc(var(--h, 0.6) * var(--amp)));
  }
  .wave span:nth-child(3n) { --h: 0.85; }
  .wave span:nth-child(4n) { --h: 0.4; }
  .wave span:nth-child(5n) { --h: 0.7; }
  .wave span:nth-child(7n) { --h: 0.3; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Easter egg: Carlito-role gelekt ---------- */
.member { position: relative; }
.leak-stamp {
  position: absolute;
  top: 50%; right: 14px;
  padding: 4px 10px;
  border: 3px solid var(--red);
  border-radius: 4px;
  color: #ff3b4f;
  background: rgba(227, 18, 43, 0.08);
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) rotate(-12deg) scale(2.2);
  transition: opacity 0.15s ease, transform 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.member.is-leaked .leak-stamp {
  opacity: 0.92;
  transform: translateY(-50%) rotate(-12deg) scale(1);
}
@media (max-width: 420px) {
  .leak-stamp { font-size: 0.75rem; white-space: normal; width: 6.5em; right: 8px; }
}
