@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@600;700;800&family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600&display=swap');

:root {
  /* THÈME DE JOUR : BLANC, NOIR, ROSE */
  --pink: #ed9fc0;
  --pink2: #d9699c;
  --pink-dark: #b64b7d;
  --soft: #fff0f6;
  --bg: #f7f5f7;
  --card: #ffffff;
  --ink: #19161c;
  --muted: #6e6573;
  --line: #e9e1e8;
  --shadow: 0 18px 55px rgba(45, 20, 34, .08);
  --accent: #d9699c;
  --accent-soft: rgba(217, 105, 156, 0.15);
  --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

body[data-theme=night] {
  /* THÈME DE NUIT : BLEU NUIT, ROSE, BLANC */
  --pink: #f4a9c8;
  --pink2: #e274a6;
  --pink-dark: #f4a9c8;
  --soft: rgba(226, 116, 166, 0.15);
  --bg: #0b0f1a;
  --card: #121829;
  --ink: #f7f8fc;
  --muted: #949eb8;
  --line: #202942;
  --shadow: 0 22px 60px rgba(4, 7, 16, .55);
  --accent: #e274a6;
  --accent-soft: rgba(226, 116, 166, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14.5px;
  letter-spacing: -0.01em;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}

h1, h2, h3, h4, h5, h6,
.brand,
.brand span,
.navlinks,
.navlinks a,
.kicker,
.eyebrow,
.badge-pseudo,
.pole-card-title,
.step-pill,
.btn,
.btn-secondary,
.btn-discord-top,
.theme,
.footer-legal-pill,
.footer-discord-link,
.footer-home-link,
.rule-wip-title,
.shop-wip-title,
.shop-card-header h3,
.shop-nav-btn {
  font-family: var(--font-display);
}

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

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1160px;
  margin: auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -.6px;
}

.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--pink2), #f5c2d9);
  font-size: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(217, 105, 156, 0.45);
  box-shadow: 0 6px 18px rgba(217, 105, 156, 0.26);
  flex-shrink: 0;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.navlinks a:hover, .navlinks a.active {
  color: var(--pink2);
}

.actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.theme, .btn, .btn-secondary {
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 850;
  transition: transform .18s, opacity .18s, background .18s, border-color .18s;
}

.theme {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
}

/* En mode jour : bouton noir & rose / En mode nuit : bouton rose & blanc */
.btn {
  background: #19161c;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(25, 22, 28, .16);
}

body[data-theme=night] .btn {
  background: linear-gradient(135deg, var(--pink2), #c85288);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(226, 116, 166, .28);
}

.btn:hover, .btn-secondary:hover, .theme:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.wrap {
  max-width: 1160px;
  margin: auto;
  padding: 38px 24px 76px;
}

.hero {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(30px, 6vw, 72px);
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 82% 20%, rgba(255, 255, 255, .7), transparent 24%),
              radial-gradient(circle at 85% 90%, rgba(217, 105, 156, .22), transparent 30%),
              linear-gradient(115deg, #efa5c4, #f9dce8 52%, #f8f6f8);
  box-shadow: var(--shadow);
}

body[data-theme=night] .hero {
  background: radial-gradient(circle at 82% 20%, rgba(244, 169, 200, .16), transparent 28%),
              linear-gradient(115deg, #1b2440, #151c31 55%, #101525);
  border: 1px solid #26314f;
}

.hero:after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  right: 7%;
  top: -100px;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, .08), 0 0 0 90px rgba(255, 255, 255, .05);
}

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

.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
  color: #8f3d65;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -3.7px;
  line-height: 1;
  margin: 18px 0;
}

.hero h1 em {
  font-style: normal;
  color: #a93d70;
}

body[data-theme=night] .hero h1 em {
  color: var(--pink);
}

.hero p {
  max-width: 510px;
  color: #5f515a;
  font-size: 14px;
}

body[data-theme=night] .hero p {
  color: #cbd2e6;
}

body[data-theme=night] .eyebrow {
  color: var(--pink);
}

.hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.kicker {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink2);
  font-weight: 950;
}

.section-head {
  margin: 44px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-head h2 {
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin: 5px 0;
}

.section-head p {
  max-width: 420px;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 8px 30px rgba(30, 20, 28, .025);
}

.card-number {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--pink-dark);
  font-weight: 950;
}

.card h3 {
  margin: 16px 0 5px;
  font-size: 16px;
}

