:root {
  --paper: #fff9ed;
  --ink: #13213c;
  --red: #e6412e;
  --yellow: #f4ba25;
  --blue: #1b4db5;
  --line: rgba(19, 33, 60, 0.2);
  --muted: #44506a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  padding: 12px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 249, 237, 0.94);
  backdrop-filter: blur(14px);
}

.brand, .main-nav, .language-nav { display: flex; align-items: center; }

.brand { gap: 10px; font-weight: 700; font-size: 1.15rem; text-decoration: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--paper);
  font: 900 1rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: .04em;
  background: var(--ink);
}

.main-nav { gap: clamp(18px, 3vw, 40px); }
.main-nav a, .language-nav a { font-size: .84rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--red); }
.language-nav { justify-content: flex-end; gap: 12px; }
.language-nav a[aria-current="page"] { border-bottom: 2px solid var(--red); }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, .76fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 68px);
  padding: clamp(36px, 5vw, 80px) clamp(20px, 5vw, 80px) 30px;
  background: url("/fr/assets/editorial-arcade-texture.png") center / cover no-repeat;
}

.hero-copy { align-self: center; max-width: 500px; }
.eyebrow { margin: 0 0 16px; font-size: .72rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Barlow Condensed", Impact, sans-serif; text-transform: uppercase; }
h1 { max-width: 7.5ch; margin-bottom: 24px; font-size: clamp(4rem, 8vw, 7.9rem); line-height: .79; letter-spacing: -.055em; }
h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .84; letter-spacing: -.04em; }
h2 em { color: var(--red); font-style: normal; }
.intro { max-width: 37ch; margin-bottom: 30px; color: var(--muted); font-size: 1.08rem; line-height: 1.62; }

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}

.primary-action:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.primary-action:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.game-wrap {
  min-height: 630px;
  overflow: hidden;
  border: 4px solid var(--ink);
  background: var(--ink);
  box-shadow: 12px 12px 0 rgba(19, 33, 60, .17);
}

.play-frame { display: block; width: 100%; min-height: 630px; border: 0; }

.proof-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 42px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .92rem;
  font-weight: 700;
}

.proof-list i { margin-right: 8px; font-size: 1.25rem; vertical-align: -2px; }

.section { padding: clamp(66px, 10vw, 130px) clamp(20px, 9vw, 160px); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 820px; }
.section-lead { max-width: 45ch; margin: 28px 0 40px; color: var(--muted); font-size: 1.12rem; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 17px; padding-top: 20px; border-top: 3px solid var(--ink); }
.step-number { color: var(--red); font: 800 2.4rem/.8 "Barlow Condensed", sans-serif; }
.steps h3, .bonus-list h3 { margin: 0 0 8px; font-size: 1.05rem; }
.steps p, .bonus-list p, .tip-copy p, details p { color: var(--muted); line-height: 1.62; }
.steps p { margin-bottom: 0; font-size: .94rem; }

.bonuses { color: var(--paper); background-color: var(--ink); }
.bonuses .eyebrow, .bonuses .bonus-list p { color: #d2d9e7; }
.bonus-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px; background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.28); }
.bonus-list article { min-height: 225px; padding: 28px; background: var(--ink); }
.bonus-list i { display: block; margin-bottom: 30px; color: var(--yellow); font-size: 2rem; }
.bonus-list p { margin-bottom: 0; font-size: .94rem; }

.tips { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr); gap: clamp(40px, 10vw, 160px); align-items: start; }
.tip-copy { max-width: 60ch; padding-top: 30px; border-top: 3px solid var(--red); }
.tip-copy p { font-size: 1.08rem; }

.faq { background: #f3bc27; }
.faq-list { margin-top: 44px; border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid rgba(19,33,60,.4); }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
summary::after { content: "+"; font-size: 1.35rem; }
details[open] summary::after { content: "−"; }
details p { max-width: 58ch; margin: 0 0 20px; }

.final-cta { padding: clamp(74px, 11vw, 160px) 20px; text-align: center; background: url("/fr/assets/editorial-arcade-texture.png") center / cover no-repeat; }
.final-cta h2 { max-width: 9ch; margin: 0 auto 32px; }
.site-footer { padding: 24px 20px; color: #d2d9e7; background: var(--ink); text-align: center; font-size: .86rem; }
.site-footer p { margin: 0; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 620px; }
  .game-wrap, .play-frame { min-height: 610px; }
  .bonus-list { grid-template-columns: repeat(2, 1fr); }
  .tips { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 580px) {
  .site-header { min-height: 0; gap: 10px; padding: 12px 16px; }
  .brand { font-size: 1rem; }
  .language-nav { gap: 9px; }
  .language-nav a { font-size: .74rem; }
  h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .hero { padding: 38px 16px 24px; }
  .game-wrap, .play-frame { min-height: 560px; }
  .proof-list { gap: 12px 20px; font-size: .82rem; }
  .section { padding: 64px 20px; }
  .steps, .bonus-list { grid-template-columns: 1fr; }
  .bonus-list article { min-height: 0; }
  .final-cta { padding: 78px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
