/* ==========================================================================
   LuckyRiotz – main stylesheet
   Palette: evergreen night (#070d0a), holly red (#ff3b4e),
   berry magenta (#ff2e88), mint neon (#3dffb8), frost text (#e8f2ec)
   ========================================================================== */

:root {
	--bg: #070d0a;
	--bg-soft: #0b1410;
	--panel: #0e1a14;
	--panel-2: #122219;
	--line: rgba(61, 255, 184, 0.12);
	--text: #e8f2ec;
	--muted: #9db3a8;
	--holly: #ff3b4e;
	--berry: #ff2e88;
	--mint: #3dffb8;
	--grad: linear-gradient(90deg, #ff3b4e 0%, #ff2e88 55%, #3dffb8 130%);
	--radius: 14px;
	--font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
	--font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	background: var(--bg);
	background-image:
		radial-gradient(1000px 500px at 80% -10%, rgba(255, 46, 136, 0.07), transparent 60%),
		radial-gradient(900px 500px at 10% 0%, rgba(61, 255, 184, 0.06), transparent 60%);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--text);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 860px; }
.center { text-align: center; margin-top: 34px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-family: var(--font-display);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	cursor: pointer;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
	background: var(--grad);
	color: #0a0f0c;
	font-weight: 700;
	box-shadow: 0 0 22px rgba(255, 59, 78, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(255, 46, 136, 0.45); }

.btn-ghost {
	background: rgba(232, 242, 236, 0.04);
	border-color: rgba(232, 242, 236, 0.18);
	color: var(--text);
}

.btn-outline {
	background: transparent;
	border-color: rgba(61, 255, 184, 0.45);
	color: var(--mint);
}
.btn-outline:hover { background: rgba(61, 255, 184, 0.08); }

.btn-lg { padding: 14px 30px; font-size: 0.95rem; }
.btn-block { display: block; text-align: center; width: 100%; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(7, 13, 10, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }

.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--grad);
	color: #0a0f0c;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.9rem;
	box-shadow: 0 0 18px rgba(255, 59, 78, 0.45);
}

.brand-name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	color: var(--text);
}
.brand-name em { font-style: normal; color: var(--mint); }

.site-nav { margin-left: auto; }
.nav-menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none !important;
}
.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a { color: var(--mint); }

.age-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border: 1px solid rgba(232, 242, 236, 0.15);
	border-radius: 100px;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}
.age-pill strong { color: var(--holly); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	padding: 100px 0 80px;
	text-align: center;
	background:
		radial-gradient(800px 380px at 50% -5%, rgba(255, 46, 136, 0.12), transparent 65%),
		radial-gradient(2px 2px at 18% 30%, rgba(61, 255, 184, 0.6), transparent 40%),
		radial-gradient(2px 2px at 78% 22%, rgba(255, 59, 78, 0.6), transparent 40%),
		radial-gradient(1.5px 1.5px at 62% 64%, rgba(232, 242, 236, 0.45), transparent 40%);
	border-bottom: 1px solid var(--line);
}

.hero-eyebrow {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid var(--line);
	border-radius: 100px;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mint);
	margin-bottom: 26px;
}

.hero-title {
	font-size: clamp(3rem, 8vw, 5.4rem);
	font-weight: 900;
	letter-spacing: 0.04em;
	margin-bottom: 18px;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero-title span { color: var(--text); -webkit-text-fill-color: var(--text); }

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

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 54px; }

.hero-stats { display: flex; gap: 60px; justify-content: center; flex-wrap: wrap; }
.stat { display: grid; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--holly); }
.stat-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-cyan { color: var(--mint); }
.stat-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 70px 0; }
.section-last { padding-bottom: 100px; }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 36px;
}
.section-head h2 { margin-bottom: 0; font-size: 1.8rem; }
.section-head-center { display: block; text-align: center; }
.section-head-center h2 { font-size: 2rem; }

.eyebrow {
	display: block;
	font-family: var(--font-display);
	font-size: 0.7rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--mint);
	margin-bottom: 10px;
}

