/* ============================================
   OpSec Mod — Shared Stylesheet
   Privacy-first Minecraft mod · opsecmod.com
   ============================================ */

:root {
	--bg: #04080f;
	--bg-deep: #02060c;
	--bg-card: #0a1622;
	--bg-card-hover: #0f2032;
	--green: #19f2a3;
	--green-light: #5bffd0;
	--green-dark: #00c988;
	--green-glow: rgba(25, 242, 163, 0.4);
	--green-subtle: rgba(25, 242, 163, 0.1);
	--cyan: #29c8e8;
	--cyan-light: #8cecff;
	--cyan-glow: rgba(41, 200, 232, 0.3);
	--cyan-subtle: rgba(41, 200, 232, 0.08);
	--text: #eaf4f2;
	--text-dim: #9fb2b1;
	--text-muted: #637478;
	--line: rgba(41, 200, 232, 0.18);
	--line-strong: rgba(25, 242, 163, 0.35);
	--font-display: "Orbitron", sans-serif;
	--font-body: "Rajdhani", sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: var(--green-dark) var(--bg);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
	background: linear-gradient(var(--green), var(--green-dark));
	border-radius: 4px;
}

body {
	font-family: var(--font-body);
	color: var(--text);
	background: var(--bg);
	overflow-x: hidden;
	line-height: 1.6;
}

canvas#particles {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 0;
	pointer-events: none;
}

.bg-glow {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 80% 50% at 20% 0%, rgba(41, 200, 232, 0.12), transparent 60%),
		radial-gradient(ellipse 60% 40% at 80% 10%, rgba(25, 242, 163, 0.08), transparent 50%),
		radial-gradient(ellipse 50% 50% at 50% 100%, rgba(41, 200, 232, 0.06), transparent 60%);
}

.grid-overlay {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(41, 200, 232, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(41, 200, 232, 0.025) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.content-wrap { position: relative; z-index: 1; }

.container {
	width: min(1200px, 92vw);
	margin: 0 auto;
}

/* ─── NAV ─── */
.navbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	background: rgba(4, 8, 15, 0.88);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--line);
	transition: background 0.3s ease;
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	padding: 0 4%;
	max-width: 1400px;
	margin: 0 auto;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
}

.nav-brand img {
	width: 38px; height: 38px;
	border-radius: 10px;
	border: 1px solid var(--line-strong);
	box-shadow: 0 0 12px var(--green-glow);
}

.nav-brand-text {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.nav-brand-text .accent { color: var(--green); }

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
}

.nav-links a {
	position: relative;
	color: var(--text-dim);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: color 0.25s ease;
}

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -4px; left: 0;
	width: 0; height: 2px;
	background: var(--green);
	box-shadow: 0 0 8px var(--green-glow);
	transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--green-light); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 10px;
	border: 1px solid var(--green);
	background: linear-gradient(135deg, var(--green), var(--green-dark));
	color: #03170d;
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 20px var(--green-glow);
}

.nav-cta svg {
	width: 16px; height: 16px;
	fill: currentColor;
}

.nav-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px var(--green-glow);
}

/* ─── BUTTONS ─── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 12px;
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
	border: none;
}

.btn-primary {
	background: linear-gradient(135deg, var(--green), var(--green-dark));
	color: #03170d;
	box-shadow: 0 4px 24px var(--green-glow);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 40px var(--green-glow);
}

.btn-secondary {
	background: transparent;
	color: var(--cyan-light);
	border: 1px solid var(--cyan);
	box-shadow: 0 4px 16px var(--cyan-glow);
}

.btn-secondary:hover {
	background: var(--cyan-subtle);
	transform: translateY(-3px);
	box-shadow: 0 8px 30px var(--cyan-glow);
}

.btn svg {
	width: 18px; height: 18px;
	fill: currentColor;
}

/* ─── HERO (home only) ─── */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 120px 20px 80px;
	position: relative;
}

.hero-content { max-width: 820px; }

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: var(--green-subtle);
	color: var(--green-light);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 24px;
	animation: pulse-badge 2.5s ease-in-out infinite;
}

.hero-badge svg {
	width: 16px; height: 16px;
	fill: currentColor;
}

@keyframes pulse-badge {
	0%, 100% { box-shadow: 0 0 15px var(--green-subtle); }
	50% { box-shadow: 0 0 25px var(--green-glow); }
}

