:root {
	--bg-deep: #1c1a3a;
	--bg-mid: #2a2662;
	--accent-teal: #57bd91;
	--accent-yellow: #f0eb88;
	--accent-purple: #984092;
	--accent-red: #bd5757;
	--accent-green: #a4d969;
	--card-cream: #f0ece0;
	--text-cream: #f0ece0;
	--text-dim: #a4a0c8;
	--border-glow: rgba(87,189,145,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	background: var(--bg-deep);
	color: var(--text-cream);
	font-family: 'Nunito', sans-serif;
	overflow-x: hidden;
}

/* ── NAV ── */
nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 48px;
	background: rgba(28,26,58,0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(87,189,145,0.15);
}
.nav-logo {
	height: 36px;
	width: auto;
}
.nav-links {
	display: flex;
	gap: 36px;
	list-style: none;
}
.nav-links a {
	color: var(--text-dim);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-teal); }

/* ── HERO ── */
.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 120px 24px 80px;
	position: relative;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 60% at 50% 60%, #2a2662 0%, #1c1a3a 70%);
	z-index: 0;
}
.ripple {
	position: absolute;
	bottom: -10%;
	left: 50%;
	transform: translateX(-50%);
	width: 900px; height: 400px;
	border-radius: 50%;
	border: 1.5px solid rgba(87,189,145,0.12);
	pointer-events: none;
}
.ripple:nth-child(2) { width: 700px; height: 300px; border-color: rgba(87,189,145,0.18); }
.ripple:nth-child(3) { width: 500px; height: 200px; border-color: rgba(87,189,145,0.24); }
.ripple:nth-child(4) { width: 300px; height: 110px; border-color: rgba(87,189,145,0.32); }

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 780px;
}
.hero-logo-wrap {
	margin-bottom: 28px;
	animation: fadeDown 0.8s ease both;
}
.hero-logo {
	height: 56px;
	width: auto;
	filter: drop-shadow(0 0 18px rgba(87,189,145,0.4));
}
.hero-tagline {
	font-family: 'Press Start 2P', monospace;
	font-size: clamp(1.1rem, 3vw, 1.7rem);
	color: var(--accent-yellow);
	line-height: 1.6;
	margin-bottom: 20px;
	animation: fadeDown 0.9s 0.1s ease both;
	text-shadow: 0 0 24px rgba(240,235,136,0.35);
}
.hero-sub {
	font-size: 1.1rem;
	color: var(--text-dim);
	max-width: 520px;
	margin: 0 auto 40px;
	line-height: 1.7;
	font-weight: 600;
	animation: fadeDown 1s 0.2s ease both;
}
.cta-btn {
	display: inline-block;
	background: var(--bg-mid);
	border: 2px solid var(--accent-purple);
	color: var(--text-cream);
	font-family: 'Press Start 2P', monospace;
	font-size: 0.7rem;
	padding: 16px 32px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
	animation: fadeDown 1.1s 0.3s ease both;
}
.cta-btn:hover {
	background: var(--accent-purple);
	border-color: var(--accent-purple);
	box-shadow: 0 0 24px rgba(152,64,146,0.4);
}

/* ── SECTION BASE ── */
section {
	padding: 100px 24px;
}
.section-inner {
	max-width: 1100px;
	margin: 0 auto;
}
.section-label {
	font-family: 'Press Start 2P', monospace;
	font-size: 0.6rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent-teal);
	margin-bottom: 12px;
}
.section-title {
	font-family: 'Press Start 2P', monospace;
	font-size: clamp(1.2rem, 3vw, 2rem);
	color: var(--text-cream);
	margin-bottom: 16px;
	line-height: 1.5;
}
.section-desc {
	font-size: 1rem;
	color: var(--text-dim);
	max-width: 560px;
	line-height: 1.8;
	font-weight: 600;
}

/* ── GAMES SECTION ── */
#games { background: #1e1c3f; }

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 32px;
	margin-top: 56px;
}

