/* =====================================================================================================
   IceTronicx — feuille de style du site (18/11/2026)
   Style validé : planche 4 « Signature néon » (cyan → violet → magenta sur fond nuit violacé).
   Chaque jeu garde ses propres couleurs. Polices du système : rien à télécharger, le site reste rapide.
   ===================================================================================================== */
:root {
  --fond: #08070d;
  --texte: #f1eefb;
  --doux: #b9b2d6;
  --titre: #ffffff;
  --bord: rgba(166, 74, 240, .3);
  --panneau: rgba(255, 255, 255, .04);
  --cyan: #2ec8ff;
  --violet: #a64af0;
  --magenta: #f500e8;
  --degrade: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--magenta));
  --rayon: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at top, #1d1233 0%, #100c1c 45%, var(--fond) 100%) fixed var(--fond);
  color: var(--texte);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--cyan); }
a:hover { color: #8fe0ff; }
img { max-width: 100%; display: block; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- En-tête : nom centré, devise, onglets ---------- */
.entete { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 16px 10px; text-align: center; }
.marque { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.marque-lapin { width: clamp(46px, 9vw, 70px); height: auto; filter: drop-shadow(0 0 12px rgba(166, 74, 240, .45)); }
.marque-nom {
  font-weight: 800; font-size: clamp(40px, 9vw, 66px); line-height: 1.05; letter-spacing: .01em;
  background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(166, 74, 240, .55));
}
.devise { color: var(--doux); font-size: 14px; letter-spacing: .28em; text-transform: uppercase; }
.onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; list-style: none; }
.onglets a {
  display: block; color: var(--texte); text-decoration: none; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--bord); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.onglets a:hover { border-color: var(--violet); box-shadow: 0 0 16px rgba(166, 74, 240, .35); }
.onglets a[aria-current="page"] { background: var(--degrade); border-color: transparent; font-weight: 700; text-shadow: 0 1px 2px #0006; }
.filet { width: min(340px, 72%); height: 2px; border-radius: 2px; margin: 14px auto 0;
         background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--magenta), transparent); }

/* ---------- Contenu ---------- */
main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; }
.accroche { text-align: center; padding: 36px 0 34px; }
.accroche h1, .page-titre { font-size: clamp(28px, 5.4vw, 44px); font-weight: 800; color: var(--titre); line-height: 1.2; }
.accroche p, .page-intro { color: var(--doux); max-width: 660px; margin: 14px auto 0; font-size: 18px; }
.page-titre { text-align: center; padding-top: 36px; }
.page-intro { text-align: center; margin-bottom: 34px; }
.section-titre { text-align: center; font-size: 26px; font-weight: 800; color: var(--titre); margin: 10px 0 22px; }
.section { margin-bottom: 48px; }

/* ---------- Cartes des jeux ---------- */
.jeux { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.carte {
  display: flex; flex-direction: column; border-radius: var(--rayon); overflow: hidden;
  background: var(--panneau); border: 1px solid var(--bord); transition: box-shadow .3s, transform .3s;
}
.carte:hover { box-shadow: 0 0 0 1px var(--violet), 0 0 28px rgba(166, 74, 240, .35); transform: translateY(-3px); }
.vignette { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; text-align: center;
            font-weight: 800; font-size: 30px; padding: 12px; overflow: hidden; }
.vignette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vignette:has(img) .vignette-nom { display: none; }   /* Le nom écrit ne sert que si l'image manque. */
.vignette.pixelia { background: radial-gradient(circle at 50% 30%, #2c1d63, #07060f); color: #5ef2c2; text-shadow: 0 0 14px #5ef2c288; }
.vignette.univers { background: linear-gradient(135deg, #3d2922, #251b18); color: #f1b3c2; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.vignette.strategie { background: linear-gradient(135deg, #12223f, #2a1240); color: #d9c8ff; }
.carte .corps { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 20px 22px; text-align: center; }
.carte h2, .carte h3 { font-size: 22px; color: var(--titre); }
.carte p { color: var(--doux); font-size: 16px; flex: 1; }
.badge { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--bord); color: var(--doux); }
.badge.en-ligne { border-color: rgba(94, 242, 194, .5); color: #5ef2c2; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-block; padding: 11px 24px; border-radius: 999px; background: var(--degrade); color: #fff;
  font-weight: 700; font-size: 16px; text-decoration: none; text-shadow: 0 1px 2px #0006; border: 0;
}
.bouton:hover { color: #fff; filter: brightness(1.12); }
.bouton.pixelia { background: linear-gradient(90deg, #5ef2c2, #7aa8ff, #c38bff); color: #07060f; text-shadow: none; }
.bouton.univers { background: #f1b3c2; color: #38231f; text-shadow: none; }
.bouton.discret { background: transparent; border: 1px solid var(--bord); color: var(--texte); text-shadow: none; }

/* ---------- Bloc YouTube (simple lien : aucune vidéo intégrée, donc aucun cookie) ---------- */
.video { border-radius: var(--rayon); background: var(--panneau); border: 1px solid var(--bord); padding: 30px 20px; text-align: center; }
.video p { color: var(--doux); max-width: 560px; margin: 0 auto; }
.ecran { display: flex; align-items: center; justify-content: center; margin: 22px auto 0; max-width: 560px; aspect-ratio: 16 / 9;
         border-radius: 16px; background: linear-gradient(135deg, #0f1730, #24103a); text-decoration: none; transition: box-shadow .3s; }
.ecran:hover { box-shadow: 0 0 30px rgba(166, 74, 240, .4); }
.lecture { width: 70px; height: 70px; border-radius: 50%; background: var(--degrade); display: flex; align-items: center; justify-content: center; }
.lecture::after { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }

/* ---------- Texte courant (À propos, mentions légales) ---------- */
.texte { max-width: 760px; margin: 0 auto; background: var(--panneau); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 30px 28px; }
.texte h2 { font-size: 21px; color: var(--titre); margin: 26px 0 8px; text-align: center; }
.texte h2:first-child { margin-top: 0; }
.texte p, .texte li { color: var(--doux); }
.texte p + p { margin-top: 10px; }
.texte ul { padding-left: 22px; }
.texte strong { color: var(--texte); }
.centre { text-align: center; }

/* ---------- Pied de page ---------- */
.pied { text-align: center; padding: 22px 16px 30px; color: var(--doux); font-size: 14px; border-top: 1px solid rgba(166, 74, 240, .2); }
.pied nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 8px; }
.pied a { color: var(--doux); text-decoration: none; }
.pied a:hover { color: var(--texte); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  main { padding: 0 16px 32px; }
  .entete { padding-top: 28px; }
  .onglets a { padding: 8px 15px; }
  .texte { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carte, .carte:hover { transition: none; transform: none; }
}

/* Petit espace au-dessus d'un bouton (remplace les styles écrits dans les pages, interdits par la protection du site). */
.espace-haut { margin-top: 22px; }