.hero h1 {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 8vw, 5rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.hero h1 .accent-a {
	background: linear-gradient(135deg, var(--green-light), var(--green), var(--green-dark));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero h1 .accent-b {
	background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: clamp(1.05rem, 2.5vw, 1.25rem);
	color: var(--text-dim);
	max-width: 680px;
	margin: 0 auto 32px;
	line-height: 1.7;
	font-weight: 500;
}

.hero-ctas {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 48px;
}

.hero-stats {
	display: flex;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-value {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 900;
	color: var(--green-light);
	letter-spacing: 1px;
}

.stat-label {
	font-size: 0.88rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

.scroll-indicator {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--text-muted);
	font-size: 0.75rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
	width: 22px; height: 36px;
	border: 2px solid var(--text-muted);
	border-radius: 12px;
	position: relative;
}

.scroll-indicator .mouse::after {
	content: "";
	position: absolute;
	top: 8px; left: 50%;
	transform: translateX(-50%);
	width: 3px; height: 8px;
	border-radius: 2px;
	background: var(--green);
	animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
	0%, 100% { top: 8px; opacity: 1; }
	50% { top: 20px; opacity: 0.3; }
}

@keyframes scroll-bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── PAGE HEADER (subpages) ─── */
.page-header {
	padding: 152px 20px 72px;
	text-align: center;
}

.page-header-label {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--green);
	letter-spacing: 4px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.page-header h1 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 900;
	letter-spacing: 3px;
	text-transform: uppercase;
	line-height: 1.1;
	margin-bottom: 16px;
}

.page-header h1 .accent-a {
	background: linear-gradient(135deg, var(--green-light), var(--green), var(--green-dark));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.page-header h1 .accent-b {
	background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.page-header p {
	font-size: 1.05rem;
	color: var(--text-dim);
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.7;
	font-weight: 500;
}

/* ─── SECTIONS ─── */
.section {
	padding: 80px 0;
	position: relative;
}

.section-alt {
	background: linear-gradient(180deg, var(--bg-deep), var(--bg));
}

.section-header {
	text-align: center;
	margin-bottom: 48px;
}

.section-label {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--green);
	letter-spacing: 4px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 900;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1.15;
	margin-bottom: 16px;
}

.section-subtitle {
	font-size: 1.05rem;
	color: var(--text-dim);
	max-width: 620px;
	margin: 0 auto;
	line-height: 1.7;
	font-weight: 500;
}

/* ─── FEATURE CARDS ─── */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.feature-card {
	padding: 32px 28px;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: linear-gradient(145deg, var(--bg-card), rgba(10, 22, 34, 0.6));
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--green), transparent);
	transform: scaleX(0);
	transition: transform 0.4s ease;
}

.feature-card:hover {
	transform: translateY(-6px);
	border-color: var(--line-strong);
	box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px var(--green-subtle);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	background: var(--green-subtle);
	border: 1px solid var(--line-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	transition: box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon { box-shadow: 0 0 20px var(--green-glow); }

.feature-icon svg {
	width: 24px; height: 24px;
	stroke: var(--green);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.feature-card h3 {
	font-family: var(--font-display);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 10px;
}

.feature-card ul {
	padding-left: 18px;
	display: grid;
	gap: 5px;
}

.feature-card li, .feature-card p {
	font-size: 0.93rem;
	color: var(--text-dim);
	line-height: 1.6;
	font-weight: 500;
}

/* ─── SHOWCASE ─── */
.showcase-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.showcase-item {
	padding: 28px;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: var(--bg-card);
	display: flex;
	align-items: flex-start;
	gap: 20px;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.showcase-item:hover {
	transform: translateY(-4px);
	border-color: var(--cyan);
}

.showcase-number {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 900;
	color: var(--cyan);
	line-height: 1;
	min-width: 48px;
	opacity: 0.6;
}

.showcase-item h3 {
	font-family: var(--font-display);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--green-light);
	margin-bottom: 8px;
}

.showcase-item p {
	font-size: 0.93rem;
	color: var(--text-dim);
	line-height: 1.65;
	font-weight: 500;
}

/* ─── GALLERY ─── */
.gallery-track-container {
	overflow: hidden;
	position: relative;
	margin: 0 -4%;
	padding: 20px 0;
}

.gallery-track-container::before,
.gallery-track-container::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	width: 120px;
	z-index: 2;
	pointer-events: none;
}

.gallery-track-container::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.gallery-track-container::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.gallery-track {
	display: flex;
	gap: 20px;
	animation: scroll-gallery 40s linear infinite;
	width: max-content;
}

.gallery-track:hover { animation-play-state: paused; }

@keyframes scroll-gallery {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

.gallery-item {
	flex-shrink: 0;
	width: 400px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--bg-card);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
	transform: scale(1.03);
	border-color: var(--green);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--green-subtle);
}

.gallery-item img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
}

.gallery-item-info { padding: 14px 18px; }

.gallery-item-info h4 {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--green-light);
	margin-bottom: 4px;
}

