/* Djoox Studio — feuille de style unique du site. Les polices sont auto-hébergées (aucun appel externe). */

@font-face{font-family:"Fredoka";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/fredoka-latin-ext-400-normal.fe97fe966d.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Fredoka";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/fredoka-latin-400-normal.9cf74f7035.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Fredoka";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/fredoka-latin-ext-500-normal.e3f1383246.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Fredoka";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/fredoka-latin-500-normal.7d76e44a94.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Fredoka";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/fredoka-latin-ext-600-normal.d7d22ddf9d.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Fredoka";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/fredoka-latin-600-normal.b62f2898de.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Lilita One";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/lilita-one-latin-ext-400-normal.f40903e46b.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Lilita One";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/lilita-one-latin-400-normal.d2575d4fa3.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
  color-scheme: dark;
  --bg: #0e0a22;
  --bg-2: #140f30;
  --surface: #1b1540;
  --surface-2: #241c55;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f3ff;
  --muted: #bdb5e2;
  --pink: #ff5ca8;
  --violet: #7b4dff;
  --gold: #ffc23d;
  --gold-ink: #2b1700;
  --cyan: #45e0e6;
  --accent: var(--pink);
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1120px;
  --display: "Lilita One", "Fredoka", system-ui, sans-serif;
  --body: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
}

:lang(ja) {
  --display: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --body: "Fredoka", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}
