@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Nunito:wght@400;600;700;800;900&family=Press+Start+2P&display=swap');

/* ==============================
   VARIABLES & RESET
============================== */
:root {
  --yellow:   #FFD93D;
  --yellow-dark: #F5C400;
  --red:      #FF4B4B;
  --red-dark: #E03030;
  --blue:     #3B82F6;
  --blue-dark:#1D4ED8;
  --green:    #4ADE80;
  --green-dark:#16A34A;
  --pink:     #FF6EC7;
  --purple:   #A855F7;
  --bg:       #FFFBF0;
  --card:     #FFFFFF;
  --text:     #1A1A2E;
  --muted:    #6B6B8A;
  --border:   #E8E0FF;
  --shadow-card: 0 8px 0 0 rgba(0,0,0,0.12), 0 2px 24px rgba(0,0,0,0.08);
  --shadow-btn:  0 6px 0 0 rgba(0,0,0,0.25);
  --radius:   20px;
  --radius-sm:12px;
  --max:      1100px;
  font-family: 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--text); background: var(--bg); min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; }

/* ==============================
   BACKGROUND PATTERN
============================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 217, 61, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(255, 110, 199, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 60% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(168, 85, 247, 0.1) 0%, transparent 30%);
  background-color: var(--bg);
}

/* ==============================
   POKEBALL HEADER
============================== */
.site-header {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: white;
  border: 3px solid var(--text);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 12px;
  z-index: 100;
}

.site-header.compact { margin-bottom: 30px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red);
  border: 3px solid var(--text);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 0 rgba(0,0,0,0.2);
}
.brand-mark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 50%;
  background: white;
  border-top: 3px solid var(--text);
}
.brand-mark span {
  position: relative;
  z-index: 1;
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  color: white;
  line-height: 1;
  margin-top: -8px;
}

.brand strong { display: block; font-family: 'Bangers', cursive; font-size: 1.4rem; letter-spacing: 0.05em; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 700; margin-top: 2px; }

.top-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.top-nav a {
  color: var(--text);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all 0.15s;
}
.top-nav a:hover { background: var(--yellow); border-color: var(--text); }
.top-nav .admin-link { background: var(--text); color: white; border-color: var(--text); }
.top-nav .admin-link:hover { background: var(--purple); }

/* ==============================
   MAIN LAYOUT
============================== */
main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 80px;
}
.page-shell { padding-top: 10px; }

/* ==============================
   BUTTONS
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 3px solid var(--text);
  transition: transform 0.1s, box-shadow 0.1s;
  box-shadow: var(--shadow-btn);
  position: relative;
  top: 0;
  cursor: pointer;
}
.btn:hover  { transform: translateY(-3px); box-shadow: 0 9px 0 rgba(0,0,0,0.25); }
.btn:active { transform: translateY(3px);  box-shadow: 0 2px 0 rgba(0,0,0,0.25); }

.btn-primary  { background: var(--yellow); color: var(--text); }
.btn-secondary{ background: var(--red);    color: white; }
.btn-blue     { background: var(--blue);   color: white; }
.btn-ghost    { background: white;         color: var(--text); }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: 0 4px 0 rgba(0,0,0,0.1); }

/* ==============================
   HERO — INDEX
============================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--red);
  border: 3px solid var(--text);
  border-radius: 32px;
  margin-top: 40px;
  padding: 60px 48px 0;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  box-shadow: var(--shadow-card);
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border: 40px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 50px;
  background: var(--bg);
  border-top-left-radius: 60%;
  border-top-right-radius: 60%;
}

.hero-text { padding-bottom: 70px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid var(--text);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.hero-text h1 {
  font-family: 'Bangers', cursive;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  color: white;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.2);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero-text p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  font-weight: 700;
  max-width: 420px;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 340px;
}
.hero-pokeball-big {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
  background: white;
  margin-bottom: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.hero-pokeball-big::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: var(--red);
}
.hero-pokeball-big::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: white;
  border-radius: 50%;
  border: 5px solid var(--text);
  z-index: 2;
}
.pokeball-divider {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 5px;
  background: var(--text);
  transform: translateY(-50%);
  z-index: 1;
}

/* Stickers flottants */
.sticker {
  position: absolute;
  font-size: 2.2rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(2px 4px 0 rgba(0,0,0,0.15));
  user-select: none;
  pointer-events: none;
}
.sticker-1 { top: 10%; left: 5%;  animation-delay: 0s;    font-size: 2.8rem; }
.sticker-2 { top: 20%; right: 8%; animation-delay: 0.5s;  font-size: 1.8rem; }
.sticker-3 { top: 55%; left: 3%;  animation-delay: 1s;    font-size: 2.4rem; }
.sticker-4 { bottom: 25%; right: 5%; animation-delay: 1.5s; font-size: 2rem; }
.sticker-5 { top: 8%;  left: 48%; animation-delay: 0.8s;  font-size: 1.6rem; }
.sticker-6 { bottom: 30%; left: 35%; animation-delay: 2s; font-size: 2.2rem; }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-12px) rotate(4deg); }
}

