/* AMS France — Premium V5 */
:root{--v5-elev:0 22px 65px #0008}
html,body{max-width:100%;overflow-x:clip}
.topbar{position:relative;z-index:5;background:rgba(6,19,29,.83);backdrop-filter:blur(8px)}
.header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.header-tech{display:flex;gap:7px;align-items:center;white-space:nowrap;color:#d9f8f4;text-decoration:none;font-weight:900;font-size:10px;letter-spacing:.07em;padding:11px 13px;border-radius:999px;background:#17404a;border:1px solid #3a827f}
.header-tech strong{color:#fff;font-size:12px;letter-spacing:0}
.header-tech:hover{background:#216069}
.hero{min-height:470px}
.hero h1{max-width:840px}
.hero::after{content:'';position:absolute;right:15%;top:27%;width:290px;height:290px;border-radius:50%;background:#26e4cc20;filter:blur(60px);pointer-events:none}
.worlds{padding-top:18px}
.roulette-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);gap:22px;align-items:stretch}
.wheel-panel,.theme-panel{background:linear-gradient(160deg,#102a37,#081822);border:1px solid #275361;border-radius:20px;padding:22px;box-shadow:var(--v5-elev);min-width:0}
.wheel-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}
.wheel-panel::before{content:'';position:absolute;inset:-100px;background:radial-gradient(circle at 50% 41%,#3bccd11f,transparent 56%);pointer-events:none}
.wheel-eyebrow{width:100%;display:flex;align-items:center;gap:10px;font-size:10px;font-weight:900;letter-spacing:.18em;color:#c5e9e6;margin-bottom:12px}
.wheel-eyebrow>span:last-child{margin-left:auto;color:#ffb780;font-weight:900}
.live-dot{width:8px;height:8px;border-radius:50%;background:#58e0b6;box-shadow:0 0 12px #58e0b6}
.wheel-shell{width:min(100%,520px);aspect-ratio:1;position:relative;display:grid;place-items:center;filter:drop-shadow(0 25px 25px #0009)}
.wheel-svg{width:100%;height:auto;display:block;overflow:visible}
.wheel-segment{cursor:pointer;transition:filter .15s ease}
.wheel-segment:hover{filter:brightness(1.18)}
.wheel-segment-text{font:900 18px 'Arial Narrow',Impact,Arial,sans-serif,Arial,sans-serif;letter-spacing:.06em;fill:#fff;stroke:#00202b;stroke-width:2.6px;paint-order:stroke fill;pointer-events:none}
.wheel-symbol{font:900 42px Arial,sans-serif;fill:#fff;opacity:.97;pointer-events:none;stroke:#083040;stroke-width:1.3px;paint-order:stroke fill}
.wheel-pointer{position:absolute;z-index:7;top:-5px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:19px solid transparent;border-right:19px solid transparent;border-top:42px solid #fff6d4;filter:drop-shadow(0 3px 5px #082532);pointer-events:none}
.wheel-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;pointer-events:none}
.wheel-center strong{font:900 clamp(19px,3vw,28px)/1 'Arial Narrow',Impact,Arial,sans-serif;color:#fff}
.wheel-center span{font-size:8px;letter-spacing:.15em;color:#84eae4;font-weight:900}
.wheel-shell.is-spinning .wheel-pointer{animation:wheelclick .13s linear infinite alternate}
@keyframes wheelclick{to{transform:translateX(-50%) rotate(8deg)}}
.roulette-actions{text-align:center;width:100%;margin-top:16px;position:relative;z-index:1}
.spin-button{min-height:54px;max-width:400px;width:100%;font-size:14px;letter-spacing:.075em;box-shadow:0 7px 24px #37e3cf40}
.spin-button>span{font-size:18px;margin-right:7px}
.roulette-actions p{font-size:11px;color:#a1b9c2;line-height:1.5;margin:12px 0 2px}
.theme-panel{display:flex;flex-direction:column}
.theme-heading{margin:4px 0 16px}
.theme-heading h3{font:900 clamp(33px,4.1vw,45px)/1 'Arial Narrow',Impact,Arial,sans-serif;margin:10px 0 0}
.theme-heading h3 em{font-style:normal;color:#58ded3}
.theme-list{display:grid;gap:9px}
.theme-option{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:12px 14px;color:#fff;background:#0e2935;border:1px solid #284b58;border-radius:12px;min-width:0;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}
.theme-option:hover{border-color:#5eddd3;background:#18404b;transform:translateX(3px)}
.theme-option.active{background:#123f4d;border-color:#6ae5d7;box-shadow:inset 3px 0 0 #53e6d8,0 0 18px #00e6d119}
.theme-index{color:#5b94a0;font-size:11px;font-weight:900;flex:none}
.theme-choice-icon{width:43px;height:43px;flex:none;display:grid;place-items:center;border-radius:10px;font-size:24px;color:#fff;background:#1d5361;border:1px solid #296e76}
.theme-text{flex:1;min-width:0;display:block}
.theme-text strong{display:block;font-size:14px;letter-spacing:.05em}
.theme-text small{display:block;color:#a4bac3;font-size:11px;line-height:1.4;margin-top:4px}
.theme-arrow{color:#61dfd4;font-size:19px}
.selected-panel{margin-top:17px;padding:17px 17px 15px;background:linear-gradient(135deg,#153f4b,#102632);border:1px solid #347c85;border-radius:13px}
.selected-panel>div{display:flex;flex-direction:column;gap:6px}
.selected-panel small{font-size:10px;letter-spacing:.14em;color:#8dd9d6;font-weight:900}
.selected-panel strong{font:900 27px 'Arial Narrow',Impact,Arial,sans-serif;letter-spacing:.03em}
.selected-panel p{font-size:12px;color:#b1cad2;line-height:1.5;min-height:18px;margin:9px 0 14px}
.play-selected{width:100%;min-height:50px}

.guides-section,.faq-section{padding:55px 0 18px}
.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.guide-card{display:flex;flex-direction:column;padding:22px 19px;min-height:235px;text-decoration:none;background:linear-gradient(155deg,#122d3a,#0b1d29);border:1px solid #244656;border-radius:13px;color:#fff;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.guide-card:hover{transform:translateY(-4px);border-color:#48d2d3;box-shadow:0 20px 40px #0006}
.guide-card>span{font-size:10px;letter-spacing:.2em;color:#4fdad2;font-weight:900}
.guide-card>strong{font:900 25px/1.12 'Arial Narrow',Impact,Arial,sans-serif;margin:14px 0 8px}
.guide-card p{color:#a0b8c4;font-size:12px;line-height:1.7;margin:0 0 15px}
.guide-card>b{font-size:10px;letter-spacing:.12em;color:#53dad0;margin-top:auto}
.faq-list{max-width:1060px;display:grid;gap:11px}
.faq-list details{border:1px solid #2b4e5e;border-radius:12px;background:#102633;overflow:hidden}
.faq-list details[open]{border-color:#458f91;background:#102d3b}
.faq-list summary{list-style:none;cursor:pointer;padding:20px 23px;font-weight:800;display:flex;justify-content:space-between;gap:16px;align-items:center}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:'+';font-size:25px;line-height:.8;color:#5be0d6}
.faq-list details[open] summary::after{content:'−'}
.faq-list details p{color:#b4cbd4;padding:0 23px 21px;line-height:1.75;font-size:14px;margin:0}
.faq-list details a{color:#6eebe1}
.tech-cta{margin:45px 0 55px;padding:26px 30px;border-radius:18px;background:linear-gradient(110deg,#133c4a,#0a2432);border:1px solid #3b8591;display:flex;justify-content:space-between;align-items:center;gap:20px}
.tech-cta h2{font:900 clamp(29px,3vw,42px)/1.05 'Arial Narrow',Impact,Arial,sans-serif;margin:9px 0}
.tech-cta h2 em{color:#59ded6;font-style:normal}
.tech-cta p{margin:0;max-width:630px;line-height:1.55;color:#adcad2;font-size:13px}
.tech-call{display:flex;flex-direction:column;align-items:center;text-decoration:none;background:#50ded5;border-radius:11px;color:#05212c;padding:16px 24px;flex-shrink:0;box-shadow:0 8px 25px #42dad340}
.tech-call span{font-size:10px;letter-spacing:.09em;font-weight:900}
.tech-call strong{font:900 28px 'Arial Narrow',Impact,Arial,sans-serif;margin-top:5px}
.mobile-tech-call{display:none}

@media(max-width:1120px){
  .roulette-layout{grid-template-columns:1fr;max-width:800px;margin:0 auto}
  .guide-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .header-tech{font-size:9px}
  .header-tech strong{font-size:11px}
  .topbar{flex-wrap:wrap}
  .header-actions{width:100%;justify-content:space-between}
  .tech-cta{flex-direction:column;align-items:stretch}
  .tech-call{align-self:stretch}
  .guides-section,.faq-section{padding:37px 0 10px}
}
@media(max-width:580px){
  main{padding:0 12px}
  .topbar{padding:12px}
  .hero{padding:42px 2px 32px;min-height:370px}
  .hero h1{font-size:clamp(45px,12vw,66px)}
  .hero p{font-size:14px}
  .hero-decor{width:200px;height:200px;right:-25px;opacity:.24}
  .wheel-panel,.theme-panel{padding:14px;border-radius:15px}
  .wheel-shell{max-width:calc(100vw - 66px)}
  .wheel-pointer{top:-4px;border-left-width:13px;border-right-width:13px;border-top-width:29px}
  .wheel-center strong{font-size:19px}
  .wheel-center span{font-size:7px}
  .spin-button{font-size:12px;padding:15px 9px}
  .theme-option{padding:10px;gap:8px}
  .theme-choice-icon{width:38px;height:38px;font-size:20px}
  .theme-text strong{font-size:13px}
  .theme-text small{font-size:10px}
  .theme-arrow{font-size:16px}
  .guide-grid{grid-template-columns:1fr}
  .guide-card{min-height:185px}
  .faq-list summary{padding:16px;font-size:13px}
  .faq-list details p{padding:0 16px 18px;font-size:12px}
  .tech-cta{padding:20px 16px;margin-bottom:85px}
  footer{padding-bottom:80px}
  .mobile-tech-call{display:flex;align-items:center;justify-content:center;gap:9px;position:fixed;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));z-index:30;text-decoration:none;color:#04252c;background:#65e5d9;border:1px solid #b4fff5;border-radius:12px;font-size:13px;font-weight:900;padding:12px 9px;box-shadow:0 8px 20px #000b}
  .svg-host svg{min-width:700px;width:700px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}

/* V5.1 : la roue directement sous l'en-tête */
.worlds{padding-top:16px}
.wheel-hero{min-height:0!important;padding:8px 2px 24px!important;overflow:visible}
.wheel-hero .hero-badge{margin-bottom:11px}
.wheel-hero h1{font-size:clamp(42px,6.4vw,77px);line-height:.96;max-width:1200px}
.wheel-hero p{max-width:1050px;font-size:14px;margin:14px 0 0;line-height:1.55}
.roulette-actions{margin:8px 0 14px}
.roulette-actions p{margin:10px 0 0}
.wheel-center{z-index:9;pointer-events:auto;cursor:pointer;border:2px solid #a7fff5;border-radius:50%;width:clamp(64px,16.8%,98px);aspect-ratio:1;background:radial-gradient(circle at 35% 27%,#1b6470,#081c2c 80%);box-shadow:0 0 0 5px #092331,0 0 20px #52e9db99;transition:box-shadow .18s,transform .18s,background .18s;}
.wheel-center:hover,.wheel-center:focus-visible{box-shadow:0 0 0 6px #0b3441,0 0 35px #a2fff4;transform:translate(-50%,-50%) scale(1.08)}
.wheel-center:active{transform:translate(-50%,-50%) scale(.96)}
.wheel-center:disabled{cursor:wait;opacity:1}
.wheel-center small{display:block;font-size:6.5px;letter-spacing:.09em;color:#bafff4;margin-top:4px;font-weight:800}
.wheel-center strong{font-size:clamp(16px,2.7vw,25px)}
.wheel-center span{font-size:8px}
.wheel-upright{pointer-events:none}
.wheel-segment-text{font-family:Arial,Helvetica,sans-serif;font-size:19px;letter-spacing:.06em}
.wheel-symbol{font-size:41px}
@media(max-width:580px){
  .wheel-hero{padding:7px 0 18px!important;min-height:0!important}
  .wheel-hero h1{font-size:clamp(37px,9.2vw,53px)}
  .wheel-hero p{font-size:13px;margin:12px 0 0}
  .wheel-hero .hero-badge{font-size:9px;letter-spacing:.14em;padding:9px 10px}
  .roulette-actions{margin:8px 0 13px}
  .wheel-center{width:18%;min-width:54px;max-width:79px}
  .wheel-center strong{font-size:18px}
  .wheel-center span{font-size:7px}
  .wheel-center small{font-size:5px;margin-top:2px}
}
/* La roue est le premier élément visible de la page après le menu. */
.wheel-panel .wheel-hero{width:100%;padding:3px 0 8px!important;text-align:center;min-height:0}
.wheel-panel .wheel-hero .hero-badge{display:none}
.wheel-panel .wheel-hero h1{font-size:clamp(33px,3.4vw,49px);line-height:.97;max-width:none}
.wheel-panel .wheel-hero p{font-size:12px;margin:8px 0 3px;max-width:none}
@media(max-width:580px){
  .wheel-panel .wheel-hero h1{font-size:clamp(31px,8.8vw,41px)}
  .wheel-panel .wheel-hero p{font-size:11px;margin:7px 0 0}
}

/* V5.2 — Guides AMS France (8 articles, mise en page fluide) */
.guide-card{min-width:0}
.guide-card>strong{overflow-wrap:anywhere}
.guide-more{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 18px;border:1px solid #2a5661;background:#102733;border-radius:12px}
.guide-more span{color:#94b8c3;font-size:10px;font-weight:900;letter-spacing:.11em}
.guide-more a{color:#64e3d9;text-decoration:none;font-size:12px;font-weight:900;line-height:1.5}
.guide-more a:hover,.guide-more a:focus-visible{text-decoration:underline}
@media(max-width:580px){.guide-more{padding:14px}.guide-more a{display:block;width:100%}}

/* V5.3 — partage du score cumulé (Facebook + visuel individuel) */
.share-home{margin:12px 0 36px;border-radius:18px;border:1px solid #387d88;background:linear-gradient(105deg,#143943,#0e2230);padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 15px 35px #0005}
.share-home-lead h2{font:900 clamp(24px,3.5vw,35px)/1.08 'Barlow Condensed',Impact,Arial,sans-serif;margin:9px 0 7px}
.share-home-lead h2 em{font-style:normal;color:#60ded6}
.share-home-lead p{color:#bdd8de;font-size:13px;line-height:1.65;margin:0}
.share-home-lead strong{color:#fff;font-size:19px}
.share-home-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.social-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;padding:14px 17px;min-height:48px;min-width:0;text-align:center;white-space:normal;font-size:12px;font-weight:900;letter-spacing:.04em;line-height:1.35;cursor:pointer;text-decoration:none;transition:transform .15s ease,filter .15s ease,background .15s ease}
.social-button:hover{transform:translateY(-2px);filter:brightness(1.12)}
.social-button:focus-visible{outline:3px solid #ffb76a;outline-offset:3px}
.facebook-button{border:1px solid #6190e2;background:#1877f2;color:#fff;box-shadow:0 10px 24px #1877f244}
.subtle-button{border:1px solid #386b79;background:#183b4b;color:#fff}
.share-result{margin:20px auto 26px;max-width:850px;border:1px solid #3b858a;border-radius:18px;background:radial-gradient(circle at 80% 0%,#20778840,transparent 55%),linear-gradient(130deg,#103542,#0b2532);padding:24px;box-shadow:0 16px 38px #0007}
.share-result-top p{margin:4px auto 22px;color:#afcbd3;font-size:14px}
.share-total{font:900 clamp(54px,7vw,86px)/1 'Barlow Condensed',Impact,Arial,sans-serif;color:#6ee8de;margin:12px 0 8px;letter-spacing:-.03em}
.share-total small{font:900 clamp(14px,2vw,23px) 'DM Sans',Arial,sans-serif;color:#ffb77d;letter-spacing:.12em}
.share-result-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}
.share-result-actions .social-button{flex:1 1 205px}
.share-hint{min-height:19px!important;margin:14px 0 0!important;font-size:12px!important;color:#6ce9db!important}
@media(max-width:950px){.share-home{flex-direction:column;align-items:flex-start}.share-home-actions{width:100%;justify-content:flex-start}}
@media(max-width:580px){
  .share-home{margin:4px 0 27px;padding:18px 14px;gap:17px}
  .share-home-actions{display:grid;grid-template-columns:1fr;width:100%}
  .social-button{width:100%;padding:15px 12px;font-size:12px}
  .share-result{padding:22px 13px;margin:19px 0}
  .share-result-actions{display:grid;grid-template-columns:1fr}
  .share-total{font-size:clamp(53px,15vw,83px)}
}
