/* ══════════════════════════════════════════════════════════════
   BODYCOUNT — Styles
   Modifie les variables dans config/colors.js et config/timer.js
   ══════════════════════════════════════════════════════════════ */

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg, #151912);
  color: #fff;
}

#magic { position: fixed; inset: 0; z-index: 0; }

canvas#neuro {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}

.ui-layer {
  position: fixed; inset: 0; z-index: 6;
  display: flex; flex-direction: column;
  justify-content: space-between; align-items: center;
  pointer-events: none;
  padding: clamp(32px, 5vh, 56px) clamp(20px, 5vw, 48px) var(--bottom-offset, 52px);
}

/* ── Top tagline ─────────────────────────────────────────── */
.top-content {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}

.tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(11px, 1.4vw, 15px);
  letter-spacing: .55em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

.hero-line {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5.5vw, 64px);
  letter-spacing: .06em;
  line-height: 1.05;
  color: rgba(255,255,255,.88);
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 60px rgba(0,0,0,.8);
}

.hero-line span {
  color: var(--accent, rgba(255,50,20,1));
  text-shadow: 0 0 40px rgba(255,40,10,.5);
}

.sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: .35em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  max-width: 380px;
  line-height: 1.9;
}

/* ── Notify form ─────────────────────────────────────────── */
.notify-form {
  pointer-events: all;
  display: flex; align-items: center; gap: 0;
  margin-top: 18px;
  border: 1px solid rgba(255,40,20,.25);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  transition: border-color .3s;
}
.notify-form:focus-within { border-color: rgba(255,40,20,.6); }

.notify-input {
  background: transparent;
  border: none; outline: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: .25em;
  color: rgba(255,255,255,.7);
  padding: 10px 16px;
  width: clamp(180px, 22vw, 260px);
}
.notify-input::placeholder { color: rgba(255,255,255,.2); }

.notify-btn {
  background: rgba(255,40,20,.12);
  border: none; border-left: 1px solid rgba(255,40,20,.25);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: .35em;
  color: rgba(255,255,255,.45);
  padding: 10px 16px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.notify-btn:hover { background: rgba(255,40,20,.3); color: #fff; }

.notify-confirm {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: .35em;
  color: rgba(255,40,20,.6);
  margin-top: 8px;
  opacity: 0;
  transition: opacity .4s;
  text-transform: uppercase;
}
.notify-confirm.show { opacity: 1; }

/* ── Counter ─────────────────────────────────────────────── */
.counter-wrap { text-align: center; }

.counter-digits {
  font-family: 'Bebas Neue', sans-serif;
  font-size: var(--counter-size, clamp(48px, 8vw, 80px));
  letter-spacing: var(--counter-ls, .1em);
  line-height: 1;
  color: var(--counter-color, #fff);
  text-shadow:
    0 0 40px var(--counter-glow,  rgba(255,70,30,.5)),
    0 0 100px var(--counter-glow2, rgba(255,40,10,.15));
}

.counter-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: var(--label-size, clamp(10px, 1.2vw, 13px));
  letter-spacing: var(--label-ls, .4em);
  color: var(--label-color, rgba(255,255,255,.25));
  margin-top: 6px;
  text-transform: uppercase;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-line { font-size: clamp(22px, 8vw, 36px); }
  .notify-input { width: 150px; }
}
