/* Site web de StarKeepers : la nuit du jeu, sobre et lisible. Aucune ressource extérieure. */
:root { --nuit: #17102e; --nuit2: #2a1e52; --voile: rgba(255, 255, 255, .06); --trait: rgba(255, 255, 255, .14); --texte: #f1ecff; --doux: #c3b8e6; --or: #f6cd72; --or2: #e9a93f; }
* { box-sizing: border-box; }
html { background: var(--nuit); scroll-behavior: smooth; }
body { margin: 0; color: var(--texte); font: 17px/1.6 "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  background: radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 31% 62%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 68% 9%, #ffe9b0 50%, transparent 51%), radial-gradient(1px 1px at 84% 41%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 83%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 92% 77%, #cfd8ff 50%, transparent 51%), radial-gradient(1px 1px at 7% 91%, #fff 50%, transparent 51%), linear-gradient(180deg, var(--nuit) 0, var(--nuit2) 60%, #3b2a5c 100%);
  background-size: 620px 540px, 480px 610px, 710px 430px, 530px 670px, 590px 490px, 660px 720px, 440px 580px, auto; background-attachment: fixed; min-height: 100vh; }
h1, h2, h3 { font-family: "Josefin Sans", "Nunito Sans", system-ui, sans-serif; font-weight: 600; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); } h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); } h3 { font-size: 1.13rem; }
p { margin: 0 0 1em; } a { color: var(--or); } img, video { max-width: 100%; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.top, main, .foot { max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; font: 600 1.3rem "Josefin Sans", system-ui, sans-serif; letter-spacing: .02em; }
.brand img { border-radius: 10px; }
.btn { display: inline-block; font: 700 1.02rem "Nunito Sans", system-ui, sans-serif; text-decoration: none; padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; }
.btn.gold { color: #3a2408; background: linear-gradient(180deg, var(--or), var(--or2)); box-shadow: 0 6px 22px rgba(246, 205, 114, .28); }
.btn.ghost { color: var(--texte); border: 1px solid var(--trait); background: var(--voile); }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 34px 0 30px; }
.pitch p { color: var(--doux); font-size: 1.12rem; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.phone { border-radius: 28px; padding: 7px; background: #0d0920; border: 1px solid var(--trait); box-shadow: 0 22px 60px rgba(0, 0, 0, .5); overflow: hidden; }
.phone img, .phone video, .phone iframe { border-radius: 22px; width: 100%; height: auto; aspect-ratio: 390 / 780; object-fit: cover; border: 0; }
.phone.big { width: min(100%, 330px); margin: 0 auto; position: relative; }
section { padding: 34px 0; }
.perks ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perks li { background: var(--voile); border: 1px solid var(--trait); border-radius: 18px; padding: 18px; }
.perks h3 { color: var(--or); } .perks p { margin: 0; color: var(--doux); font-size: .96rem; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.strip figure { margin: 0; } .strip figcaption { color: var(--doux); font-size: .92rem; margin-top: 10px; text-align: center; }
.demo { text-align: center; } .demo > p { color: var(--doux); max-width: 36em; margin-left: auto; margin-right: auto; }
#demo-box { margin-top: 20px; } #demo-box > img { filter: brightness(.45) blur(1.5px); }
#demo-box > button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
#demo-box.live { width: min(100%, 400px); }
.foot { padding-top: 26px; padding-bottom: 34px; border-top: 1px solid var(--trait); margin-top: 30px; color: var(--doux); font-size: .92rem; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 12px; } .foot a { color: var(--texte); }
.doc { max-width: 780px; padding-top: 18px; padding-bottom: 10px; }
.doc h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); } .doc h2 { font-size: 1.3rem; margin-top: 1.8em; color: var(--or); } .doc h3 { margin-top: 1.3em; }
.doc .back a { color: var(--doux); text-decoration: none; } .doc .date { color: var(--doux); font-size: .94rem; }
.doc .note { background: var(--voile); border: 1px solid var(--trait); border-radius: 12px; padding: 10px 14px; font-size: .94rem; }
.doc li { margin-bottom: .4em; } .doc table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .96rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--trait); } .doc th { color: var(--doux); font-weight: 600; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 18px; text-align: center; } .pitch p { margin-left: auto; margin-right: auto; } .cta { justify-content: center; }
  .perks ul { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -20px; margin-right: -20px; padding: 0 20px 10px; }
  .strip figure { scroll-snap-align: center; }
}
@media (max-width: 480px) { body { font-size: 16px; } .perks ul { grid-template-columns: 1fr; } .top { padding-top: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
/* Sélecteur de langue : drapeau + nom, liste sombre comme le reste du site */
.flag { width: 24px; height: 16px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.lang { position: relative; font-size: .95rem; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 7px 14px; border-radius: 999px; background: var(--voile); border: 1px solid var(--trait); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--doux); border-bottom: 2px solid var(--doux); transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.lang[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 6px; list-style: none; min-width: 190px; background: #231a45; border: 1px solid var(--trait); border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.lang li a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--texte); text-decoration: none; }
.lang li a:hover, .lang li a:focus-visible { background: rgba(255, 255, 255, .1); }
.lang li a[aria-current] { color: var(--or); background: rgba(246, 205, 114, .1); }
/* Badges des stores */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 13px; border-radius: 12px; background: #000; border: 1px solid rgba(255, 255, 255, .45); color: #fff; text-decoration: none; min-height: 52px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: .7rem; opacity: .85; letter-spacing: .02em; } .store b { font: 600 1.12rem "Nunito Sans", system-ui, sans-serif; white-space: nowrap; }
.store.soon { cursor: default; }
.cta { align-items: center; }
/* Captures : un clic les ouvre en grand */
.phone.zoom { display: block; width: 100%; cursor: zoom-in; font: inherit; color: inherit; }
.phone img, .phone video { aspect-ratio: 390 / 780; }
.box { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: rgba(8, 5, 20, .9); backdrop-filter: blur(4px); }
.box[hidden] { display: none; }
.box img { max-height: calc(100dvh - 32px); max-width: min(100%, calc((100dvh - 32px) * .5)); width: auto; height: auto; border-radius: 22px; box-shadow: 0 20px 70px rgba(0, 0, 0, .7); }
.box button { border: 1px solid var(--trait); background: rgba(35, 26, 69, .9); color: var(--texte); border-radius: 50%; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; cursor: pointer; flex: none; }
.box-x { position: absolute; top: 14px; right: 14px; }
#demo-box.live iframe { aspect-ratio: auto; height: min(780px, calc(100dvh - 40px)); display: block; }
@media (max-width: 860px) { .stores { justify-content: center; } }
@media (max-width: 560px) { .box-nav { position: absolute; bottom: 18px; } .box-nav.prev { left: 22%; } .box-nav.next { right: 22%; } .box img { max-height: calc(100dvh - 110px); max-width: min(100%, calc((100dvh - 110px) * .5)); margin-bottom: 60px; } }
@media (max-width: 400px) { .brand span { font-size: 1.12rem; } .lang summary { padding: 6px 11px; } .store { padding: 7px 13px 7px 11px; } .store b { font-size: 1.02rem; } }
