:root {
	--black: #000000;
	--red: #d80000;
	--red-hot: #ff1a1a;
	--red-deep: #8f0000;
	--white: #ffffff;
	--mute: #b8b8b8;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	color: var(--white);
	font-family: "Source Serif 4", Georgia, serif;
	font-optical-sizing: auto;
	background: var(--black);
	overflow-x: hidden;
}

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	align-items: end;
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.92) 100%),
		url("hero.png") center 20% / cover no-repeat;
	transform: scale(1.03);
	animation: drift 30s var(--ease) infinite alternate;
}

.hero__grain {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.12;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

.hero__inner {
	width: min(720px, calc(100% - 2rem));
	margin: 0 auto;
	padding:
		max(4rem, env(safe-area-inset-top))
		0
		max(3rem, calc(8vh + env(safe-area-inset-bottom)));
	animation: rise 1.1s var(--ease) both;
}

.brand {
	margin: 0 0 0.85rem;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: clamp(2.75rem, 14vw, 6.5rem);
	line-height: 0.92;
	letter-spacing: 0.04em;
	color: var(--white);
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75);
}

.brand span {
	display: block;
	color: var(--red);
}

.brand a {
	color: inherit;
	text-decoration: none;
}

.lede {
	margin: 0 0 1.75rem;
	max-width: 34ch;
	font-size: clamp(1rem, 3.6vw, 1.25rem);
	line-height: 1.45;
	color: color-mix(in srgb, var(--white) 88%, var(--mute));
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8);
	animation: rise 1.1s var(--ease) 0.12s both;
}

.cta,
.more__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cta {
	animation: rise 1.1s var(--ease) 0.22s both;
}

.btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.7rem 1.35rem;
	border: 1.5px solid transparent;
	border-radius: 2px;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: clamp(1.15rem, 4.2vw, 1.35rem);
	letter-spacing: 0.08em;
	text-decoration: none;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

.btn--primary {
	background: var(--red);
	color: var(--white);
	border-color: var(--red-deep);
	box-shadow: 0 0 0 0 rgba(216, 0, 0, 0.35);
}

.btn--primary:hover {
	background: var(--red-hot);
	box-shadow: 0 0 22px rgba(216, 0, 0, 0.45);
}

.btn--secondary {
	background: transparent;
	color: var(--white);
	border-color: color-mix(in srgb, var(--white) 55%, transparent);
}

.btn--secondary:hover {
	background: color-mix(in srgb, var(--white) 10%, transparent);
	border-color: var(--white);
}

.more {
	padding:
		clamp(2.75rem, 8vw, 4.5rem)
		0
		clamp(3.25rem, 10vw, 5.5rem);
	background: linear-gradient(180deg, var(--black), #0a0000 55%, #120000);
}

.more__inner {
	width: min(720px, calc(100% - 2rem));
	margin: 0 auto;
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}

.more h2 {
	margin: 0 0 0.5rem;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: clamp(1.65rem, 7vw, 2.4rem);
	letter-spacing: 0.06em;
	color: var(--red);
}

.more p {
	margin: 0 0 1.4rem;
	max-width: 42ch;
	line-height: 1.5;
	color: var(--mute);
	font-size: clamp(0.95rem, 3.4vw, 1.05rem);
}

.btn--ghost {
	background: color-mix(in srgb, var(--red) 12%, transparent);
	color: var(--white);
	border-color: color-mix(in srgb, var(--red) 55%, transparent);
}

.btn--ghost:hover {
	background: color-mix(in srgb, var(--red) 28%, transparent);
	border-color: var(--red);
}

.page {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

.page__bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.88) 45%, #000 100%),
		url("hero.png") center 20% / cover no-repeat;
}