/* ==============================
   SECTIONS INDEX
============================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: var(--yellow);
  font-family: 'Bangers', cursive;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* --- ARTISTS SECTION --- */
.artists-section {
  margin-top: 80px;
  padding: 50px 48px;
  background: var(--yellow);
  border: 3px solid var(--text);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.artists-section::before {
  content: '✦ ✦ ✦';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 1.2rem;
  color: rgba(0,0,0,0.15);
  letter-spacing: 8px;
}
.artists-section h2 {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 8px;
}
.artists-section > p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.75;
  margin-bottom: 40px;
  max-width: 500px;
}

.artists-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.artist-card {
  flex: 1;
  min-width: 200px;
  background: white;
  border: 3px solid var(--text);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 6px 6px 0 var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.artist-card:hover { transform: translateY(-4px) rotate(-1deg); }

.artist-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--text);
  margin-bottom: 14px;
  object-fit: cover;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.artist-avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--text);
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}
.artist-card h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.artist-card .artist-role {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.artist-card p { font-size: 0.9rem; font-weight: 600; line-height: 1.55; color: var(--text); }

.artist-sticker {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 1.5rem;
  animation: float 4s ease-in-out infinite;
}
.artist-sticker:nth-child(2) { animation-delay: 1.2s; }
.artist-sticker:nth-child(3) { animation-delay: 0.6s; }

/* Floating stickers around artist section */
.section-stickers { position: absolute; inset: 0; pointer-events: none; }
.section-stickers span {
  position: absolute;
  font-size: 1.8rem;
  animation: float 3.5s ease-in-out infinite;
}

/* --- EXPERIENCE CARDS --- */
.experiences-section {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.exp-card {
  border: 3px solid var(--text);
  border-radius: 28px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}
.exp-card:hover { transform: translateY(-4px); }

.exp-card.card-blue { background: var(--blue); color: white; }
.exp-card.card-pink { background: var(--pink); color: white; }

.exp-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}
.exp-card h2 {
  font-family: 'Bangers', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.exp-card p { font-size: 0.95rem; font-weight: 700; opacity: 0.9; line-height: 1.6; margin-bottom: 24px; }

.exp-card .check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
  flex: 1;
}
.exp-card .check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}
.exp-card .check-list li::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.exp-deco {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 3px solid rgba(255,255,255,0.15);
}

/* --- HOW IT WORKS --- */
.how-section {
  margin-top: 60px;
  padding: 50px 48px;
  background: white;
  border: 3px solid var(--text);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
}
.how-section h2 {
  font-family: 'Bangers', cursive;
  font-size: 2.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 36px;
  text-align: center;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 32px; left: 8%;
  width: 84%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--text) 0, var(--text) 12px, transparent 12px, transparent 24px);
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 3px solid var(--text);
  border-radius: 50%;
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  box-shadow: 4px 4px 0 var(--text);
}
.step-item p { font-size: 0.88rem; font-weight: 700; line-height: 1.5; color: var(--text); }

/* ==============================
   QUIZ PAGE
============================== */
.quiz-hero {
  text-align: center;
  padding: 50px 20px 40px;
}
.quiz-hero h1 {
  font-family: 'Bangers', cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 14px;
}
.quiz-hero p { font-size: 1.05rem; font-weight: 700; color: var(--muted); max-width: 480px; margin: 0 auto; }

/* Intro card */
.intro-card {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border: 3px solid var(--text);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.intro-card h2 {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.intro-card .muted { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 24px; }

/* Form elements */
.form-grid { display: grid; gap: 16px; margin-bottom: 24px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text);
}
input, select, textarea {
  padding: 12px 16px;
  border: 2.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
  transition: border-color 0.15s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.12);
}
.required { color: var(--red); }
textarea { resize: vertical; min-height: 100px; }

