/* ==========================================================================
   NEO Theme — main.css
   Dark Space Low-Poly. Mobile-first. Vanilla.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--neo-space: #05070f;
	--neo-surface: #0b1020;
	--neo-surface-2: #111830;
	--neo-surface-3: #16203c;
	--neo-border: #1e293b;
	--neo-border-soft: rgba(148, 163, 184, 0.14);
	--neo-cyan: #22d3ee;
	--neo-cyan-bright: #38bdf8;
	--neo-cyan-soft: rgba(34, 211, 238, 0.12);
	--neo-violet: #a78bfa;
	--neo-red: #f43f5e;
	--neo-success: #34d399;
	--neo-text: #f8fafc;
	--neo-muted: #94a3b8;
	--neo-dim: #64748b;
	--neo-font-display: "Exo 2", "Inter", system-ui, sans-serif;
	--neo-font-body: "Inter", system-ui, -apple-system, sans-serif;
	--neo-radius-sm: 6px;
	--neo-radius-md: 12px;
	--neo-radius-lg: 20px;
	--neo-shadow: 0 10px 40px rgba(2, 6, 23, 0.6);
	--neo-glow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 0 32px rgba(34, 211, 238, 0.12);
	--neo-header-h: 72px;
	--neo-container: 1200px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--neo-space);
	color: var(--neo-text);
	font-family: var(--neo-font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--neo-cyan-bright); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--neo-cyan); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--neo-font-display);
	line-height: 1.15;
	margin: 0 0 0.6em;
	font-weight: 800;
	letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; background: rgba(148, 163, 184, 0.12); padding: 0.15em 0.4em; border-radius: 4px; }
ul, ol { padding-left: 1.4em; }
table { width: 100%; border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--neo-border); margin: 2.5em 0; }

/* ---------- 3. Layout ---------- */
.neo-container {
	max-width: var(--neo-container);
	margin: 0 auto;
	padding: 0 20px;
}

.neo-section { padding: 72px 0; }
.neo-section-alt { background: linear-gradient(180deg, rgba(11, 16, 32, 0.4), rgba(11, 16, 32, 0.15)); border-block: 1px solid var(--neo-border-soft); }

.neo-section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.neo-section-title { margin-bottom: 0.4em; }
.neo-section-text { color: var(--neo-muted); font-size: 1.05rem; }

.neo-eyebrow {
	display: inline-block;
	font-family: var(--neo-font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--neo-cyan);
	margin: 0 0 14px;
}
.neo-eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--neo-cyan); vertical-align: middle; margin-right: 10px; border-radius: 2px; }

.neo-muted { color: var(--neo-muted); }
.neo-small { font-size: 0.85rem; }
.neo-center { text-align: center; }

/* ---------- 4. Header ---------- */
.neo-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(5, 7, 15, 0.82);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--neo-border-soft);
}
.neo-header-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--neo-header-h);
}

.neo-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--neo-text);
	font-family: var(--neo-font-display);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: 0.08em;
	white-space: nowrap;
}
.neo-logo:hover { color: var(--neo-text); }
.neo-logo img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 18px rgba(34, 211, 238, 0.35); }

/* Custom logo WP (uploadé) : normalisé à la taille du header. */
.neo-header .custom-logo-link {
	display: inline-flex;
	align-items: center;
}
.neo-header .custom-logo {
	width: 42px !important;
	height: 42px !important;
	max-width: 42px;
	max-height: 42px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
}

.neo-nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	margin-left: auto;
	background: transparent;
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-sm);
	cursor: pointer;
}
.neo-nav-toggle-bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--neo-text);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.neo-nav-toggle[aria-expanded="true"] .neo-nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.neo-nav-toggle[aria-expanded="true"] .neo-nav-toggle-bar:nth-child(2) { opacity: 0; }
.neo-nav-toggle[aria-expanded="true"] .neo-nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.neo-nav {
	display: none;
	position: absolute;
	top: var(--neo-header-h);
	left: 0;
	right: 0;
	background: rgba(5, 7, 15, 0.97);
	border-bottom: 1px solid var(--neo-border);
	padding: 16px 20px 24px;
}
.neo-nav.is-open { display: block; }

.neo-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.neo-nav ul a {
	display: block;
	padding: 12px 10px;
	color: var(--neo-text);
	font-weight: 500;
	border-radius: var(--neo-radius-sm);
}
.neo-nav ul a:hover { color: var(--neo-cyan); background: var(--neo-cyan-soft); }
.neo-nav .current-menu-item > a { color: var(--neo-cyan); }

.neo-nav-account {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--neo-border-soft);
	align-items: stretch;
}
.neo-nav-account .neo-btn { text-align: center; }

/* ---------- 5. Boutons ---------- */
.neo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: var(--neo-radius-md);
	font-family: var(--neo-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
	text-align: center;
}
.neo-btn:hover { transform: translateY(-2px); }
.neo-btn:active { transform: translateY(0); }

