:root {
  --bg: #08050a;
  --bg2: #130912;
  --ink: #fff3df;
  --muted: rgba(255, 243, 223, 0.72);
  --hot: #ff3b1f;
  --gold: #ffcf4a;
  --cyan: #56f2ff;
  --panel: rgba(15, 10, 18, 0.82);
  --line: rgba(255, 243, 223, 0.16);
  --shadow: 0 24px 70px rgba(0,0,0,.48);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 59, 31, .23), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(86, 242, 255, .11), transparent 32%),
    linear-gradient(135deg, var(--bg), var(--bg2) 58%, #050307);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  min-height: 100vh;
}
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .08;
  z-index: 20;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.22) 3px),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(255,255,255,.12) 8px);
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
.site-header {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0,0,0,.26);
  box-shadow: var(--shadow);
  position: sticky;
  top: 12px;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 58px; height: 58px; display: grid; place-items: center;
  border: 2px solid var(--gold); color: var(--gold); border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,59,31,.25), rgba(255,207,74,.08));
  font-size: 20px; font-weight: 900; letter-spacing: -1px;
  box-shadow: 0 0 28px rgba(255, 59, 31, .22);
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(20px, 3vw, 32px); line-height: .95; text-transform: uppercase; letter-spacing: -2px; }
.brand p, .micro { color: var(--muted); font-size: 12px; line-height: 1.45; }
.top-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.top-nav a { padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.top-nav a:hover { color: var(--ink); border-color: rgba(255,207,74,.55); background: rgba(255,207,74,.08); }
main { width: min(1180px, calc(100% - 28px)); margin: 22px auto 0; }
.hero { display: grid; grid-template-columns: 1.7fr .85fr; gap: 18px; min-height: 520px; align-items: stretch; }
.hero-copy, .currency-panel, .section {
  border: 1px solid var(--line); border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent), var(--panel);
  box-shadow: var(--shadow);
}
.hero-copy { padding: clamp(26px, 6vw, 64px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.hero-copy::after {
  content: "DRM FREE"; position: absolute; right: -28px; bottom: 20px;
  font-size: clamp(70px, 13vw, 150px); font-weight: 900; letter-spacing: -9px;
  color: rgba(255,255,255,.035); transform: rotate(-5deg);
}
.kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; margin-bottom: 12px; }
.hero h2, .section h2 { font-size: clamp(36px, 7vw, 82px); line-height: .88; letter-spacing: -5px; max-width: 850px; }
.hero-copy > p:not(.kicker), .section-title p, .split > div > p, .faq p { color: var(--muted); line-height: 1.62; max-width: 720px; margin-top: 18px; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  appearance: none; border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.04);
  border-radius: 16px; padding: 14px 18px; font: inherit; font-weight: 900; text-transform: uppercase;
  cursor: pointer; display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
}
.btn.primary { color: #160704; border-color: rgba(255,207,74,.75); background: linear-gradient(135deg, var(--gold), #ff6b2e); box-shadow: 0 12px 34px rgba(255, 59, 31, .28); }
.btn.ghost:hover, .btn.primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.currency-panel { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.currency-panel h3 { font-size: 18px; color: var(--gold); text-transform: uppercase; }
.price-xl { font-size: clamp(42px, 6vw, 72px); line-height: 1; font-weight: 900; letter-spacing: -4px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; }
select, input, textarea { width: 100%; color: var(--ink); background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 13px 14px; font: inherit; }
textarea { resize: vertical; }
.section { margin-top: 18px; padding: clamp(22px, 4vw, 42px); }
.section-title { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(0,0,0,.28); box-shadow: 0 16px 42px rgba(0,0,0,.28); display: flex; flex-direction: column; min-height: 100%; }
.cover-link { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(circle at 50% 30%, rgba(255,207,74,.22), transparent 38%), linear-gradient(135deg, rgba(255,59,31,.35), rgba(86,242,255,.14)); position: relative; }
.cover-link img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.cover-link:hover img { transform: scale(1.035); filter: brightness(1.08) saturate(1.08); }
.placeholder-cover { width: 100%; height: 100%; display: grid; place-items: center; padding: 28px; text-align: center; color: var(--gold); font-size: 32px; line-height: .9; font-weight: 900; letter-spacing: -2px; text-transform: uppercase; }
.badge { position: absolute; left: 14px; top: 14px; padding: 8px 10px; border-radius: 999px; background: rgba(0,0,0,.72); color: var(--gold); border: 1px solid rgba(255,207,74,.42); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.game-info { padding: 18px; display: grid; gap: 12px; }
.game-info h3 { font-size: 20px; line-height: 1.05; letter-spacing: -1px; }
.game-info p { color: var(--muted); line-height: 1.45; font-size: 13px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px; color: var(--muted); font-size: 11px; }
.card-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; }
.price-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--gold); font-weight: 900; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.order-form { display: grid; gap: 14px; }
.faq details { margin-top: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,.22); padding: 16px 18px; }
.faq summary { cursor: pointer; color: var(--gold); font-weight: 900; }
.site-footer { width: min(1180px, calc(100% - 28px)); margin: 18px auto 24px; border: 1px solid var(--line); border-radius: 22px; padding: 18px; color: var(--muted); background: rgba(0,0,0,.22); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
code { color: var(--gold); }
@media (max-width: 920px) { .hero, .split { grid-template-columns: 1fr; } .games-grid { grid-template-columns: repeat(2, 1fr); } .site-header { align-items: flex-start; flex-direction: column; } }
@media (max-width: 620px) { .games-grid { grid-template-columns: 1fr; } .hero h2, .section h2 { letter-spacing: -3px; } .top-nav { width: 100%; } .top-nav a { flex: 1; text-align: center; } }

.two-actions {
  grid-template-columns: 1fr;
}

.two-actions .btn {
  width: 100%;
}

.paypal-hosted-wrap {
  width: 100%;
  min-height: 48px;
}

.paypal-hosted-wrap iframe,
.paypal-hosted-wrap div {
  max-width: 100%;
}


/* Paiement verrouillé */
.paypal-real-wrap {
  width: 100%;
  max-width: 420px;
}

.lock-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
}

.download-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 215, 89, .35);
  border-radius: 14px;
  background: rgba(255, 215, 89, .08);
}

.download-panel strong {
  display: block;
  margin-bottom: 8px;
}

.hidden {
  display: none !important;
}

.payment-status {
  color: var(--muted);
  font-size: .82rem;
  margin-top: 8px;
  line-height: 1.35;
}
