:root {
	--bg: #070814;
	--line: rgba(152, 170, 255, 0.18);
	--text: #f6f2ff;
	--muted: #c1c6f9;
	--glow: 0 24px 80px rgba(34, 25, 92, 0.34);
}

* {
	box-sizing: border-box;
}

html {
	background: var(--bg);
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	overflow-x: hidden;
	font-family: "Segoe UI", "Helvetica Neue", sans-serif;
	color: var(--text);
	background:
		linear-gradient(rgba(5, 8, 24, 0.58), rgba(5, 8, 24, 0.92)),
		url("/assets/godspeedsuperchain-brand-design-X.png") center top / cover no-repeat fixed,
		var(--bg);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at 12% 18%, rgba(255, 123, 54, 0.18), transparent 24%),
		radial-gradient(circle at 80% 12%, rgba(115, 106, 255, 0.22), transparent 20%);
	pointer-events: none;
}

.app-shell {
	position: relative;
	z-index: 1;
	width: min(1560px, calc(100% - 14px));
	margin: 0 auto;
	padding: calc(18px + env(safe-area-inset-top, 0px)) 0 calc(28px + env(safe-area-inset-bottom, 0px));
}

.topbar,
.reel-stage,
.policy-shell {
	border: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(10, 14, 32, 0.72), rgba(9, 11, 24, 0.9));
	backdrop-filter: blur(14px);
	box-shadow: var(--glow);
}

.topbar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
	padding: 14px 18px;
	border-radius: 24px;
}

.brand-lockup,
.stage-copy,
.pulse-copy {
	min-width: 0;
}

.eyebrow,
.card-kicker {
	margin: 0;
	font-size: 0.74rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #ffbf82;
}

.brand-lockup h1,
.stage-copy h2,
.reel-card h3,
.consent-copy h2,
.policy-shell h1,
.policy-shell h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
}

.brand-lockup h1 {
	font-size: clamp(1.2rem, 2vw, 1.8rem);
	line-height: 1;
	text-transform: uppercase;
}

.tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
	display: none;
}

.tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	flex: 0 0 auto;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--muted);
	background: rgba(255, 255, 255, 0.04);
	font-size: 0.95rem;
	font-weight: 700;
}

.tab.is-active {
	color: var(--text);
	background: rgba(255, 255, 255, 0.1);
}

.radio-pulse {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 220px;
	max-width: 280px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
	cursor: pointer;
}

.radio-pulse[data-state="playing"] {
	background: rgba(255, 255, 255, 0.08);
}

.radio-pulse[data-state="loading"] {
	background: rgba(255, 255, 255, 0.08);
}

.pulse-dot {
	position: relative;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #ff7b36;
	box-shadow: 0 0 18px rgba(255, 123, 54, 0.9);
}

.radio-pulse[data-state="playing"] .pulse-dot::after {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 1px solid rgba(255, 123, 54, 0.5);
	animation: pulse-ring 1.4s ease-out infinite;
}

.pulse-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
}

.pulse-copy b,
.pulse-copy small {
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pulse-copy small {
	color: var(--muted);
}

.reel-stage,
.policy-shell {
	margin-top: 18px;
	padding: 22px;
	border-radius: 30px;
}

.stage-copy {
	max-width: 72ch;
	margin-bottom: 18px;
}

.stage-copy h2 {
	font-size: clamp(2.4rem, 5vw, 4.6rem);
	line-height: 0.95;
	text-transform: uppercase;
}

.lede {
	margin: 14px 0 12px;
	max-width: 22ch;
	font-size: clamp(1.15rem, 2.1vw, 1.8rem);
	line-height: 1.15;
}

.supporting,
.consent-copy p,
.policy-shell p,
.policy-shell li {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--muted);
}

.reel-window {
	position: relative;
	overflow: hidden;
	padding: 26px 0 12px;
	mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
	touch-action: pan-y;
	user-select: none;
}