.link-arrow { font-weight: 600; font-size: 0.92rem; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Game cards
   -------------------------------------------------------------------------- */

.game-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 22px;
}

.game-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.game-card:hover {
	transform: translateY(-4px);
	border-color: rgba(61, 255, 184, 0.35);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
.game-card.is-hidden { display: none; }

.game-thumb {
	position: relative;
	display: grid;
	place-items: center;
	height: 150px;
	background:
		radial-gradient(220px 130px at 50% 110%, hsla(var(--hue), 90%, 60%, 0.28), transparent 70%),
		linear-gradient(160deg, hsla(var(--hue), 60%, 16%, 0.9), var(--panel-2));
	text-decoration: none !important;
}

.game-icon { font-size: 3.2rem; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }

.game-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 4px 10px;
	border-radius: 100px;
	font-family: var(--font-display);
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: #0a0f0c;
}
.badge-beliebt { background: var(--holly); color: #fff; }
.badge-top { background: #ffb02e; }
.badge-neu { background: var(--mint); }

.game-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-title { font-size: 1.02rem; margin: 0; }
.game-title a { color: var(--text); text-decoration: none !important; }
.game-title a:hover { color: var(--mint); }
.game-provider { font-size: 0.78rem; font-weight: 700; color: var(--berry); letter-spacing: 0.04em; }
.game-desc { font-size: 0.86rem; color: var(--muted); margin: 0; flex: 1; }

.tag {
	align-self: flex-start;
	display: inline-block;
	padding: 3px 11px;
	border-radius: 100px;
	background: rgba(61, 255, 184, 0.1);
	border: 1px solid rgba(61, 255, 184, 0.25);
	color: var(--mint);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Features / notice / CTA
   -------------------------------------------------------------------------- */

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}

.feature-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 22px;
}
.feature-icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: rgba(255, 46, 136, 0.12);
	font-size: 1.3rem;
	margin-bottom: 14px;
}
.feature-card h3 { font-size: 0.98rem; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.notice-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-top: 3px solid;
	border-image: var(--grad) 1;
	border-radius: var(--radius);
	padding: 28px 30px;
}
.notice-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.notice-card p { color: var(--muted); margin: 0; }
.notice-icon { font-size: 1.15rem; }
.notice-slim { border-top-width: 2px; padding: 18px 22px; margin-top: 26px; }
.notice-accent { margin-bottom: 44px; }
.notice-age { margin-top: 44px; padding: 36px 30px; }
.notice-age h3 { justify-content: center; margin-top: 14px; }