.gallery-item-info p {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-weight: 500;
	line-height: 1.5;
}

/* ─── DOWNLOAD CARDS ─── */
.download-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.download-card {
	padding: 28px 24px;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: var(--bg-card);
	text-align: center;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.download-card:hover {
	transform: translateY(-4px);
	border-color: var(--green);
}

.download-card.featured {
	border-color: var(--green);
	background: linear-gradient(145deg, rgba(25, 242, 163, 0.08), var(--bg-card));
	box-shadow: 0 0 30px var(--green-subtle);
}

.download-version {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 900;
	color: var(--green-light);
	letter-spacing: 1px;
	margin-bottom: 4px;
}

.download-mc {
	font-size: 0.88rem;
	color: var(--text-dim);
	font-weight: 600;
	margin-bottom: 4px;
}

.download-loader {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 6px;
	background: var(--cyan-subtle);
	border: 1px solid rgba(41, 200, 232, 0.25);
	color: var(--cyan-light);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.download-card .btn {
	width: 100%;
	padding: 12px;
	font-size: 0.75rem;
}

.download-alt {
	color: var(--text-muted);
	font-size: 0.9rem;
	font-weight: 500;
}

/* ─── INSTALL STEPS ─── */
.install-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.install-step {
	padding: 24px 20px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--bg-card);
	text-align: center;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.install-step:hover {
	transform: translateY(-4px);
	border-color: var(--cyan);
}

.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border-radius: 10px;
	font-family: var(--font-display);
	font-size: 0.88rem;
	font-weight: 900;
	color: #03170d;
	background: linear-gradient(135deg, var(--green), var(--green-dark));
	margin-bottom: 14px;
}

.install-step h3 {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 8px;
}

.install-step p {
	font-size: 0.9rem;
	color: var(--text-dim);
	line-height: 1.6;
	font-weight: 500;
}

/* ─── FAQ ─── */
.faq-list {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 12px;
}

.faq-item {
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--bg-card);
	overflow: hidden;
	transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: rgba(41, 200, 232, 0.3); }

.faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-align: left;
}

.faq-question svg {
	width: 20px; height: 20px;
	stroke: var(--text-muted);
	fill: none;
	stroke-width: 2;
	flex-shrink: 0;
	transition: transform 0.3s ease, stroke 0.3s ease;
}

.faq-item.open .faq-question svg {
	transform: rotate(180deg);
	stroke: var(--green);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
	padding: 0 24px 20px;
	font-size: 0.93rem;
	color: var(--text-dim);
	line-height: 1.7;
	font-weight: 500;
}

/* ─── TEXT BLOCKS (terms, privacy) ─── */
.content-stack {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 20px;
}

.text-block {
	padding: 32px;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: var(--bg-card);
}

.text-block h2 {
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--green-light);
	margin-bottom: 12px;
}

.text-block p {
	font-size: 0.95rem;
	color: var(--text-dim);
	line-height: 1.7;
	font-weight: 500;
}

.text-block p + p { margin-top: 10px; }

.text-block ul {
	padding-left: 20px;
	display: grid;
	gap: 6px;
	margin-top: 8px;
}

.text-block li {
	font-size: 0.95rem;
	color: var(--text-dim);
	line-height: 1.65;
	font-weight: 500;
}

.text-block a {
	color: var(--cyan-light);
	text-decoration: none;
	transition: color 0.2s ease;
}

.text-block a:hover { color: var(--green-light); }

/* ─── ARCHIVE LIST ─── */
.archive-list {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 12px;
}

.archive-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--bg-card);
	flex-wrap: wrap;
	transition: border-color 0.3s ease;
}

.archive-item:hover { border-color: var(--line-strong); }

.archive-version {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 900;
	color: var(--green-light);
}

.archive-meta {
	font-size: 0.9rem;
	color: var(--text-dim);
	font-weight: 500;
}

.archive-badge {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 6px;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.archive-badge.fabric {
	background: var(--cyan-subtle);
	border: 1px solid rgba(41, 200, 232, 0.25);
	color: var(--cyan-light);
}

.archive-badge.unavailable {
	background: rgba(99, 116, 120, 0.08);
	border: 1px solid rgba(99, 116, 120, 0.2);
	color: var(--text-muted);
}

/* ─── FOOTER ─── */
.footer {
	border-top: 1px solid var(--line);
	padding: 48px 0 32px;
	background: var(--bg-deep);
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.footer-brand { max-width: 320px; }

.footer-brand-name {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 8px;
}

.footer-brand-name .accent { color: var(--green); }

.footer-brand p {
	font-size: 0.88rem;
	color: var(--text-muted);
	line-height: 1.6;
	font-weight: 500;
}

.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }

.footer-col h4 {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 14px;
}

.footer-col ul {
	list-style: none;
	display: grid;
	gap: 8px;
}

.footer-col a {
	color: var(--text-dim);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--green-light); }

