/* ==========================================================================
   SurpriMoi — feuille principale, MOBILE-FIRST
   Les styles de base visent le téléphone ; chaque @media (min-width) enrichit
   pour tablette (≥700px) puis ordinateur (≥900px).
   Les thèmes (ex. noel.css) ne changent que les variables de :root.
   ========================================================================== */

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

:root {
  /* palette */
  --gold: #c9a34f; --gold-dark: #a8842f; --gold-light: #f5e6c0;
  --pink: #ff9cb0; --pink-dark: #ff7f50;
  --dark: #2a2a2a; --grey: #777;
  /* typographie */
  --font-display: 'Poppins', system-ui, sans-serif;
  --ds: 1; --h1-weight: 900; --h2-weight: 800; --tracking: -1px; --tracking-2: -.5px;
  /* page + en-tête */
  --page-bg: radial-gradient(circle at 50% 0%, #fff7e6 0%, #fdf1e0 40%, #f7e8d0 100%); --page-base: #fdf1e0;
  --head-bg: rgba(255,251,233,.92); --head-line: rgba(201,163,79,.15);
  --head-text: var(--gold-dark); --head-hover: var(--pink-dark); --brand: var(--gold-dark); --link: var(--gold-dark);
  --ball-bg: linear-gradient(135deg, var(--gold), var(--pink)); --ball-shadow: rgba(201,163,79,.4);
  --nav-hover-bg: rgba(201,163,79,.14); --nav-active-bg: rgba(201,163,79,.24); --nav-active-text: var(--gold-dark); --nav-active-line: rgba(201,163,79,.5);
  /* boutons */
  --btn-bg: linear-gradient(90deg, var(--gold), var(--gold-dark)); --btn-shadow: rgba(201,163,79,.45); --btn-line: transparent;
  --ghost: var(--gold-dark); --ghost-line: var(--gold); --ghost-hover: rgba(201,163,79,.08);
  /* titres + héros */
  --h: var(--gold-dark); --h-alt: var(--gold-dark);
  --hero-h: var(--gold-dark); --hero-text: var(--grey);
  --hero-chip-bg: rgba(255,255,255,.85); --hero-chip-line: rgba(201,163,79,.25); --hero-chip-text: var(--gold-dark);
  /* surfaces */
  --surface: rgba(255,255,255,.85); --surface-line: rgba(201,163,79,.15); --surface-shadow: rgba(201,163,79,.1);
  --soft: var(--gold-light); --accent: var(--gold); --sel: var(--gold-light);
  --card-bg: rgba(255,255,255,.92); --card-line: rgba(201,163,79,.15); --card-shadow: 0 20px 50px rgba(201,163,79,.18), 0 4px 12px rgba(0,0,0,.04);
  --opt-line: #f0e4cc;
  --gift-bg: linear-gradient(135deg, #fff7e6, #fdece0); --gift-line: var(--gold);
  --band-bg: linear-gradient(135deg, #fff7e6, #fdece0); --band-line: var(--gold); --band-style: dashed;
  --band-h: var(--gold-dark); --band-text: var(--grey);
  /* pied de page */
  --foot-bg: #2a2a2a; --foot-text: #ddd; --foot-brand: var(--gold); --foot-muted: #999; --foot-line: #3a3a3a; --foot-top: none;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--page-base); }
/* fond fixe sur un pseudo-élément : fonctionne aussi sur iPhone (background-attachment: fixed y est ignoré) */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--page-bg); pointer-events: none; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark); line-height: 1.5;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

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

/* ===== Étoiles de fond ===== */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.star { position: absolute; background: var(--gold); border-radius: 50%; animation: twinkle 3s infinite ease-in-out; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: .6; transform: scale(1.2); } }

/* ===== En-tête interactif : menu repliable sur mobile (sans JavaScript) ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2px 12px; padding: 10px 14px;
  background: var(--head-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--head-line); transition: padding .25s, box-shadow .25s;
}
.topbar::after { /* barre de progression de lecture (largeur pilotée par fx.js) */
  content: ''; position: absolute; left: 0; bottom: -1px; width: var(--p, 0%); height: 3px;
  background: var(--ball-bg); border-radius: 0 3px 3px 0; pointer-events: none;
}
.topbar.scrolled { padding-top: 6px; padding-bottom: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .5px;
  color: var(--brand); text-decoration: none;
}
.logo .ball {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ball-bg); color: #fff; font-size: 19px;
  box-shadow: 0 6px 18px var(--ball-shadow); animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 12px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.nav-toggle i { display: block; width: 22px; height: 2.5px; background: var(--head-text); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-check:checked ~ .nav-toggle i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-check:checked ~ .nav-toggle i:nth-child(2) { opacity: 0; }
.nav-check:checked ~ .nav-toggle i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-check:focus-visible ~ .nav-toggle { outline: 3px solid var(--gold); }

.topbar nav { display: none; flex: 1 0 100%; flex-direction: column; gap: 4px; padding: 6px 0 12px; }
.nav-check:checked ~ nav { display: flex; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; } /* défile si l'écran est petit (paysage) */
.nav-check:checked ~ nav > * { animation: navIn .35s both; }
.nav-check:checked ~ nav > :nth-child(2) { animation-delay: .04s; } .nav-check:checked ~ nav > :nth-child(3) { animation-delay: .08s; }
.nav-check:checked ~ nav > :nth-child(4) { animation-delay: .12s; } .nav-check:checked ~ nav > :nth-child(5) { animation-delay: .16s; }
.nav-check:checked ~ nav > :nth-child(6) { animation-delay: .2s; } .nav-check:checked ~ nav > :nth-child(7) { animation-delay: .24s; }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.topbar nav a {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 13px 12px; border-radius: 12px;
  color: var(--head-text); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: color .2s, background .2s, box-shadow .2s;
}
.topbar nav a .ni { display: inline-block; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.topbar nav a:not(.btn-mini):active { background: var(--nav-hover-bg); }
.topbar nav a:not(.btn-mini)[aria-current="page"] { background: var(--nav-active-bg); color: var(--nav-active-text); box-shadow: inset 0 0 0 1px var(--nav-active-line); } /* page affichée */

.btn-mini {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 22px; border-radius: 40px; font-weight: 700; text-decoration: none;
  background: var(--btn-bg); color: #fff !important; border: 1px solid var(--btn-line);
  box-shadow: 0 8px 20px var(--btn-shadow); transition: transform .2s;
}
.topbar nav .btn-mini { margin-top: 6px; padding: 12px 22px; border-radius: 40px; } /* garde sa forme de bouton (plus fort que le style des liens du menu) */
.topbar nav .btn-mini::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: ring 3s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 var(--btn-shadow); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
.topbar nav .btn-mini[aria-current="page"] { box-shadow: 0 0 0 3px var(--nav-active-line), 0 8px 20px var(--btn-shadow); }
.badge-n {
  display: inline-block; min-width: 18px; height: 18px; line-height: 18px; margin-left: 5px; padding: 0 5px;
  border-radius: 9px; background: #e53935; color: #fff; font-size: 11px; font-weight: 700; text-align: center;
}
.me { display: inline-flex; align-items: center; gap: 8px; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
.avatar.big { width: 110px; height: 110px; font-size: 44px; }
[hidden] { display: none !important; }

@media (min-width: 901px) {
  .topbar { flex-wrap: nowrap; gap: 20px; padding: 14px 30px; }
  .topbar.scrolled { padding-top: 8px; padding-bottom: 8px; }
  .logo { font-size: 20px; }
  .logo .ball { width: 40px; height: 40px; font-size: 21px; }
  .nav-toggle { display: none; }
  .topbar nav, .nav-check:checked ~ nav { display: flex; flex: 0 1 auto; flex-direction: row; align-items: center; gap: 4px; padding: 0; max-height: none; overflow: visible; }
  .nav-check:checked ~ nav > * { animation: none; }
  .topbar nav a { padding: 8px 14px; font-size: 14px; }
  .topbar nav .btn-mini { margin: 0 0 0 8px; padding: 10px 22px; }
}
@media (hover: hover) {
  .topbar nav a:not(.btn-mini):hover { background: var(--nav-hover-bg); color: var(--head-hover); }
  .topbar nav a:not(.btn-mini)[aria-current="page"]:hover { background: var(--nav-active-bg); }
  .topbar nav a:hover .ni { transform: translateY(-2px) scale(1.25) rotate(-8deg); }
  .logo:hover .ball { animation-duration: .8s; }
  .btn-mini:hover { transform: translateY(-2px); }
}

/* ===== Pages ===== */
.page { position: relative; z-index: 5; width: 100%; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Boutons ===== */
.cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 16px 30px; border-radius: 50px; border: 2px solid var(--btn-line);
  background: var(--btn-bg); color: #fff; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none; letter-spacing: .5px;
  cursor: pointer; box-shadow: 0 12px 30px var(--btn-shadow);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.cta::before {
  content: ''; position: absolute; inset: 0; transform: translateX(-100%); transition: transform .6s;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
}
.cta:active { transform: scale(.98); }
.cta.ghost { background: transparent; color: var(--ghost); border: 2px solid var(--ghost-line); box-shadow: none; display: flex; width: 100%; margin-top: 10px; padding: 14px 24px; }
@media (hover: hover) {
  .cta:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 50px var(--btn-shadow); }
  .cta:hover::before { transform: translateX(100%); }
  .cta.ghost:hover { background: var(--ghost-hover); }
}
@media (min-width: 700px) {
  .cta { padding: 20px 46px; font-size: 16px; }
  .cta.ghost { display: inline-flex; width: auto; margin: 0 0 0 10px; padding: 16px 34px; }
}

/* ============================ ACCUEIL ============================ */
.hero { position: relative; max-width: 1000px; margin: 0 auto; padding: 36px 18px 24px; text-align: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 16px; border-radius: 40px;
  background: var(--hero-chip-bg); border: 1px solid var(--hero-chip-line); color: var(--hero-chip-text);
  font-size: 12.5px; font-weight: 600; line-height: 1.3; box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.hero .badge .dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: .4; } }
.hero h1 {
  font-family: var(--font-display); font-weight: var(--h1-weight); color: var(--hero-h);
  font-size: calc(var(--ds) * clamp(34px, 8vw, 54px)); line-height: 1.1; letter-spacing: var(--tracking); margin-bottom: 18px;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--pink-dark), var(--gold), var(--pink)); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p.lead { max-width: 620px; margin: 0 auto 28px; color: var(--hero-text); font-size: clamp(15.5px, 2.4vw, 18px); line-height: 1.65; }
.hero .trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 22px; color: var(--hero-text); font-size: 13px; font-weight: 500; }
.hero .trust span { display: flex; align-items: center; gap: 6px; }
@media (min-width: 700px) { .hero { padding: 70px 25px 40px; } .hero .badge { font-size: 13px; padding: 8px 20px; margin-bottom: 26px; } .hero h1 { margin-bottom: 22px; } .hero p.lead { margin-bottom: 36px; } .hero .trust { gap: 10px 20px; margin-top: 26px; font-size: 13.5px; } }

