:root {
	--accent: #26a17b;
	--accent-strong: #16c784;
	--bg: #07130f;
	--bg-soft: rgba(7, 19, 15, 0.82);
	--surface: rgba(255, 255, 255, 0.08);
	--surface-strong: rgba(255, 255, 255, 0.13);
	--border: rgba(255, 255, 255, 0.16);
	--text: #f5fff9;
	--text-muted: rgba(245, 255, 249, 0.72);
	--danger: #ff6b6b;
	--success: #8ff0bb;
	--shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	margin: 0;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--text);
	background-color: var(--bg);
	background-image:
		linear-gradient(90deg, rgba(4, 11, 9, 0.92), rgba(4, 11, 9, 0.36)),
		url('images/bg.webp');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

body.modal-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
}

.container {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid var(--border);
	background: rgba(7, 19, 15, 0.74);
	backdrop-filter: blur(16px);
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 18px;
	min-height: 78px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	text-decoration: none;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 0;
	transition:
		color 180ms ease,
		transform 180ms ease;
}

.brand img {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	transition:
		transform 220ms ease,
		box-shadow 220ms ease;
}

.brand:hover {
	color: var(--success);
	transform: translateY(-1px);
}

.brand:hover img {
	transform: rotate(-6deg) scale(1.08);
	box-shadow: 0 10px 24px rgba(38, 161, 123, 0.28);
}

.price-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
	white-space: nowrap;
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		background 180ms ease,
		box-shadow 180ms ease;
}

.price-pill:hover {
	transform: translateY(-2px);
	border-color: rgba(38, 161, 123, 0.62);
	background: var(--surface-strong);
	box-shadow: 0 12px 26px rgba(38, 161, 123, 0.18);
}

.price-symbol {
	font-size: 12px;
	font-weight: 700;
	color: var(--text-muted);
}

#token-price {
	min-width: 70px;
	font-weight: 700;
}

.change {
	min-width: 62px;
	padding: 3px 7px;
	border-radius: 6px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
}

.change.positive {
	color: var(--success);
	background: rgba(143, 240, 187, 0.12);
}

.change.negative {
	color: var(--danger);
	background: rgba(255, 107, 107, 0.12);
}

.button,
.connectAndClaim {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 8px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		background 180ms ease,
		color 180ms ease,
		box-shadow 180ms ease;
}

.button:hover,
.connectAndClaim:hover {
	transform: translateY(-1px);
}

.button:focus-visible,
.connectAndClaim:focus-visible,
.modal-close:focus-visible,
input:focus-visible {
	outline: 3px solid rgba(38, 161, 123, 0.42);
	outline-offset: 3px;
}

.button-primary,
.connectAndClaim {
	color: #03110d;
	background: linear-gradient(135deg, var(--accent-strong), var(--accent));
	box-shadow: 0 12px 30px rgba(38, 161, 123, 0.26);
}

.button-secondary {
	color: var(--text);
	border-color: var(--border);
	background: rgba(255, 255, 255, 0.05);
}

.button-secondary:hover {
	border-color: rgba(38, 161, 123, 0.65);
	color: var(--success);
}

.hero {
	min-height: calc(100vh - 78px);
	display: flex;
	align-items: center;
	padding: 78px 0 92px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	align-items: center;
	gap: 64px;
}

.hero-copy {
	max-width: 680px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin: 0 0 18px;
	padding: 0 13px;
	border: 1px solid rgba(38, 161, 123, 0.38);
	border-radius: 999px;
	color: var(--success);
	background: rgba(38, 161, 123, 0.12);
	font-size: 13px;
	font-weight: 700;
}

h1,
h2,
p {
	margin-top: 0;
}

h1 {
	margin-bottom: 22px;
	font-size: clamp(40px, 6vw, 72px);
	line-height: 1.03;
	letter-spacing: 0;
}

h2 {
	margin-bottom: 20px;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.12;
	letter-spacing: 0;
}

