:root {
	--bg: #0b0b0d;
	--panel: #15151a;
	--fg: #f7f5ed;
	--muted: #aaa7a0;
	--yellow: #ffd400;
	--ink: #171400;
	--pink: #ff5c8a;
	--line: rgba(255, 255, 255, 0.14);
	--maxw: 68rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .75rem 1.25rem;
	background: rgba(11, 11, 13, .86);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.topbar__brand { color: var(--yellow); font-weight: 900; text-decoration: none; letter-spacing: -.03em; }
.topbar__status { color: var(--muted); font-family: ui-monospace, monospace; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.topbar__cta { margin-left: auto; }

.btn {
	display: inline-block;
	font: inherit;
	font-weight: 850;
	text-decoration: none;
	cursor: pointer;
	border-radius: .55rem;
	padding: .85rem 1.25rem;
	border: 2px solid transparent;
	transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px) rotate(-1deg); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { color: var(--yellow); border-color: var(--yellow); }

.hero {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: clamp(4rem, 10vw, 8rem) 1.25rem 4rem;
	text-align: center;
}
.eyebrow, .section__stamp {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: .35rem .75rem;
	background: var(--yellow);
	color: var(--ink);
	font-size: .72rem;
	font-weight: 950;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.hero__kicker { margin: 0; color: var(--pink); font-family: ui-monospace, monospace; font-size: clamp(1rem, 3vw, 1.35rem); font-weight: 800; }
h1 { margin: .65rem 0 1rem; font-size: clamp(3.4rem, 11vw, 8rem); line-height: .86; letter-spacing: -.09em; font-weight: 950; text-transform: uppercase; }
h1 span { color: var(--yellow); }
.hero__lead { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2.6vw, 1.35rem); }
.searchbar {
	display: flex;
	align-items: center;
	gap: .6rem;
	max-width: 52rem;
	margin: 2rem auto 0;
	padding: .5rem .5rem .5rem 1.1rem;
	background: var(--panel);
	border: 3px solid var(--yellow);
	box-shadow: 8px 8px 0 var(--pink), 0 20px 50px rgba(0, 0, 0, .45);
	transform: rotate(-.5deg);
}
.searchbar:focus-within { box-shadow: 10px 10px 0 var(--pink), 0 20px 50px rgba(0, 0, 0, .45); }
.searchbar__icon { color: var(--yellow); font-size: 2rem; line-height: 1; }
.searchbar__input { flex: 1; min-width: 0; font: inherit; font-size: clamp(.95rem, 2.5vw, 1.35rem); font-weight: 800; color: var(--fg); background: transparent; border: 0; outline: 0; }
.searchbar__go { flex: none; padding: .8rem 1rem; }
.hero__hint { margin: 1.25rem 0 0; color: var(--muted); font-family: ui-monospace, monospace; font-size: .85rem; }
.hero__disclaimer { max-width: 52rem; margin: 2rem auto 0; padding: 1rem; color: #d9d5cc; background: rgba(255, 92, 138, .08); border-left: 4px solid var(--pink); text-align: left; font-size: .9rem; }
.hero__disclaimer strong { color: var(--pink); }

.crack { color: var(--yellow); line-height: 0; }
.crack svg { display: block; width: 100%; height: 24px; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) 1.25rem; }
.section__stamp { margin-bottom: 1rem; }
.section__title { max-width: 18ch; margin: 0; font-size: clamp(2.3rem, 6vw, 4.3rem); line-height: .95; letter-spacing: -.06em; text-transform: uppercase; }
.section__lead { max-width: 58ch; margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
.section--lore { background: radial-gradient(circle at 90% 30%, rgba(255, 212, 0, .13), transparent 35%); }
.lore-grid, .receipts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.lore-card { min-height: 15rem; padding: 1.25rem; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--yellow); }
.lore-card:nth-child(2) { transform: translateY(1rem) rotate(1deg); border-top-color: var(--pink); }
.lore-card:nth-child(3) { transform: rotate(-1deg); }
.lore-card__number { color: var(--yellow); font: 900 1rem ui-monospace, monospace; }
.lore-card h3 { margin: 2rem 0 .5rem; font-size: 1.35rem; }
.lore-card p { margin: 0; color: var(--muted); }
.section--receipts { background: var(--yellow); color: var(--ink); max-width: none; padding-left: max(1.25rem, calc((100% - var(--maxw)) / 2 + 1.25rem)); padding-right: max(1.25rem, calc((100% - var(--maxw)) / 2 + 1.25rem)); }
.section--receipts .section__stamp { background: var(--ink); color: var(--yellow); }
.section--receipts .section__lead { color: #504900; }
.receipts { grid-template-columns: repeat(2, 1fr); }
.receipt { display: flex; min-height: 15rem; flex-direction: column; padding: 1.35rem; color: var(--fg); background: var(--bg); text-decoration: none; border: 3px solid var(--bg); box-shadow: 7px 7px 0 var(--pink); transition: transform .15s ease; }
.receipt:hover { transform: translate(-3px, -3px) rotate(-1deg); }
.receipt__tag { color: var(--yellow); font: 800 .72rem ui-monospace, monospace; letter-spacing: .06em; }
.receipt h3 { margin: auto 0; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1; letter-spacing: -.04em; }
.receipt__action { color: var(--pink); font-weight: 850; }
.receipts__cta { margin-top: 2.25rem; }
.section--share { text-align: center; }
.section--share .section__title, .section--share .section__lead { margin-left: auto; margin-right: auto; }
.phrasebox { display: inline-flex; align-items: center; gap: .75rem; flex-wrap: wrap; justify-content: center; margin: 2rem auto .5rem; padding: .7rem .7rem .7rem 1rem; background: var(--panel); border: 1px dashed var(--yellow); }
.phrasebox code { color: var(--yellow); font-size: clamp(.85rem, 2.4vw, 1.2rem); font-weight: 800; }
.hero__cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.footer { max-width: 58rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; text-align: center; border-top: 1px solid var(--line); }
.footer__note { color: var(--muted); font-size: .83rem; }
.footer__brand { color: var(--yellow); font-weight: 800; }

@media (max-width: 700px) {
	.topbar__status { display: none; }
	.searchbar { align-items: stretch; flex-wrap: wrap; border-radius: .5rem; }
	.searchbar__input { flex-basis: calc(100% - 3rem); }
	.searchbar__go { width: 100%; }
	.lore-grid, .receipts { grid-template-columns: 1fr; }
	.lore-card:nth-child(2), .lore-card:nth-child(3) { transform: none; }
	.section--receipts { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn--primary:hover, .receipt:hover { transform: none; }
}