.cta-card {
	text-align: center;
	background: linear-gradient(160deg, rgba(255, 46, 136, 0.07), rgba(61, 255, 184, 0.05)), var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 56px 30px;
}
.cta-card p { max-width: 560px; margin: 0 auto 26px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Page hero / library / filters
   -------------------------------------------------------------------------- */

.page-hero { padding: 64px 0 34px; text-align: center; }
.page-hero-slim { text-align: left; padding: 40px 0 6px; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.page-sub { max-width: 620px; margin: 0 auto; color: var(--muted); }
.page-hero-slim .page-sub { margin: 0; }

.back-link {
	display: inline-block;
	margin-bottom: 22px;
	font-size: 0.85rem;
	color: var(--muted);
	text-decoration: none !important;
}
.back-link:hover { color: var(--mint); }

.filter-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }

.filter-btn {
	padding: 9px 20px;
	border-radius: 100px;
	border: 1px solid rgba(232, 242, 236, 0.15);
	background: transparent;
	color: var(--muted);
	font-family: var(--font-display);
	font-size: 0.78rem;
	cursor: pointer;
	transition: all 0.15s ease;
}
.filter-btn:hover { border-color: rgba(61, 255, 184, 0.4); color: var(--text); }
.filter-btn.is-active {
	background: rgba(61, 255, 184, 0.12);
	border-color: var(--mint);
	color: var(--mint);
	box-shadow: 0 0 16px rgba(61, 255, 184, 0.18);
}

.info-strip {
	max-width: 720px;
	margin: 0 auto 40px;
	padding: 13px 22px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel);
	color: var(--muted);
	font-size: 0.86rem;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Game page
   -------------------------------------------------------------------------- */

.section-game { padding-top: 26px; }

.game-head { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.game-head h1 { margin: 0 0 4px; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.game-head-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 16px;
	font-size: 2.2rem;
	background:
		radial-gradient(90px 60px at 50% 110%, hsla(var(--hue), 90%, 60%, 0.3), transparent 70%),
		linear-gradient(160deg, hsla(var(--hue), 60%, 16%, 0.9), var(--panel-2));
	border: 1px solid var(--line);
}
.game-meta { margin: 0; color: var(--muted); }
.game-desc-lead { color: var(--muted); max-width: 700px; margin-bottom: 28px; }

.game-frame-wrap {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
	aspect-ratio: 16 / 9;
}
.game-frame-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.game-launcher {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	text-align: center;
	background:
		radial-gradient(500px 260px at 50% 120%, rgba(255, 46, 136, 0.14), transparent 70%),
		var(--bg-soft);
}
.game-launcher h2 { margin: 0; font-size: 1.3rem; }
.game-launcher p { max-width: 520px; margin: 0; color: var(--muted); font-size: 0.87rem; }
.game-launcher-icon { font-size: 2.6rem; }
.game-launcher-note {
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Responsible gaming / legal
   -------------------------------------------------------------------------- */

.tip-grid, .help-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	margin-bottom: 44px;
}

.tip-card, .help-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
}
.tip-card h3, .help-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.tip-card p, .help-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.warn-card {
	background: rgba(255, 176, 46, 0.05);
	border: 1px solid rgba(255, 176, 46, 0.3);
	border-radius: var(--radius);
	padding: 26px 28px;
	margin-bottom: 44px;
}
.warn-card h3 { color: #ffb02e; font-size: 1rem; }
.warn-card ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
.warn-card li { margin-bottom: 6px; }
.warn-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.badge-lg { font-size: 1rem; padding: 8px 16px; }

.legal .legal-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 30px;
	margin-bottom: 20px;
}
.legal h2 {
	font-size: 1.05rem;
	color: var(--mint);
	border-bottom: 1px solid var(--line);
	padding-bottom: 12px;
}
.legal p, .legal li { color: var(--muted); font-size: 0.93rem; }
.legal ul { padding-left: 20px; }
.legal-sub {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 16px 20px;
	margin-top: 14px;
}
.legal-sub h3 { font-size: 0.88rem; margin-bottom: 8px; }
.legal-sub code { color: var(--mint); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	border-top: 1px solid var(--line);
	background: var(--bg-soft);
	padding: 60px 0 30px;
	margin-top: 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 36px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line);
}

.footer-about p { color: var(--muted); font-size: 0.88rem; margin-top: 14px; }
.footer-col h4 {
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text); font-size: 0.9rem; text-decoration: none !important; }
.footer-col a:hover { color: var(--mint); }

.footer-disclaimer { padding-top: 28px; text-align: center; }
.footer-disclaimer p { color: var(--muted); font-size: 0.8rem; max-width: 760px; margin: 0 auto 10px; }
.copyright { font-size: 0.76rem !important; }

.badge-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.badge {
	padding: 4px 14px;
	border: 1px solid rgba(232, 242, 236, 0.15);
	border-radius: 100px;
	font-size: 0.72rem;
	color: var(--muted);
}
.badge-age { background: rgba(255, 59, 78, 0.15); border-color: rgba(255, 59, 78, 0.4); color: var(--holly); font-weight: 800; }

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
	position: fixed;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	width: min(820px, calc(100% - 32px));
	z-index: 100;
	background: rgba(14, 26, 20, 0.97);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(8px);
}
.cookie-banner[hidden] { display: none; }