.neo-btn-primary {
	background: linear-gradient(135deg, var(--neo-cyan) 0%, var(--neo-cyan-bright) 100%);
	color: #04121a;
	box-shadow: 0 6px 24px rgba(34, 211, 238, 0.35);
}
.neo-btn-primary:hover { color: #04121a; box-shadow: 0 8px 32px rgba(34, 211, 238, 0.5); }

.neo-btn-outline {
	background: transparent;
	color: var(--neo-text);
	border-color: var(--neo-border);
}
.neo-btn-outline:hover { color: var(--neo-cyan); border-color: var(--neo-cyan); }

.neo-btn-ghost { background: transparent; color: var(--neo-muted); }
.neo-btn-ghost:hover { color: var(--neo-text); }

.neo-menu-neoplus > a {
	color: #fbbf24 !important;
	font-weight: 700;
}
.neo-menu-neoplus > a:hover { color: #fcd34d !important; }

.neo-btn-discord {
	background: #5865f2;
	color: #fff;
	box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
}
.neo-btn-discord:hover { color: #fff; background: #6b77f5; box-shadow: 0 8px 28px rgba(88, 101, 242, 0.5); }

.neo-btn-lg { padding: 15px 32px; font-size: 1.05rem; border-radius: 14px; }
.neo-btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 8px; }
.neo-btn-block { width: 100%; }

/* ---------- 6. Hero ---------- */
.neo-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 72px;
}
.neo-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.neo-hero-stars {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1px 1px at 20% 30%, rgba(248, 250, 252, 0.7), transparent 60%),
		radial-gradient(1px 1px at 40% 70%, rgba(248, 250, 252, 0.5), transparent 60%),
		radial-gradient(1.5px 1.5px at 60% 20%, rgba(34, 211, 238, 0.8), transparent 60%),
		radial-gradient(1px 1px at 80% 50%, rgba(248, 250, 252, 0.6), transparent 60%),
		radial-gradient(1.5px 1.5px at 90% 80%, rgba(167, 139, 250, 0.7), transparent 60%),
		radial-gradient(1px 1px at 15% 85%, rgba(248, 250, 252, 0.5), transparent 60%),
		radial-gradient(1px 1px at 50% 45%, rgba(248, 250, 252, 0.4), transparent 60%),
		radial-gradient(1.5px 1.5px at 70% 90%, rgba(34, 211, 238, 0.6), transparent 60%);
	animation: neo-twinkle 9s ease-in-out infinite alternate;
}
@keyframes neo-twinkle {
	0% { opacity: 0.75; }
	100% { opacity: 1; }
}
.neo-hero-glow {
	position: absolute;
	top: -20%;
	right: -10%;
	width: 70vw;
	height: 70vw;
	max-width: 760px;
	max-height: 760px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.14) 0%, rgba(167, 139, 250, 0.06) 45%, transparent 70%);
	filter: blur(30px);
}

.neo-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}

.neo-hero-title { margin: 0 0 20px; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1.02; }
.neo-hero-title-accent {
	background: linear-gradient(120deg, var(--neo-cyan), var(--neo-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.neo-hero-sub { color: var(--neo-muted); font-size: 1.1rem; max-width: 540px; margin-bottom: 28px; }

.neo-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.neo-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.neo-platforms {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8px;
}
.neo-platform {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--neo-border);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--neo-muted);
	background: rgba(11, 16, 32, 0.6);
}

.neo-version-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border: 1px solid var(--neo-border);
	border-radius: 999px;
	font-family: var(--neo-font-display);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--neo-text);
	background: rgba(11, 16, 32, 0.6);
}
.neo-version-badge .neo-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--neo-success);
	box-shadow: 0 0 10px var(--neo-success);
	animation: neo-pulse 2.4s ease-in-out infinite;
}
@keyframes neo-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.45; }
}
.neo-version-badge .neo-alpha {
	color: var(--neo-cyan);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.68rem;
}

.neo-hero-visual { display: flex; justify-content: center; }
.neo-hero-keyart {
	width: min(420px, 88vw);
	height: auto;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 0 90px rgba(34, 211, 238, 0.25), 0 30px 80px rgba(2, 6, 23, 0.8);
	animation: neo-float 7s ease-in-out infinite;
}
@keyframes neo-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* ---------- 7. Cards / Features ---------- */
.neo-features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
.neo-card {
	background: linear-gradient(180deg, rgba(17, 24, 48, 0.85), rgba(11, 16, 32, 0.9));
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 28px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.neo-card:hover {
	transform: translateY(-4px);
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow: var(--neo-glow);
}
.neo-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	color: var(--neo-cyan);
	background: var(--neo-cyan-soft);
	border: 1px solid rgba(34, 211, 238, 0.3);
	margin-bottom: 18px;
}
.neo-feature-title { font-size: 1.12rem; margin-bottom: 10px; }
.neo-feature-text { color: var(--neo-muted); font-size: 0.95rem; margin: 0; }

/* ---------- 8. Ages ---------- */
.neo-ages-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
.neo-age {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.neo-age:hover { transform: translateY(-4px); box-shadow: var(--neo-glow); }
.neo-age-figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.neo-age-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.neo-age:hover .neo-age-figure img { transform: scale(1.04); }
.neo-age-body { padding: 22px 24px 26px; position: relative; }
.neo-age-step {
	position: absolute;
	top: -22px;
	right: 20px;
	font-family: var(--neo-font-display);
	font-size: 3rem;
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 1px rgba(34, 211, 238, 0.4);
}
.neo-age-body h3 { margin-bottom: 8px; }
.neo-age-body p { color: var(--neo-muted); font-size: 0.95rem; margin: 0; }

/* ---------- 9. Split (deep dive) ---------- */
.neo-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	align-items: center;
}
.neo-split-media {
	border-radius: var(--neo-radius-lg);
	overflow: hidden;
	border: 1px solid var(--neo-border);
	box-shadow: var(--neo-shadow);
}
.neo-split-media img { width: 100%; }
.neo-split-content h2 { margin-bottom: 16px; }
.neo-split-content p { color: var(--neo-muted); }

.neo-check-list {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.neo-check-list li {
	position: relative;
	padding-left: 30px;
	color: var(--neo-text);
	font-size: 0.97rem;
}
.neo-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--neo-cyan-soft);
	border: 1px solid rgba(34, 211, 238, 0.4);
	color: var(--neo-cyan);
	font-size: 0.72rem;
	font-weight: 700;
}