.card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.card a {
  display: inline-block;
  margin-top: 17px;
  font-size: 12px;
  font-weight: 900;
  color: var(--pink-dark);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 11px;
}

.footer-inner {
  max-width: 1160px;
  margin: auto;
  padding: 23px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer strong {
  color: var(--ink);
}

.discrete-staff-link {
  opacity: 0.25;
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 6px;
  transition: opacity .2s, background .2s;
  user-select: none;
}

.discrete-staff-link:hover {
  opacity: 0.9;
  background: var(--soft);
}

/* =========================================================
   RECRUTEMENT : BADGE INTERACTIF JOUR (BLANC/NOIR/ROSE)
   & NUIT (BLEU NUIT/ROSE/BLANC)
   ========================================================= */

.recruit-hero-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 38px;
}

.recruit-hero-head h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  margin: 6px 0 12px;
}

.recruit-hero-head p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.application-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.badge-column {
  position: sticky;
  top: 100px;
}

/* Badge en MODE JOUR : Blanc, Noir et Rose */
.id-badge {
  --badge-bg-1: #ffffff;
  --badge-bg-2: #fdf2f7;
  --badge-border: #ead6e1;
  --badge-accent: #d9699c;
  --badge-ink: #19161c;
  --badge-muted: #79717c;
  --badge-line: rgba(25, 22, 28, 0.08);
  --badge-stripe: rgba(217, 105, 156, 0.045);
  --badge-glow: rgba(217, 105, 156, 0.14);
  position: relative;
  border-radius: 22px;
  padding: 18px 20px 20px;
  color: var(--badge-ink);
  background:
    repeating-linear-gradient(
      -35deg,
      var(--badge-stripe) 0px,
      var(--badge-stripe) 1px,
      transparent 1px,
      transparent 9px
    ),
    linear-gradient(165deg, var(--badge-bg-1), var(--badge-bg-2));
  border: 1.5px solid var(--badge-border);
  box-shadow: 0 20px 50px rgba(45, 20, 34, 0.10), 0 0 35px var(--badge-glow);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, color .35s ease;
}

/* Badge en MODE NUIT : Bleu nuit, Rose et Blanc */
body[data-theme=night] .id-badge {
  --badge-bg-1: #151d33;
  --badge-bg-2: #0d1322;
  --badge-border: rgba(244, 169, 200, 0.28);
  --badge-accent: #f4a9c8;
  --badge-ink: #f7f8fc;
  --badge-muted: rgba(247, 248, 252, 0.55);
  --badge-line: rgba(255, 255, 255, 0.09);
  --badge-stripe: rgba(244, 169, 200, 0.03);
  --badge-glow: rgba(226, 116, 166, 0.18);
  box-shadow: 0 24px 60px rgba(4, 7, 16, 0.55), 0 0 40px var(--badge-glow);
}

/* Nuances par pôle en Mode Jour (reste dans l'esprit Blanc / Noir / Rose) */
.id-badge[data-pole="911"] {
  --badge-bg-1: #ffffff;
  --badge-bg-2: #f9e8f1;
  --badge-border: #d9699c;
  --badge-accent: #b64b7d;
}
.id-badge[data-pole="Légal"] {
  --badge-bg-1: #ffffff;
  --badge-bg-2: #fceef5;
  --badge-border: #e07aa8;
  --badge-accent: #c45186;
}
.id-badge[data-pole="Illégal"] {
  --badge-bg-1: #1f1921;
  --badge-bg-2: #141016;
  --badge-border: #d9699c;
  --badge-accent: #ed9fc0;
  --badge-ink: #ffffff;
  --badge-muted: rgba(255, 255, 255, 0.58);
  --badge-line: rgba(255, 255, 255, 0.1);
}
.id-badge[data-pole="Helper"] {
  --badge-bg-1: #fff5f9;
  --badge-bg-2: #fad8e8;
  --badge-border: #d9699c;
  --badge-accent: #a93d70;
}

/* Nuances par pôle en Mode Nuit (Bleu nuit, Rose et Blanc) */
body[data-theme=night] .id-badge[data-pole="911"],
body[data-theme=night] .id-badge[data-pole="Légal"],
body[data-theme=night] .id-badge[data-pole="Illégal"],
body[data-theme=night] .id-badge[data-pole="Helper"] {
  --badge-bg-1: #18223d;
  --badge-bg-2: #0f1526;
  --badge-border: #e274a6;
  --badge-accent: #f4a9c8;
  --badge-ink: #f7f8fc;
  --badge-muted: rgba(247, 248, 252, 0.6);
  --badge-line: rgba(255, 255, 255, 0.1);
}

