/* ============================================================
   $MOASS — memecoin landing
   Palette: GameStop red #e31937 · cream #f7f0e1 · ink #121212
   Display font: Luckiest Guy · Body: Rubik
   ============================================================ */

:root {
	--red: #e31937;
	--red-dark: #b91230;
	--cream: #f7f0e1;
	--cream-dark: #efe5cd;
	--ink: #121212;
	--green: #2fbf62;
	--white: #fffdf7;
	--radius: 18px;
	--shadow: 0 6px 0 rgba(18, 18, 18, 0.9);
	--border: 3px solid var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	font-family: "Rubik", system-ui, sans-serif;
	background: var(--cream);
	color: var(--ink);
	line-height: 1.55;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .display {
	font-family: "Luckiest Guy", "Rubik", cursive;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.01em;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: "Rubik", sans-serif;
	font-weight: 700;
	font-size: 17px;
	padding: 15px 30px;
	border-radius: 999px;
	border: var(--border);
	box-shadow: var(--shadow);
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.12s, box-shadow 0.12s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 rgba(18, 18, 18, 0.9); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 rgba(18, 18, 18, 0.9); }
.btn--red { background: var(--red); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--sm { font-size: 14px; padding: 10px 20px; box-shadow: 0 4px 0 rgba(18,18,18,0.9); }

/* ---------- header ---------- */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--cream);
	border-bottom: var(--border);
}
.header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 14px 0;
}
.header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	margin-right: auto;
}
.header__brand img {
	width: 46px; height: 46px;
	border-radius: 50%;
	border: var(--border);
	object-fit: cover;
	background: var(--white);
}
.header__brand span {
	font-family: "Luckiest Guy", cursive;
	font-size: 26px;
	color: var(--red);
	-webkit-text-stroke: 1px var(--ink);
	padding-top: 6px;
}
.header__nav { display: flex; gap: 26px; }
.header__nav a {
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
}
.header__nav a:hover { color: var(--red); }

/* ---------- hero ---------- */
.hero { background: var(--cream); overflow: hidden; }
.hero__inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 30px;
	align-items: center;
	padding: 60px 0 70px;
}
.hero__kicker {
	display: inline-block;
	background: var(--ink);
	color: var(--cream);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 8px 18px;
	margin-bottom: 22px;
}
.hero__title {
	font-size: clamp(72px, 11vw, 150px);
	color: var(--red);
	-webkit-text-stroke: 3px var(--ink);
	text-shadow: 6px 6px 0 var(--ink);
	margin-bottom: 10px;
}
.hero__subtitle {
	font-family: "Luckiest Guy", cursive;
	font-size: clamp(20px, 3vw, 34px);
	color: var(--ink);
	margin-bottom: 18px;
}
.hero__subtitle span { color: var(--red); }
.hero__text {
	font-size: 18px;
	max-width: 520px;
	margin-bottom: 26px;
}
.hero__text b { color: var(--red-dark); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero__mascot { position: relative; text-align: center; }
.hero__mascot img {
	width: min(420px, 90%);
	margin: 0 auto;
	border-radius: 50%;
	border: 5px solid var(--ink);
	box-shadow: 10px 10px 0 var(--ink);
	transform: rotate(3deg);
	background: var(--white);
}

/* CA pill */
.ca {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	background: var(--white);
	border: var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 12px 18px;
	max-width: 640px;
}
.ca__label {
	font-family: "Luckiest Guy", cursive;
	color: var(--red);
	font-size: 18px;
	padding-top: 4px;
}
.ca__value {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 13px;
	font-weight: 600;
	word-break: break-all;
	flex: 1 1 200px;
}
.ca__btn {
	font-family: "Rubik", sans-serif;
	font-weight: 700;
	font-size: 13px;
	background: var(--ink);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 8px 18px;
	cursor: pointer;
}
.ca__btn:hover { background: var(--red); }
.ca__btn.copied { background: var(--green); }

/* ---------- marquee ---------- */
.marquee {
	background: var(--red);
	border-top: var(--border);
	border-bottom: var(--border);
	overflow: hidden;
	padding: 12px 0;
}
.marquee__track {
	display: flex;
	gap: 48px;
	width: max-content;
	animation: marquee 22s linear infinite;
}
.marquee span {
	font-family: "Luckiest Guy", cursive;
	font-size: 22px;
	color: var(--cream);
	white-space: nowrap;
	padding-top: 5px;
}
@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ---------- live stats ---------- */
.stats { background: var(--ink); padding: 40px 0; }
.stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
}
.stat {
	background: #1d1d1d;
	border: 2px solid #333;
	border-radius: var(--radius);
	padding: 18px 20px;
	text-align: center;
}
.stat__label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9a9a9a;
	margin-bottom: 6px;
}
.stat__value {
	font-family: "Luckiest Guy", cursive;
	font-size: 26px;
	color: var(--cream);
}
.stat__value.is-up { color: var(--green); }
.stat__value.is-down { color: #ff5c6e; }
.stats__badge {
	display: flex;
	justify-content: center;
	margin-top: 16px;
}
.live-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9a9a9a;
}
.live-badge::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #666;
}
.live-badge.is-live { color: var(--green); }
.live-badge.is-live::before {
	background: var(--green);
	animation: pulse 1.6s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(47, 191, 98, 0.5); }
	70% { box-shadow: 0 0 0 8px rgba(47, 191, 98, 0); }
	100% { box-shadow: 0 0 0 0 rgba(47, 191, 98, 0); }
}

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section--red { background: var(--red); border-top: var(--border); border-bottom: var(--border); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); border-top: var(--border); }

