:root {
	--bg: #0f0a1e;
	--bg2: #1a1233;
	--night-top: #1f1640;
	--panel: rgba(255, 255, 255, 0.06);
	--panel-border: rgba(255, 255, 255, 0.12);
	--accent: #ffb347;
	--accent2: #ff6b6b;
	--good: #4ade80;
	--text: #f4f1ff;
	--muted: #a99fd6;
	--wolf: #6d28d9;
	--radius: 18px;
	--radius-lg: 24px;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	--font: "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background: radial-gradient(ellipse at top, var(--night-top) 0%, var(--bg) 60%);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body {
	min-height: 100dvh;
}

a {
	color: var(--accent);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/* ===== Layout ===== */
.wrap {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 22px;
}

.site-header,
.site-footer {
	width: 100%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(12px);
	background: rgba(15, 10, 30, 0.72);
	border-bottom: 1px solid var(--panel-border);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--text);
	font-size: 1.15rem;
	letter-spacing: 0.3px;
}
.brand:hover {
	text-decoration: none;
}
.brand .brand-emoji {
	font-size: 1.5rem;
	line-height: 1;
}
.brand .brand-name {
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 18px;
}
.nav-links a {
	color: var(--muted);
	font-weight: 600;
	font-size: 0.98rem;
}
.nav-links a:hover {
	color: var(--text);
	text-decoration: none;
}

/* ===== Buttons ===== */
.btn {
	appearance: none;
	border: none;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	padding: 14px 24px;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none;
}
.btn:active {
	transform: scale(0.97);
}
.btn-primary {
	background: linear-gradient(135deg, var(--accent), var(--accent2));
	color: #1a0d00;
	box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
}
.btn-primary:hover {
	filter: brightness(1.06);
	text-decoration: none;
}
.btn-ghost {
	background: var(--panel);
	color: var(--text);
	border: 1px solid var(--panel-border);
	backdrop-filter: blur(6px);
}
.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	text-decoration: none;
}
.btn-apple {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text);
	border: 1px solid var(--panel-border);
}
.btn-apple:hover {
	background: rgba(255, 255, 255, 0.16);
	text-decoration: none;
}