.section { width: 100%; max-width: 1000px; margin: 0 auto; padding: 36px 18px; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-family: var(--font-display); font-weight: var(--h2-weight); color: var(--h); font-size: calc(var(--ds) * clamp(26px, 6vw, 38px)); letter-spacing: var(--tracking-2); margin-bottom: 10px; }
.section-head p { max-width: 560px; margin: 0 auto; color: var(--grey); font-size: 15px; }
@media (min-width: 700px) { .section { padding: 60px 25px; } .section-head { margin-bottom: 50px; } .section-head p { font-size: 16px; } }

.steps { display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: 14px; }
.step { position: relative; padding: 36px 22px 26px; text-align: center; background: var(--surface); border: 1px solid var(--surface-line); border-radius: 22px; box-shadow: 0 12px 30px var(--surface-shadow); transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.step .num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ball-bg); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 6px 16px var(--ball-shadow); }
.step .ico { display: inline-block; margin-bottom: 14px; font-size: 44px; }
.step h3 { margin-bottom: 8px; color: var(--h); font-size: 18px; font-weight: 700; }
.step p { color: var(--grey); font-size: 14.5px; line-height: 1.6; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } .step { padding: 40px 26px 32px; border-radius: 24px; } .step .ico { font-size: 48px; margin-bottom: 16px; } .step h3 { font-size: 19px; } }
@media (hover: hover) { .step:hover { transform: translateY(-8px); box-shadow: 0 20px 45px var(--surface-shadow); } }