.page__grain {
	position: fixed;
	inset: 0;
	z-index: -1;
	opacity: 0.1;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

.page__nav {
	width: min(720px, calc(100% - 2rem));
	margin: 0 auto;
	padding:
		max(1.25rem, env(safe-area-inset-top))
		0
		0;
	animation: rise 0.9s var(--ease) both;
}

.page__nav a {
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 1.05rem;
	letter-spacing: 0.1em;
	color: var(--mute);
	text-decoration: none;
	transition: color 0.3s var(--ease);
}

.page__nav a:hover {
	color: var(--white);
}

.page__nav a:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

.page__main {
	flex: 1;
	width: min(720px, calc(100% - 2rem));
	margin: 0 auto;
	padding:
		clamp(2rem, 6vw, 3.25rem)
		0
		clamp(3rem, 8vw, 4.5rem);
	animation: rise 1.1s var(--ease) 0.08s both;
}

.page__title {
	margin: 0 0 0.65rem;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: clamp(2.4rem, 10vw, 4rem);
	line-height: 0.95;
	letter-spacing: 0.05em;
	color: var(--white);
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.page__title span {
	color: var(--red);
}

.page__intro {
	margin: 0 0 2rem;
	max-width: 42ch;
	font-size: clamp(1rem, 3.4vw, 1.15rem);
	line-height: 1.5;
	color: color-mix(in srgb, var(--white) 85%, var(--mute));
}

.rules {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rule;
}

.rules li {
	position: relative;
	margin: 0 0 1.35rem;
	padding-left: 2.75rem;
	max-width: 52ch;
	font-size: clamp(0.95rem, 3.3vw, 1.08rem);
	line-height: 1.55;
	color: color-mix(in srgb, var(--white) 90%, var(--mute));
	counter-increment: rule;
	animation: rise 0.9s var(--ease) both;
}

.rules li::before {
	content: counter(rule, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.1em;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 1.15rem;
	letter-spacing: 0.06em;
	color: var(--red);
}

.rules li:nth-child(1) { animation-delay: 0.1s; }
.rules li:nth-child(2) { animation-delay: 0.14s; }
.rules li:nth-child(3) { animation-delay: 0.18s; }
.rules li:nth-child(4) { animation-delay: 0.22s; }
.rules li:nth-child(5) { animation-delay: 0.26s; }
.rules li:nth-child(6) { animation-delay: 0.3s; }
.rules li:nth-child(7) { animation-delay: 0.34s; }
.rules li:nth-child(8) { animation-delay: 0.38s; }

.rules-note {
	margin: 2.25rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--red) 35%, transparent);
	max-width: 48ch;
	font-size: clamp(0.95rem, 3.3vw, 1.05rem);
	line-height: 1.55;
	color: var(--mute);
}

.about-copy {
	margin: 0;
	max-width: 48ch;
}

.about-copy p {
	margin: 0 0 1.25rem;
	font-size: clamp(0.98rem, 3.4vw, 1.12rem);
	line-height: 1.55;
	color: color-mix(in srgb, var(--white) 88%, var(--mute));
}

.about-copy p:last-child {
	margin-bottom: 0;
	color: var(--mute);
}

.page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.foot {
	padding:
		1.25rem
		max(1.25rem, env(safe-area-inset-right))
		max(1.5rem, env(safe-area-inset-bottom))
		max(1.25rem, env(safe-area-inset-left));
	text-align: center;
	font-size: clamp(0.78rem, 3vw, 0.85rem);
	color: color-mix(in srgb, var(--mute) 70%, transparent);
	background: #0a0000;
	border-top: 1px solid color-mix(in srgb, var(--red) 25%, transparent);
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes drift {
	from {
		transform: scale(1.03) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.07) translate3d(-1%, -0.6%, 0);
	}
}

@media (max-width: 640px) {
	.hero__bg {
		background-position: center 18%;
		animation: none;
		transform: none;
	}

	.hero__inner {
		width: calc(100% - 1.5rem);
		padding-bottom: max(2.25rem, env(safe-area-inset-bottom));
	}

	.cta,
	.more__links,
	.page__actions {
		flex-direction: column;
	}

	.btn {
		width: 100%;
		min-height: 3.15rem;
	}

	.more__inner,
	.page__nav,
	.page__main {
		width: calc(100% - 1.5rem);
	}
}

@media (max-width: 380px) {
	.brand {
		font-size: clamp(2.4rem, 13vw, 3rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.hero__bg {
		transform: none;
	}
}
