:root {
	--accent: #ffa200;
	--accent-glow: rgba(255, 162, 0, 0.35);
	--accent-soft: rgba(255, 162, 0, 0.12);
	--bg: #08080a;
	--bg-elevated: #101014;
	--card: rgba(255, 255, 255, 0.04);
	--border: rgba(255, 255, 255, 0.08);
	--text: rgba(255, 255, 255, 0.94);
	--muted: rgba(255, 255, 255, 0.52);
	--ok: #4ade80;
	--err: #f87171;
	--nav-h: 4rem;
	--radius: 12px;
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	font-family: 'Montserrat', system-ui, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.55;
	overflow-x: hidden;
}

.accent { color: var(--accent); }

.wrap {
	width: min(1100px, 92vw);
	margin: 0 auto;
}

/* —— Nav —— */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	height: var(--nav-h);
	background: rgba(8, 8, 10, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow 0.2s;
}

.nav.scrolled {
	background: rgba(8, 8, 10, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.nav-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--text);
	font-weight: 700;
}

.logo-mark {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--accent), #cc8200);
	color: #111;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.1rem;
}

.logo-text { font-size: 1.05rem; }

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.nav-links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	transition: color 0.15s;
}

.nav-links a:hover { color: var(--accent); }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--border);
	color: var(--text);
	padding: 0.4rem 0.6rem;
	border-radius: 8px;
	cursor: pointer;
}

.btn-sm { padding: 0.45rem 0.9rem !important; font-size: 0.8rem !important; }

/* —— Hero —— */
.hero {
	position: relative;
	min-height: 100vh;
	padding: calc(var(--nav-h) + 3rem) 0 4rem;
	display: flex;
	align-items: center;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-soft), transparent),
		radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 162, 0, 0.06), transparent),
		linear-gradient(180deg, #0e0e12 0%, var(--bg) 100%);
	pointer-events: none;
}

.hero-inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.hero-badge {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--card);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.25rem;
}

.hero-title {
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 0.75rem;
}

.hero-title strong {
	display: block;
	background: linear-gradient(90deg, var(--accent), #ffd080);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-tagline {
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 520px;
	margin: 0 auto 2rem;
}

.hero-stats {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.stat-card {
	min-width: 140px;
	padding: 1rem 1.25rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.stat-value {
	display: block;
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--accent);
}

.stat-label {
	font-size: 0.75rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.stat-pill {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.65rem;
	font-weight: 700;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	background: var(--accent-soft);
	color: var(--accent);
}

.stat-pill-online {
	background: rgba(74, 222, 128, 0.15);
	color: #4ade80;
}

.stat-pill-offline {
	background: rgba(248, 113, 113, 0.15);
	color: #f87171;
}

.stat-value-online {
	color: #4ade80;
}

.hero-connect {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.connect-box {
	display: block;
	padding: 0.75rem 1.25rem;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid var(--border);
	border-radius: 10px;
	font-size: 0.95rem;
	color: var(--accent);
	user-select: all;
}

.hero-hint {
	font-size: 0.8rem;
	color: var(--muted);
	margin-bottom: 1.5rem;
}

.hero-actions {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* —— Marquee —— */
.marquee-section {
	border-block: 1px solid var(--border);
	background: var(--bg-elevated);
	overflow: hidden;
	padding: 0.85rem 0;
}

.marquee {
	display: flex;
	width: max-content;
	animation: marquee 45s linear infinite;
	gap: 2.5rem;
}

@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
	font-size: 0.82rem;
	color: var(--muted);
}

.marquee-item .mi { font-size: 1.1rem; }

.marquee-item strong {
	color: var(--text);
	font-weight: 600;
}

/* —— Sections —— */
.section {
	padding: 4.5rem 0;
}

.section-alt {
	background: var(--bg-elevated);
	border-block: 1px solid var(--border);
}

.section-eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.5rem;
}

.section-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	margin-bottom: 0.75rem;
}

.section-lead {
	color: var(--muted);
	max-width: 560px;
	margin-bottom: 2rem;
	font-size: 0.95rem;
}

.section-lead code {
	background: rgba(0, 0, 0, 0.4);
	padding: 0.12rem 0.4rem;
	border-radius: 4px;
	color: var(--accent);
}

/* —— Features —— */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.25rem;
}

.feature-card {
	padding: 1.35rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
	border-color: rgba(255, 162, 0, 0.35);
	transform: translateY(-2px);
}

.feature-card h3 {
	font-size: 1rem;
	margin-bottom: 0.5rem;
	color: var(--accent);
}

.feature-card p {
	font-size: 0.88rem;
	color: var(--muted);
}

/* —— News —— */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.news-card {
	padding: 1.35rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.news-card:hover {
	border-color: var(--accent);
	box-shadow: 0 0 24px var(--accent-soft);
}

.news-tag {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--accent);
	margin-bottom: 0.5rem;
}

.news-date {
	display: block;
	font-size: 0.78rem;
	color: var(--muted);
	margin-bottom: 0.5rem;
}

.news-card h3 {
	font-size: 1.05rem;
	margin-bottom: 0.5rem;
}

.news-card p {
	font-size: 0.88rem;
	color: var(--muted);
	margin-bottom: 0.75rem;
}

.news-more {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--accent);
}

.news-body {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.65;
	margin-top: 1rem;
}