.reel-cover {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: linear-gradient(180deg, rgba(7, 10, 22, 0.92), rgba(7, 10, 22, 0.7));
	backdrop-filter: blur(10px);
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.reel-cover.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.reel-cover-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	text-align: center;
	padding: 18px 22px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.reel-cover-copy b {
	font-size: 1rem;
	font-weight: 700;
}

.reel-track {
	display: flex;
	gap: 26px;
	width: max-content;
	animation: scroll-reel 58s linear infinite;
	will-change: transform;
	animation-play-state: running;
	transform: translate3d(0, 0, 0);
}

@media (hover: hover) and (pointer: fine) {
	.reel-window:hover .reel-track {
		animation-play-state: paused;
	}
}

.reel-card {
	position: relative;
	flex: 0 0 auto;
	width: min(350px, 74vw);
	min-height: 480px;
	padding-top: 26px;
	border-radius: 34px;
}

.reel-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 14%;
	right: 14%;
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(255, 207, 89, 0.45), rgba(255, 123, 54, 1), rgba(255, 207, 89, 0.45));
	box-shadow: 0 0 22px rgba(255, 163, 76, 0.85);
}

.reel-card::after {
	content: "";
	position: absolute;
	inset: 40px -16px 34px -16px;
	border-radius: 34px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.02);
	opacity: 0.7;
	transform: translateX(16px);
	z-index: 0;
}

.reel-card-stack {
	position: absolute;
	inset: 52px 18px 26px;
	border-radius: 34px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.02);
	filter: blur(0.2px);
	transform: translateX(-18px);
	z-index: 0;
}

.reel-card-frame {
	position: relative;
	z-index: 1;
	height: 100%;
	padding: 30px 24px 24px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 34px;
	background: linear-gradient(180deg, rgba(11, 13, 28, 0.94), rgba(7, 9, 20, 0.98));
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
	overflow: hidden;
}

.reel-card-frame::before,
.reel-card-frame::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	border: 4px solid rgba(255, 255, 255, 0.92);
	opacity: 0.9;
	filter: blur(1px);
}

.reel-card-frame::before {
	left: -34px;
	top: 34%;
	width: 92px;
	height: 92px;
	border-right-color: transparent;
	border-top-color: transparent;
}

.reel-card-frame::after {
	right: -26px;
	top: 22%;
	width: 74px;
	height: 74px;
	border-left-color: transparent;
	border-bottom-color: transparent;
}

.story-card h3 {
	margin: 12px 0 16px;
	font-size: 1.7rem;
	line-height: 1.04;
	max-width: 12ch;
}

.story-signal {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
}

.story-signal::before {
	content: "";
	position: absolute;
	top: 14px;
	right: 20px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, #4ea6ff, #8e7dff);
	box-shadow: 0 0 18px rgba(78, 166, 255, 0.75);
}

.story-signal::after {
	content: "";
	position: absolute;
	top: 44px;
	left: 0;
	width: 140px;
	height: 68px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.02);
}

.story-card p {
	margin: 0 0 14px;
	max-width: 24ch;
	font-size: 1rem;
	line-height: 1.74;
	color: var(--muted);
}

.story-card small {
	display: inline-flex;
	width: fit-content;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
	font-size: 0.92rem;
	line-height: 1.4;
	color: #ffd6b8;
}

.story-card-watch .story-signal {
	justify-content: flex-end;
}

.story-signal-minimal {
	justify-content: flex-start;
}

.story-signal-minimal::after,
.story-signal-minimal::before {
	display: none;
}

.story-signal-minimal .card-kicker {
	margin-top: 2px;
}

.story-card-watch .story-signal::after,
.story-card-watch p,
.story-card-watch small {
	display: none;
}

.story-card-watch h3 {
	margin: auto 0 0;
	max-width: 10ch;
	font-size: 2rem;
}

.story-card-signal {
	color: #f8f2ff;
}

.story-card-drop {
	color: #fff1f1;
}

.story-card-watch {
	color: #f3f4ff;
}

.story-card-dispatch {
	color: #eefeff;
}

.portal-card {
	width: min(320px, 68vw);
}

.portal-frame {
	height: 100%;
}

.portal-frame img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 390px;
	object-fit: cover;
	border-radius: 24px;
}

.reel-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
	font-size: 0.9rem;
	color: var(--muted);
}

.meta-pill b {
	color: var(--text);
	font-weight: 700;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 6px 4px;
}

.footer-link,
.policy-back {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.84rem;
}

.footer-copy {
	margin: 0;
	font-size: 0.84rem;
	color: var(--muted);
}

.policy-shell {
	max-width: 900px;
}