.footer-bottom {
	padding-top: 24px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-bottom p {
	font-size: 0.82rem;
	color: var(--text-muted);
	font-weight: 500;
}

.footer-bottom a {
	color: var(--cyan-light);
	text-decoration: none;
}

.footer-bottom a:hover { color: var(--green-light); }

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
	position: fixed;
	top: 0; left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--cyan), var(--green));
	z-index: 200;
	transition: width 0.1s linear;
}

/* ─── REVEAL ─── */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s cubic-bezier(0.5,0,0,1), transform 0.7s cubic-bezier(0.5,0,0,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── BACK TO TOP ─── */
.back-to-top {
	position: fixed;
	bottom: 28px; right: 28px;
	width: 44px; height: 44px;
	border-radius: 12px;
	border: 1px solid var(--line-strong);
	background: rgba(4, 8, 15, 0.9);
	backdrop-filter: blur(12px);
	color: var(--green);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 50;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	pointer-events: none;
}

.back-to-top.visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.back-to-top:hover { box-shadow: 0 0 20px var(--green-glow); }

.back-to-top svg {
	width: 20px; height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.download-cards { grid-template-columns: repeat(2, 1fr); }
	.install-steps { grid-template-columns: repeat(2, 1fr); }

	.showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.nav-links { display: none; }

	.nav-inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: unset;
		padding: 14px 4%;
	}

	.page-header { padding: 130px 16px 56px; }

	.features-grid { grid-template-columns: 1fr; }
	.download-cards { grid-template-columns: 1fr; }
	.install-steps { grid-template-columns: 1fr; }


	.gallery-item { width: 300px; }
	.gallery-item img { height: 180px; }

	.hero-stats { gap: 24px; }
	.hero { padding: 130px 16px 60px; }

	.footer-inner { flex-direction: column; }
	.footer-links { gap: 32px; }
}

@media (max-width: 480px) {
	.hero h1 { letter-spacing: 1px; }
	.hero-ctas { flex-direction: column; align-items: center; }
	.btn { width: 100%; max-width: 280px; }
	.gallery-item { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	.gallery-track { animation: none; }
	.reveal { opacity: 1; transform: none; }
}

/* ─── UI REFRESH — subtle modernization ─── */
html {
	scroll-padding-top: 92px;
	-webkit-text-size-adjust: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	letter-spacing: 0.15px;
}

::selection {
	background: var(--green);
	color: #03170d;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
.faq-question:focus-visible {
	outline: 2px solid var(--green-light);
	outline-offset: 3px;
	border-radius: 8px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--green-light), var(--green) 55%, var(--green-dark));
}

.btn-primary:hover { box-shadow: 0 10px 42px var(--green-glow); }

.btn:active,
.nav-cta:active { transform: translateY(-1px); }

.nav-cta:hover { filter: brightness(1.04); }

.feature-card,
.download-card,
.showcase-item,
.install-step,
.faq-item,
.text-block,
.archive-item,
.gallery-item {
	border-radius: 18px;
}

