.page-roue { background-color: #120130; }
.scene { position: relative; text-align: center; overflow: hidden; }

/* Le flyer à l'identique. Toutes les places sont en % de l'image (1170 × 1280). */
/* Sur téléphone, le flyer est plus large que l'écran : ses côtés (le damier) dépassent, la roue est plus grande. */
.flyer {
  position: relative;
  left: 50%;
  translate: -50% 0;
  width: min(122vw, 640px);
  aspect-ratio: 1170 / 1280;
}
.flyer img { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
/* Les bords du flyer se fondent dans le fond de la page */
.flyer__decor {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, #000 92%, transparent);
  mask-composite: intersect;
}

/* Disque : centre de la roue en (577, 764), 784 px de large */
.flyer__disque {
  position: absolute; z-index: 1;
  left: 15.812%; top: 29.0625%;
  width: 67.009%; aspect-ratio: 1;
  will-change: transform;
}
.flyer__eclats { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.roue__eclat { fill: #fff; opacity: 0; mix-blend-mode: screen; }
.roue__eclat.gagne { animation: eclat 1.1s ease-in-out 3; }
@keyframes eclat { 50% { opacity: .32; } }

/* Bouton « TOURNE LA ROUE » : 386 px de large, centré sur la roue */
.flyer__bouton {
  position: absolute; z-index: 3;
  left: 32.821%; top: 44.609%;
  width: 32.991%; aspect-ratio: 1;
  padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s var(--sortie);
}
.flyer__bouton:active { transform: scale(.96); }
/* Appel à appuyer : une onde rose part du bouton tant que la roue attend */
.flyer__bouton::before {
  content: ''; position: absolute; inset: 9%; border-radius: 50%; pointer-events: none;
  border: 3px solid #ff2fbf; box-shadow: 0 0 18px #ff2fbf; opacity: 0;
}
.flyer__bouton[aria-disabled='false']::before { animation: appel-onde 2.6s cubic-bezier(.22, 1, .36, 1) .6s infinite; }
.flyer__bouton[aria-disabled='false'] { animation: appel-battement 2.6s ease-in-out .6s infinite; }
@keyframes appel-onde { 0% { opacity: 0; transform: scale(1); } 8% { opacity: .95; } 60%, 100% { opacity: 0; transform: scale(1.45); } }
@keyframes appel-battement { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.05); } 20% { transform: scale(1); } }
.flyer__bouton:focus-visible { outline: 3px solid #ffffff; outline-offset: -6%; }
.flyer__bouton[aria-disabled='true'] { cursor: default; }
html.attente .flyer__bouton { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { filter: drop-shadow(0 0 16px #ff2fbf); } }

.statut { min-height: 22px; margin: 4px 16px 0; color: var(--gris); font-size: 13.5px; font-weight: 600; }

/* Fenêtre avis */
.etoiles { display: flex; justify-content: center; gap: 8px; margin: 2px 0 14px; color: #ffc93c; }
.etoiles svg { width: 30px; height: 30px; fill: currentColor; filter: drop-shadow(0 0 6px #ffc93c88); }
.avis__g { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: inline-grid; place-items: center; vertical-align: middle; margin-right: 8px; }
.avis__g svg { width: 18px; height: 18px; }
.avis__note { margin-top: 12px !important; font-size: 12.5px; color: var(--gris); }
.avis__app { margin-top: 14px; padding: 12px; background: var(--carte-2); border: 1px solid var(--bord); border-radius: 12px; font-size: 13.5px; }

/* Formulaire du gain */
.gain__lot { margin: 4px 0 0; font: italic 900 clamp(28px, 8.4vw, 38px)/1.05 var(--titre); color: #ffffff; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 0 14px #ff2fbf; }
.gain__intro { margin-top: 10px !important; color: var(--gris); font-size: 13.5px; }
.champ { text-align: left; margin-top: 14px; }
.champ label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--creme); }
.champ input, .tel {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--bord);
  background: #120128; color: var(--creme); font: 500 16px var(--texte); padding: 0 14px;
}
.champ input::placeholder, .tel input::placeholder { color: #8d73a6; }
.champ input:focus, .tel:focus-within { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px #ff2fbf40; }
.champ input[aria-invalid='true'], .tel[data-invalide='true'] { border-color: var(--rouge); }
.tel { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.tel input { border: 0; min-height: 47px; background: transparent; color: var(--creme); font: 500 16px var(--texte); padding: 0 14px; width: 100%; box-shadow: none !important; outline: none; }
.tel__pays { position: relative; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 12px; border-right: 1px solid var(--bord); font-weight: 700; flex: none; }
.tel__pays select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.tel__pays svg { width: 10px; height: 10px; fill: none; stroke: var(--gris); stroke-width: 2.5; }
.champ__erreur { margin: 6px 2px 0 !important; color: var(--rouge); font-size: 12.5px; font-weight: 700; }
.suggestion { margin: 6px 2px 0; padding: 0; border: 0; background: none; color: var(--or-clair); font: 600 12.5px var(--texte); cursor: pointer; text-align: left; }
.suggestion strong { text-decoration: underline; }
.gain__mention { margin-top: 12px !important; color: #a98bc0; font-size: 11.5px; }
.gain__erreur { margin-top: 12px !important; color: var(--rouge); font-size: 13px; font-weight: 700; }
.envoye__icone { width: 62px; height: 62px; margin: 0 auto 6px; display: block; }
.envoye__titre { margin: 4px 0 0; font: italic 900 28px/1.1 var(--titre); color: var(--vert); text-transform: uppercase; }
.envoye__aide { margin-top: 8px !important; font-size: 12.5px; color: var(--gris); }
.dates { margin-top: 16px; padding: 12px; border-radius: 12px; background: var(--carte-2); border: 1px solid var(--bord); }
.dates__label { display: block; color: var(--gris); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.dates__valeur { display: block; margin-top: 4px; font-size: 16px; }
.dates__valeur strong { color: var(--or-clair); }

.confettis { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