/* Quiz layout — one question at a time */
.quiz-arena {
  max-width: 680px;
  margin: 0 auto;
}
.quiz-progress-wrap { margin-bottom: 24px; }
.quiz-progress-top {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--muted);
}
.quiz-progress-bar-bg {
  height: 12px;
  background: white;
  border: 2.5px solid var(--text);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress-bar-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

/* Question card — big & bold */
.question-card {
  background: white;
  border: 3px solid var(--text);
  border-radius: 28px;
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.question-card::before {
  content: '?';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: white;
  border: 3px solid var(--text);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  color: var(--red);
  box-shadow: 0 4px 0 rgba(0,0,0,0.12);
}

.q-category {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  margin-top: 16px;
}
.q-text {
  font-family: 'Bangers', cursive;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 28px;
}

/* Answer options — 2x2 grid */
.answers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.answer-option {
  padding: 14px 18px;
  background: var(--bg);
  border: 2.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text);
  text-align: left;
  transition: all 0.15s;
  cursor: pointer;
  line-height: 1.45;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.answer-option::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
  flex-shrink: 0;
  transition: all 0.15s;
}
.answer-option:hover {
  border-color: var(--yellow-dark);
  background: rgba(255, 217, 61, 0.1);
  transform: translateY(-2px);
}
.answer-option.selected {
  border-color: var(--text);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--text);
  transform: translateY(-2px);
}
.answer-option.selected::before {
  background: var(--text);
  border-color: var(--text);
}