/* ===== Hero ===== */
.hero {
	position: relative;
	padding: max(env(safe-area-inset-top), 56px) 0 48px;
	text-align: center;
	overflow: hidden;
}
.hero-stage {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 280px;
	margin-bottom: 18px;
}
.moon {
	position: absolute;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fff7e0, #ffd97a 60%, #f5b94a);
	box-shadow: 0 0 60px rgba(255, 200, 100, 0.45), 0 0 120px rgba(255, 160, 60, 0.25);
	top: 20px;
}
.hero-wolf {
	position: relative;
	z-index: 2;
	height: 220px;
	width: auto;
	filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
	animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
.stars {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
		radial-gradient(1px 1px at 60% 20%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 80% 50%, #fff, transparent),
		radial-gradient(1px 1px at 35% 70%, #fff, transparent),
		radial-gradient(1.2px 1.2px at 75% 80%, #fff, transparent),
		radial-gradient(1px 1px at 50% 40%, #fff, transparent),
		radial-gradient(1px 1px at 10% 60%, #fff, transparent),
		radial-gradient(1.2px 1.2px at 90% 25%, #fff, transparent);
	opacity: 0.7;
	pointer-events: none;
}

.title {
	font-size: clamp(2.8rem, 8vw, 4.2rem);
	font-weight: 700;
	margin: 0;
	letter-spacing: 0.5px;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 4px 24px rgba(255, 107, 107, 0.25);
	line-height: 1.05;
}
.subtitle {
	color: var(--muted);
	margin: 12px auto 0;
	font-size: clamp(1.05rem, 2.6vw, 1.3rem);
	max-width: 560px;
}
.hero-cta {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

/* ===== Sections ===== */
.section {
	padding: 56px 0;
}
.section-title {
	text-align: center;
	font-size: clamp(1.6rem, 4vw, 2.1rem);
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--text);
}
.section-lead {
	text-align: center;
	color: var(--muted);
	margin: 0 auto 32px;
	max-width: 560px;
}

/* ===== Feature cards ===== */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}
.feature {
	background: var(--panel);
	border: 1px solid var(--panel-border);
	border-radius: var(--radius);
	padding: 22px 20px;
	text-align: center;
}
.feature .icon {
	font-size: 2.2rem;
	margin-bottom: 10px;
	display: block;
}
.feature h3 {
	margin: 0 0 6px;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text);
}
.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 0.96rem;
}

/* ===== How to play ===== */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	counter-reset: step;
}
.step-card {
	background: var(--panel);
	border: 1px solid var(--panel-border);
	border-radius: var(--radius);
	padding: 18px 18px 18px 56px;
	position: relative;
}
.step-card::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 16px;
	top: 18px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--accent);
	color: #1a0d00;
	font-weight: 700;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.step-card h3 {
	margin: 0 0 4px;
	font-size: 1.05rem;
	font-weight: 600;
}
.step-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* ===== Screenshots ===== */
.shots {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}
.shot {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 24px;
	padding: 8px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
	aspect-ratio: 1206 / 2622;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 18px;
	display: block;
}
.shot .shot-label {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(15, 10, 30, 0.78);
	backdrop-filter: blur(8px);
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
	white-space: nowrap;
}

/* ===== Premium ===== */
.premium {
	background: linear-gradient(160deg, rgba(109, 40, 217, 0.25), rgba(255, 107, 107, 0.08));
	border: 1px solid rgba(255, 179, 71, 0.3);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	text-align: center;
}
.premium .premium-badge {
	display: inline-block;
	background: linear-gradient(135deg, var(--accent), var(--accent2));
	color: #1a0d00;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.5px;
	padding: 5px 14px;
	border-radius: 999px;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.premium h3 {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 700;
}
.premium p {
	margin: 0 auto 20px;
	max-width: 520px;
	color: var(--muted);
}
.premium-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin: 24px 0;
	text-align: left;
}
.premium-item {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--panel-border);
	border-radius: 14px;
	padding: 14px 16px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.premium-item .pi-icon {
	font-size: 1.4rem;
	line-height: 1.2;
}
.premium-item .pi-text strong {
	display: block;
	color: var(--text);
	font-weight: 600;
}
.premium-item .pi-text span {
	color: var(--muted);
	font-size: 0.9rem;
}

/* ===== Footer ===== */
.site-footer {
	border-top: 1px solid var(--panel-border);
	padding: 36px 0 40px;
	margin-top: 40px;
	background: rgba(15, 10, 30, 0.5);
}
.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.footer-links a {
	color: var(--muted);
	font-size: 0.95rem;
	font-weight: 600;
}
.footer-links a:hover {
	color: var(--text);
	text-decoration: none;
}
.footer-copy {
	color: var(--muted);
	font-size: 0.9rem;
}

/* ===== Legal pages ===== */
.legal {
	padding: 48px 0 56px;
}
.legal h1 {
	font-size: clamp(1.8rem, 5vw, 2.4rem);
	font-weight: 700;
	margin: 0 0 6px;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.legal .updated {
	color: var(--muted);
	font-size: 0.9rem;
	margin: 0 0 28px;
}
.legal h2 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 32px 0 10px;
	color: var(--text);
}
.legal h3 {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 22px 0 8px;
	color: var(--accent);
}
.legal p,
.legal li {
	color: var(--text);
	font-size: 0.98rem;
	line-height: 1.65;
}
.legal ul {
	margin: 8px 0 16px;
	padding-left: 20px;
}
.legal ul li {
	margin-bottom: 6px;
}
.legal a {
	color: var(--accent);
}
.legal .legal-card {
	background: var(--panel);
	border: 1px solid var(--panel-border);
	border-radius: var(--radius);
	padding: 18px 20px;
	margin: 16px 0;
}
.legal .legal-card p:last-child {
	margin-bottom: 0;
}
.legal .contact {
	margin-top: 28px;
	padding: 16px 18px;
	background: var(--panel);
	border: 1px solid var(--panel-border);
	border-radius: var(--radius);
	color: var(--muted);
}
.legal .contact a {
	color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
	.nav-links {
		gap: 12px;
	}
	.nav-links .nav-desktop-only {
		display: none;
	}
	.hero-stage {
		height: 220px;
	}
	.hero-wolf {
		height: 170px;
	}
	.moon {
		width: 130px;
		height: 130px;
	}
	.section {
		padding: 44px 0;
	}
	.shots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}
	.shot {
		border-radius: 18px;
		padding: 5px;
	}
	.shot img {
		border-radius: 14px;
	}
	.shot .shot-label {
		bottom: 9px;
		font-size: 0.68rem;
		padding: 4px 9px;
	}
	.premium {
		padding: 24px 18px;
	}
}

@media (min-width: 900px) {
	.shot:nth-child(2),
	.shot:nth-child(5) {
		margin-top: 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