.hero-text {
	max-width: 650px;
	margin-bottom: 34px;
	color: var(--text-muted);
	font-size: 18px;
	line-height: 1.65;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero-media {
	display: flex;
	justify-content: center;
	transition:
		transform 260ms ease,
		filter 260ms ease;
}

.hero-media:hover {
	transform: translateY(-4px) scale(1.02);
	filter: saturate(1.08);
}

.hero-media img {
	width: min(360px, 76vw);
	border-radius: 28px;
	filter: drop-shadow(0 28px 80px rgba(38, 161, 123, 0.32));
	animation: float 5s ease-in-out infinite;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-12px);
	}
}

.stats-section {
	padding: 0 0 76px;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.stat-card,
.wallet-panel {
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
	transition:
		transform 220ms ease,
		border-color 220ms ease,
		background 220ms ease,
		box-shadow 220ms ease;
}

.stat-card:hover,
.wallet-panel:hover {
	transform: translateY(-7px);
	border-color: rgba(38, 161, 123, 0.58);
	background: var(--surface-strong);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(38, 161, 123, 0.12);
}

.stat-card {
	min-height: 130px;
	padding: 26px;
}

.stat-value {
	display: block;
	margin-bottom: 8px;
	color: var(--success);
	font-size: 34px;
	font-weight: 800;
	transition: transform 220ms ease;
}

.stat-card:hover .stat-value {
	transform: scale(1.04);
}

.stat-label {
	color: var(--text-muted);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0;
}

.content-section {
	padding: 10px 0 86px;
}

.info-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	align-items: center;
	gap: 42px;
}

.info-copy {
	max-width: 690px;
}

.check-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 34px;
	color: var(--text-muted);
	font-size: 17px;
	line-height: 1.55;
	transition:
		color 180ms ease,
		transform 180ms ease;
}

.check-list li:hover {
	color: var(--text);
	transform: translateX(5px);
}

.check-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background:
		linear-gradient(135deg, var(--accent-strong), var(--accent));
	box-shadow: 0 0 0 5px rgba(38, 161, 123, 0.13);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}

.check-list li:hover::before {
	transform: scale(1.15);
	box-shadow: 0 0 0 7px rgba(38, 161, 123, 0.17);
}

.wallet-panel {
	padding: 24px;
}

.wallet-panel img {
	width: min(260px, 100%);
	margin: 0 auto 22px;
	border-radius: 8px;
	transition:
		transform 240ms ease,
		filter 240ms ease;
}

.wallet-panel:hover img {
	transform: translateY(-4px) rotate(1.5deg) scale(1.03);
	filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24));
}

.wallet-panel p {
	margin-bottom: 0;
	color: var(--text-muted);
	line-height: 1.6;
}

.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #1b1e23;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.footer-shell {
	padding: 44px 0 22px;
}

.footer-main {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(0, 1.9fr);
	gap: 72px;
}

.footer-about {
	max-width: 330px;
}

.footer-brand {
	color: var(--text);
	font-size: 17px;
	gap: 10px;
}

.footer-brand img {
	width: 30px;
	height: 30px;
	border-radius: 8px;
}

.footer-about p {
	margin: 14px 0 20px;
	color: rgba(245, 255, 249, 0.58);
	font-size: 13px;
	line-height: 1.55;
}

.footer-socials {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	color: rgba(245, 255, 249, 0.72);
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		background 180ms ease,
		color 180ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(38, 161, 123, 0.48);
	color: var(--success);
	background: rgba(38, 161, 123, 0.12);
	outline: none;
}

.footer-social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px;
}

.footer-column {
	display: grid;
	align-content: start;
	gap: 13px;
}

