/* Veyron website: dark forge red and steel, like the login screen */
:root {
	--bg: #0c0606;
	--bg-2: #140a09;
	--panel: #1b0f0d;
	--panel-2: #24130f;
	--line: #3a1d17;
	--text: #e9dfd6;
	--muted: #b19f92;
	--steel: #c9cdd2;
	--crimson: #b3261e;
	--crimson-2: #d6402f;
	--ember: #e8742b;
	--gold: #d9a441;
	--radius: 14px;
	--shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; }
a:hover { color: #ffa25e; }
h1, h2, h3, .brand-font { font-family: "Cinzel", Georgia, serif; letter-spacing: .02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 .4em; color: var(--steel); }
h3 { font-size: 1.2rem; margin: 0 0 .35em; color: #f1e6dc; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* header */
.nav {
	position: sticky; top: 0; z-index: 20;
	background: rgba(12, 6, 6, .86);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav .logo img { height: 44px; width: auto; }
.logo-svg { display: block; height: 42px; width: auto; overflow: visible; }
.logo-svg text, .hero-logo text { font-family: "Cinzel", Georgia, serif; }
footer .footer-logo { height: 34px; opacity: .9; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a {
	display: block; padding: 8px 14px; border-radius: 10px;
	color: var(--muted); font-weight: 600; font-size: .95rem;
}
.nav ul a:hover, .nav ul a.active { color: var(--text); background: var(--panel-2); }
.nav .menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; }

/* buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 24px; border-radius: 12px; font-weight: 700;
	border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
	background: linear-gradient(180deg, var(--crimson-2), var(--crimson));
	color: #fff; box-shadow: 0 8px 24px rgba(179, 38, 30, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 30px rgba(214, 64, 47, .5); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { color: #fff; background: #4752c4; }

/* hero */
.hero {
	position: relative; overflow: hidden;
	min-height: min(88vh, 760px);
	display: grid; place-items: center; text-align: center;
	padding: 80px 0 100px;
}
.hero::before {
	content: ""; position: absolute; inset: -20px;
	background: url("../assets/loc-lavamaze.jpg") center 45% / cover no-repeat;
	filter: blur(2px) saturate(1.1);
	opacity: .6; transform: scale(1.05);
}
.hero::after {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 50% 35%, rgba(232, 116, 43, .18), transparent 60%),
		linear-gradient(180deg, rgba(12, 6, 6, .2) 0%, rgba(12, 6, 6, .65) 60%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero .hero-logo { display: block; width: min(640px, 92%); height: auto; margin: 0 auto 10px; overflow: visible; }
.hero .tagline { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #f0e2d6; max-width: 640px; margin: 0 auto 30px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.status-pill {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
	padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
	background: rgba(0, 0, 0, .45); border: 1px solid var(--line); color: var(--muted);
}
.status-pill[hidden] { display: none; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 10px #3fbf6a; }

/* sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -60px; position: relative; z-index: 2; }
.stat {
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
	border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center;
	box-shadow: var(--shadow);
}
.stat b { display: block; font-family: "Cinzel", serif; font-size: 1.7rem; color: var(--gold); }
.stat span { color: var(--muted); font-size: .92rem; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); display: flex; flex-direction: column;
	transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: #5a2a20; }
.card .shot { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.card .body { padding: 20px 22px 24px; }
.card .body p { color: var(--muted); margin: 0; }
.tag {
	display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
	color: var(--ember); margin-bottom: 6px;
}

/* game modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.mode .icon { font-size: 2rem; margin-bottom: 10px; }
.mode ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.mode.highlight { border-color: #6a2d1f; background: linear-gradient(180deg, #2b140f, var(--panel)); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; }
.step::before {
	counter-increment: step; content: counter(step);
	position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center; font-weight: 800;
	background: var(--crimson); color: #fff; box-shadow: 0 6px 16px rgba(179, 38, 30, .45);
}
.step p { color: var(--muted); margin: 0; }

/* discord band */
.band {
	border-radius: 20px; padding: 44px; display: flex; align-items: center; gap: 30px; justify-content: space-between;
	background: linear-gradient(120deg, #241330, #1a0f22 40%, #2a0f0d);
	border: 1px solid #3b2350; box-shadow: var(--shadow);
}
.band h2 { color: #fff; margin: 0 0 6px; }
.band p { color: #cfc3dd; margin: 0; }

/* guides / tables */
.page-head { padding: 64px 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 8px; color: var(--steel); }
.page-head p { color: var(--muted); max-width: 680px; margin: 0 auto; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 10px; }
.toc a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.toc a:hover { color: var(--text); background: var(--panel-2); }
.guide { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 26px; }
.guide h2 { font-size: 1.6rem; }
.guide ol, .guide ul { color: var(--muted); padding-left: 22px; }
.guide li { margin: 6px 0; }
.guide li b { color: var(--text); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--steel); font-family: "Cinzel", serif; font-weight: 700; background: var(--panel-2); }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.chance { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* ranks */
.ranks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rank { border-radius: var(--radius); padding: 22px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--crimson)); }
.rank h3 { color: var(--c, #fff); }
.rank .bonus { font-size: .92rem; color: var(--muted); }
.rank .bonus b { color: var(--text); }
/* the donator benefit tables: one column per rank, scrolls sideways on a phone */
.perk-table { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; }
.perk-table table { min-width: 860px; font-size: .9rem; }
.perk-table th, .perk-table td { text-align: center; padding: 9px 8px; white-space: nowrap; }
.perk-table th:first-child, .perk-table td:first-child { text-align: left; white-space: normal; min-width: 200px; position: sticky; left: 0; background: var(--panel); }
.perk-table th:first-child { background: var(--panel-2); }
.perk-table tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.perk-table td.yes { color: #6fdc8c; font-weight: 700; }
.perk-table .r1 { color: #db5b58; } .perk-table .r2 { color: #1e90ff; } .perk-table .r3 { color: #27ae60; } .perk-table .r4 { color: #b8742f; }
.perk-table .r5 { color: #f7e521; } .perk-table .r6 { color: #a7a4aa; } .perk-table .r7 { color: #e121f7; } .perk-table .r8 { color: #fc7306; }

/* coming soon */
.soon { text-align: center; padding: 70px 30px; background: var(--panel); border: 1px dashed #5a2a20; border-radius: 20px; }
.soon .big { font-size: 3rem; margin-bottom: 10px; }

/* nav play button */
.nav ul a.btn-nav { color: #fff; padding: 8px 16px; margin-left: 6px; }
.nav ul a.btn-nav:hover { color: #fff; background: linear-gradient(180deg, #e2523f, var(--crimson)); }

/* wiki */
.wiki-nav {
	display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
	padding: 14px 0 6px; margin-bottom: 26px;
}
.wiki-nav a {
	padding: 7px 13px; border-radius: 999px; font-size: .88rem; font-weight: 600;
	color: var(--muted); background: var(--panel); border: 1px solid var(--line);
}
.wiki-nav a:hover, .wiki-nav a.active { color: var(--text); border-color: #6a2d1f; background: var(--panel-2); }
.wiki-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wiki-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden; color: var(--text);
	border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.wiki-card:hover { color: var(--text); transform: translateY(-3px); border-color: #6a2d1f; box-shadow: var(--shadow); }
.wiki-card .art {
	aspect-ratio: 16 / 10; display: grid; place-items: center; font-size: 2.8rem; overflow: hidden;
	background: radial-gradient(circle at 50% 40%, rgba(232, 116, 43, .25), transparent 65%), linear-gradient(160deg, #2a130f, #120807);
}
.wiki-card .art img { width: 100%; height: 100%; object-fit: cover; }
/* topic art: the topic's own items in front of a dimmed, blurred scene, lit in the topic's colour */
.items { --glow: #e8742b; position: relative; display: grid; place-items: center; overflow: hidden; background: #0d0605; }
.items > .bg { position: absolute; inset: -8px; width: calc(100% + 16px) !important; height: calc(100% + 16px) !important; object-fit: cover; filter: blur(3px) brightness(.38) saturate(1.2); }
.items::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--glow) 60%, transparent), transparent 58%); }
.items > .bg { z-index: 0; }
.items::before { z-index: 1; }
.items > .row { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.items > .row img { width: 30% !important; max-width: 92px; height: auto !important; object-fit: contain !important; image-rendering: pixelated;
	filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .7)); transition: transform .25s; }
.items > .row img + img { margin-left: -6%; }
.items > .row img:only-child { width: 46% !important; max-width: 130px; }
.items > .row:has(img:nth-child(2):last-child) img { width: 38% !important; max-width: 110px; }
.items > .row img:nth-child(2):not(:last-child) { transform: translateY(-8%) scale(1.15); z-index: 1; }
.wiki-card:hover .items > .row img, .card:hover .items > .row img { transform: translateY(-4px); }
/* a real in-game window as the art: its top left corner, where the window is */
.shot-ui { object-position: 0 0; image-rendering: auto; }
.wiki-card .label { padding: 14px 16px 16px; }
.wiki-card .label b { display: block; font-family: "Cinzel", serif; font-size: 1.02rem; }
.wiki-card .label span { color: var(--muted); font-size: .86rem; }
.wiki-page { max-width: 920px; margin: 0 auto; }
.wiki-page .guide h2 { display: flex; align-items: center; gap: 10px; }
.infobox { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.infobox div { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.infobox b { display: block; color: var(--gold); font-size: 1.05rem; }
.infobox span { color: var(--muted); font-size: .86rem; }
.note { border-left: 3px solid var(--ember); background: rgba(232, 116, 43, .07); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--text); margin: 14px 0; }

/* hiscores */
.hs-controls { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hs-controls select, .hs-controls input {
	padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
	color: var(--text); font: inherit; min-width: 200px;
}

/* competition */
.comp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.comp {
	border-radius: 18px; padding: 26px; background: linear-gradient(180deg, var(--panel-2), var(--panel));
	border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.comp::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--crimson), var(--ember), var(--gold)); }
.comp .when { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.comp h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.comp p { color: var(--muted); }
.prizes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.prize { flex: 1 1 110px; text-align: center; border-radius: 12px; padding: 12px 10px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.prize .place { font-size: .8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.prize .bond { font-family: "Cinzel", serif; font-size: 1.25rem; color: var(--gold); }
.prize.first { border-color: #8a6a2a; background: rgba(217, 164, 65, .08); }
/* server first cards: the item, what to be first at, the bond */
.first-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.first-card { --t: var(--ember); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 18px;
	border-radius: var(--radius); background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--t) 16%, transparent), transparent 70%), var(--panel);
	border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.first-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--t) 55%, var(--line)); box-shadow: 0 12px 30px -14px var(--t); }
.first-card.tier-gold { --t: #e7b64a; }
.first-card.tier-purple { --t: #b06cff; }
.first-card .icon { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 12px;
	background: radial-gradient(circle, color-mix(in srgb, var(--t) 28%, transparent), rgba(0, 0, 0, .35) 70%); border: 1px solid color-mix(in srgb, var(--t) 40%, var(--line)); }
.first-card .icon img { width: 72px; height: auto; image-rendering: pixelated; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); }
.first-card .kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t); }
.first-card h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.first-card p { color: var(--muted); font-size: .9rem; margin: 0 0 14px; flex: 1; }
.first-card .reward { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid #8a6a2a; }
.first-card .reward img { width: 26px; height: auto; image-rendering: pixelated; }
.first-card .reward b { font-family: "Cinzel", serif; color: var(--gold); font-size: 1rem; }

/* store */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.product {
	text-align: center; border-radius: 16px; padding: 22px 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel));
	border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px;
}
.product.best { border-color: #8a6a2a; box-shadow: 0 0 0 1px rgba(217, 164, 65, .25), var(--shadow); }
.product .icon { font-size: 2.4rem; }
/* the bond's own inventory icon from the game, kept pixel-sharp */
.product .bond-img { width: 108px; height: 96px; margin: 0 auto; image-rendering: pixelated; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
/* bundles: the items side by side, overlapping a little; the $250 pack's bonds fanned out */
.product .bundle-img, .product .bond-stack { display: flex; justify-content: center; align-items: center; height: 96px; margin: 0 auto; }
.product .bundle-img img, .product .bond-stack img { width: 72px; height: auto; image-rendering: pixelated; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.product .bundle-img img + img { margin-left: -18px; }
.product .bundle-img.gp img { width: auto; height: auto; max-width: 128px; max-height: 76px; }
.product .bond-stack img + img { margin-left: -46px; }
.product { position: relative; }
.product .tag { position: absolute; top: 10px; right: 10px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	padding: 3px 8px; border-radius: 999px; color: #1a0d05; background: linear-gradient(180deg, #ffe08a, #d9a441); }
#products, .store-grid.six { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
/* the scroll chest: a wide card, its six scrolls in tiles */
.scroll-chest { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: center; margin-top: 16px; text-align: left;
	background: radial-gradient(120% 120% at 0% 0%, rgba(176, 108, 255, .14), transparent 60%), var(--panel); }
.scroll-chest .sc-text { display: flex; flex-direction: column; gap: 6px; }
.scroll-chest .sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scroll-chest .sc-grid div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 8px;
	border-radius: 12px; background: linear-gradient(180deg, rgba(122, 22, 16, .35), rgba(0, 0, 0, .3)); border: 1px solid var(--line); }
.scroll-chest .sc-grid img { width: 58px; height: auto; image-rendering: pixelated; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.scroll-chest .sc-grid span { font-size: .82rem; font-weight: 600; }
@media (max-width: 760px) { .scroll-chest { grid-template-columns: 1fr; } .scroll-chest .sc-grid { grid-template-columns: 1fr 1fr; } }
.store-head { margin: 34px 0 14px; }
.store-head h2 { font-size: 1.6rem; margin: 0 0 4px; }
.store-head p { color: var(--muted); margin: 0; }
.product .price { font-family: "Cinzel", serif; font-size: 1.8rem; color: var(--gold); }
.product p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.product .btn { justify-content: center; }
.checkout { max-width: 560px; margin: 30px auto 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.checkout label { display: block; font-weight: 600; margin: 12px 0 6px; }
.checkout input, .checkout select {
	width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
	background: #0f0807; color: var(--text); font: inherit;
}
.checkout .btn { margin-top: 18px; width: 100%; justify-content: center; }
.checkout .choice { border: 0; padding: 0; margin: 16px 0 0; }
.checkout .choice legend { font-weight: 600; margin-bottom: 8px; }
.checkout .option {
	display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 0; padding: 12px 14px; cursor: pointer;
	border: 1px solid var(--line); border-radius: 10px; background: #0f0807; font-weight: 400;
}
.checkout .option:has(input:checked) { border-color: #8a3a2a; background: #1d0d0a; }
.checkout .option input { width: auto; margin-top: 4px; accent-color: var(--crimson-2); }
.checkout .option small { display: block; color: var(--muted); font-size: .85rem; }
.checkout .result { margin-top: 16px; }
.hidden { display: none !important; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
footer img { height: 34px; width: auto; opacity: .9; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: var(--muted); }
footer nav a:hover { color: var(--text); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
	.store-grid { grid-template-columns: repeat(3, 1fr); }
	.wiki-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	.features, .modes, .steps, .comp-grid { grid-template-columns: 1fr 1fr; }
	.wiki-grid, .store-grid { grid-template-columns: 1fr 1fr; }
	.nav ul a { padding: 8px 10px; }
	.ranks { grid-template-columns: 1fr 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.band { flex-direction: column; text-align: center; }
}
@media (max-width: 1000px) {
	.nav ul { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
	.nav ul.open { display: flex; }
	.nav .menu-btn { display: block; }
	.nav ul a.btn-nav { margin: 6px 0 0; justify-content: center; }
}
@media (max-width: 680px) {
	.features, .modes, .steps, .ranks, .comp-grid, .wiki-grid, .store-grid { grid-template-columns: 1fr; }
	.nav ul a.btn-nav { margin: 6px 0 0; justify-content: center; }
	section { padding: 60px 0; }
	.guide { padding: 22px 18px; }
	.band { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}
