/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #f2b31c;
  --gold-soft: #e8b84b;
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f5f5;
  --muted: #b9b9b9;
  --muted-2: #8f8f8f;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

/* ============ BACKGROUND FX ============ */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(60, 50, 30, 0.35), transparent 60%),
    linear-gradient(160deg, #0a0a0a 0%, #050505 45%, #0b0904 100%);
  overflow: hidden;
}

.streak {
  position: absolute;
  width: 140%;
  height: 90px;
  transform: rotate(-38deg);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(242, 179, 28, 0.05) 25%,
    rgba(255, 200, 80, 0.45) 50%,
    rgba(242, 179, 28, 0.05) 75%,
    transparent 100%);
  filter: blur(18px);
}

.streak-1 { top: 12%; left: -55%; height: 60px; opacity: 0.8; }
.streak-2 { top: 34%; left: -40%; height: 110px; opacity: 0.55; }
.streak-3 { bottom: 26%; right: -55%; left: auto; height: 90px; opacity: 0.9; }
.streak-4 { bottom: 8%; right: -40%; left: auto; height: 55px; opacity: 0.6; }

.dots {
  position: absolute;
  width: 340px;
  height: 480px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.dots-left  { top: 22%; left: 1%; }
.dots-right { top: 6%; right: 2%; }

/* ============ WARNING BANNER ============ */
.warning-banner {
  background: #0d0f12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  text-align: center;
}

.warning-banner p {
  font-size: 0.68rem;
  color: #d8d8d8;
  line-height: 1.5;
}

.warning-banner a {
  color: #fff;
  text-decoration: underline;
}

.warning-banner a:hover { color: var(--gold); }

/* ============ HEADER ============ */
.site-header {
  display: flex;
  justify-content: center;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon { width: 40px; height: 28px; }

.logo-text {
  font-family: "Pacifico", cursive;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.5px;
}

/* ============ HERO ============ */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  text-align: center;
}

.hero-date {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 22px;
}

.hero-sub {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============ GAME CARDS ============ */
.games {
  max-width: 800px;
  margin: 30px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.game-card {
  display: grid;
  grid-template-columns: 130px 1.1fr 1.2fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px 20px;
  border: 1px solid rgba(242, 179, 28, 0.55);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.55);
  box-shadow: 0 0 22px rgba(242, 179, 28, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.game-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(242, 179, 28, 0.22);
  transform: translateY(-2px);
}

.game-thumb {
  width: 130px;
  height: 82px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.game-info p {
  font-size: 0.75rem;
  color: var(--muted-2);
}

.game-desc {
  font-size: 0.78rem;
  color: var(--muted);
}

.btn-play {
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 9px 26px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-play:hover {
  background: #ffc93d;
  transform: scale(1.05);
}

/* ============ SECTIONS ============ */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 20px;
}

.section-kicker {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}

.section-kicker.small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section > p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ---- Méthode ---- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.method-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  padding: 20px 18px;
}

.method-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #dcdcdc;
  margin-bottom: 12px;
}

.method-card p {
  font-size: 0.74rem;
  color: var(--muted-2);
}

/* ---- Catégories ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.cat-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px 20px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.cat-card:hover {
  border-color: rgba(242, 179, 28, 0.5);
  background: rgba(242, 179, 28, 0.04);
}

.cat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #dcdcdc;
  margin-bottom: 10px;
}

.cat-card p {
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* ---- Étapes ---- */
.steps .step {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 0;
  margin-top: 8px;
}

.steps .step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---- Catalogue ---- */
.catalogue {
  max-width: 900px;
}

.catalogue-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 40px 36px;
}

.catalogue-left h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.catalogue-left p {
  font-size: 0.78rem;
  color: var(--muted);
}

.feature { margin-bottom: 22px; }
.feature:last-child { margin-bottom: 0; }

.feature h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature p {
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* ---- Équilibre ---- */
.balance {
  max-width: 900px;
  padding-bottom: 70px;
}

.balance-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.balance-list li {
  background: linear-gradient(90deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 0.78rem;
  color: #e2e2e2;
}

/* ============ LEGAL PAGES ============ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-kicker {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.legal h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.7rem;
  color: var(--muted-2);
  margin-bottom: 24px;
}

.legal h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 28px 0 10px;
}

.legal p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal li {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.legal a {
  color: var(--gold);
  text-decoration: underline;
}

.legal a:hover { color: #ffc93d; }

.legal strong { color: #e0e0e0; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.55);
  text-align: center;
  padding: 48px 24px 32px;
}

.footer-logo { justify-content: center; margin-bottom: 24px; }

.footer-text {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 0.72rem;
  color: var(--muted-2);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 26px;
}

.footer-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  color: #d5d5d5;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.68rem;
  color: #6f6f6f;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 760px) {
  .game-card {
    grid-template-columns: 100px 1fr;
    grid-template-areas:
      "thumb info"
      "thumb desc"
      "btn   btn";
    row-gap: 8px;
  }

  .game-thumb { grid-area: thumb; width: 100px; height: 64px; }
  .game-info  { grid-area: info; }
  .game-desc  { grid-area: desc; }
  .btn-play   { grid-area: btn; text-align: center; }

  .method-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .catalogue-inner { grid-template-columns: 1fr; padding: 28px 22px; gap: 30px; }
}
