/* ADZO Studio — feuille de style commune (polices système, aucune ressource externe) */
:root {
  --bg: #0f1115;
  --bg-2: #171a21;
  --card: #1c2029;
  --line: #2a2f3b;
  --text: #eef0f4;
  --muted: #a3a9b7;
  --accent: #f2b33d;
  --accent-ink: #1a1306;
  --ok: #52c98a;
  --radius: 18px;
  --wrap: 1120px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 17, 21, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.01em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 15px; font-weight: 900;
}
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Accueil */
.hero { padding: 88px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.03em; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 auto 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 700 16px var(--font); text-decoration: none; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

section { padding: 56px 0; }
.sec-title { font-size: 30px; margin: 0 0 6px; letter-spacing: -.02em; }
.sec-sub { color: var(--muted); margin: 0 0 28px; }

/* Cartes jeux */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.game {
  --g: var(--accent);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: transform .15s, border-color .15s;
}
.game:hover { transform: translateY(-3px); border-color: var(--g); }
.game-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px 14px 0; background: linear-gradient(180deg, color-mix(in srgb, var(--g) 30%, transparent), transparent); }
.game-shots img { border-radius: 10px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }
.game-body { padding: 18px 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.game-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.game h3 { margin: 0 0 2px; font-size: 21px; }
.game p { margin: 0; color: var(--muted); font-size: 15px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.tag.status { color: var(--g); border-color: color-mix(in srgb, var(--g) 50%, transparent); }

.soon { border-style: dashed; background: transparent; justify-content: center; align-items: center; text-align: center; padding: 40px 24px; min-height: 220px; }
.soon .q { font-size: 42px; color: var(--muted); font-weight: 900; }

/* Newsletter / contact */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
form { display: grid; gap: 12px; }
label { font-size: 14px; font-weight: 700; color: var(--muted); }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font: 16px var(--font);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--muted); }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.msg { font-size: 15px; min-height: 1.4em; margin: 0; }
.msg.ok { color: var(--ok); }
.msg.err { color: #ff7a7a; }

/* Fiche jeu */
.game-hero { padding: 64px 0 24px; }
.game-hero .wrap { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.game-hero .game-icon { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 10px 40px color-mix(in srgb, var(--g) 40%, transparent); }
.game-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.02em; line-height: 1.1; }
.game-hero .lead { color: var(--muted); margin: 6px 0 16px; font-size: 19px; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 8px 20px 18px; scroll-snap-type: x mandatory; max-width: var(--wrap); margin: 0 auto; }
.shots img { width: 240px; flex: none; border-radius: 16px; scroll-snap-align: start; border: 1px solid var(--line); }
.prose { max-width: 760px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 170px; padding: 9px 18px; border-radius: 12px;
  background: #000; color: #fff; border: 1px solid #444; text-decoration: none; line-height: 1.2;
}
.store small { font-size: 11px; opacity: .8; }
.store b { font-size: 18px; }
.store.off { opacity: .55; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav a.opt { display: none; }
  .hero { padding: 56px 0 36px; }
  .panel { padding: 22px; }
  .grid { grid-template-columns: 1fr; }
}

/* Page Compte ADZO */
.account { max-width: 560px; }
.account .panel { margin-top: 18px; }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.danger { background: #d9534f; color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }
.save-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.save-card:first-child { border-top: 0; }
.save-card .sec-sub { margin: 2px 0 0; font-size: 14px; }
.code-input { font-size: 26px; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