.cookie-inner {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 18px 22px;
}
.cookie-text { flex: 1; }
.cookie-text strong { font-family: var(--font-display); font-size: 0.85rem; }
.cookie-text p { margin: 6px 0 0; font-size: 0.8rem; color: var(--muted); }
.cookie-actions { display: flex; align-items: center; gap: 10px; }
.cookie-close {
	background: none;
	border: 0;
	color: var(--muted);
	font-size: 1.3rem;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}
.cookie-close:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.header-inner { flex-wrap: wrap; }
	.site-nav { order: 3; width: 100%; margin-left: 0; }
	.nav-menu { justify-content: center; }
	.age-pill { margin-left: auto; }
}

@media (max-width: 600px) {
	.hero { padding: 64px 0 56px; }
	.hero-stats { gap: 32px; }
	.footer-grid { grid-template-columns: 1fr; }
	.cookie-inner { flex-direction: column; align-items: stretch; text-align: center; }
	.cookie-actions { justify-content: center; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.game-head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Animations (all motion gated behind prefers-reduced-motion: no-preference)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {

	/* --- Hero entrance: staggered rise --- */
	@keyframes gh-rise {
		from { opacity: 0; transform: translateY(22px); }
		to   { opacity: 1; transform: translateY(0); }
	}
	.hero-eyebrow  { animation: gh-rise 0.6s ease-out both; }
	.hero-title    { animation: gh-rise 0.7s ease-out 0.1s both; }
	.hero-sub      { animation: gh-rise 0.7s ease-out 0.22s both; }
	.hero-actions  { animation: gh-rise 0.7s ease-out 0.34s both; }
	.hero-stats    { animation: gh-rise 0.7s ease-out 0.46s both; }

	/* --- Hero title: living gradient --- */
	@keyframes gh-gradient-drift {
		0%   { background-position: 0% 50%; }
		50%  { background-position: 100% 50%; }
		100% { background-position: 0% 50%; }
	}
	.hero-title {
		background-size: 220% 220%;
		animation: gh-rise 0.7s ease-out 0.1s both, gh-gradient-drift 7s ease-in-out 1s infinite;
	}

	/* --- Floating ember particles --- */
	@keyframes gh-float-up {
		0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
		10%  { opacity: 0.9; }
		90%  { opacity: 0.15; }
		100% { transform: translateY(-520px) translateX(var(--drift, 20px)) scale(0.4); opacity: 0; }
	}
	.hero { position: relative; overflow: hidden; }
	.hero-particles { position: absolute; inset: 0; pointer-events: none; }
	.hero-particles span {
		position: absolute;
		bottom: -10px;
		width: 5px;
		height: 5px;
		border-radius: 50%;
		background: var(--mint);
		box-shadow: 0 0 10px 2px rgba(61, 255, 184, 0.5);
		animation: gh-float-up 9s linear infinite;
	}
	.hero-particles span:nth-child(3n)   { background: var(--holly); box-shadow: 0 0 10px 2px rgba(255, 59, 78, 0.5); }
	.hero-particles span:nth-child(3n+1) { background: var(--berry); box-shadow: 0 0 10px 2px rgba(255, 46, 136, 0.5); }
	.hero-particles span:nth-child(1)  { left: 6%;  animation-duration: 10s;  animation-delay: 0s;   --drift: 34px; }
	.hero-particles span:nth-child(2)  { left: 14%; animation-duration: 12s;  animation-delay: 2.2s; --drift: -26px; width: 4px; height: 4px; }
	.hero-particles span:nth-child(3)  { left: 24%; animation-duration: 8.5s; animation-delay: 4s;   --drift: 18px; }
	.hero-particles span:nth-child(4)  { left: 33%; animation-duration: 11s;  animation-delay: 1s;   --drift: -40px; width: 3px; height: 3px; }
	.hero-particles span:nth-child(5)  { left: 42%; animation-duration: 9s;   animation-delay: 5.5s; --drift: 24px; }
	.hero-particles span:nth-child(6)  { left: 51%; animation-duration: 13s;  animation-delay: 3s;   --drift: -18px; width: 6px; height: 6px; }
	.hero-particles span:nth-child(7)  { left: 60%; animation-duration: 9.5s; animation-delay: 0.8s; --drift: 30px; }
	.hero-particles span:nth-child(8)  { left: 68%; animation-duration: 12s;  animation-delay: 6s;   --drift: -32px; width: 4px; height: 4px; }
	.hero-particles span:nth-child(9)  { left: 76%; animation-duration: 8s;   animation-delay: 2.6s; --drift: 16px; }
	.hero-particles span:nth-child(10) { left: 84%; animation-duration: 11.5s;animation-delay: 4.8s; --drift: -22px; width: 3px; height: 3px; }
	.hero-particles span:nth-child(11) { left: 91%; animation-duration: 10s;  animation-delay: 1.6s; --drift: 28px; }
	.hero-particles span:nth-child(12) { left: 97%; animation-duration: 12.5s;animation-delay: 7s;   --drift: -14px; width: 4px; height: 4px; }

	/* --- Primary button: breathing glow + hover shine sweep --- */
	@keyframes gh-glow-pulse {
		0%, 100% { box-shadow: 0 0 20px rgba(255, 59, 78, 0.3); }
		50%      { box-shadow: 0 0 34px rgba(255, 46, 136, 0.55); }
	}
	.btn-primary { animation: gh-glow-pulse 3.2s ease-in-out infinite; position: relative; overflow: hidden; }
	.btn-primary::after {
		content: "";
		position: absolute;
		top: 0; left: -80%;
		width: 50%; height: 100%;
		background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
		transform: skewX(-20deg);
		transition: left 0.5s ease;
	}
	.btn-primary:hover::after { left: 130%; }

	/* --- Scroll reveal --- */
	.reveal {
		opacity: 0;
		transform: translateY(26px);
		transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
		transition-delay: var(--reveal-delay, 0s);
	}
	.reveal.is-visible { opacity: 1; transform: none; }

	/* --- Game cards: icon float + thumb shine sweep --- */
	@keyframes gh-icon-bob {
		0%, 100% { transform: translateY(0); }
		50%      { transform: translateY(-7px); }
	}
	.game-card:hover .game-icon { animation: gh-icon-bob 1.6s ease-in-out infinite; }

	.game-thumb { overflow: hidden; }
	.game-thumb::after {
		content: "";
		position: absolute;
		top: 0; left: -80%;
		width: 45%; height: 100%;
		background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14), transparent);
		transform: skewX(-18deg);
		transition: left 0.55s ease;
	}
	.game-card:hover .game-thumb::after { left: 140%; }

	/* --- Badges: subtle attention pulse --- */
	@keyframes gh-badge-pop {
		0%, 100% { transform: scale(1); }
		50%      { transform: scale(1.08); }
	}
	.game-badge { animation: gh-badge-pop 2.4s ease-in-out infinite; }

	/* --- Stat numbers: soft neon flicker on the hero --- */
	@keyframes gh-neon-breathe {
		0%, 100% { text-shadow: 0 0 12px rgba(61, 255, 184, 0.0); }
		50%      { text-shadow: 0 0 18px rgba(61, 255, 184, 0.55); }
	}
	.stat-cyan { animation: gh-neon-breathe 3.6s ease-in-out infinite; }

	/* --- Feature icons: gentle tilt on hover --- */
	.feature-icon { transition: transform 0.25s ease; }
	.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.12); }

	/* --- Cookie banner: slide up --- */
	@keyframes gh-slide-up {
		from { opacity: 0; transform: translate(-50%, 28px); }
		to   { opacity: 1; transform: translate(-50%, 0); }
	}
	.cookie-banner:not([hidden]) { animation: gh-slide-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }

	/* --- Game launcher icon: idle bob --- */
	.game-launcher-icon { animation: gh-icon-bob 2.6s ease-in-out infinite; }
}