.modal-panel-lg {
	width: min(560px, 100%);
}

/* —— Shop —— */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
}

.product-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.product-card h3 { font-size: 1.05rem; }

.product-card p {
	font-size: 0.88rem;
	color: var(--muted);
	flex: 1;
}

.price {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--accent);
}

.tag {
	display: inline-block;
	font-size: 0.68rem;
	padding: 0.2rem 0.5rem;
	border-radius: 6px;
	background: var(--accent-soft);
	color: var(--accent);
	font-weight: 700;
	width: fit-content;
}

/* —— FAQ —— */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	max-width: 720px;
}

.faq-item {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.faq-item summary {
	padding: 1rem 1.15rem;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
	list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
	content: '+';
	float: right;
	color: var(--accent);
	font-weight: 700;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
	padding: 0 1.15rem 1rem;
	font-size: 0.9rem;
	color: var(--muted);
}

/* —— Controls —— */
.controls-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
}

.control-card {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 1rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 10px;
}

.control-card kbd {
	min-width: 2.5rem;
	text-align: center;
	padding: 0.35rem 0.5rem;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid var(--border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--accent);
}

.control-card span {
	font-size: 0.85rem;
	color: var(--muted);
}

/* —— CTA Discord —— */
.cta-section { padding-bottom: 5rem; }

.cta-card {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2rem;
	align-items: center;
	padding: 2.5rem;
	background: linear-gradient(135deg, var(--accent-soft), var(--card));
	border: 1px solid rgba(255, 162, 0, 0.25);
	border-radius: 16px;
}

.cta-content p {
	color: var(--muted);
	margin: 0.75rem 0 1rem;
	max-width: 420px;
}

.cta-list {
	list-style: none;
	margin-bottom: 1.25rem;
}

.cta-list li {
	font-size: 0.9rem;
	color: var(--muted);
	padding: 0.25rem 0 0.25rem 1.25rem;
	position: relative;
}

.cta-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 700;
}

.cta-visual {
	position: relative;
	width: 120px;
	height: 120px;
}

.cta-ring {
	position: absolute;
	inset: 0;
	border: 2px solid var(--accent);
	border-radius: 50%;
	opacity: 0.4;
	animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.4; }
	50% { transform: scale(1.08); opacity: 0.15; }
}

.cta-big {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	font-weight: 800;
	color: var(--accent);
}

/* —— Footer —— */
.site-footer {
	border-top: 1px solid var(--border);
	padding: 2rem 0;
	background: #060608;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.footer-inner p {
	font-size: 0.8rem;
	color: var(--muted);
	margin-top: 0.35rem;
}

.footer-links {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.footer-links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.85rem;
}

.footer-links a:hover { color: var(--accent); }

/* —— Buttons —— */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.25rem;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:hover {
	border-color: var(--accent);
	transform: translateY(-1px);
}

.btn.primary {
	background: var(--accent);
	border-color: var(--accent);
	color: #111;
}

.btn.primary:hover {
	filter: brightness(1.06);
	box-shadow: 0 0 20px var(--accent-glow);
}

.btn.ghost {
	background: rgba(255, 255, 255, 0.04);
}

.btn.full { width: 100%; }

.loading, .error {
	text-align: center;
	color: var(--muted);
	padding: 2rem;
}

.error { color: var(--err); }

.hidden { display: none !important; }

/* —— Modals —— */
.modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(4px);
}

.modal-panel {
	position: relative;
	width: min(420px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	background: #121218;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: var(--shadow);
}

.modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: none;
	border: none;
	color: var(--muted);
	font-size: 1.2rem;
	cursor: pointer;
}

.modal-desc { color: var(--muted); font-size: 0.9rem; margin: 0.5rem 0; }

.modal-price {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--accent);
	margin-bottom: 1rem;
}

.modal-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.75rem; }

.field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.field span { font-size: 0.8rem; color: var(--muted); }

.field input {
	padding: 0.65rem 0.8rem;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: rgba(0, 0, 0, 0.35);
	color: var(--text);
	font-family: inherit;
}

/* —— Result pages —— */
.page-center {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding-top: var(--nav-h);
}

.page-center main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
}

.result-card {
	width: min(440px, 100%);
	text-align: center;
	padding: 2rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 16px;
}

.result-card h1 { margin: 0.5rem 0; font-size: 1.4rem; }

.muted { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

.code-box {
	margin: 1.25rem 0;
	padding: 1rem;
	background: rgba(74, 222, 128, 0.08);
	border: 1px solid rgba(74, 222, 128, 0.35);
	border-radius: 10px;
}

.code-box .label { font-size: 0.75rem; color: var(--muted); }

#redeem-code {
	display: block;
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0.5rem 0;
	color: var(--ok);
	letter-spacing: 0.05em;
}

.code-box .hint { font-size: 0.8rem; color: var(--muted); }

.result-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
}

/* —— Responsive —— */
@media (max-width: 768px) {
	.nav-toggle { display: block; }

	.nav-links {
		position: fixed;
		top: var(--nav-h);
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(8, 8, 10, 0.98);
		padding: 1rem;
		border-bottom: 1px solid var(--border);
		display: none;
	}

	.nav-links.open { display: flex; }

	.cta-card {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.cta-visual { margin: 0 auto; }

	.cta-list { text-align: left; }
}