/* ---------- 10. Gallery ---------- */
.neo-gallery-preview {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 28px;
}
.neo-gallery-preview .neo-gallery-item:first-child { grid-column: 1 / -1; }
.neo-gallery-item {
	display: block;
	border-radius: var(--neo-radius-md);
	overflow: hidden;
	border: 1px solid var(--neo-border);
	position: relative;
}
.neo-gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s ease, filter 0.3s ease; }
.neo-gallery-item:hover img { transform: scale(1.04); filter: brightness(1.12); }

.neo-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 60px;
}
.neo-gallery .neo-gallery-item { cursor: zoom-in; }
.neo-gallery .neo-gallery-item figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 30px 16px 12px;
	background: linear-gradient(180deg, transparent, rgba(5, 7, 15, 0.9));
	font-size: 0.85rem;
	color: var(--neo-text);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.neo-gallery .neo-gallery-item:hover figcaption { opacity: 1; }

/* Lightbox */
.neo-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(2, 4, 10, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
}
.neo-lightbox[hidden] { display: none; }
.neo-lightbox-stage { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.neo-lightbox-stage img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--neo-radius-md); box-shadow: var(--neo-shadow); }
.neo-lightbox-stage figcaption { margin-top: 14px; color: var(--neo-muted); font-size: 0.9rem; }
.neo-lightbox button {
	position: absolute;
	background: rgba(17, 24, 48, 0.85);
	border: 1px solid var(--neo-border);
	color: var(--neo-text);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 1.1rem;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.neo-lightbox button:hover { border-color: var(--neo-cyan); color: var(--neo-cyan); }
.neo-lightbox-close { top: 18px; right: 18px; }
.neo-lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.neo-lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- 11. News ---------- */
.neo-news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
.neo-news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.neo-news-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.neo-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.neo-news-card:hover .neo-news-thumb img { transform: scale(1.05); }
.neo-news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.neo-news-meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--neo-dim); }
.neo-news-cat {
	font-family: var(--neo-font-display);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--neo-cyan);
	border: 1px solid rgba(34, 211, 238, 0.35);
	padding: 3px 10px;
	border-radius: 999px;
}
.neo-news-title { font-size: 1.12rem; margin: 0; }
.neo-news-title a { color: var(--neo-text); }
.neo-news-title a:hover { color: var(--neo-cyan); }
.neo-news-excerpt { color: var(--neo-muted); font-size: 0.92rem; margin: 0; flex: 1; }
.neo-news-more { font-weight: 600; font-size: 0.88rem; }

/* Pagination */
.nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin: 48px 0;
	flex-wrap: wrap;
}
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-sm);
	color: var(--neo-muted);
	font-weight: 600;
}
.nav-links .page-numbers.current { color: #04121a; background: linear-gradient(135deg, var(--neo-cyan), var(--neo-cyan-bright)); border-color: transparent; }
.nav-links a.page-numbers:hover { color: var(--neo-cyan); border-color: var(--neo-cyan); }

/* ---------- 12. CTA ---------- */
.neo-cta { position: relative; overflow: hidden; padding: 88px 0; text-align: center; }
.neo-cta-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(5, 7, 15, 0.86), rgba(5, 7, 15, 0.94)), var(--neo-cta-image, radial-gradient(circle at 50% 120%, rgba(34, 211, 238, 0.18), transparent 60%));
	background-size: cover;
	background-position: center;
}
.neo-cta-inner { position: relative; }
.neo-cta h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 14px; }
.neo-cta p { color: var(--neo-muted); max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ---------- 13. Pages (head, layout) ---------- */
.neo-page-head {
	padding: 56px 0 40px;
	background: linear-gradient(180deg, rgba(11, 16, 32, 0.5), transparent);
	border-bottom: 1px solid var(--neo-border-soft);
}
.neo-page-title { margin-bottom: 8px; }
.neo-page-desc { color: var(--neo-muted); margin: 0; max-width: 620px; }

.neo-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding-top: 48px;
	padding-bottom: 72px;
}
.neo-content { min-width: 0; }
.neo-sidebar { min-width: 0; }

/* ---------- 14. Prose (contenus) ---------- */
.neo-prose { font-size: 1.02rem; }
.neo-prose p { margin-bottom: 1.2em; }
.neo-prose img { border-radius: var(--neo-radius-md); margin: 1.6em auto; }
.neo-prose h2, .neo-prose h3 { margin-top: 1.6em; }
.neo-prose blockquote {
	margin: 1.6em 0;
	padding: 16px 20px;
	border-left: 3px solid var(--neo-cyan);
	background: var(--neo-cyan-soft);
	border-radius: 0 var(--neo-radius-sm) var(--neo-radius-sm) 0;
	color: var(--neo-muted);
}
.neo-prose a { text-decoration: underline; text-underline-offset: 3px; }

.neo-single-cover { margin: 0; }
.neo-single-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.neo-single-meta { color: var(--neo-muted); font-size: 0.9rem; display: flex; gap: 10px; flex-wrap: wrap; }
.neo-single-meta a { color: var(--neo-muted); }
.neo-single-meta a:hover { color: var(--neo-cyan); }
.neo-single-footer { margin-top: 40px; }
.neo-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.neo-tags a {
	padding: 4px 12px;
	border: 1px solid var(--neo-border);
	border-radius: 999px;
	font-size: 0.78rem;
	color: var(--neo-muted);
}
.neo-tags a:hover { color: var(--neo-cyan); border-color: var(--neo-cyan); }