.game-card {
	background: var(--bg-deep);
	border: 1px solid rgba(87,189,145,0.2);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	position: relative;
	max-width: 100%;
}
.game-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(87,189,145,0.3);
}
.game-card-banner {
	width: 100%;
	aspect-ratio: 16/7;
	object-fit: cover;
	display: block;
}
.game-card-banner-placeholder {
	width: 100%;
	aspect-ratio: 16/7;
	background: linear-gradient(135deg, #1c1a3a, #355281);
	display: flex;
	align-items: center;
	justify-content: center;
}
.game-card-banner-placeholder span {
	font-family: 'Press Start 2P', monospace;
	font-size: 0.7rem;
	color: var(--text-dim);
	text-align: center;
	padding: 20px;
	line-height: 2;
}
.game-card-body {
	padding: 24px;
}
.game-badge {
	display: inline-block;
	font-family: 'Press Start 2P', monospace;
	font-size: 0.5rem;
	padding: 5px 10px;
	border-radius: 4px;
	margin-bottom: 14px;
	letter-spacing: 0.05em;
}
.badge-testing {
	background: rgba(240,235,136,0.15);
	color: var(--accent-yellow);
	border: 1px solid rgba(240,235,136,0.3);
}
.badge-production {
	background: rgba(87,189,145,0.1);
	color: var(--accent-teal);
	border: 1px solid rgba(87,189,145,0.25);
}
.game-card-title {
	font-family: 'Press Start 2P', monospace;
	font-size: 1rem;
	color: var(--text-cream);
	margin-bottom: 12px;
	line-height: 1.5;
}
.game-card-desc {
	font-size: 0.9rem;
	color: var(--text-dim);
	line-height: 1.75;
	font-weight: 600;
	margin-bottom: 24px;
}
.game-card-link {
	display: inline-block;
	font-family: 'Press Start 2P', monospace;
	font-size: 0.55rem;
	padding: 12px 20px;
	background: var(--bg-mid);
	border: 1.5px solid var(--accent-purple);
	border-radius: 6px;
	color: var(--text-cream);
	text-decoration: none;
	transition: background 0.2s, box-shadow 0.2s;
}
.game-card-link:hover {
	background: var(--accent-purple);
	box-shadow: 0 0 18px rgba(152,64,146,0.4);
}
.game-card-link.disabled {
	opacity: 0.5;
	pointer-events: none;
	border-color: var(--text-dim);
	cursor: default;
}

/* ── SCREENSHOTS ── */
#screenshots { background: var(--bg-deep); }

.screenshots-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 48px;
}
.screenshots-strip {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 16px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}
.screenshots-strip::-webkit-scrollbar { height: 4px; }
.screenshots-strip::-webkit-scrollbar-track {
	background: rgba(255,255,255,0.05);
	border-radius: 2px;
}
.screenshots-strip::-webkit-scrollbar-thumb {
	background: var(--accent-purple);
	border-radius: 2px;
}
.screenshot-frame {
	flex: 0 0 auto;
	width: 200px;
	scroll-snap-align: start;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(87,189,145,0.2);
	transition: transform 0.2s;
}
.screenshot-frame:hover { transform: scale(1.03); }
.screenshot-frame img {
	width: 100%;
	display: block;
}

/* ── BOT SECTION ── */
#bot { background: #1e1c3f; }

.bot-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
	margin-top: 56px;
}
.bot-image {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(87,189,145,0.2);
}
.bot-image img {
	width: 100%;
	display: block;
}
.bot-text .section-desc { margin-bottom: 24px; }
.bot-pill {
	display: inline-block;
	background: rgba(87,189,145,0.1);
	border: 1px solid rgba(87,189,145,0.3);
	color: var(--accent-teal);
	font-family: 'Press Start 2P', monospace;
	font-size: 0.5rem;
	padding: 8px 16px;
	border-radius: 100px;
	margin-top: 16px;
}

/* ── MISSION ── */
#mission { background: var(--bg-deep); }

.mission-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin-top: 56px;
}
.mission-card {
	background: rgba(42,38,98,0.5);
	border: 1px solid rgba(87,189,145,0.15);
	border-radius: 12px;
	padding: 28px;
	transition: border-color 0.2s;
}
.mission-card:hover { border-color: rgba(87,189,145,0.4); }
.mission-icon {
	font-size: 2rem;
	margin-bottom: 16px;
}
.mission-card h3 {
	font-family: 'Press Start 2P', monospace;
	font-size: 0.65rem;
	color: var(--accent-yellow);
	margin-bottom: 12px;
	line-height: 1.6;
}
.mission-card p {
	font-size: 0.9rem;
	color: var(--text-dim);
	line-height: 1.75;
	font-weight: 600;
}

/* ── FOOTER ── */
footer {
	background: #13122e;
	border-top: 1px solid rgba(87,189,145,0.1);
	padding: 48px 24px;
}
.footer-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}
.footer-logo { height: 28px; opacity: 0.8; }
.footer-note {
	font-size: 0.8rem;
	color: var(--text-dim);
	max-width: 620px;
	line-height: 1.7;
	font-weight: 600;
}
.footer-copy {
	font-family: 'Press Start 2P', monospace;
	font-size: 0.45rem;
	color: rgba(164,160,200,0.5);
	letter-spacing: 0.08em;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
	from { opacity: 0; transform: translateY(-16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
	nav { padding: 14px 20px; }
	.nav-links { gap: 20px; }
	.nav-links a { font-size: 0.7rem; }
	section { padding: 72px 20px; }
	.bot-layout { grid-template-columns: 1fr; gap: 32px; }
	.bot-image { order: -1; }
}
@media (max-width: 480px) {
	.nav-links { display: none; }
}