.badge-slot {
  width: 50px;
  height: 9px;
  border-radius: 99px;
  background: var(--badge-line);
  border: 1px solid var(--badge-border);
  margin: 0 auto 16px;
}

.badge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badge-top .badge-server {
  color: var(--badge-ink);
  opacity: 0.85;
}

.badge-top .badge-role {
  color: var(--badge-accent);
}

.badge-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 13px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      -35deg,
      var(--badge-stripe) 0px,
      var(--badge-stripe) 1px,
      transparent 1px,
      transparent 8px
    ),
    rgba(25, 22, 28, 0.06);
  border: 1px solid var(--badge-line);
  margin-bottom: 16px;
  position: relative;
}

body[data-theme=night] .badge-photo {
  background:
    repeating-linear-gradient(
      -35deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 8px
    ),
    rgba(6, 10, 20, 0.55);
}

.badge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .3s ease, transform .35s ease;
}

.badge-photo img.visible {
  opacity: 1;
  transform: scale(1);
}

.badge-pseudo {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.6px;
  color: var(--badge-ink);
  margin: 0 0 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-pseudo.empty {
  color: var(--badge-muted);
  opacity: 0.65;
}

.badge-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--badge-line);
}

.badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--badge-line);
}

.badge-row span {
  color: var(--badge-muted);
}

.badge-row strong {
  color: var(--badge-ink);
  font-weight: 800;
}

.badge-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 16px;
  padding-top: 4px;
}

.badge-id {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--badge-muted);
}

.badge-barcode {
  width: 68px;
  height: 22px;
  opacity: 0.65;
  background: repeating-linear-gradient(
    90deg,
    var(--badge-ink) 0px,
    var(--badge-ink) 2px,
    transparent 2px,
    transparent 4px,
    var(--badge-ink) 4px,
    var(--badge-ink) 5px,
    transparent 5px,
    transparent 8px,
    var(--badge-ink) 8px,
    var(--badge-ink) 11px,
    transparent 11px,
    transparent 13px
  );
}

.dossier-progress {
  margin-top: 16px;
}

.dossier-bar {
  height: 4px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.dossier-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink2), var(--pink));
  transition: width .25s ease;
}

.dossier-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

/* --- BARRE D'ÉTAPES HORIZONTALE EN HAUT DU FORMULAIRE --- */
.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.step-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
  user-select: none;
}

.step-pill .bubble {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.step-pill.active {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid rgba(217, 105, 156, 0.4);
}

.step-pill.active .bubble, .step-pill.done .bubble {
  background: var(--pink2);
  color: #fff;
  border-color: transparent;
}

/* --- CARTE DU FORMULAIRE --- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.form-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-top h2 {
  margin: 4px 0 0;
  font-size: 26px;
  letter-spacing: -0.8px;
}

.step-count {
  font-size: 11px;
  font-weight: 800;
  color: var(--pink-dark);
  background: var(--soft);
  border: 1px solid rgba(217, 105, 156, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

.q-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.q-row:last-of-type {
  border-bottom: 0;
}

.q-info label, .q-info .field-label {
  display: block;
  font-size: 13px;
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 4px;
}

.q-info label .req, .q-info .field-label .req {
  color: var(--pink2);
}

.q-info small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.q-control input:not([type="radio"]):not([type="checkbox"]),
.q-control select,
.q-control textarea,
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: 13px 15px;
  outline: none;
  font-size: 13px;
  transition: border-color .18s, box-shadow .18s;
}

.q-control input.short-input {
  max-width: 120px;
}

.q-control textarea, .field textarea {
  resize: vertical;
  min-height: 98px;
}

.q-control input:not([type="radio"]):not([type="checkbox"]):focus,
.q-control select:focus,
.q-control textarea:focus,
.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--pink2);
  box-shadow: 0 0 0 3px rgba(217, 105, 156, .16);
}

/* --- GRILLE 2x2 DES CARTES IMAGES DE PÔLES --- */
.pole-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pole-card {
  position: relative;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 13px 14px;
  color: #fff;
  background: #141218;
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
  user-select: none;
}

.pole-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pole-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) brightness(0.48);
  transform: scale(1.02);
  transition: filter .25s ease, transform .3s ease;
}