.neo-related { margin-top: 56px; }

/* ---------- 15. Download ---------- */
.neo-download-card {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	background: linear-gradient(180deg, var(--neo-surface-2), var(--neo-surface));
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 32px;
	margin-top: 40px;
	box-shadow: var(--neo-shadow);
}
.neo-download-card-main { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.neo-download-logo {
	width: 132px;
	height: 132px;
	border-radius: 50%;
	box-shadow: 0 0 40px rgba(34, 211, 238, 0.3);
}
.neo-download-info h2 { margin-bottom: 2px; font-size: 1.4rem; }
.neo-download-info .neo-platforms, .neo-download-info .neo-version-badge { justify-content: center; }
.neo-download-price {
	font-family: var(--neo-font-display);
	font-size: 1.7rem;
	font-weight: 900;
	color: var(--neo-cyan);
	margin: 4px 0;
}
.neo-download-card-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; justify-content: center; }
.neo-download-card-cta .neo-btn { width: 100%; max-width: 340px; }
.neo-download-card-cta p { text-align: center; max-width: 340px; margin: 0; }

.neo-steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
.neo-step {
	position: relative;
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
	padding: 24px;
}
.neo-step-num {
	font-family: var(--neo-font-display);
	font-size: 2rem;
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 1px rgba(34, 211, 238, 0.5);
}
.neo-step h3 { margin: 8px 0 8px; font-size: 1.05rem; }
.neo-step p { color: var(--neo-muted); font-size: 0.92rem; margin: 0; }

.neo-reqs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.neo-reqs-grid .neo-card h3 { color: var(--neo-cyan); font-size: 1.05rem; }

.neo-faq { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.neo-faq-item {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
	padding: 0 20px;
}
.neo-faq-item summary {
	cursor: pointer;
	padding: 18px 0;
	font-family: var(--neo-font-display);
	font-weight: 700;
	font-size: 1rem;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.neo-faq-item summary::-webkit-details-marker { display: none; }
.neo-faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--neo-cyan); transition: transform 0.2s ease; }
.neo-faq-item[open] summary::after { transform: rotate(45deg); }
.neo-faq-item p { color: var(--neo-muted); padding-bottom: 18px; margin: 0; font-size: 0.95rem; }

/* ---------- 16. Auth ---------- */
.neo-auth-wrap { display: flex; justify-content: center; padding-top: 48px; padding-bottom: 88px; }
.neo-auth-card {
	width: 100%;
	max-width: 480px;
	background: linear-gradient(180deg, var(--neo-surface-2), var(--neo-surface));
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 36px;
	box-shadow: var(--neo-shadow);
}
.neo-account-status { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--neo-border-soft); }
.neo-linked-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--neo-success);
	font-size: 0.88rem;
	font-weight: 600;
}
.neo-auth-alt { text-align: center; margin: 22px 0 0; color: var(--neo-muted); font-size: 0.92rem; }

/* ---------- 17. Forms ---------- */
.neo-form { display: grid; gap: 18px; }
.neo-field { margin: 0; }
.neo-field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 0.9rem; }
.neo-field input[type="text"],
.neo-field input[type="email"],
.neo-field input[type="password"],
.neo-field input[type="search"] {
	width: 100%;
	padding: 12px 14px;
	background: rgba(5, 7, 15, 0.7);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-sm);
	color: var(--neo-text);
	font-size: 1rem;
	font-family: var(--neo-font-body);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.neo-field input:focus {
	outline: none;
	border-color: var(--neo-cyan);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
.neo-field-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0;
	font-size: 0.88rem;
}
.neo-check { display: inline-flex; align-items: center; gap: 8px; color: var(--neo-muted); }
.neo-check input { accent-color: var(--neo-cyan); width: 16px; height: 16px; }

.neo-alert {
	padding: 14px 16px;
	border-radius: var(--neo-radius-sm);
	font-size: 0.92rem;
	margin-bottom: 22px;
	border: 1px solid;
}
.neo-alert-error { color: #fecdd3; background: rgba(244, 63, 94, 0.12); border-color: rgba(244, 63, 94, 0.4); }
.neo-alert-success { color: #a7f3d0; background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.4); }

/* Bandeau Discord du footer */
.neo-footer-discord {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	text-align: center;
	background: linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(34, 211, 238, 0.08));
	border: 1px solid rgba(88, 101, 242, 0.35);
	border-radius: var(--neo-radius-lg);
	padding: 28px 24px;
	margin-bottom: 44px;
}
.neo-footer-discord-text { display: grid; gap: 4px; }
.neo-footer-discord-text strong { font-family: var(--neo-font-display); font-size: 1.15rem; }
.neo-footer-discord-text span { font-size: 0.9rem; }
@media (min-width: 768px) {
	.neo-footer-discord {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

/* ---------- 18. Footer ---------- */
.neo-footer {
	background: linear-gradient(180deg, rgba(11, 16, 32, 0.4), rgba(5, 7, 15, 1));
	border-top: 1px solid var(--neo-border-soft);
	padding: 64px 0 32px;
}
.neo-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	margin-bottom: 44px;
}
.neo-footer-brand .neo-logo { margin-bottom: 14px; }
.neo-footer-tagline { color: var(--neo-muted); font-size: 0.92rem; margin: 0; }
.neo-footer-title {
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--neo-dim);
	margin-bottom: 14px;
}
.neo-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}
.neo-footer-links a, .neo-footer-col .menu a { color: var(--neo-muted); font-size: 0.92rem; }
.neo-footer-links a:hover, .neo-footer-col .menu a:hover { color: var(--neo-cyan); }
.neo-footer-col .menu { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; }
.neo-footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 6px;
	justify-content: space-between;
	border-top: 1px solid var(--neo-border-soft);
	padding-top: 22px;
	font-size: 0.85rem;
}
.neo-footer-bottom p { margin: 0; color: var(--neo-dim); }
.neo-footer-bottom a { color: var(--neo-muted); }