.policy-shell h1 {
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 0.95;
	text-transform: uppercase;
}

.policy-shell h2 {
	margin-top: 26px;
	font-size: 1.4rem;
}

.policy-shell ul {
	padding-left: 22px;
}

.policy-back {
	display: inline-flex;
	margin-top: 24px;
	font-weight: 700;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes scroll-reel {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-50% - 13px));
	}
}

@keyframes pulse-ring {
	from {
		transform: scale(0.9);
		opacity: 0.75;
	}

	to {
		transform: scale(1.8);
		opacity: 0;
	}
}

@media (max-width: 980px) {
	.topbar {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.radio-pulse {
		width: 100%;
		max-width: none;
		min-width: 0;
	}

	.site-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.tabs {
		justify-content: flex-start;
		width: 100%;
	}
}

@media (max-width: 720px) {
	body {
		background-attachment: scroll;
	}

	.app-shell {
		width: min(100% - 18px, 100%);
	}

	.topbar,
	.reel-stage,
	.policy-shell {
		padding: 16px;
		border-radius: 22px;
	}

	.stage-copy h2,
	.policy-shell h1 {
		font-size: clamp(2rem, 12vw, 3.4rem);
	}

	.lede {
		max-width: 100%;
		font-size: 1rem;
	}

	.supporting {
		font-size: 0.95rem;
	}

	.reel-window {
		width: min(100%, 940px);
		margin: 0 auto;
		padding: 18px 0 6px;
		mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
		-webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
	}

	.reel-track {
		gap: 16px;
		animation-duration: 42s;
		animation-name: scroll-reel;
		animation-timing-function: linear;
		animation-iteration-count: infinite;
		animation-play-state: running;
	}

	.reel-card {
		width: min(272px, 82vw);
		min-height: 388px;
		padding-top: 16px;
	}

	.reel-card::before {
		left: 18%;
		right: 18%;
		height: 5px;
	}

	.reel-card::after,
	.reel-card-stack,
	.reel-card-frame::before,
	.reel-card-frame::after {
		display: none;
	}

	.reel-card-frame {
		padding: 20px 18px 18px;
		border-radius: 26px;
	}

	.story-card h3 {
		font-size: 1.34rem;
		margin: 10px 0 12px;
		max-width: 100%;
	}

	.story-card p {
		font-size: 0.92rem;
		line-height: 1.55;
		max-width: 100%;
	}

	.story-card small {
		font-size: 0.84rem;
		padding: 9px 13px;
	}

	.story-card-watch h3 {
		font-size: 1.56rem;
	}

	.portal-card {
		width: min(244px, 72vw);
	}

	.portal-frame img {
		min-height: 330px;
		border-radius: 20px;
	}

	.reel-meta {
		gap: 8px;
		margin-top: 14px;
	}

	.meta-pill {
		font-size: 0.82rem;
		padding: 8px 10px;
	}

	.site-footer {
		padding: 12px 4px 2px;
	}
}

@media (max-width: 520px) {
	.topbar {
		padding: 14px;
		border-radius: 20px;
	}

	.brand-lockup h1 {
		font-size: 1rem;
		line-height: 1.1;
	}

	.tab {
		min-height: 34px;
		padding: 0 12px;
		font-size: 0.82rem;
	}

	.radio-pulse {
		padding: 9px 12px;
		gap: 10px;
	}

	.pulse-copy b,
	.pulse-copy small {
		max-width: none;
	}

	.stage-copy {
		margin-bottom: 12px;
	}

	.reel-stage,
	.policy-shell {
		border-radius: 20px;
	}

	.reel-window {
		width: min(100%, 292px);
		margin: 0 auto;
		padding-top: 14px;
		mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
		-webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
	}

	.reel-track {
		gap: 14px;
		animation-duration: 46s;
		animation-name: scroll-reel;
		animation-timing-function: linear;
		animation-iteration-count: infinite;
		animation-play-state: running;
	}

	.reel-card {
		width: min(228px, 78vw);
		min-height: 344px;
	}

	.portal-card {
		width: min(212px, 70vw);
	}

	.portal-frame img {
		min-height: 296px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reel-track {
		animation: none;
	}

	.radio-pulse[data-state="playing"] .pulse-dot::after {
		animation: none;
	}
}
