/* Blind test Wildness — socle commun (couleurs, typo, boutons en relief, stickers) */
:root {
  --ink: #15110f;
  --ink-2: #221b17;
  --ink-3: #3b302a;
  --red: #d5251f;
  --red-deep: #9b1510;
  --red-hot: #ff4632;
  --cream: #f4ead5;
  --paper: #fbf5e8;
  --mustard: #f0a920;
  --mustard-deep: #b97b06;
  --teal: #1f8a80;
  --teal-deep: #11594f;
  --green: #2fb36b;
  --green-deep: #1a7a45;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --line: 3px;
  --lift: 6px;
}

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

html,
body {
  margin: 0;
  height: 100%;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--red);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

/* Bouton « jouet » : bord noir, ombre dure, s'enfonce quand on appuie */
.btn {
  --b: var(--mustard);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.4em;
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  background: var(--b);
  color: var(--fg);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  box-shadow: 0 var(--lift) 0 var(--ink);
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s;
  cursor: pointer;
  user-select: none;
}
.btn:hover {
  filter: brightness(1.05);
}
.btn:active,
.btn.is-pressed {
  transform: translateY(calc(var(--lift) - 1px));
  box-shadow: 0 1px 0 var(--ink);
}
.btn:disabled {
  filter: grayscale(0.6) brightness(0.9);
  cursor: not-allowed;
}
.btn--red {
  --b: var(--red);
  --fg: var(--paper);
}
.btn--ink {
  --b: var(--ink);
  --fg: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 var(--lift) 0 #000;
}
.btn--cream {
  --b: var(--cream);
}
.btn--green {
  --b: var(--green);
  --fg: var(--paper);
}

/* Étiquette inclinée façon autocollant */
.sticker {
  display: inline-block;
  padding: 0.35em 0.75em 0.3em;
  border: var(--line) solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
  rotate: -3deg;
}
.sticker--mustard {
  background: var(--mustard);
}
.sticker--red {
  background: var(--red);
  color: var(--paper);
}
.sticker--ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--mustard);
}

/* Trame de points (sérigraphie) */
.halftone {
  background-image: radial-gradient(rgba(21, 17, 15, 0.16) 1.3px, transparent 1.8px);
  background-size: 11px 11px;
}

/* Grain papier sur toute la page */
.grain::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Avatar : pastille ronde avec initiale */
.avatar {
  --c: var(--mustard);
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  border: var(--line) solid var(--ink);
  background: var(--c);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  box-shadow: 0 3px 0 var(--ink);
  flex: none;
}

/* Vinyle en CSS */
.vinyl {
  --label: var(--red);
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--ink) 0 3.2%, var(--label) 3.4% 30%, #0b0908 30.4% 32%, transparent 32.2%),
    repeating-radial-gradient(circle at 50% 50%, #1b1613 0 1.1%, #0d0a09 1.2% 2.1%),
    #0d0a09;
  box-shadow: inset 0 0 0 6px #000, 0 14px 0 rgba(0, 0, 0, 0.35);
}
.vinyl::after {
  /* reflet */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 10%, rgba(255, 255, 255, 0.12) 14%, transparent 20% 60%, rgba(255, 255, 255, 0.09) 64%, transparent 70%);
}
.spin {
  animation: spin 2.4s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pop {
  0% {
    transform: scale(0.4) rotate(-8deg);
    opacity: 0;
  }
  70% {
    transform: scale(1.08) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0);
  }
}
@keyframes wobble {
  0%,
  100% {
    rotate: -3deg;
  }
  50% {
    rotate: 2deg;
  }
}
@keyframes rise {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

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

a.btn {
  text-decoration: none;
}