/* ---------- 19. Sidebar / widgets ---------- */
.neo-sidebar .widget {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
	padding: 22px;
	margin-bottom: 20px;
}
.neo-sidebar .widget-title {
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--neo-cyan);
	margin-bottom: 14px;
}
.neo-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.neo-sidebar ul a { color: var(--neo-muted); font-size: 0.92rem; }
.neo-sidebar ul a:hover { color: var(--neo-cyan); }

/* Scroll reveal — activé uniquement quand le JS tourne (classe .neo-js sur <html>).
   Sans JS ou avec prefers-reduced-motion : tout reste visible. */
.neo-js .neo-card,
.neo-js .neo-age,
.neo-js .neo-step,
.neo-js .neo-gallery-item,
.neo-js .neo-news-card {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}
.neo-js .neo-revealed { opacity: 1; transform: none; }

/* ---------- 20. weDocs (Wiki) — style complet maison ---------- */

/* Recherche */
.wedocs-shortcode-wrap .wedocs-search-form { margin-bottom: 28px; }
.wedocs-shortcode-wrap .wedocs-search-input { position: relative; }
.wedocs-shortcode-wrap .search-field {
	width: 100%;
	padding: 13px 46px 13px 16px;
	background: rgba(5, 7, 15, 0.7);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
	color: var(--neo-text);
	font-size: 1rem;
	font-family: var(--neo-font-body);
}
.wedocs-shortcode-wrap .search-field:focus {
	outline: none;
	border-color: var(--neo-cyan);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
.wedocs-shortcode-wrap .search-submit {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--neo-cyan), var(--neo-cyan-bright));
	border: 0;
	border-radius: 9px;
	cursor: pointer;
}
.wedocs-shortcode-wrap .search-submit svg { width: 16px; height: 16px; }

/* Liste des sections de documentation */
.wedocs-docs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
}
.wedocs-docs-single {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 26px 28px;
}
.wedocs-docs-single h3 { margin: 0 0 16px; }
.wedocs-docs-single h3 a {
	font-family: var(--neo-font-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--neo-text);
}
.wedocs-docs-single h3 a:hover { color: var(--neo-cyan); }
.wedocs-doc-sections {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.wedocs-doc-sections > li { padding: 0; }
.wedocs-doc-sections > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--neo-radius-sm);
	color: var(--neo-muted);
	font-weight: 600;
	font-size: 0.95rem;
}
.wedocs-doc-sections > li > a:hover { color: var(--neo-cyan); background: var(--neo-cyan-soft); }
.wedocs-doc-sections > li > a svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.wedocs-doc-sections > li > a svg.active { transform: rotate(180deg); }
.wedocs-doc-sections .children {
	list-style: none;
	margin: 4px 0 8px;
	padding: 0 0 0 16px;
	border-left: 1px solid var(--neo-border);
	display: grid;
	gap: 2px;
}
.wedocs-doc-sections .children li a {
	display: block;
	padding: 7px 12px;
	border-radius: var(--neo-radius-sm);
	color: var(--neo-muted);
	font-size: 0.9rem;
}
.wedocs-doc-sections .children li a:hover { color: var(--neo-cyan); background: var(--neo-cyan-soft); }
.wedocs-docs-single .divider {
	border: 0;
	border-top: 1px solid var(--neo-border-soft);
	margin: 18px 0 14px;
}
.wedocs-doc-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--neo-cyan);
}
.wedocs-doc-link a:hover { color: var(--neo-cyan-bright); }
.wedocs-doc-link a::after { content: "→"; }

