:root {
	color-scheme: dark;
	--bg: #050814;
	--bg-2: #09111f;
	--bg-3: #0d1729;
	--surface: rgba(10, 17, 30, 0.78);
	--surface-strong: rgba(10, 17, 30, 0.92);
	--surface-soft: rgba(255, 255, 255, 0.05);
	--border: rgba(169, 190, 255, 0.13);
	--border-strong: rgba(117, 145, 255, 0.26);
	--text: #f5f8ff;
	--muted: #a8b7d4;
	--muted-strong: #cad4ea;
	--accent: #79c7ff;
	--accent-2: #8d7dff;
	--accent-3: #36e0a5;
	--danger: #ff7186;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
	--shadow-soft: 0 16px 42px rgba(4, 9, 20, 0.34);
	--radius-xl: 30px;
	--radius-lg: 22px;
	--radius-md: 16px;
	--radius-sm: 12px;
	--container: min(1180px, calc(100vw - 32px));
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	font-family: "Inter", sans-serif;
	background:
		radial-gradient(circle at top left, rgba(93, 131, 255, 0.14), transparent 28%),
		radial-gradient(circle at top right, rgba(51, 224, 165, 0.10), transparent 24%),
		linear-gradient(180deg, #050814 0%, #070b16 48%, #050814 100%);
	color: var(--text);
	overflow-x: hidden;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

body.is-ready {
	opacity: 1;
	transform: translateY(0);
}

body::before,
body::after,
.background-grid,
.background-orb {
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: -2;
}

body::before {
	content: "";
	background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(180deg, rgba(0,0,0,0.42), transparent 78%);
}

.background-grid {
	z-index: -3;
	opacity: 0.35;
	background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 24px 24px;
	mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 78%);
}

.background-orb {
	z-index: -4;
	border-radius: 999px;
	filter: blur(42px);
	opacity: 0.72;
	width: 34vw;
	height: 34vw;
}

.orb-one {
	top: -12vw;
	right: -10vw;
	background: radial-gradient(circle, rgba(121, 199, 255, 0.34), transparent 70%);
}

.orb-two {
	top: 28vh;
	left: -12vw;
	background: radial-gradient(circle, rgba(141, 125, 255, 0.28), transparent 72%);
}

img,
video {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

.container {
	width: var(--container);
	margin: 0 auto;
}

.section-shell {
	position: relative;
	padding: 94px 0;
}

.section-shell-alt {
	background: linear-gradient(180deg, rgba(7, 11, 22, 0.25), rgba(10, 18, 33, 0.54));
	border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(18px);
	background: rgba(5, 8, 20, 0.66);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition: box-shadow 0.25s ease, background 0.25s ease;
}

.topbar.is-scrolled {
	background: rgba(4, 8, 18, 0.92);
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.30);
}

.nav-bar {
	min-height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: "Orbitron", sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.logo-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	color: #06111f;
	background: linear-gradient(135deg, #8bd4ff, #c38dff);
	box-shadow: 0 12px 24px rgba(79, 145, 255, 0.28);
}

.logo-text {
	font-size: 1.02rem;
	color: var(--text);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-links a {
	color: var(--muted);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 10px 14px;
	border-radius: 999px;
	transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
	color: var(--text);
	background: rgba(255, 255, 255, 0.06);
	transform: translateY(-1px);
}

.nav-discord {
	color: #eaf2ff !important;
	background: linear-gradient(135deg, rgba(121, 199, 255, 0.18), rgba(141, 125, 255, 0.18));
	border: 1px solid rgba(177, 190, 255, 0.16);
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 14px;
	color: var(--text);
	background: rgba(255, 255, 255, 0.05);
	box-shadow: var(--shadow-soft);
}

.hero {
	padding: 110px 0 72px;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 34px;
	align-items: center;
}

.hero-copy h1 {
	margin: 18px 0 0;
	font-family: "Orbitron", sans-serif;
	font-size: clamp(3.2rem, 7vw, 6rem);
	line-height: 0.94;
	letter-spacing: -0.03em;
}

.hero-copy h2 {
	margin: 14px 0 0;
	color: var(--accent);
	font-size: clamp(1.08rem, 2vw, 1.45rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hero-copy p {
	max-width: 640px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.8;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--muted-strong);
	font-size: 0.86rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent), var(--accent-3));
	box-shadow: 0 0 20px rgba(121, 199, 255, 0.72);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 20px;
	border-radius: 16px;
	border: 1px solid transparent;
	color: var(--text);
	font-weight: 700;
	letter-spacing: 0.01em;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.btn:active {
	transform: translateY(0);
}

.btn-primary {
	background: linear-gradient(135deg, #8bd4ff 0%, #7f8dff 54%, #c28eff 100%);
	color: #07111f;
	box-shadow: 0 16px 34px rgba(104, 153, 255, 0.28);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(163, 181, 255, 0.18);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.02);
	border-color: rgba(255, 255, 255, 0.10);
}

.hero-notes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 30px;
}

.hero-note,
.hero-card-glass,
.download-box,
.download-stats-panel,
.card,
.stat-card,
.timeline-summary-card,
.stats-chart-card,
.stats-highlight-card,
.admin-login-card,
.admin-panel,
.admin-topbar,
.screenshot-card,
.trailer-frame,
.faq-item {
	background: linear-gradient(180deg, rgba(16, 24, 41, 0.86), rgba(8, 14, 25, 0.88));
	border: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
}

.hero-note {
	padding: 16px 18px;
	border-radius: 18px;
}

.hero-note span,
.panel-metric span,
.download-foot span,
.stat-card span,
.card-title-row .section-kicker,
.timeline-summary-card span,
.faq-question span,
.download-meta,
.hero-metric span,
.summary-stack span,
.panel-metric span,
.admin-helper {
	color: var(--muted);
}

.hero-note strong,
.hero-metric strong,
.stat-card strong,
.panel-metric strong,
.timeline-summary-card strong {
	display: block;
	margin-top: 8px;
	font-size: 1.1rem;
	color: var(--text);
}

.hero-panel {
	position: relative;
}

.hero-panel-top {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.panel-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--muted-strong);
	font-size: 0.9rem;
}

.panel-pill-accent {
	background: linear-gradient(135deg, rgba(121, 199, 255, 0.16), rgba(141, 125, 255, 0.16));
}

.hero-card-glass {
	padding: 24px;
	border-radius: var(--radius-xl);
	backdrop-filter: blur(18px);
}

.hero-metric {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-metric:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hero-metric strong {
	margin-top: 0;
	font-size: 1.25rem;
	text-align: right;
}

.hero-version-list {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.mini-version {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-version strong {
	color: var(--text);
}

.section-heading {
	max-width: 760px;
	margin: 0 auto 34px;
	text-align: center;
}

.section-heading h2 {
	margin: 16px 0 0;
	font-family: "Orbitron", sans-serif;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.1;
}

.section-heading p {
	margin: 12px auto 0;
	max-width: 700px;
	color: var(--muted);
	line-height: 1.8;
}

.stats-grid,
.feature-grid,
.rules-grid,
.download-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.stat-card,
.card,
.download-box,
.download-stats-panel,
.timeline-summary-card,
.stats-chart-card,
.stats-highlight-card,
.admin-login-card,
.admin-panel {
	border-radius: var(--radius-xl);
}

.stat-card,
.card {
	padding: 24px;
	transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.stat-card:hover,
.card:hover,
.download-box:hover,
.timeline-summary-card:hover,
.stats-chart-card:hover,
.stats-highlight-card:hover,
.admin-panel:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
}

.stat-icon,
.card-icon,
.download-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	color: #dff3ff;
	background: linear-gradient(135deg, rgba(121, 199, 255, 0.16), rgba(141, 125, 255, 0.16));
	border: 1px solid rgba(181, 198, 255, 0.14);
}

.card h3 {
	margin: 16px 0 0;
	font-size: 1.08rem;
}

.card p {
	margin: 12px 0 0;
	color: var(--muted);
	line-height: 1.75;
}

.stat-card strong {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.stat-card small {
	display: block;
	margin-top: 10px;
	color: var(--muted);
	line-height: 1.65;
}

.stats-layout,
.download-layout,
.timeline-layout,
.admin-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 18px;
	margin-top: 18px;
}

.stats-chart-card,
.stats-highlight-card,
.download-stats-panel,
.timeline-summary-card {
	padding: 24px;
}

.card-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.card-title-row h3,
.timeline-summary-card h3,
.download-box h3,
.admin-panel h3,
.admin-login-card h3 {
	margin: 6px 0 0;
	font-family: "Orbitron", sans-serif;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.chart-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 999px;
	color: var(--muted-strong);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.chart-badge-accent {
	color: #e9f6ff;
	background: linear-gradient(135deg, rgba(121, 199, 255, 0.16), rgba(141, 125, 255, 0.16));
}

.distribution-chart,
.mini-bars {
	display: grid;
	gap: 12px;
}

.chart-row,
.trend-bar {
	display: grid;
	gap: 8px;
}

.chart-row-head,
.trend-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--muted-strong);
	font-size: 0.92rem;
}

.chart-track,
.trend-track {
	position: relative;
	height: 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

.chart-fill,
.trend-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--bar-width, 0%);
	border-radius: inherit;
	background: linear-gradient(90deg, #7cd0ff, #8c7dff 54%, #42e0a2);
	box-shadow: 0 0 24px rgba(121, 199, 255, 0.30);
	transform-origin: left center;
	transform: scaleX(0);
	animation: fillBar 1s ease forwards;
}

@keyframes fillBar {
	to {
		transform: scaleX(1);
	}
}

.highlight-version {
	display: grid;
	gap: 12px;
}

.highlight-version-card {
	padding: 22px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(121, 199, 255, 0.10), rgba(141, 125, 255, 0.10));
	border: 1px solid rgba(181, 198, 255, 0.16);
}

.highlight-version-card h4 {
	margin: 0;
	font-family: "Orbitron", sans-serif;
	font-size: 1.35rem;
}

.highlight-version-card p {
	margin: 10px 0 0;
	color: var(--muted);
	line-height: 1.75;
}

.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 999px;
	color: var(--muted-strong);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.88rem;
}