.download-card:hover,
.install-step:hover {
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.nav-links a::after { height: 2.5px; border-radius: 2px; }

.section-subtitle,
.page-header p { color: #a6b8bd; }

/* ============================================
   IN-GAME MENU (interactive preview)
   ============================================ */
.mod-menu-launch {
	text-align: center;
	margin: 40px auto 0;
	max-width: 480px;
}

.mod-launch-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 16px 26px;
	border-radius: 14px;
	border: 2px solid var(--line-strong);
	background: linear-gradient(145deg, var(--bg-card), #0a1622);
	color: var(--text);
	font-family: var(--font-display);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mod-launch-btn svg {
	width: 20px;
	height: 20px;
	fill: var(--green);
}

.mod-launch-btn:hover {
	transform: translateY(-2px);
	border-color: var(--green);
	box-shadow: 0 0 24px var(--green-subtle), 0 16px 36px rgba(0, 0, 0, 0.4);
}

.mod-launch-btn small {
	display: block;
	margin-top: 4px;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 1px;
	color: var(--text-muted);
	text-transform: none;
}

/* The window */
.mod-menu {
	max-width: 780px;
	margin: 40px auto 0;
	border-radius: 18px;
	border: 1px solid var(--line-strong);
	background: linear-gradient(180deg, #0c1a29, #060d17);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px var(--green-subtle);
	overflow: hidden;
	display: none;
	animation: modPop 0.25s ease;
}

.mod-menu.open { display: block; }

@keyframes modPop {
	from { opacity: 0; transform: translateY(10px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.mod-menu-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 22px;
	background: rgba(25, 242, 163, 0.08);
	border-bottom: 1px solid var(--line);
}

.mod-menu-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--green-light);
}

.mod-menu-title img {
	width: 22px;
	height: 22px;
}

.mod-menu-close {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: rgba(4, 8, 15, 0.7);
	color: var(--text-dim);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mod-menu-close:hover {
	color: #e74c4c;
	border-color: rgba(231, 76, 76, 0.5);
	background: rgba(231, 76, 76, 0.12);
}

.mod-menu-body {
	display: flex;
	min-height: 320px;
}

.mod-menu-tabs {
	flex: 0 0 180px;
	border-right: 1px solid var(--line);
	padding: 14px 10px;
	display: grid;
	align-content: start;
	gap: 6px;
	background: rgba(4, 8, 15, 0.4);
}

.mod-tab {
	position: relative;
	width: 100%;
	text-align: left;
	padding: 11px 14px;
	border-radius: 10px;
	border: 1px solid transparent;
	background: none;
	color: var(--text-dim);
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mod-tab::before {
	content: "";
	position: absolute;
	left: -10px;
	top: 20%;
	height: 60%;
	width: 3px;
	border-radius: 2px;
	background: var(--green);
	transform: scaleY(0);
	transition: transform 0.25s ease;
}

.mod-tab:hover { color: var(--text); background: rgba(25, 242, 163, 0.06); }
.mod-tab.active {
	color: var(--green-light);
	background: rgba(25, 242, 163, 0.1);
	border-color: var(--line);
}
.mod-tab.active::before { transform: scaleY(1); }

.mod-menu-content {
	flex: 1;
	padding: 20px 26px;
	overflow-y: auto;
	max-height: 480px;
}

.mod-tabpanel { display: none; }
.mod-tabpanel.active { display: block; animation: modPop 0.25s ease; }

.mod-panel-title {
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.mod-panel-hint {
	font-size: 0.86rem;
	color: var(--text-muted);
	font-weight: 500;
	margin-bottom: 16px;
}

.mod-rows {
	display: grid;
	gap: 10px;
}

.mod-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: rgba(4, 8, 15, 0.5);
	transition: border-color 0.25s ease;
}

.mod-row:hover { border-color: rgba(25, 242, 163, 0.3); }

.mod-row-info { display: grid; gap: 2px; }

.mod-row-name {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text);
}

.mod-row-desc {
	font-size: 0.82rem;
	color: var(--text-dim);
	font-weight: 500;
	line-height: 1.4;
}

/* Minecraft-style toggle */
.mod-toggle {
	flex-shrink: 0;
	position: relative;
	width: 56px;
	height: 28px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: rgba(99, 116, 120, 0.25);
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mod-toggle::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #7c8a8d;
	transition: transform 0.25s ease, background 0.25s ease;
}

.mod-toggle[aria-checked="true"] {
	background: rgba(25, 242, 163, 0.35);
	border-color: var(--green);
	box-shadow: 0 0 14px var(--green-glow);
}
.mod-toggle[aria-checked="true"]::after {
	transform: translateX(28px);
	background: var(--green-light);
}

/* Small inline action buttons */
.mod-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 9px;
	border: 1px solid var(--line);
	background: rgba(4, 8, 15, 0.5);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.mod-btn:hover { color: var(--green-light); border-color: var(--green); }

.mod-list { display: grid; gap: 8px; }
.mod-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: rgba(4, 8, 15, 0.5);
}
.mod-list-item span { color: var(--text); font-weight: 600; font-size: 0.9rem; }
.mod-list-item .mod-badge {
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 6px;
	background: var(--green-subtle);
	border: 1px solid var(--line-strong);
	color: var(--green-light);
}

.mod-menu-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding: 14px 22px;
	border-top: 1px solid var(--line);
	background: rgba(4, 8, 15, 0.4);
}

.btn-sm { padding: 10px 20px; font-size: 0.72rem; }

@media (max-width: 768px) {
	.mod-menu-body { flex-direction: column; }
	.mod-menu-tabs {
		flex: none;
		border-right: none;
		border-bottom: 1px solid var(--line);
		grid-template-columns: repeat(2, 1fr);
		gap: 6px;
	}
	.mod-tab { text-align: center; }
	.mod-tab::before { display: none; }
	.mod-menu-content { max-height: 420px; }
}