/* Page single de documentation */
.wedocs-single-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; }
.wedocs-single-wrap .wedocs-sidebar { padding: 0; }
.wedocs-single-wrap .wedocs-sidebar h3 {
	font-family: var(--neo-font-display);
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--neo-cyan);
	margin-bottom: 14px;
}
.wedocs-single-wrap .wedocs-sidebar ul { list-style: none; margin: 0; padding: 0; }
.wedocs-single-wrap .wedocs-sidebar ul li { margin: 0; border: 0 !important; background: transparent !important; }
.wedocs-single-wrap .wedocs-sidebar ul li a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--neo-radius-sm);
	color: var(--neo-muted);
	font-size: 0.92rem;
	border: 1px solid transparent;
}
.wedocs-single-wrap .wedocs-sidebar ul li a:hover { color: var(--neo-cyan); background: var(--neo-cyan-soft); }
.wedocs-single-wrap .wedocs-sidebar ul li.current a { color: var(--neo-cyan); border-color: rgba(34, 211, 238, 0.35); background: var(--neo-cyan-soft); }
.wedocs-single-wrap .wedocs-single-content {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 32px;
}
.wedocs-single-wrap .wedocs-single-content h1, .wedocs-single-wrap .wedocs-single-content h2, .wedocs-single-wrap .wedocs-single-content h3 {
	font-family: var(--neo-font-display);
	color: var(--neo-text);
}
.wedocs-single-wrap .wedocs-single-content img { border-radius: var(--neo-radius-md); }
.wedocs-single-wrap .wedocs-single-content code, .wedocs-single-wrap .wedocs-single-content pre {
	background: rgba(148, 163, 184, 0.12);
	border-color: var(--neo-border);
}
.wedocs-single-wrap .wedocs-single-content table { border-color: var(--neo-border); }
.wedocs-single-wrap .wedocs-single-content th, .wedocs-single-wrap .wedocs-single-content td { border-color: var(--neo-border); }
.wedocs-single-wrap .wedocs-single-content a { color: var(--neo-cyan-bright); }
.wedocs-single-wrap .wedocs-single-content blockquote {
	border-left-color: var(--neo-cyan);
	background: var(--neo-cyan-soft);
	color: var(--neo-muted);
}
.wedocs-single-wrap .wedocs-single-content .wedocs-single-nav-area { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.wedocs-single-wrap .wedocs-single-content .wedocs-single-nav-area a { color: var(--neo-muted); }
.wedocs-single-wrap .wedocs-single-content .wedocs-single-nav-area a:hover { color: var(--neo-cyan); }

@media (min-width: 768px) {
	.wedocs-single-wrap { grid-template-columns: 280px minmax(0, 1fr); }
}

/* ---------- 20b. Docs natifs (page-docs / single-docs) ---------- */
.neo-docs-page { padding-top: 40px; padding-bottom: 80px; }
.neo-docs-sections { display: grid; gap: 24px; }
.neo-docs-section { padding: 30px 32px; }
.neo-docs-section-title { margin-bottom: 18px; font-size: 1.3rem; }
.neo-docs-section-title a { color: var(--neo-text); }
.neo-docs-section-title a:hover { color: var(--neo-cyan); }

.neo-docs-tree {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	gap: 4px;
}
.neo-docs-tree .neo-docs-tree {
	margin: 4px 0 6px;
	padding-left: 18px;
	border-left: 1px solid var(--neo-border);
}
.neo-docs-item > a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--neo-radius-sm);
	color: var(--neo-muted);
	font-size: 0.95rem;
	font-weight: 500;
}
.neo-docs-item.has-children > a { font-weight: 700; color: var(--neo-text); }
.neo-docs-item > a:hover { color: var(--neo-cyan); background: var(--neo-cyan-soft); }
.neo-docs-more { font-weight: 600; font-size: 0.88rem; }

/* Page single de documentation */
.neo-docs-sidebar {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 22px 18px;
}
.neo-docs-sidebar .neo-docs-sidebar-title {
	font-family: var(--neo-font-display);
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--neo-cyan);
	margin-bottom: 14px;
}
.neo-docs-sidebar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.neo-docs-sidebar-list a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--neo-radius-sm);
	color: var(--neo-muted);
	font-size: 0.92rem;
}
.neo-docs-sidebar-list a:hover { color: var(--neo-cyan); background: var(--neo-cyan-soft); }

@media (min-width: 768px) {
	.neo-docs-sidebar {
		position: sticky;
		top: calc(var(--neo-header-h) + 20px);
		max-height: calc(100vh - var(--neo-header-h) - 40px);
		overflow-y: auto;
	}
}

.neo-docs-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--neo-border-soft);
}
.neo-docs-nav a { color: var(--neo-muted); font-weight: 600; font-size: 0.92rem; }
.neo-docs-nav a:hover { color: var(--neo-cyan); }
.neo-docs-nav-next { margin-left: auto; text-align: right; }

/* ---------- 21. Communauté (players, feats, profils) ---------- */
.neo-community { padding-top: 40px; padding-bottom: 80px; }

.neo-feats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-bottom: 40px;
}
.neo-feat {
	background: linear-gradient(180deg, var(--neo-surface-2), var(--neo-surface));
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
	padding: 20px 16px;
	text-align: center;
}
.neo-feat b {
	display: block;
	font-family: var(--neo-font-display);
	font-size: 1.7rem;
	font-weight: 900;
	line-height: 1.15;
	background: linear-gradient(120deg, var(--neo-cyan), var(--neo-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.neo-feat span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--neo-muted); }

.neo-top-empires { margin-bottom: 40px; }
.neo-top-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.neo-top-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 18px;
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
}
.neo-top-rank {
	font-family: var(--neo-font-display);
	font-weight: 900;
	color: var(--neo-cyan);
	font-size: 1.05rem;
	min-width: 34px;
}
.neo-top-list a { color: var(--neo-text); font-weight: 600; }
.neo-top-list a:hover { color: var(--neo-cyan); }
.neo-top-citizens { margin-left: auto; color: var(--neo-muted); font-size: 0.88rem; }

.neo-players-search { margin-bottom: 28px; }
.neo-search-form { display: flex; gap: 10px; }
.neo-search-form input[type="search"] {
	flex: 1;
	padding: 12px 16px;
	background: rgba(5, 7, 15, 0.7);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
	color: var(--neo-text);
	font-size: 1rem;
}
.neo-search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--neo-cyan);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

.neo-players-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-top: 16px;
}
.neo-player-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	color: var(--neo-text);
}
.neo-player-card:hover { color: var(--neo-text); }
.neo-player-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 50%;
	background: var(--neo-cyan-soft);
	border: 1px solid rgba(34, 211, 238, 0.4);
	color: var(--neo-cyan);
	font-family: var(--neo-font-display);
	font-weight: 800;
	font-size: 1.2rem;
}
.neo-player-name { font-family: var(--neo-font-display); font-weight: 700; font-size: 1.05rem; }
.neo-player-staff { color: var(--neo-cyan); margin-left: 6px; }
.neo-player-stats { margin-left: auto; display: flex; gap: 12px; color: var(--neo-muted); font-size: 0.85rem; }