.pole-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 18, 0.08) 0%, rgba(15, 12, 18, 0.84) 100%);
  pointer-events: none;
}

.pole-card:hover {
  transform: translateY(-2px);
}

.pole-card:hover img {
  filter: grayscale(35%) brightness(0.7);
}

.pole-card.selected,
.pole-card:has(input:checked) {
  border-color: var(--pink2);
  box-shadow: 0 0 0 2px rgba(217, 105, 156, 0.3), 0 12px 28px rgba(45, 20, 34, 0.25);
}

.pole-card.selected img,
.pole-card:has(input:checked) img {
  filter: grayscale(0%) brightness(0.84);
  transform: scale(1.06);
}

.pole-check {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .2s ease, transform .2s ease;
}

.pole-card.selected .pole-check,
.pole-card:has(input:checked) .pole-check {
  opacity: 1;
  transform: scale(1);
}

.pole-card-title {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.pole-card-sub {
  position: relative;
  z-index: 2;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}

/* --- BOUTON SEGMENTÉ OUI / NON --- */
.segmented-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  min-width: 150px;
}

.segmented-option {
  position: relative;
  text-align: center;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: background .18s, color .18s;
  user-select: none;
}

.segmented-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-option:has(input:checked),
.segmented-option.active {
  background: var(--pink2);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(217, 105, 156, 0.28);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.form-actions .save-hint {
  font-size: 12px;
  color: var(--muted);
}

.form-actions .right {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label, .field-label {
  font-size: 12px;
  font-weight: 850;
}

.dossier-summary {
  display: grid;
  border-top: 1px solid var(--line);
}

.dossier-summary-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.dossier-summary-row .s-label {
  color: var(--muted);
}

.dossier-summary-row .s-value {
  font-weight: 800;
  color: var(--ink);
}

.dossier-summary-row .s-value.incomplete {
  color: var(--pink-dark);
}

.dossier-summary-row .modify-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--pink2);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.dossier-summary-row .modify-btn:hover {
  text-decoration: underline;
}

.inline-confirm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
}

.inline-confirm input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 0;
  accent-color: var(--pink2);
  cursor: pointer;
}

.inline-confirm a {
  color: var(--pink2);
  font-weight: 750;
  text-decoration: underline;
}