:lang(zh) {
  --display: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --body: "Fredoka", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
:lang(ja) :is(h1, h2, h3),
:lang(zh) :is(h1, h2, h3) {
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 40px;
  height: 40px;
}
.brand-name {
  font-family: "Lilita One", var(--display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-name small {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 4px;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
}
.main-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.lang {
  position: relative;
}
.lang summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary svg {
  width: 18px;
  height: 18px;
}
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.lang li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
}
.lang li a:hover,
.lang li a[aria-current="true"] {
  background: var(--surface-2);
}
.lang li span {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }
  .brand-name small {
    display: none;
  }
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(180deg, #ffd768, var(--gold));
  color: var(--gold-ink);
  box-shadow: 0 6px 0 #b86a00, 0 14px 30px rgba(255, 178, 30, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 8px 0 #b86a00, 0 18px 36px rgba(255, 178, 30, 0.3);
}
.btn-ghost {
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}
.btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- Accueil : héros ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 140%;
  z-index: -1;
  background:
    radial-gradient(40% 45% at 15% 25%, rgba(123, 77, 255, 0.45), transparent 70%),
    radial-gradient(35% 40% at 85% 30%, rgba(255, 92, 168, 0.35), transparent 70%),
    radial-gradient(30% 35% at 60% 90%, rgba(69, 224, 230, 0.18), transparent 70%);
}
.stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 200px 160px, #ffe7a8, transparent),
    radial-gradient(1px 1px at 280px 40px, #fff, transparent),
    radial-gradient(1px 1px at 60px 200px, #bfe9ff, transparent);
  background-size: 320px 240px;
}
.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    padding: 88px 0 104px;
  }
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 36em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.phone {
  position: relative;
  width: min(260px, 70vw);
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #3a2f7a, #1a1440);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.phone img {
  border-radius: 29px;
  aspect-ratio: 540 / 1140;
  object-fit: cover;
  width: 100%;
}
.phone.tilt-left {
  transform: rotate(-6deg);
}
.phone.back {
  position: absolute;
  width: min(220px, 58vw);
  transform: translate(-58%, 8%) rotate(-12deg);
  opacity: 0.85;
  filter: saturate(0.9);
}
.hero-art .phone.front {
  transform: translate(18%, 0) rotate(5deg);
}
.float {
  position: absolute;
  width: 64px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  animation: bob 6s ease-in-out infinite;
}
.float.f1 {
  top: 4%;
  left: 6%;
}
.float.f2 {
  bottom: 8%;
  right: 2%;
  width: 78px;
  animation-delay: -2s;
}
.float.f3 {
  top: 10%;
  right: 6%;
  width: 52px;
  animation-delay: -4s;
}
@keyframes bob {
  50% {
    transform: translateY(-12px) rotate(6deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .float {
    animation: none;
  }
  .btn {
    transition: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head {
  max-width: 44em;
  margin-bottom: 36px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.15rem;
}
.section-head a,
.prose a {
  color: var(--gold);
  text-underline-offset: 3px;
  font-weight: 500;
}

/* Carte de jeu (accueil) */
.games {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .games {
    grid-template-columns: 2fr 1fr;
  }
}
.game-card {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(232, 53, 138, 0.28), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(69, 224, 230, 0.16), transparent 70%),
    linear-gradient(160deg, #241c5c, #150f36);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
@media (min-width: 640px) {
  .game-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.game-card .game-id {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.game-card .game-id img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.game-card h3 {
  font-size: 2rem;
  margin: 0;
}
.genre {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
}
.facts {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.game-card .shots {
  display: flex;
  gap: 12px;
}
.game-card .shots img {
  width: 120px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.game-card .shots img:nth-child(2) {
  margin-top: 28px;
}
@media (max-width: 639px) {
  .game-card .shots {
    justify-content: center;
  }
}
.next-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  border-radius: calc(var(--radius) + 6px);
  border: 2px dashed rgba(255, 255, 255, 0.16);
  color: var(--muted);
  text-align: center;
}
.next-card .badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--surface);
  font-family: "Lilita One", var(--display);
  font-size: 2rem;
  color: var(--pink);
}
.next-card h3 {
  color: var(--text);
}

/* Valeurs du studio */
.values {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .values {
    grid-template-columns: repeat(4, 1fr);
  }
}
.value {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.value p {
  color: var(--muted);
  margin: 0;
}
.value .ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 14px;
}
.value .ico svg {
  width: 26px;
  height: 26px;
}
.value:nth-child(1) .ico {
  background: rgba(69, 224, 230, 0.14);
  color: var(--cyan);
}
.value:nth-child(2) .ico {
  background: rgba(255, 194, 61, 0.14);
  color: var(--gold);
}
.value:nth-child(3) .ico {
  background: rgba(255, 92, 168, 0.14);
  color: var(--pink);
}
.value:nth-child(4) .ico {
  background: rgba(123, 77, 255, 0.2);
  color: #b39dff;
}

/* Contact */
.contact {
  display: grid;
  gap: 20px;
  padding: 36px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(120deg, rgba(255, 92, 168, 0.2), rgba(123, 77, 255, 0.2));
  border: 1px solid var(--line);
}
@media (min-width: 760px) {
  .contact {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.contact h2 {
  margin-bottom: 0.2em;
}
.contact p {
  color: var(--muted);
  margin: 0;
}
.mail {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
}

/* ---------- Page de jeu ---------- */

.theme-zertyzzle {
  --bg: #120d2e;
  --bg-2: #181140;
  --surface: #1e1748;
  --surface-2: #261e5c;
  --muted: #c3baee;
  --accent: #ffb21e;
}

.crumbs {
  padding-top: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crumbs li + li::before {
  content: "›";
  margin-right: 6px;
  opacity: 0.6;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}

.game-hero {
  padding-top: 24px;
}
.game-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.game-title img {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.tagline {
  font-family: "Lilita One", var(--display);
  font-size: 1.4rem;
  background: linear-gradient(90deg, #ffb21e, #e8358a, #45e0e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}
.game-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border-radius: 16px;
  background: #000;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.store strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
}
a.store:hover {
  border-color: #fff;
}
.store.is-soon {
  background: rgba(255, 255, 255, 0.05);
  border-style: dashed;
  color: var(--muted);
}
.soon-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Règles */
.rules {
  display: grid;
  gap: 18px;
  counter-reset: rule;
}
@media (min-width: 800px) {
  .rules {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rule {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.rule::before {
  counter-increment: rule;
  content: counter(rule);
  position: absolute;
  top: -14px;
  left: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--gold-ink);
  font-family: "Lilita One", var(--display);
  font-size: 1.1rem;
}
.rule p {
  color: var(--muted);
  margin: 0;
}
.tiers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 8px 4px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.tiers li {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.tiers li img {
  width: 64px;
  height: 64px;
}
.tiers li:last-child img {
  width: 84px;
  height: 84px;
}
.tiers .arrow {
  align-self: center;
  color: var(--accent);
  font-size: 1.6rem;
  padding: 0 6px 28px;
}

/* Galerie */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(240px, 68vw);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  margin: 0;
  list-style: none;
  scrollbar-color: var(--surface-2) transparent;
}
.gallery figure {
  margin: 0;
  scroll-snap-align: start;
}
.gallery img {
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 540 / 1140;
  object-fit: cover;
  width: 100%;
}
.gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Fonctionnalités */
.features {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.feature h3 {
  color: var(--accent);
}
.feature p {
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq details {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-weight: 600;
  font-size: 1.1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Téléchargement */
.download {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 24px;
  padding: 36px;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(255, 178, 30, 0.22), transparent 70%),
    linear-gradient(160deg, #2a2068, #170f3c);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 860px) {
  .download {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.download .stores {
  margin-top: 0;
}
.download p {
  color: var(--muted);
  margin: 0;
}
.small-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  text-underline-offset: 3px;
}

/* ---------- Pages simples (mentions légales, 404) ---------- */

.prose {
  max-width: 760px;
  padding: 48px 0 72px;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
}
.prose p,
.prose li {
  color: var(--muted);
}
.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.notfound {
  text-align: center;
  padding: 96px 0 120px;
}
.notfound img {
  width: 96px;
  margin: 0 auto 24px;
}
.notfound p {
  color: var(--muted);
  max-width: 32em;
  margin: 0 auto 28px;
}

.chooser {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 40px 16px;
}
.chooser img {
  width: 88px;
  margin: 0 auto 16px;
}
.chooser ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 200px));
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.chooser a {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}
.chooser a:hover {
  background: var(--surface-2);
}

/* ---------- Pied de page ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0719;
  padding: 48px 0 32px;
  font-size: 0.97rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  }
}
.footer-grid p {
  color: var(--muted);
  max-width: 24em;
  margin-top: 12px;
}
.footer-grid h2 {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.footer-grid a {
  text-decoration: none;
}
.footer-grid a:hover {
  text-decoration: underline;
}
.footer-langs {
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  column-gap: 20px !important;
}
.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Plusieurs jeux ---------- */

.dev-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 194, 61, 0.14);
  border: 1px solid rgba(255, 194, 61, 0.45);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  vertical-align: 2px;
  white-space: nowrap;
}

.float.dragon {
  width: 170px;
  bottom: 2%;
  right: -4%;
}

/* Accueil : un jeu par ligne, puis l'encart « prochain jeu ». */
@media (min-width: 900px) {
  .games {
    grid-template-columns: 1fr 1fr;
  }
  .games .next-card {
    grid-column: 1 / -1;
  }
}
.next-card {
  grid-template-columns: auto 1fr;
  align-items: center;
  text-align: left;
  gap: 20px;
  padding: 22px 28px;
}
.next-card .badge {
  margin: 0;
}
.next-card h3,
.next-card p {
  margin: 0;
}
.next-card h3 {
  margin-bottom: 4px;
}
.game-card {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) and (max-width: 899px), (min-width: 1100px) {
  .game-card {
    grid-template-columns: 1fr auto;
  }
}
.game-card .shots img {
  width: 104px;
}
.card-dragon-of-rahl {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(120, 190, 255, 0.28), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(240, 192, 96, 0.16), transparent 70%),
    linear-gradient(160deg, #18304f, #0d1a2e);
}
.card-dragon-of-rahl .genre {
  color: #9fd4ff;
}

/* Page Dragon of Rahl : royaume gelé, or des blasons. */
.theme-dragon-of-rahl {
  --bg: #0b1424;
  --bg-2: #0f1c31;
  --surface: #14253d;
  --surface-2: #1b3150;
  --muted: #b9c8de;
  --accent: #f0c060;
  --cyan: #9fd4ff;
}
.theme-dragon-of-rahl .hero::before {
  background:
    radial-gradient(40% 45% at 15% 25%, rgba(90, 160, 255, 0.35), transparent 70%),
    radial-gradient(35% 40% at 85% 30%, rgba(240, 192, 96, 0.22), transparent 70%),
    radial-gradient(30% 35% at 60% 90%, rgba(159, 212, 255, 0.18), transparent 70%);
}
.theme-dragon-of-rahl .tagline {
  background: linear-gradient(90deg, #f0c060, #ffe7a8, #9fd4ff);
  -webkit-background-clip: text;
  background-clip: text;
}
.theme-dragon-of-rahl .gallery img,
.theme-dragon-of-rahl .phone img {
  aspect-ratio: 1 / 2;
}
.theme-dragon-of-rahl .phone {
  background: linear-gradient(160deg, #2b4a73, #101d33);
}
.theme-dragon-of-rahl .float {
  width: 96px;
}
.theme-dragon-of-rahl .float.f2 {
  width: 110px;
}
.theme-dragon-of-rahl .download {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(240, 192, 96, 0.2), transparent 70%),
    linear-gradient(160deg, #1d365a, #0e1b30);
}

.dragons {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .dragons {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .dragons {
    grid-template-columns: repeat(4, 1fr);
  }
}
.dragons li {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.dragons img {
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 12px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
}
.dragons h3 {
  margin-bottom: 4px;
}
.dragons p {
  color: var(--muted);
  margin: 0;
}
.dragon-aurvhal h3 { color: #9fd4ff; }
.dragon-ardrak h3 { color: #ff8a4c; }
.dragon-tonnvir h3 { color: #c9a6ff; }
.dragon-grundal h3 { color: #b7d07a; }