.neo-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.neo-pagination .neo-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-sm);
	color: var(--neo-muted);
	font-weight: 600;
}
.neo-pagination a.neo-page:hover { color: var(--neo-cyan); border-color: var(--neo-cyan); }
.neo-pagination .neo-page.current { color: #04121a; background: linear-gradient(135deg, var(--neo-cyan), var(--neo-cyan-bright)); border-color: transparent; }

/* Profil joueur */
.neo-profile-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 24px;
}
.neo-profile-stat {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
	padding: 18px 14px;
	text-align: center;
}
.neo-profile-stat b {
	display: block;
	font-family: var(--neo-font-display);
	font-size: 1.4rem;
	font-weight: 900;
	color: var(--neo-cyan);
	line-height: 1.2;
}
.neo-profile-stat span { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--neo-muted); }
.neo-profile-detail, .neo-profile-allies { margin-bottom: 20px; }
.neo-allies-list { display: flex; flex-wrap: wrap; gap: 10px; }
.neo-ally-chip {
	padding: 8px 16px;
	border: 1px solid rgba(34, 211, 238, 0.35);
	background: var(--neo-cyan-soft);
	border-radius: 999px;
	color: var(--neo-cyan);
	font-weight: 600;
	font-size: 0.9rem;
}
.neo-ally-chip:hover { color: var(--neo-cyan-bright); border-color: var(--neo-cyan); }

@media (min-width: 768px) {
	.neo-feats { grid-template-columns: repeat(3, 1fr); }
	.neo-players-grid { grid-template-columns: repeat(2, 1fr); }
	.neo-profile-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
	.neo-players-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 22. NEO+ (abonnement) ---------- */
.neo-neoplus { padding-top: 40px; padding-bottom: 80px; }

.neo-neoplus-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	vertical-align: middle;
	color: #3b2b00;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	box-shadow: 0 2px 12px rgba(245, 158, 11, 0.45);
	white-space: nowrap;
}