.footer-column h3 {
	margin: 0 0 6px;
	color: var(--text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.footer-column a {
	width: max-content;
	max-width: 100%;
	color: rgba(245, 255, 249, 0.6);
	font-size: 13px;
	line-height: 1.25;
	text-decoration: none;
	transition:
		color 180ms ease,
		transform 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
	color: var(--success);
	transform: translateX(3px);
	outline: none;
}

.footer-divider {
	height: 1px;
	margin: 36px 0 20px;
	background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.footer-bottom p {
	margin: 0;
	color: rgba(245, 255, 249, 0.52);
	font-size: 12px;
	line-height: 1.4;
}

.footer-metrics {
	display: flex;
	align-items: flex-end;
	gap: 48px;
	text-align: center;
}

.footer-metrics strong {
	display: block;
	margin-bottom: 3px;
	color: var(--accent-strong);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.footer-metrics span {
	display: block;
	color: rgba(245, 255, 249, 0.48);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 22px;
}

.modal.is-open {
	display: flex;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.62);
	backdrop-filter: blur(8px);
}

.modal-dialog {
	position: relative;
	width: min(480px, 100%);
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--bg-soft);
	box-shadow: var(--shadow);
	animation: modal-in 180ms ease both;
}

@keyframes modal-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
	background: var(--surface);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		background 180ms ease;
}

.modal-close:hover {
	transform: rotate(90deg);
	border-color: rgba(38, 161, 123, 0.58);
	background: var(--surface-strong);
}

.modal-text {
	margin-bottom: 20px;
	color: var(--text-muted);
	line-height: 1.55;
}

.check-form {
	display: grid;
	gap: 12px;
}

.check-form .connectAndClaim {
	width: 100%;
	min-height: 48px;
	margin-top: 4px;
}

.check-form label {
	font-size: 14px;
	font-weight: 700;
}

.check-form input {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
	background: rgba(255, 255, 255, 0.07);
	font: inherit;
	transition:
		border-color 180ms ease,
		background 180ms ease,
		box-shadow 180ms ease;
}

.check-form input:hover {
	border-color: rgba(38, 161, 123, 0.52);
	background: rgba(255, 255, 255, 0.1);
}

.form-result {
	min-height: 24px;
	margin: 16px 0 0;
	color: var(--success);
	font-size: 14px;
	line-height: 1.45;
}

@media (max-width: 820px) {
	body {
		background-image:
			linear-gradient(180deg, rgba(4, 11, 9, 0.9), rgba(4, 11, 9, 0.44)),
			url('images/bg-mobile.webp');
		background-position: left top;
	}

	.header-inner {
		grid-template-columns: 1fr auto;
		padding: 14px 0;
	}

	.price-pill {
		justify-self: end;
	}

	.header-action,
	.header-inner > .connect {
		grid-column: 1 / -1;
		width: 100%;
	}

	.hero {
		min-height: auto;
		padding: 48px 0 62px;
	}

	.hero-grid,
	.info-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.hero-media {
		order: -1;
	}

	.hero-copy {
		text-align: center;
	}

	.hero-text {
		margin-right: auto;
		margin-left: auto;
	}

	.actions {
		justify-content: center;
	}

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

	.footer-shell {
		padding-top: 38px;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.footer-about {
		max-width: 100%;
	}

	.footer-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 42px;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-metrics {
		width: 100%;
		justify-content: space-between;
		gap: 16px;
	}
}

@media (max-width: 520px) {
	.container {
		width: min(100% - 28px, 1120px);
	}

	.brand {
		font-size: 18px;
	}

	.brand img {
		width: 34px;
		height: 34px;
	}

	.price-pill {
		gap: 6px;
		padding: 7px 8px;
	}

	.price-symbol,
	.change {
		font-size: 11px;
	}

	#token-price {
		min-width: 62px;
		font-size: 14px;
	}

	h1 {
		font-size: 38px;
	}

	.actions .button,
	.actions .connect,
	.check-form .connectAndClaim {
		width: 100%;
	}

	.stat-card,
	.wallet-panel,
	.modal-dialog {
		padding: 22px;
	}

	.footer-links {
		grid-template-columns: 1fr;
	}

	.footer-divider {
		margin-top: 30px;
	}

	.footer-metrics {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.footer-metrics strong {
		font-size: 13px;
	}

	.footer-metrics span {
		font-size: 9px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
