/* Pages publiques du site (accueil, boutique, pages légales, à propos) — indépendant du style du jeu (style.css). */
:root { --accent: #ff8a3d; --accent2: #ffa364; --bg: #0d1014; --panel: #151a21; --panel2: #1b222b; --line: rgba(255,255,255,.12); --text: #eef2f6; --muted: #9aa6b2; }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 24px; }
/* en-tête commun */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(13,16,20,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: .08em; font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.brand span b { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a { color: #cfd6de; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: var(--panel2); }
.site-nav a.cta-sm { background: var(--accent); color: #1a0f05; font-weight: 900; letter-spacing: .06em; padding: 8px 18px; }
.site-nav a.cta-sm:hover { background: var(--accent2); }
@media (max-width: 560px) { .brand span { display: none; } .site-nav a { padding: 8px 8px; } }
main.site-main { flex: 1; padding-bottom: 64px; }
/* boutons */
.cta { display: inline-block; background: var(--accent); color: #1a0f05; font-weight: 900; text-decoration: none; padding: 14px 28px; border-radius: 12px; font-size: 18px; letter-spacing: .04em; box-shadow: 0 8px 30px rgba(255,138,61,.35); border: 0; cursor: pointer; }
.cta:hover { background: var(--accent2); }
.cta.xl { font-size: 26px; padding: 18px 54px; letter-spacing: .12em; }
.btn { display: inline-block; text-decoration: none; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 15px; }
.btn:hover { background: var(--accent); color: #1a0f05; }
/* héros */
.hero { position: relative; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(13,16,20,.97) 0%, rgba(13,16,20,.78) 50%, rgba(13,16,20,.35) 100%), url(/icons/screenshot-arena.jpg) center/cover; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hero-logo img { width: 64px; height: 64px; }
.hero-logo strong { font-size: 30px; letter-spacing: .14em; font-weight: 900; }
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; margin: 0 0 14px; }
.hero h1 span { color: var(--accent); }
.lead { font-size: 19px; color: #d7dee5; margin: 0 0 26px; max-width: 620px; }
.hero-shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.55); display: block; width: 100%; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 12px; }
/* sections */
section.block { margin-top: 52px; }
h2 { font-size: 27px; margin: 0 0 14px; border-left: 4px solid var(--accent); padding-left: 12px; line-height: 1.25; }
h3 { font-size: 19px; margin: 0 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.card h3 { color: var(--accent); }
.card p { margin: 0; color: #cfd6de; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); margin-left: 6px; vertical-align: middle; }
table.data { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 12px; overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
table.data th { color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.center { text-align: center; }
/* boutique */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.item img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 9px; background: #0a0d10; }
.item h4 { margin: 4px 0 0; font-size: 16px; line-height: 1.3; }
.item .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.price { font-weight: 900; font-size: 18px; }
.rarity { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rarity.rare { color: #5aa9ff; } .rarity.épique { color: #c07bff; } .rarity.légendaire { color: #ffb347; }
.offer { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.offer img { border-radius: 10px; }
@media (max-width: 640px) { .offer { grid-template-columns: 1fr; } }
.weapon-group { margin-top: 26px; }
.weapon-group h3 { color: #fff; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 5px 12px; border-radius: 16px; background: var(--panel2); color: #cfd6de; text-decoration: none; font-size: 14px; }
/* pages légales */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin: 40px 0 4px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.legal h2 { font-size: 22px; margin-top: 34px; }
.legal h3 { font-size: 18px; margin-top: 24px; }
.legal-body { color: #dde3e9; }
mark { background: #ffe066; color: #1a1300; padding: 0 4px; border-radius: 3px; font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
/* pied de page commun */
.site-footer { border-top: 1px solid var(--line); background: #0a0d10; padding: 28px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.site-footer .brand { font-size: 15px; }
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer nav a { color: #b8c2cc; text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.site-footer .copy { width: 100%; margin: 0; }
details.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 10px 0; }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq p { margin: 10px 0 2px; color: #cfd6de; }