.neo-neoplus-benefits {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-bottom: 56px;
}
.neo-benefit {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 26px 24px;
}
.neo-benefit-icon { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.neo-benefit h3 { margin-bottom: 8px; font-size: 1.1rem; }
.neo-benefit p { margin: 0; color: var(--neo-muted); font-size: 0.92rem; }

.neo-pricing { margin-bottom: 56px; }
.neo-pricing-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 760px;
	margin: 0 auto;
}
.neo-plan { padding: 32px 28px; text-align: center; position: relative; }
.neo-plan-name { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--neo-muted); }
.neo-plan-price {
	font-family: var(--neo-font-display);
	font-size: 2.6rem;
	font-weight: 900;
	margin: 10px 0 18px;
	background: linear-gradient(120deg, var(--neo-cyan), var(--neo-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.neo-plan-price span { font-size: 1rem; color: var(--neo-muted); background: none; -webkit-background-clip: initial; background-clip: initial; }
.neo-plan-price-trial { margin-bottom: 4px; }
.neo-plan-then {
	font-size: 0.92rem;
	color: var(--neo-muted);
	margin: 0 0 18px;
}
.neo-plan-then strong {
	font-family: var(--neo-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--neo-text);
}
.neo-plan .neo-check-list { text-align: left; margin-bottom: 22px; }
.neo-plan-featured {
	border-color: rgba(245, 158, 11, 0.55);
	box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2), 0 18px 48px rgba(245, 158, 11, 0.12);
}
.neo-plan-tag {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	color: #3b2b00;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 999px;
	box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.neo-neoplus-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.neo-neoplus-faq .neo-section-title { text-align: center; margin-bottom: 6px; }
.neo-neoplus-faq .neo-card { padding: 24px 28px; }
.neo-neoplus-faq h3 { font-size: 1.02rem; margin-bottom: 6px; }

.neo-neoplus-card { margin-top: 18px; }

/* Page de paiement embedded */
.neo-pay-wrap {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	max-width: 860px;
	margin: 0 auto;
	padding-top: 40px;
	padding-bottom: 80px;
}
.neo-pay-summary {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 32px 28px;
	text-align: center;
}
.neo-pay-logo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
	margin-bottom: 14px;
}
.neo-pay-plan { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--neo-muted); }
.neo-pay-price {
	font-family: var(--neo-font-display);
	font-size: 2.4rem;
	font-weight: 900;
	margin: 8px 0 18px;
	background: linear-gradient(120deg, var(--neo-cyan), var(--neo-violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.neo-pay-price span { font-size: 0.95rem; color: var(--neo-muted); background: none; -webkit-background-clip: initial; background-clip: initial; }
.neo-pay-summary .neo-check-list { text-align: left; }
.neo-pay-card {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-lg);
	padding: 32px 28px;
}
.neo-payment-element { margin-bottom: 18px; }
.neo-payment-element .StripeElement {
	background: rgba(5, 7, 15, 0.7);
	border: 1px solid var(--neo-border);
	border-radius: 10px;
	padding: 12px 14px;
}
.neo-pay-submit { width: 100%; }
.neo-pay-note { text-align: center; font-size: 0.82rem; margin-top: 12px; }
.neo-pay-error { max-width: 560px; margin: 0 auto; text-align: center; }

@media (min-width: 768px) {
	.neo-pay-wrap { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
	.neo-pay-summary { position: sticky; top: calc(var(--neo-header-h) + 20px); }
}

@media (min-width: 768px) {
	.neo-neoplus-benefits { grid-template-columns: repeat(2, 1fr); }
	.neo-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
	.neo-neoplus-benefits { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 23. Commentaires ---------- */
.neo-comments { margin-top: 48px; }
.neo-comments-title {
	font-size: 1.35rem;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--neo-border-soft);
}

.neo-comment-list {
	list-style: none;
	margin: 0 0 36px;
	padding: 0;
	display: grid;
	gap: 18px;
}
.neo-comment-list .children { list-style: none; margin: 18px 0 0; padding: 0 0 0 22px; border-left: 1px solid var(--neo-border); }

.comment-body {
	background: var(--neo-surface);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-md);
	padding: 20px 22px;
}
.comment-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.comment-author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author .avatar {
	width: 36px !important;
	height: 36px !important;
	border-radius: 50%;
	border: 1px solid rgba(34, 211, 238, 0.35);
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}
.comment-author .fn { font-style: normal; color: var(--neo-text); }
.comment-author .says { display: none; }
.comment-metadata { margin-left: auto; font-size: 0.8rem; color: var(--neo-dim); }
.comment-metadata a { color: var(--neo-dim); }
.comment-metadata a:hover { color: var(--neo-cyan); }
.comment-content { color: var(--neo-muted); font-size: 0.96rem; }
.comment-content p { margin-bottom: 0.8em; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content a { color: var(--neo-cyan-bright); }
.reply { margin-top: 12px; }
.comment-reply-link {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--neo-cyan);
}
.comment-reply-link:hover { color: var(--neo-cyan-bright); }

/* Formulaire */
.comment-respond { margin-top: 10px; }
.comment-reply-title { font-size: 1.2rem; margin-bottom: 16px; }
.comment-form { display: grid; gap: 14px; }
.comment-notes { color: var(--neo-dim); font-size: 0.85rem; margin: 0; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.88rem; }
.comment-form .required { color: var(--neo-red); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: rgba(5, 7, 15, 0.7);
	border: 1px solid var(--neo-border);
	border-radius: var(--neo-radius-sm);
	color: var(--neo-text);
	font-size: 1rem;
	font-family: var(--neo-font-body);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--neo-cyan);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url { display: grid; }
@media (min-width: 768px) {
	.comment-form .comment-form-author,
	.comment-form .comment-form-email { display: inline-block; width: calc(50% - 7px); }
	.comment-form .comment-form-author { margin-right: 14px !important; }
	.comment-form .comment-form-url { display: grid; }
}
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--neo-muted); }
.comment-form-cookies-consent input { accent-color: var(--neo-cyan); margin-top: 3px; }
.comment-form .form-submit { margin-top: 6px; }
.comment-form .form-submit .submit {
	padding: 13px 30px;
	border-radius: var(--neo-radius-md);
	font-family: var(--neo-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	border: 0;
	cursor: pointer;
	background: linear-gradient(135deg, var(--neo-cyan), var(--neo-cyan-bright));
	color: #04121a;
	box-shadow: 0 6px 24px rgba(34, 211, 238, 0.35);
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.comment-form .form-submit .submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(34, 211, 238, 0.5); }

.comment-navigation { display: flex; justify-content: space-between; margin: 20px 0; font-size: 0.9rem; }
.comment-navigation a { color: var(--neo-cyan); }

/* ---------- 23. Accessibilité ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 300;
	width: auto; height: auto;
	clip: auto; clip-path: none;
	background: var(--neo-surface-2);
	color: var(--neo-cyan);
	padding: 12px 20px;
	border: 1px solid var(--neo-cyan);
	border-radius: var(--neo-radius-sm);
	font-weight: 600;
}

:focus-visible {
	outline: 2px solid var(--neo-cyan);
	outline-offset: 3px;
	border-radius: 4px;
}

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

/* ---------- 21. Desktop (≥ 768px) ---------- */
@media (min-width: 768px) {
	.neo-section { padding: 96px 0; }

	.neo-nav-toggle { display: none; }
	.neo-nav {
		display: flex;
		position: static;
		flex: 1;
		justify-content: flex-end;
		background: transparent;
		border: 0;
		padding: 0;
	}
	.neo-nav ul {
		flex-direction: row;
		align-items: center;
		gap: 2px;
	}
	.neo-nav ul a { padding: 10px 14px; }
	.neo-nav-account {
		flex-direction: row;
		align-items: center;
		margin: 0 0 0 14px;
		padding: 0 0 0 14px;
		border-top: 0;
		border-left: 1px solid var(--neo-border-soft);
	}

	.neo-hero { padding: 88px 0 104px; }
	.neo-hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
	.neo-hero-keyart { width: min(440px, 40vw); }

	.neo-features-grid { grid-template-columns: repeat(2, 1fr); }
	.neo-ages-grid { grid-template-columns: repeat(3, 1fr); }
	.neo-split { grid-template-columns: 1fr 1fr; gap: 56px; }
	.neo-gallery-preview { grid-template-columns: repeat(4, 1fr); }
	.neo-gallery-preview .neo-gallery-item:first-child { grid-column: auto; }
	.neo-news-grid { grid-template-columns: repeat(3, 1fr); }
	.neo-gallery { grid-template-columns: repeat(2, 1fr); }
	.neo-steps { grid-template-columns: repeat(4, 1fr); }
	.neo-reqs-grid { grid-template-columns: 1fr 1fr; }
	.neo-download-card { grid-template-columns: 1fr auto; align-items: center; }
	.neo-download-card-main { flex-direction: row; text-align: left; }
	.neo-download-info .neo-platforms, .neo-download-info .neo-version-badge { justify-content: flex-start; }

	.neo-layout { grid-template-columns: minmax(0, 1fr) 300px; }
	.neo-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.neo-footer-bottom { flex-direction: row; align-items: center; }
}

@media (min-width: 1100px) {
	.neo-features-grid { grid-template-columns: repeat(3, 1fr); }
	.neo-gallery { grid-template-columns: repeat(3, 1fr); }
}