.review {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.review-item {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.review-item b {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
}

.review-item span {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.alert {
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 12px;
  font-size: 12px;
  color: var(--ink);
  margin: 15px 0;
  border: 1px solid var(--line);
}

.success {
  display: none;
  margin-top: 15px;
  padding: 16px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 13px;
  border: 1px solid var(--pink);
}

.hidden {
  display: none !important;
}

.staff-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  background: var(--soft);
  color: var(--pink-dark);
}

.ico {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: -2.5px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.ico-lg {
  width: 22px;
  height: 22px;
}

.theme {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Bouton Discord dans la barre de navigation et le site */
.btn-discord-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 850;
  background: var(--soft);
  color: var(--pink-dark);
  border: 1px solid rgba(217, 105, 156, 0.38);
  transition: transform .18s, background .18s, color .18s, border-color .18s;
}

.btn-discord-top:hover {
  transform: translateY(-1px);
  background: var(--pink2);
  color: #ffffff;
  border-color: var(--pink2);
}

.btn-discord-top svg,
.ico-discord {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Bannière Communauté Discord sur l'accueil */
.discord-banner {
  margin-top: 28px;
  border-radius: 24px;
  padding: 28px 32px;
  background:
    radial-gradient(circle at 90% 20%, rgba(217, 105, 156, 0.25), transparent 40%),
    var(--card);
  border: 1.5px solid var(--pink2);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.discord-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
}

.discord-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid rgba(217, 105, 156, 0.4);
  color: var(--pink2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.discord-banner-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.discord-banner h3 {
  margin: 3px 0 5px;
  font-size: 22px;
  letter-spacing: -0.6px;
}

.discord-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   COMPATIBILITÉ TÉLÉPHONE & TABLETTE (RESPONSIVE MOBILE-FIRST)
   ========================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 900px) {
  .application-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .badge-column {
    position: static;
    max-width: 380px;
    margin: 0 auto 4px;
    width: 100%;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    font-size: 15px;
  }

  .mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 18px;
  }

  .actions {
    margin-left: auto;
    gap: 6px;
  }

  .btn-discord-top .discord-label-full {
    display: none;
  }

  .theme, .btn-discord-top {
    padding: 8px 11px;
    font-size: 11.5px;
    border-radius: 10px;
  }

  .navlinks {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px;
  }

  .navlinks a {
    text-align: center;
    padding: 8px 6px;
    border-radius: 9px;
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  .navlinks a.active {
    background: var(--card);
    color: var(--pink2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .wrap {
    padding: 20px 14px 52px;
  }

  .hero {
    min-height: auto;
    padding: 26px 20px;
    border-radius: 22px;
  }

  .hero:after {
    width: 220px;
    height: 220px;
    right: -60px;
    top: -80px;
  }

  .hero h1 {
    font-size: clamp(32px, 9.5vw, 44px);
    letter-spacing: -1.8px;
    margin: 12px 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .hero-buttons a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 28px 0 14px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .discord-banner {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .discord-banner-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .discord-banner .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .recruit-hero-head h1 {
    font-size: 34px;
  }

  .step-tabs {
    gap: 6px;
    margin-bottom: 12px;
  }

  .step-pill {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 12px;
  }

  .step-pill .bubble {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .step-pill .step-name {
    display: block;
    font-size: 10.5px;
    line-height: 1.1;
  }

  .form-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .form-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 14px;
  }

  .form-top h2 {
    font-size: 22px;
  }

  .q-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px 0;
  }

  /* Évite le zoom automatique iOS Safari / Android Chrome au focus */
  .q-control input:not([type="radio"]):not([type="checkbox"]),
  .q-control select,
  .q-control textarea,
  .field input:not([type="radio"]):not([type="checkbox"]),
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 12px 13px;
  }

  .q-control input.short-input {
    max-width: 100%;
  }

  .pole-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .pole-card {
    height: 102px;
    padding: 10px 11px;
  }

  .pole-card-title {
    font-size: 13px;
  }

  .pole-card-sub {
    font-size: 10px;
  }

  .segmented-toggle {
    width: 100%;
  }

  .fields {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .dossier-summary-row {
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
  }

  .dossier-summary-row .s-value {
    grid-column: 1 / 2;
  }

  .dossier-summary-row .modify-btn {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }

  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .form-actions .save-hint {
    text-align: center;
  }

  .form-actions .right {
    width: 100%;
    margin-left: 0;
    display: flex;
    gap: 8px;
  }

  .form-actions .right button {
    flex: 1;
    justify-content: center;
    padding: 12px 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 14px;
  }
}

/* ==========================================================================
   SYSTÈME DE CANDIDATURE STAFF RETRAVAILLÉ & COFFRE DE BACKUP JOUEUR
   ========================================================================== */
.recruit-banner {
  border-radius: 26px;
  padding: 28px 32px;
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 88% 20%, rgba(217, 105, 156, 0.24), transparent 38%),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.recruit-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 680px;
}

.recruit-logo-hero {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--pink2);
  box-shadow: 0 10px 26px rgba(217, 105, 156, 0.32);
  flex-shrink: 0;
}

.recruit-logo-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recruit-banner h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -1.3px;
  line-height: 1.06;
  margin: 4px 0 8px;
}

.recruit-banner p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.recruit-steps-mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.recruit-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

.recruit-mini-chip span.num {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--pink2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  display: grid;
  place-items: center;
}

.badge-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-brand-logo {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--badge-accent);
  flex-shrink: 0;
}

.badge-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.q-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--pink2);
  border: 1px solid rgba(217, 105, 156, 0.32);
  margin-bottom: 5px;
}

.tz-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.tz-chip {
  cursor: pointer;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 750;
  transition: border-color .16s, color .16s, background .16s;
}

.tz-chip:hover {
  border-color: var(--pink2);
  color: var(--pink2);
  background: var(--soft);
}

/* Écran de Confirmation & Backup Joueur après envoi */
.backup-vault-card {
  background: var(--card);
  border: 1.5px solid var(--pink2);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  animation: fadeVault .25s ease;
}

@keyframes fadeVault {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.backup-vault-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.backup-vault-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.backup-vault-logo {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--pink2);
  box-shadow: 0 8px 22px rgba(217, 105, 156, 0.28);
  flex-shrink: 0;
}

.backup-vault-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.backup-ticket-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--soft);
  border: 1px solid rgba(217, 105, 156, 0.4);
  color: var(--pink2);
  padding: 8px 15px;
  border-radius: 11px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
}

.backup-summary-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.backup-summary-item small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.backup-summary-item strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 850;
  color: var(--ink);
}