.screenshots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.screenshot-card {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-xl);
}

.screenshot-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.4s ease, filter 0.4s ease;
}

.screenshot-card:hover img {
	transform: scale(1.03);
	filter: saturate(1.1) contrast(1.02);
}

.screenshot-card figcaption {
	padding: 16px 18px 18px;
	color: var(--muted-strong);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.trailer-frame {
	overflow: hidden;
	border-radius: calc(var(--radius-xl) + 4px);
}

.trailer-frame video {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #02040b;
}

.download-layout {
	grid-template-columns: 1fr;
}

.download-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.download-box {
	padding: 24px;
}

.download-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.download-head h3 {
	margin: 0;
	font-family: "Orbitron", sans-serif;
}

.download-meta {
	margin: 12px 0 18px;
}

.download-link {
	width: 100%;
}

.download-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-label,
.download-warning {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 0;
	color: var(--muted);
}

.countdown-label strong,
.download-warning {
	color: #ff98ab;
}

.download-stats-panel {
	margin-top: 18px;
}

.stats-panel-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.panel-metric {
	padding: 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.panel-metric strong {
	display: block;
	margin-top: 8px;
	font-size: 1.1rem;
}

.timeline-controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.chip {
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--muted-strong);
	background: rgba(255, 255, 255, 0.03);
	transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.chip.active,
.chip:hover,
.chip:focus-visible {
	transform: translateY(-1px);
	color: var(--text);
	border-color: rgba(123, 201, 255, 0.3);
	background: linear-gradient(135deg, rgba(121, 199, 255, 0.12), rgba(141, 125, 255, 0.12));
}

.timeline-layout {
	grid-template-columns: 1.15fr 0.85fr;
}

.timeline-list {
	display: grid;
	gap: 14px;
}

.version-card {
	padding: 22px;
	border-radius: var(--radius-xl);
	background: linear-gradient(180deg, rgba(16, 24, 41, 0.86), rgba(8, 14, 25, 0.88));
	border: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
}

.version-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.version-card h3 {
	margin: 0;
	font-family: "Orbitron", sans-serif;
	font-size: 1.25rem;
}

.version-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 0;
}

.version-meta .pill {
	margin: 0;
}

.version-notes {
	margin: 16px 0 0;
	padding-left: 18px;
	color: var(--muted);
	line-height: 1.8;
}

.version-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.version-actions .btn {
	min-height: 44px;
}

.timeline-summary-card {
	position: sticky;
	top: 108px;
}

.summary-stack {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.summary-stack > div {
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.summary-stack strong {
	display: block;
	margin-top: 8px;
}

.faq-list {
	display: grid;
	gap: 14px;
	max-width: 860px;
	margin: 0 auto;
}

.faq-item {
	border-radius: 22px;
	overflow: hidden;
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border: 0;
	color: var(--text);
	background: transparent;
	font-weight: 700;
	text-align: left;
}

.faq-question i {
	transition: transform 0.24s ease;
	color: var(--accent);
}

.faq-item.is-open .faq-question i {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 22px;
	color: var(--muted);
	line-height: 1.8;
	transition: max-height 0.32s ease, padding 0.32s ease;
}

.faq-item.is-open .faq-answer {
	max-height: 180px;
	padding: 0 22px 20px;
}

.admin-shell {
	display: grid;
	gap: 18px;
}

.admin-login-card,
.admin-panel,
.admin-topbar {
	padding: 24px;
}

.admin-login-form {
	margin-top: 20px;
}

.admin-login-form input {
	width: 100%;
}

.admin-helper {
	margin-top: 16px;
	font-size: 0.92rem;
}

.hidden {
	display: none !important;
}

.admin-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-radius: var(--radius-xl);
}

.admin-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.stat-card-tight {
	padding: 18px 20px;
}

.stat-card-tight strong {
	font-size: 1.6rem;
}

.admin-grid {
	grid-template-columns: 1.25fr 0.75fr;
}

.admin-panel-wide {
	grid-column: 1 / -1;
}

.admin-form {
	display: grid;
	gap: 14px;
}

.admin-form label {
	display: grid;
	gap: 8px;
	color: var(--muted-strong);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: 16px;
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	outline: none;
	transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
	border-color: rgba(123, 201, 255, 0.42);
	box-shadow: 0 0 0 4px rgba(121, 199, 255, 0.08);
	background: rgba(255, 255, 255, 0.06);
}

.admin-form textarea {
	resize: vertical;
	min-height: 120px;
}

.admin-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.admin-announcements,
.admin-version-list {
	display: grid;
	gap: 12px;
}

.announcement-item,
.admin-version-item {
	padding: 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-version-item {
	display: grid;
	gap: 12px;
}

.version-item-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.version-item-title {
	display: grid;
	gap: 6px;
}

.version-item-title strong {
	font-size: 1.08rem;
}

.version-item-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.footer {
	padding: 28px 0 36px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(4, 8, 18, 0.86);
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--muted);
}

.toast {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 80;
	max-width: min(420px, calc(100vw - 36px));
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(10, 17, 30, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.10);
	color: var(--text);
	box-shadow: var(--shadow);
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1080px) {
	.hero-grid,
	.stats-layout,
	.timeline-layout,
	.admin-grid {
		grid-template-columns: 1fr;
	}

	.stats-panel-grid,
	.admin-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.timeline-summary-card {
		position: static;
	}
}

@media (max-width: 860px) {
	.menu-toggle {
		display: inline-grid;
		place-items: center;
	}

	.nav-links {
		position: absolute;
		top: 82px;
		left: 16px;
		right: 16px;
		display: grid;
		gap: 8px;
		padding: 16px;
		border-radius: 22px;
		background: rgba(6, 10, 19, 0.98);
		border: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: var(--shadow);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-10px);
		transition: opacity 0.22s ease, transform 0.22s ease;
	}

	.nav-links.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.nav-links a {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.hero {
		padding-top: 88px;
	}

	.hero-notes,
	.stats-panel-grid,
	.admin-stats-grid {
		grid-template-columns: 1fr;
	}

	.hero-copy h1 {
		font-size: clamp(2.8rem, 14vw, 4.6rem);
	}
}

@media (max-width: 640px) {
	.section-shell {
		padding: 72px 0;
	}

	.nav-bar {
		min-height: 74px;
	}

	.logo-text {
		font-size: 0.95rem;
	}

	.hero-card-glass,
	.download-box,
	.stats-chart-card,
	.stats-highlight-card,
	.timeline-summary-card,
	.admin-login-card,
	.admin-panel,
	.admin-topbar {
		padding: 20px;
	}

	.card-title-row,
	.version-card-header,
	.admin-topbar,
	.download-foot,
	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	body {
		opacity: 1;
		transform: none;
	}
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.page-loader {
	display: none !important;
}