.section__title {
	font-size: clamp(40px, 6vw, 72px);
	margin-bottom: 14px;
}
.section__title--light { color: var(--cream); text-shadow: 4px 4px 0 rgba(18,18,18,0.85); }
.section__title--ink { color: var(--ink); }
.section__lead {
	font-size: 19px;
	max-width: 640px;
	margin-bottom: 40px;
}
.section--red .section__lead { color: var(--white); }

/* story */
.story__quote {
	font-family: "Luckiest Guy", cursive;
	font-size: clamp(24px, 3.6vw, 40px);
	color: var(--cream);
	text-shadow: 3px 3px 0 rgba(18,18,18,0.85);
	max-width: 900px;
	margin-bottom: 18px;
}
.story__text { color: var(--white); font-size: 18px; max-width: 700px; }
.story__text a { color: var(--cream); font-weight: 700; }

.story__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.reddit-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--white);
	color: var(--ink);
	border: var(--border);
	border-radius: 999px;
	box-shadow: 0 4px 0 rgba(18, 18, 18, 0.9);
	padding: 10px 20px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: transform 0.12s, box-shadow 0.12s;
}
.reddit-link:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(18,18,18,0.9); background: #ffe9d6; }

.lingo__cta { text-align: center; margin-top: 40px; }

/* cards */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
}
.card {
	background: var(--white);
	border: var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 28px;
}
.card__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	border-radius: 50%;
	background: var(--red);
	border: var(--border);
	color: #fff;
	font-family: "Luckiest Guy", cursive;
	font-size: 24px;
	padding-top: 6px;
	margin-bottom: 18px;
}
.card h3 { font-size: 26px; margin-bottom: 10px; color: var(--ink); }
.card p { font-size: 16px; color: #3a3a3a; }
.card p b { color: var(--red-dark); }

/* ---------- rewards ---------- */
.rewards-panel { max-width: 980px; margin: 0 auto; }
.rewards-panel__sub { color: #bdbdbd; font-size: 16px; max-width: 620px; margin-bottom: 26px; }
.rewards-panel__controls { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.rewards-panel__input {
	flex: 1 1 300px;
	background: #1d1d1d;
	border: 2px solid #3a3a3a;
	border-radius: 999px;
	color: #fff;
	padding: 14px 22px;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 14px;
	outline: none;
}
.rewards-panel__input:focus { border-color: var(--red); }
.rewards-panel__input::placeholder { color: #777; }
.wallet-error { color: #ff8fa1; font-size: 14px; min-height: 20px; margin-bottom: 8px; }

.rewards-result { display: none; }
.rewards-result.is-visible { display: block; }
.rewards-result.is-loading { opacity: 0.5; }
.rewards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin: 18px 0 8px;
}
.rw-card {
	background: #1d1d1d;
	border: 2px solid #333;
	border-radius: var(--radius);
	padding: 16px 18px;
}
.rw-card--wide { grid-column: 1 / -1; border-color: var(--green); }
.rw-card__label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9a9a9a;
	margin-bottom: 6px;
}
.rw-card__value {
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	word-break: break-word;
	font-variant-numeric: tabular-nums;
}
.rw-card--wide .rw-card__value { color: var(--green); font-size: 15px; }

.pool-title {
	font-family: "Luckiest Guy", cursive;
	color: var(--cream);
	font-size: 22px;
	margin: 30px 0 12px;
}
.pool-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
}

/* ---------- clock strip ---------- */
.clock { background: var(--cream-dark); border-bottom: var(--border); padding: 18px 0; }
.clock__inner {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	text-align: center;
}
.clock__label { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.clock__time {
	font-family: "Luckiest Guy", cursive;
	font-size: 26px;
	color: var(--red);
	-webkit-text-stroke: 0.5px var(--ink);
}

/* ---------- footer ---------- */
.footer { background: var(--ink); padding: 50px 0 30px; }
.footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img {
	width: 56px; height: 56px;
	border-radius: 50%;
	border: 3px solid var(--cream);
	object-fit: cover;
}
.footer__brand span {
	font-family: "Luckiest Guy", cursive;
	font-size: 24px;
	color: var(--cream);
	padding-top: 6px;
}
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a {
	color: var(--cream);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
}
.footer__links a:hover { color: var(--red); }
.footer__note {
	text-align: center;
	color: #8a8a8a;
	font-size: 13px;
	border-top: 1px solid #2c2c2c;
	padding-top: 22px;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
	.header__nav { display: none; }
	.hero__inner { grid-template-columns: 1fr; padding: 40px 0 50px; text-align: center; }
	.hero__text { margin-left: auto; margin-right: auto; }
	.hero__actions { justify-content: center; }
	.ca { margin: 0 auto; }
	.hero__mascot { order: -1; }
	.hero__mascot img { width: min(260px, 70%); }
	.section { padding: 56px 0; }
}