.backup-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.backup-action-btn {
  cursor: pointer;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 15px 18px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .18s, transform .18s, background .18s;
}

.backup-action-btn:hover {
  border-color: var(--pink2);
  background: var(--soft);
  transform: translateY(-2px);
}

.backup-action-btn.primary-backup {
  background: var(--soft);
  border-color: var(--pink2);
}

.backup-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(217, 105, 156, 0.35);
  color: var(--pink2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.backup-action-btn strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 2px;
}

.backup-action-btn small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .recruit-banner {
    padding: 20px 18px;
  }
  .recruit-banner-left {
    flex-direction: column;
    align-items: flex-start;
  }
  .backup-vault-card {
    padding: 20px 16px;
  }
  .backup-summary-box,
  .backup-actions-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PIED DE PAGE UNIFIÉ & MODALE CONFIDENTIALITÉ / MENTIONS LÉGALES / CGU
   ========================================================================== */
.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  transition: border-color .16s, background .16s, color .16s, transform .15s;
}

.footer-legal-pill svg {
  width: 13.5px;
  height: 13.5px;
  color: var(--pink2);
}

.footer-legal-pill:hover {
  border-color: var(--pink2);
  background: var(--soft);
  color: var(--pink-dark);
  transform: translateY(-1px);
}

body[data-theme="night"] .footer-legal-pill:hover {
  color: var(--pink);
}

.footer-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink2);
  font-weight: 800;
  font-size: 12px;
  transition: opacity .16s;
}

.footer-discord-link:hover {
  opacity: 0.85;
}

.footer-home-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  transition: color .16s;
}

.footer-home-link:hover {
  color: var(--ink);
}

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px 14px;
}

.legal-modal-overlay.open {
  display: grid;
}

.legal-modal-box {
  width: 100%;
  max-width: 660px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--pink2);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
}

.legal-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.legal-modal-head h3 {
  margin: 3px 0 0;
  font-size: 21px;
  letter-spacing: -0.5px;
}

.legal-modal-close {
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: all .16s ease;
}

.legal-modal-close svg {
  width: 14px;
  height: 14px;
  display: block;
  pointer-events: none;
}

.legal-modal-close:hover {
  border-color: var(--pink2);
  color: var(--pink2);
  transform: scale(1.05);
}

.legal-modal-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.legal-tab-btn {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  border-radius: 11px;
  padding: 8px 13px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .16s, color .16s, border-color .16s;
}

.legal-tab-btn.active {
  background: var(--soft);
  color: var(--pink-dark);
  border-color: var(--pink2);
}

.legal-modal-body h4 {
  margin: 16px 0 5px;
  font-size: 14.5px;
  color: var(--pink2);
}

.legal-modal-body p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .footer-legal-row {
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-modal-box {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   ÉCRAN DE CHARGEMENT IMMERSIF (PRELOADER 5-10 SECONDES)
   ========================================================================== */
#starixPreloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

#starixPreloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 380px;
  width: 100%;
}

.preloader-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 22px;
}

.preloader-logo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  border: 2.5px solid transparent;
  border-top-color: var(--pink2);
  border-right-color: var(--pink);
  animation: preloaderSpin 1.8s linear infinite;
}

.preloader-logo-box {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid var(--pink2);
  box-shadow: 0 10px 30px rgba(217, 105, 156, 0.45);
  animation: preloaderPulse 2.4s ease-in-out infinite;
  background: linear-gradient(135deg, var(--pink), var(--pink2));
}

.preloader-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preloader-brand {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 6px;
}

.preloader-status-text {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  min-height: 22px;
  margin-bottom: 24px;
  transition: opacity 0.2s ease;
}

.preloader-bar-track {
  width: 100%;
  height: 7px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  border: 1px solid rgba(217, 105, 156, 0.2);
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink2), var(--pink));
  border-radius: 99px;
  transition: width 0.12s ease-out;
  box-shadow: 0 0 14px rgba(217, 105, 156, 0.65);
}

.preloader-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--muted);
}

.preloader-percent {
  color: var(--pink2);
  font-weight: 800;
  font-family: var(--font-mono);
}

.preloader-skip-btn {
  cursor: pointer;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 24px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}

.preloader-skip-btn:hover {
  color: var(--ink);
  background: var(--soft);
}

@keyframes preloaderSpin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(217, 105, 156, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 14px 42px rgba(217, 105, 156, 0.55);
  }
}