.features { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature { display: flex; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--surface-line); border-radius: 18px; transition: background .25s, transform .25s; }
.feature .f-ico { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--soft); font-size: 24px; }
.feature h4 { margin-bottom: 4px; color: var(--h-alt); font-size: 16px; font-weight: 700; }
.feature p { color: var(--grey); font-size: 13.5px; line-height: 1.55; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); gap: 20px; } .feature { gap: 18px; padding: 24px; } .feature .f-ico { width: 52px; height: 52px; font-size: 26px; } }
@media (hover: hover) { .feature:hover { background: #fff; transform: translateX(5px); } }

.testimonials { display: grid; grid-template-columns: 1fr; gap: 16px; }
.testi { position: relative; padding: 30px 20px 22px; background: var(--surface); border: 1px solid var(--surface-line); border-radius: 22px; box-shadow: 0 10px 25px var(--surface-shadow); transition: transform .3s; }
.testi::before { content: '"'; position: absolute; top: 8px; left: 18px; color: var(--gold-light); font: 60px/1 Georgia, serif; }
.testi p { position: relative; margin-bottom: 14px; color: #555; font-size: 14.5px; font-style: italic; line-height: 1.6; }
.testi .author { color: var(--h); font-size: 13px; font-weight: 700; }
.stars-row { margin-bottom: 10px; color: #ffc107; font-size: 15px; letter-spacing: 2px; }
@media (min-width: 800px) { .testimonials { grid-template-columns: repeat(3, 1fr); gap: 22px; } .testi { padding: 32px 24px 26px; } }
@media (hover: hover) { .testi:hover { transform: translateY(-5px); } }

.final-cta { position: relative; overflow: hidden; width: calc(100% - 32px); max-width: 900px; margin: 24px auto 40px; padding: 38px 20px; text-align: center; background: var(--band-bg); border: 2px var(--band-style) var(--band-line); border-radius: 26px; }
.final-cta h2 { position: relative; margin-bottom: 12px; font-family: var(--font-display); font-weight: var(--h2-weight); color: var(--band-h); font-size: calc(var(--ds) * clamp(24px, 5.5vw, 32px)); }
.final-cta p { position: relative; max-width: 500px; margin: 0 auto 24px; color: var(--band-text); font-size: 15px; }
.final-cta .cta { position: relative; }
@media (min-width: 700px) { .final-cta { margin: 30px auto 60px; padding: 55px 40px; border-radius: 32px; } .final-cta p { font-size: 16px; margin-bottom: 28px; } }

/* ============================ QUIZ ============================ */
.quiz-stage { width: 100%; max-width: 720px; margin: 0 auto; padding: 18px 14px 56px; }
.card { padding: 28px 18px; text-align: center; background: var(--card-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--card-line); border-radius: 22px; box-shadow: var(--card-shadow); animation: cardIn .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.question-emoji { display: inline-block; margin-bottom: 10px; font-size: 44px; animation: float 3s ease-in-out infinite; }
.question-title { margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; color: var(--h); font-size: calc(var(--ds) * clamp(21px, 5.2vw, 26px)); line-height: 1.25; }
.question-sub { margin-bottom: 24px; color: #888; font-size: 14.5px; }
.options { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.opt {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px;
  padding: 12px 14px; text-align: left; background: #fff; color: var(--dark);
  border: 2px solid var(--opt-line); border-radius: 18px; font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.3; cursor: pointer;
  transition: border-color .25s, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .25s;
}
.opt .opt-icon { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); font-size: 22px; transition: all .25s; }
.opt .opt-text { flex: 1; }
.opt .opt-sub { display: block; margin-top: 2px; color: #999; font-size: 12.5px; font-weight: 400; }
.opt:active { transform: scale(.985); }
.opt.selected { border-color: var(--accent); background: linear-gradient(90deg, #fff, var(--sel)); box-shadow: 0 8px 20px var(--surface-shadow); }
.opt.selected .opt-icon { background: var(--accent); }
.nav-back { margin-top: 18px; padding: 10px 16px; border: none; border-radius: 10px; background: transparent; color: var(--h); font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; opacity: .7; }
@media (min-width: 700px) {
  .quiz-stage { padding: 40px 20px 80px; }
  .card { padding: 45px 35px; border-radius: 28px; }
  .question-emoji { font-size: 56px; margin-bottom: 12px; }
  .question-sub { margin-bottom: 30px; font-size: 15px; }
  .options { gap: 14px; margin-top: 10px; }
  .opt { gap: 16px; padding: 18px 22px; font-size: 16px; }
  .opt .opt-icon { width: 44px; height: 44px; font-size: 26px; }
}
@media (hover: hover) {
  .opt:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 28px var(--surface-shadow); }
  .opt:hover .opt-icon { background: var(--accent); transform: rotate(-6deg) scale(1.08); }
  .nav-back:hover { opacity: 1; background: rgba(201,163,79,.1); }
}

.result-card { text-align: center; }
.result-ball { position: relative; width: 100px; height: 100px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--ball-bg); color: #fff; font-size: 46px; box-shadow: 0 20px 50px var(--ball-shadow); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.result-title { margin-bottom: 8px; font-family: var(--font-display); font-weight: 800; color: var(--h); font-size: calc(var(--ds) * clamp(24px, 6vw, 30px)); }
.result-sub { margin-bottom: 22px; color: #777; font-size: 14.5px; }
.gift-box { position: relative; margin-bottom: 22px; padding: 20px; text-align: left; background: var(--gift-bg); border: 2px dashed var(--gift-line); border-radius: 20px; }
.gift-box h3 { margin-bottom: 8px; color: var(--h); font-size: 18px; }
.gift-box p { color: #666; font-size: 14.5px; line-height: 1.6; }
@media (min-width: 700px) { .result-ball { width: 130px; height: 130px; font-size: 60px; margin-bottom: 24px; } .result-sub { font-size: 15px; margin-bottom: 26px; } .gift-box { padding: 24px; margin-bottom: 24px; } }

.confetti { position: fixed; top: -20px; z-index: 200; width: 10px; height: 10px; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: 0; } }

/* ============================ PIED DE PAGE ============================ */
footer { position: relative; z-index: 5; margin-top: auto; padding: 36px 20px 24px; background: var(--foot-bg); color: var(--foot-text); border-top: var(--foot-top); text-align: center; }
footer .f-grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1000px; margin: 0 auto 24px; }
footer .f-col h4 { margin-bottom: 10px; color: var(--foot-brand); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
footer .f-col a.fl { display: block; padding: 8px 0; color: #bbb; font-size: 14px; text-decoration: none; transition: color .2s, transform .2s; }
footer .f-logo { margin-bottom: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--foot-brand); }
footer p.tag { margin-bottom: 18px; color: var(--foot-muted); font-size: 13.5px; font-style: italic; }
footer .socials { display: flex; justify-content: center; gap: 12px; }
footer .socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--foot-brand); text-decoration: none; transition: all .25s; }
footer .socials svg { width: 20px; height: 20px; }
footer .copyright { max-width: 1000px; margin: 0 auto; padding-top: 18px; border-top: 1px solid var(--foot-line); color: #777; font-size: 12.5px; }
@media (min-width: 760px) {
  footer { padding: 48px 25px 28px; text-align: left; }
  footer .f-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 28px; }
  footer .f-col a.fl { padding: 5px 0; }
  footer .socials { justify-content: flex-start; }
  footer .copyright { text-align: center; }
}
@media (hover: hover) {
  footer .f-col a.fl:hover { color: var(--foot-brand); transform: translateX(3px); }
  footer .socials a:hover { background: var(--foot-brand); color: #fff; transform: translateY(-3px); }
  footer .socials a.discord:hover { background: #5865f2; box-shadow: 0 8px 20px rgba(88,101,242,.45); }
}