.question-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Result card */
.result-card {
  max-width: 580px;
  margin: 0 auto;
  background: white;
  border: 3px solid var(--text);
  border-radius: 28px;
  padding: 48px 36px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.result-visual {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}
.result-card .eyebrow {
  display: inline-block;
  background: var(--green);
  color: white;
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.result-card h2 {
  font-family: 'Bangers', cursive;
  font-size: 3rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.result-card p { color: var(--muted); font-size: 0.95rem; font-weight: 700; line-height: 1.6; margin-bottom: 24px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==============================
   PERSONNALISE PAGE
============================== */
.perso-hero {
  text-align: center;
  padding: 50px 20px 40px;
}
.perso-hero h1 {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 14px;
}
.perso-hero p { font-size: 1rem; font-weight: 700; color: var(--muted); max-width: 500px; margin: 0 auto; }

.form-card {
  background: white;
  border: 3px solid var(--text);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.form-card h2 {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.form-card .muted { color: var(--muted); font-size: 0.88rem; font-weight: 600; margin-bottom: 20px; }
hr { border: none; border-top: 2px dashed var(--border); margin: 30px 0; }

/* ==============================
   NOTICES
============================== */
.notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid;
  margin-top: 16px;
}
.notice.success { background: #ECFDF5; border-color: #16a34a; color: #166534; }
.notice.error   { background: #FFF1F2; border-color: var(--red); color: #9f1239; }
.notice.subtle  { background: rgba(255,217,61,0.12); border-color: var(--yellow-dark); color: var(--text); }
.hidden { display: none !important; }

/* ==============================
   ADMIN
============================== */
body.admin-body {
  background: #1A1A2E;
  color: white;
}
body.admin-body::before {
  background-image: radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(59,130,246,0.15) 0%, transparent 40%);
  background-color: #1A1A2E;
}
body.admin-body .site-header {
  background: #252540;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
body.admin-body .brand strong, body.admin-body .brand small { color: white; }
body.admin-body .brand small { color: rgba(255,255,255,0.5); }
body.admin-body .top-nav a { color: rgba(255,255,255,0.7); }
body.admin-body .top-nav a:hover { background: rgba(255,255,255,0.1); color: white; border-color: transparent; }
body.admin-body .top-nav .admin-link { background: var(--purple); color: white; }

.admin-main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 80px;
}
.admin-title {
  font-family: 'Bangers', cursive;
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: white;
  margin-bottom: 8px;
}
.admin-sub { color: rgba(255,255,255,0.55); font-size: 0.9rem; font-weight: 700; margin-bottom: 32px; }

.auth-card {
  max-width: 420px;
  background: #252540;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px;
}
.auth-card label { color: rgba(255,255,255,0.8); }
.auth-card input {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: white;
  margin-bottom: 16px;
}
.auth-card input:focus { border-color: var(--purple); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: #252540;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}
.stat-card .stat-num {
  font-family: 'Bangers', cursive;
  font-size: 2.5rem;
  color: var(--yellow);
  line-height: 1;
}
.stat-card .stat-label { font-size: 0.78rem; font-weight: 800; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

.panel {
  background: #252540;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 20px;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.panel-header h2 {
  font-family: 'Bangers', cursive;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: white;
}

.dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.admin-toolbar input, .admin-toolbar select {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: white;
  padding: 10px 14px;
}

.tab-group { display: flex; gap: 4px; background: rgba(255,255,255,0.06); padding: 4px; border-radius: 999px; }
.tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: all 0.15s;
  border: none;
  background: transparent;
}
.tab.active { background: var(--purple); color: white; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th {
  text-align: left;
  padding: 10px 14px;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.data-table td:first-child { font-weight: 800; color: white; }
tbody tr:hover { background: rgba(255,255,255,0.04); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.badge-new    { background: rgba(59,130,246,0.2); color: #93c5fd; }
.badge-ready  { background: rgba(74,222,128,0.2); color: #4ade80; }
.badge-done   { background: rgba(168,85,247,0.2); color: #d8b4fe; }

.empty-row { color: rgba(255,255,255,0.3); text-align: center; padding: 40px; }

.status-select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.82rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  width: min(740px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #252540;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-header h2 { font-family: 'Bangers', cursive; font-size: 1.6rem; letter-spacing: 0.04em; color: white; }
.modal-body { padding: 24px; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border: none; border-radius: 50%;
  color: white; font-size: 1.4rem;
  cursor: pointer;
}

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
}
.detail-item strong { display: block; color: rgba(255,255,255,0.45); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.detail-item.full { grid-column: 1/-1; }
.answer-list { display: grid; gap: 8px; margin-top: 14px; }
.answer-list div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.answer-list strong { display: block; margin-bottom: 4px; color: rgba(255,255,255,0.6); font-size: 0.82rem; }

/* ==============================
   FOOTER
============================== */
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==============================
   PAGE TITLE (quiz/perso)
============================== */
.page-title {
  text-align: center;
  padding: 40px 20px 20px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ==============================
   ANIMATIONS & TRANSITIONS
============================== */
.fade-in {
  animation: fadeIn 0.4s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-in {
  animation: slideIn 0.35s cubic-bezier(.4,0,.2,1) both;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 840px) {
  .site-header { border-radius: 24px; flex-direction: column; align-items: flex-start; }
  .top-nav { justify-content: flex-start; }
  .hero-section { grid-template-columns: 1fr; padding: 40px 28px 0; min-height: auto; }
  .hero-visual { min-height: 200px; }
  .hero-pokeball-big { width: 160px; height: 160px; margin-bottom: 30px; }
  .experiences-section { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
  .form-grid.two { grid-template-columns: 1fr; }
  .answers-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .artists-section, .how-section, .form-card { padding: 30px 24px; }
  .exp-card { padding: 28px 24px; }
  .quiz-hero, .perso-hero { padding: 30px 10px 20px; }
  .intro-card { padding: 24px; }
  .question-card { padding: 32px 24px 24px; }
}

@media (max-width: 560px) {
  main, .site-header, .site-footer, .admin-main { width: calc(100% - 20px); }
  .top-nav a { padding: 7px 10px; font-size: 0.82rem; }
  .hero-section { padding: 30px 20px 0; }
  .hero-text h1 { font-size: 2.8rem; }
  .question-nav { flex-direction: column-reverse; gap: 10px; }
  .question-nav .btn { width: 100%; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-toolbar, .panel-header, .dashboard-actions { flex-direction: column; align-items: stretch; }
}

/* ==============================
   ADMIN — REFONTE COMPLÈTE
============================== */

/* Dark background */
body.admin-body {
  background: #0F0F1A;
}
body.admin-body::before {
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(168,85,247,0.22) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(255,75,75,0.14) 0%, transparent 38%),
    radial-gradient(ellipse at 60% 85%, rgba(59,130,246,0.16) 0%, transparent 40%),
    radial-gradient(ellipse at 5% 80%, rgba(255,217,61,0.1) 0%, transparent 35%);
  background-color: #0F0F1A;
}

/* Header overrides */
body.admin-body .site-header {
  background: rgba(20,20,35,0.85);
  border-color: rgba(168,85,247,0.3);
  backdrop-filter: blur(20px);
}
body.admin-body .brand strong { color: white; }
body.admin-body .brand small  { color: rgba(255,255,255,0.4); }
body.admin-body .top-nav a    { color: rgba(255,255,255,0.6); }
body.admin-body .top-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: transparent;
}
body.admin-body .top-nav .admin-link {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

/* ====== LOGIN ====== */
.admin-login-wrap {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 0;
}
.admin-sticker {
  position: absolute;
  animation: float 3.5s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.login-card {
  width: min(440px, 100%);
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  padding: 44px 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

/* Mini pokéball déco */
.login-pokeball {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(255,75,75,0.4);
}
.login-pokeball-inner {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: white;
}
.login-pokeball-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.6);
  transform: translateY(-50%);
}
.login-pokeball-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  border: 3px solid rgba(0,0,0,0.15);
  z-index: 2;
}

.login-eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 8px;
}
.login-title {
  font-family: 'Bangers', cursive;
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  color: white;
  text-align: center;
  margin-bottom: 6px;
}
.login-sub {
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.login-card label { color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.login-card input {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: white;
}
.login-card input::placeholder { color: rgba(255,255,255,0.25); }
.login-card input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.2);
}

/* ====== DASHBOARD HEADER ====== */
.admin-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.admin-tag {
  display: inline-block;
  background: rgba(168,85,247,0.2);
  color: var(--purple);
  border: 1px solid rgba(168,85,247,0.3);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.admin-dash-title h1 {
  font-family: 'Bangers', cursive;
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.admin-dash-title p { color: rgba(255,255,255,0.4); font-size: 0.88rem; font-weight: 700; }

.dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn.admin-ghost {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
}
.btn.admin-ghost:hover { background: rgba(255,255,255,0.12); color: white; }

/* ====== STATS ====== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.stat-card:hover { transform: translateY(-3px); border-color: rgba(168,85,247,0.3); }
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.stat-card--yellow { border-color: rgba(255,217,61,0.2); }
.stat-card--yellow::before { background: linear-gradient(135deg, rgba(255,217,61,0.08) 0%, transparent 60%); }
.stat-card--yellow .stat-num { color: var(--yellow); }
.stat-card--green { border-color: rgba(74,222,128,0.2); }
.stat-card--green::before { background: linear-gradient(135deg, rgba(74,222,128,0.08) 0%, transparent 60%); }
.stat-card--green .stat-num { color: var(--green); }

.stat-icon { font-size: 1.6rem; margin-bottom: 8px; }
.stat-num {
  display: block;
  font-family: 'Bangers', cursive;
  font-size: 3rem;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ====== TOOLBAR ====== */
.admin-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.tab-group {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.08);
  padding: 4px;
  border-radius: 999px;
}
.tab {
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: all 0.18s;
  border: none;
  background: transparent;
  cursor: pointer;
}
.tab:hover { color: rgba(255,255,255,0.75); }
.tab.active {
  background: var(--purple);
  color: white;
  box-shadow: 0 4px 12px rgba(168,85,247,0.4);
}

.search-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 4px 18px;
  flex: 1;
  min-width: 200px;
  transition: border-color 0.15s;
}
.search-label:focus-within { border-color: var(--purple); }
.search-label span { font-size: 1rem; }
.search-label input {
  background: transparent;
  border: none;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  flex: 1;
  outline: none;
  box-shadow: none;
  padding: 6px 0;
}
.search-label input::placeholder { color: rgba(255,255,255,0.25); }

/* ====== PANELS ====== */
.admin-panel { display: none; }
.admin-panel.active { display: block; }

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.panel-header h2 {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: white;
}

/* ====== TABLE ====== */
.table-wrap {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 600px;
}
.data-table thead {
  background: rgba(168,85,247,0.12);
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.data-table th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(168,85,247,0.9);
  white-space: nowrap;
}
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  vertical-align: middle;
}
.data-table td:first-child { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.data-table strong { color: white; font-weight: 800; }

.empty-row {
  color: rgba(255,255,255,0.25) !important;
  text-align: center;
  padding: 48px 20px !important;
  font-size: 0.9rem;
}

/* Status select */
.status-select {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: white;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.status-select:focus { border-color: var(--purple); }

/* Voir button inside table */
.btn.small {
  padding: 7px 16px;
  font-size: 0.82rem;
}

/* ====== MODAL ====== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #1A1A2E;
  border: 2px solid rgba(168,85,247,0.3);
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: fadeIn 0.2s ease;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  background: #1A1A2E;
  z-index: 1;
}
.modal-header h2 {
  font-family: 'Bangers', cursive;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: white;
}
.modal-body { padding: 24px 28px 32px; }

.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}
.icon-btn:hover { background: rgba(255,75,75,0.3); color: white; border-color: var(--red); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.detail-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 13px 15px;
}
.detail-item strong {
  display: block;
  color: rgba(168,85,247,0.8);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
.detail-item span { color: white; font-weight: 700; font-size: 0.9rem; }
.detail-item.full { grid-column: 1/-1; }

.answer-list { display: grid; gap: 8px; }
.answer-list div {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.answer-list strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.answer-list span { color: white; font-weight: 700; }

.modal-body h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: white;
  margin-bottom: 12px;
}

/* Admin notices */
body.admin-body .notice.success {
  background: rgba(74,222,128,0.1);
  border-color: rgba(74,222,128,0.4);
  color: var(--green);
}
body.admin-body .notice.error {
  background: rgba(255,75,75,0.1);
  border-color: rgba(255,75,75,0.4);
  color: #ff8080;
}

/* Responsive admin */
@media (max-width: 840px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .admin-dash-header { flex-direction: column; gap: 16px; }
  .dashboard-actions { width: 100%; }
  .dashboard-actions .btn { flex: 1; }
  .detail-grid { grid-template-columns: 1fr; }
  .modal-header, .modal-body { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .tab-group { width: 100%; justify-content: center; }
  .search-label { min-width: unset; }
  .panel-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .login-card { padding: 32px 24px; }
}
/* ==============================
   LOGO PNG (header)
============================== */
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* Masquer l'ancien brand-mark si jamais il reste */
.brand-mark { display: none !important; }

/* ==============================
   DUO ARTISTES
============================== */
.artists-section {
  margin-top: 80px;
  padding: 50px 48px;
  background: var(--yellow);
  border: 3px solid var(--text);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.artists-section::before {
  content: '✦ ✦ ✦';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 1.2rem;
  color: rgba(0,0,0,0.12);
  letter-spacing: 8px;
}
.artists-section .section-tag { margin-bottom: 16px; }
.artists-section h2 {
  font-family: 'Bangers', cursive;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 8px;
}
.artists-section > p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 36px;
}

.duo-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  background: white;
  border: 3px solid var(--text);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 6px 6px 0 var(--text);
}

.duo-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.duo-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid var(--text);
  display: block;
  /* Placeholder background si image manquante */
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  min-height: 200px;
}
.duo-sticker {
  position: absolute;
  font-size: 2rem;
  animation: float 3.5s ease-in-out infinite;
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,0.15));
  pointer-events: none;
}
.duo-sticker-1 { top: -14px; right: -14px; animation-delay: 0s; }
.duo-sticker-2 { bottom: -12px; left: -14px; animation-delay: 1s; }
.duo-sticker-3 { top: 50%; right: -18px; transform: translateY(-50%); animation-delay: 0.5s; font-size: 1.6rem; }

.duo-content { display: flex; flex-direction: column; gap: 10px; }
.duo-names {
  font-family: 'Bangers', cursive;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
}
.duo-role {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.duo-desc {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.85;
}
.duo-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.duo-tags span {
  background: var(--yellow);
  border: 2px solid var(--text);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
}

@media (max-width: 740px) {
  .duo-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .duo-photo-wrap { max-width: 220px; margin: 0 auto; }
  .duo-content { text-align: center; }
  .duo-tags { justify-content: center; }
  .artists-section { padding: 32px 24px; }
}

/* ==============================
   RESULT CARD — texte seul
============================== */
.result-visual {
  font-family: 'Bangers', cursive;
  font-size: 4rem;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 12px;
  animation: float 3s ease-in-out infinite;
  display: inline-block;
  background: var(--yellow);
  border: 3px solid var(--text);
  border-radius: 20px;
  padding: 10px 28px;
  box-shadow: 5px 5px 0 var(--text);
}

/* ==============================
   ADMIN — classes manquantes
   (assure compatibilité avec admin.js)
============================== */
.admin-shell { padding-top: 10px; }

/* login-card → compatibilité ancienne structure */
.login-card {
  max-width: 460px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(20px);
}
.login-card label { color: rgba(255,255,255,0.75); margin-bottom: 14px; display: flex; flex-direction: column; gap: 7px; font-weight: 800; font-size: 0.9rem; }
.login-card input {
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-weight: 700;
  outline: none;
}
.login-card input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(168,85,247,0.2); }
.login-card input::placeholder { color: rgba(255,255,255,0.25); }
.login-card .btn { margin-top: 8px; }

/* admin-dashboard */
.admin-dashboard {}

/* dashboard-header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.dashboard-header h1 {
  font-family: 'Bangers', cursive;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.dashboard-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 6px;
  display: block;
}
.dashboard-header .muted { color: rgba(255,255,255,0.4); font-size: 0.88rem; font-weight: 700; }
.dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* stats-grid articles */
.stats-grid article {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
}
.stats-grid article span {
  display: block;
  font-family: 'Bangers', cursive;
  font-size: 2.8rem;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 4px;
}
.stats-grid article p {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* search-box */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 4px 18px;
  flex: 1;
  min-width: 180px;
}
.search-box span { color: rgba(255,255,255,0.4); font-size: 0.82rem; font-weight: 800; }
.search-box input {
  background: transparent;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex: 1;
  outline: none;
  padding: 7px 0;
}
.search-box input::placeholder { color: rgba(255,255,255,0.25); }

/* admin-panel display */
.admin-panel { display: none; }
.admin-panel.active { display: block; }

/* table-wrap */
.table-wrap {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  overflow: hidden;
  overflow-x: auto;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 580px;
}
.table-wrap thead {
  background: rgba(168,85,247,0.1);
  border-bottom: 2px solid rgba(255,255,255,0.07);
}
.table-wrap th {
  text-align: left;
  padding: 13px 16px;
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(168,85,247,0.85);
  white-space: nowrap;
}
.table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  vertical-align: middle;
}
.table-wrap td strong { color: white; font-weight: 800; }
.table-wrap td:first-child { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:hover { background: rgba(255,255,255,0.03); }
.empty-row { color: rgba(255,255,255,0.25) !important; text-align: center !important; padding: 40px !important; }

/* btn small */
.btn.small { padding: 7px 14px; font-size: 0.8rem; }

/* status-select dans table */
.status-select {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: white;
  border-radius: 999px;
  padding: 6px 13px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
}
.status-select:focus { border-color: var(--purple); }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 20px;
}
.modal {
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #1A1A2E;
  border: 2px solid rgba(168,85,247,0.3);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  animation: fadeIn 0.2s ease;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky; top: 0;
  background: #1A1A2E;
  z-index: 1;
}
.modal-header h2 { font-family: 'Bangers', cursive; font-size: 1.6rem; letter-spacing: 0.04em; color: white; }
.modal-body { padding: 22px 24px 28px; }
.modal-body h3 { font-family: 'Bangers', cursive; font-size: 1.3rem; letter-spacing: 0.04em; color: white; margin: 16px 0 10px; }

.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.15s;
}
.icon-btn:hover { background: rgba(255,75,75,0.3); color: white; }

.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 9px; margin-bottom: 16px;
}
.detail-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 12px 14px;
}
.detail-item strong {
  display: block; color: rgba(168,85,247,0.75);
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 4px;
}
.detail-item span { color: white; font-weight: 700; font-size: 0.88rem; }
.detail-item.full { grid-column: 1/-1; }
.answer-list { display: grid; gap: 7px; }
.answer-list div {
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.answer-list strong {
  display: block; margin-bottom: 3px;
  color: rgba(255,255,255,0.4); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.answer-list span { color: white; font-weight: 700; }

/* Admin notices overrides */
body.admin-body .notice.success {
  background: rgba(74,222,128,0.1);
  border-color: rgba(74,222,128,0.35);
  color: #4ade80;
}
body.admin-body .notice.error {
  background: rgba(255,75,75,0.1);
  border-color: rgba(255,75,75,0.35);
  color: #ff8080;
}

/* Admin responsive */
@media (max-width: 840px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-header { flex-direction: column; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-toolbar { flex-direction: column; }
  .tab-group { width: 100%; justify-content: center; }
  .dashboard-actions { flex-direction: column; }
  .dashboard-actions .btn { width: 100%; }
}
