:root {
	--rosewood: #7F0C0F;
	--cosmic-latte: #FDF3DE;
	--rick-black: #001625;
	--gold: #C9A154;
	--paynes-green: #3C5A5A;

	--bg: var(--rick-black);
	--text: var(--cosmic-latte);
	--muted: rgba(253, 243, 222, 0.82);
	--line: rgba(253, 243, 222, 0.16);
	--panel: rgba(253, 243, 222, 0.06);

	--max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 {
	font-family: "Anton", "LT Energy", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0;
}

h3 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	margin: 0;
}

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

/* HEADER */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	background: rgba(0, 22, 37, 0);
	backdrop-filter: blur(8px);
	transition: background 0.3s ease, border-color 0.3s ease;
	border-bottom: 1px solid transparent;
	opacity: 0;
	animation: fadeIn 0.9s ease 0.4s forwards;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,22,37,0.55), rgba(0,22,37,0));
	pointer-events: none;
}

.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	gap: 16px;
}

.brand-mark-img {
	height: 32px;
	width: auto;
	display: block;
}

.nav {
	display: flex;
	gap: 2px;
	flex-wrap: wrap;
}

.nav a {
	color: var(--cosmic-latte);
	font-weight: 500;
	font-size: 12px;
	padding: 8px 12px;
	border-radius: 6px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nav a:hover {
	color: var(--gold);
	background: rgba(253, 243, 222, 0.06);
	text-decoration: none;
}

/* HERO */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-image: url("assets/images/backdrop.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at center, rgba(0,0,0,0) 35%, rgba(0,22,37,0.55) 100%),
		linear-gradient(180deg, rgba(0,22,37,0.25) 0%, rgba(0,22,37,0) 25%, rgba(0,22,37,0) 75%, rgba(0,22,37,0.45) 100%);
}

.hero-inner {
	position: relative;
	z-index: 3;
	text-align: center;
	padding: 0 24px;
	max-width: 820px;
}

.hero-logo {
	display: block;
	width: min(620px, 82vw);
	height: auto;
	margin: 0 auto;
	opacity: 0;
	transform: translateY(8px);
	animation: heroFadeIn 1.4s ease 0.35s forwards;
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.35));
}

.hero-tagline {
	margin: 18px 0 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	font-size: clamp(13px, 1.4vw, 17px);
	color: var(--cosmic-latte);
	letter-spacing: 0.32em;
	text-transform: uppercase;
	opacity: 0;
	animation: heroFadeIn 1.4s ease 1s forwards;
}

.hero-cta {
	margin-top: 36px;
	opacity: 0;
	animation: heroFadeIn 1.4s ease 1.5s forwards;
}

.scroll-hint {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 4;
	font-size: 10px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--cosmic-latte);
	opacity: 0;
	transform: translateX(-50%);
	animation: heroFadeIn 1.4s ease 2s forwards, floatY 2.4s ease-in-out 2.6s infinite;
}

/* POPCORN CURSOR EFFECT */
.popcorn {
	position: absolute;
	z-index: 2;
	pointer-events: none;
	user-select: none;
	transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
	will-change: transform;
}

.popcorn-inner {
	display: inline-block;
	line-height: 1;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.popcorn-inner.stage-kernel {
	width: 70px;
	height: 80px;
	background-image: url("assets/popcorn/kernel.png");
	opacity: 0;
	animation:
		kernelAppear 0.15s ease forwards,
		kernelShake 0.1s ease-in-out 0.15s infinite;
}

@keyframes kernelAppear {
	from { transform: scale(0.4); opacity: 0; }
	to   { transform: scale(1);   opacity: 1; }
}

@keyframes kernelShake {
	0%, 100% { transform: translate(-3px, -2px) rotate(-3deg); }
	25%      { transform: translate(3px, -2.5px) rotate(3deg); }
	50%      { transform: translate(2.5px, 2.5px) rotate(-2deg); }
	75%      { transform: translate(-2px, 2.5px) rotate(2deg); }
}

.popcorn-inner.stage-half {
	width: 110px;
	height: 110px;
	background-image: url("assets/popcorn/popcorn-half.png");
	animation: halfPop 0.12s ease-out forwards;
}

@keyframes halfPop {
	from { transform: scale(0.75); }
	to   { transform: scale(1.1); }
}

.popcorn-inner.stage-full {
	width: var(--size, 170px);
	height: var(--size, 170px);
	animation: popcornFull 3.2s ease forwards;
}

@keyframes popcornFull {
	0%   { transform: scale(1.4); opacity: 1; }
	8%   { transform: scale(1);   opacity: 1; }
	55%  { transform: scale(1);   opacity: 1; }
	100% { transform: scale(0.95); opacity: 0; }
}

@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes floatY {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(6px); }
}

/* BUTTONS */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border-radius: 4px;
	border: 1px solid var(--cosmic-latte);
	background: transparent;
	color: var(--cosmic-latte);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

.button:hover {
	text-decoration: none;
	background: var(--cosmic-latte);
	color: var(--rick-black);
}

.button.primary {
	background: var(--cosmic-latte);
	color: var(--rick-black);
}

.button.primary:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--rick-black);
}

/* SECTIONS */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--paynes-green); }
#tickets { background: var(--rosewood); }
.section-head { margin-bottom: 28px; }

h2 {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 0.95;
	color: var(--cosmic-latte);
}

.muted { color: var(--muted); font-weight: 500; }
.small { font-size: 12px; letter-spacing: 0.08em; font-weight: 300; }

.about-copy {
	max-width: 64ch;
	font-size: 18px;
	line-height: 1.7;
	margin: 18px 0 0;
	font-weight: 300;
}

/* ===== VIDEO-BACKED SECTION (About) — DESKTOP ===== */
.section-video {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 3360 / 956;
	padding: 0;
	display: flex;
	align-items: center;
}

.section-video-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.section-video-overlay {
	position: absolute;
	inset: 0;
	background: var(--bg);
	opacity: 0.5;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.section-video-content {
	position: relative;
	z-index: 2;
}

.section-video-content h2,
.section-video-content .about-copy {
	transition: opacity 0.5s ease;
}

.reveal-reel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 32px;
	height: 56px;
	padding: 0 24px;
	border-radius: 999px;
	border: 1px solid var(--cosmic-latte);
	background: transparent;
	color: var(--cosmic-latte);
	cursor: pointer;
	transition: background 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}

.reveal-reel:hover {
	background: rgba(253, 243, 222, 0.12);
}

.reveal-reel-icon {
	width: 52px;
	height: auto;
	display: block;
	color: var(--cosmic-latte);
}

.section-video:has(.reveal-reel:hover) .section-video-overlay {
	opacity: 0;
}

.section-video:has(.reveal-reel:hover) h2,
.section-video:has(.reveal-reel:hover) .about-copy {
	opacity: 0;
}

/* TABLET (901–1024px) */
@media (max-width: 1024px) and (min-width: 901px) {
	.section.section-video {
		aspect-ratio: auto;
		min-height: 70vh;
		padding: 90px 0;
	}
}

/* MOBILE (≤900px) */
@media (max-width: 900px) {
	.section.section-video {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		aspect-ratio: auto;
		min-height: 0;
		height: auto;
		padding: 0;
		overflow: hidden;
		background: var(--bg);
	}

	.section-video-content {
		order: 1;
		padding: 110px 0 0;
	}

	.section-video-bg {
		order: 2;
		position: relative;
		inset: auto;
		width: 100%;
		height: 28.452vw;
		max-height: none;
		min-height: 0;
		aspect-ratio: auto;
		object-fit: cover;
		display: block;
		margin: 0;
		padding: 0;
		vertical-align: top;
		line-height: 0;
		font-size: 0;
	}

	.section-video-overlay {
		display: none;
	}

	.reveal-reel {
		display: none;
	}
}

/* EMBEDS */
.embed-box {
	background: rgba(253, 243, 222, 0.04);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 20px;
}

/* FOLLOW PILLS */
.links-row { display: flex; gap: 10px; flex-wrap: wrap; }

.pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 12px;
	border-radius: 999px;
	border: 1px solid var(--cosmic-latte);
	color: var(--cosmic-latte);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pill:hover {
	background: rgba(253, 243, 222, 0.12);
	border-color: var(--gold);
	color: var(--gold);
	text-decoration: none;
}

.pill .icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}

/* PARTNERS */
.partners-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	align-items: center;
	margin-top: 12px;
}

.partner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	min-height: 140px;
}

.partner img {
	max-width: 100%;
	max-height: 120px;
	width: auto;
	height: auto;
	opacity: 0.95;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner:hover img { opacity: 1; transform: scale(1.04); }

/* FOOTER */
.site-footer {
	background: var(--rosewood);
	color: var(--cosmic-latte);
	padding: 72px 0 36px;
}

.footer-inner { display: grid; gap: 18px; }
.footer-top { display: flex; align-items: center; gap: 14px; }
.footer-mark { height: 22px; width: auto; }

.footer-location {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 500;
}

.footer-contact { margin: 0; font-size: 15px; font-weight: 500; }

.footer-socials {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 500;
}

.footer-ownership {
	margin: 18px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(253, 243, 222, 0.22);
	color: rgba(253, 243, 222, 0.9);
	letter-spacing: 0.08em;
}

.footer-ownership a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-legal { margin: 0; color: rgba(253, 243, 222, 0.7); letter-spacing: 0.06em; }

.footer-cookie-link {
	text-decoration: underline;
	text-underline-offset: 3px;
	color: inherit;
	cursor: pointer;
}

.footer-cookie-link:hover {
	color: var(--cosmic-latte);
}

/* MODAL */
.modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	-webkit-overflow-scrolling: touch;
}

.modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 22, 37, 0.78);
	backdrop-filter: blur(6px);
	cursor: pointer;
}

.modal-content {
	position: relative;
	z-index: 1;
	background: var(--rick-black);
	color: var(--cosmic-latte);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 40px 28px 28px;
	max-width: 520px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: transparent;
	border: none;
	color: var(--cosmic-latte);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	padding: 6px 10px;
	transition: color 0.2s ease;
}

.modal-close:hover { color: var(--gold); }

.modal-title {
	font-family: "Anton", "LT Energy", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 32px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0 0 6px;
}

.modal-subtitle { margin: 0 0 18px; font-size: 13px; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 90;
	width: min(640px, calc(100% - 32px));
	transform: translate(-50%, 24px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
	pointer-events: auto;
}

.cookie-banner-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	background: rgba(0, 22, 37, 0.92);
	color: var(--cosmic-latte);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 18px 22px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.cookie-banner-text {
	flex: 1;
	min-width: 0;
}

.cookie-banner-title {
	margin: 0 0 4px;
	font-family: "Anton", "LT Energy", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cosmic-latte);
}

.cookie-banner-body {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(253, 243, 222, 0.78);
	font-weight: 300;
}

.cookie-banner-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.cookie-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 18px;
	border-radius: 999px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.cookie-btn.cookie-decline {
	background: transparent;
	border: 1px solid rgba(253, 243, 222, 0.4);
	color: rgba(253, 243, 222, 0.85);
}

.cookie-btn.cookie-decline:hover {
	border-color: var(--cosmic-latte);
	color: var(--cosmic-latte);
	background: rgba(253, 243, 222, 0.06);
}

.cookie-btn.cookie-accept {
	background: var(--cosmic-latte);
	border: 1px solid var(--cosmic-latte);
	color: var(--rick-black);
}

.cookie-btn.cookie-accept:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--rick-black);
}

@media (max-width: 600px) {
	.cookie-banner {
		bottom: 16px;
		width: calc(100% - 24px);
	}

	.cookie-banner-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 16px 18px;
	}

	.cookie-banner-actions {
		justify-content: stretch;
	}

	.cookie-btn {
		flex: 1;
	}
}

/* MOBILE general */
@media (max-width: 900px) {
	.partners-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

@media (max-width: 720px) {
	.nav a { font-size: 11px; padding: 6px 8px; letter-spacing: 0.14em; }
	.section { padding: 72px 0; }
	.about-copy { font-size: 16px; }
	.section-video-content { padding-top: 72px; }
}

@media (max-width: 520px) {
	.partners-grid { grid-template-columns: repeat(2, 1fr); }
	.modal-content { padding: 32px 18px 22px; }
	.modal-title { font-size: 26px; }
}

/* ===== POPCORN GAME HUD (responsive) ===== */
.pop-fixed-layer,
.pop-top-popups {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9999;
}

.pop-top-popups {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	padding: 14px;
	gap: 8px;
}

.pop-top-num {
	background: rgba(0, 22, 37, 0.8);
	border: 1px solid rgba(253, 243, 222, 0.22);
	color: var(--cosmic-latte);
	border-radius: 999px;
	padding: 6px 10px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	transform: translateY(-10px);
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.pop-top-num.is-on {
	transform: translateY(0);
	opacity: 1;
}

.pop-float-num {
	position: fixed;
	transform: translate(-50%, 0);
	background: rgba(0, 22, 37, 0.82);
	border: 1px solid rgba(253, 243, 222, 0.22);
	color: var(--cosmic-latte);
	border-radius: 999px;
	padding: 6px 10px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	z-index: 9999;
	pointer-events: none;
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.pop-float-num.is-on {
	opacity: 1;
	transform: translate(-50%, -10px);
}

.pop-hud {
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 9998;
	width: min(440px, calc(100vw - 20px));
	max-height: calc(100svh - 20px);
	pointer-events: auto;
}

.pop-hud-panel {
	background: rgba(0, 22, 37, 0.86);
	border: 1px solid rgba(253, 243, 222, 0.22);
	border-radius: 12px;
	padding: 12px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	overflow: hidden;
}

.pop-hud-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.pop-hud-title {
	font-family: "Anton", "LT Energy", "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 16px;
}

.pop-hud-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.pop-reset {
	height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(253, 243, 222, 0.35);
	background: transparent;
	color: var(--cosmic-latte);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 11px;
}

.pop-hud-count {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.pop-hud-count span {
	max-width: 44vw;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pop-currency {
	width: 36px;
	height: 36px;
	object-fit: contain;
	flex: 0 0 auto;
}

.pop-currency--mini {
	width: 18px;
	height: 18px;
}

.pop-hud-sub {
	margin-top: 6px;
	font-size: 12px;
	opacity: 0.85;
	font-variant-numeric: tabular-nums;
}

.pop-shop {
	margin-top: 10px;
}

.pop-shop-title {
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 12px;
	margin-bottom: 8px;
}

.pop-shop-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 44svh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding-right: 2px;
}

.pop-shop-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	align-items: stretch;
}

.pop-shop-item,
.pop-upgrade-btn {
	border-radius: 12px;
	border: 1px solid rgba(253, 243, 222, 0.22);
	background: rgba(253, 243, 222, 0.06);
	color: var(--cosmic-latte);
	padding: 10px;
	text-align: left;
	min-height: 44px; /* tap target */
}

.pop-shop-item:disabled,
.pop-upgrade-btn:disabled {
	opacity: 0.55;
}

.pop-shop-left {
	min-width: 0;
}

.pop-shop-name {
	font-weight: 800;
	letter-spacing: 0.02em;
}

.pop-shop-desc {
	margin-top: 2px;
	font-size: 12px;
	opacity: 0.85;
}

.pop-shop-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 6px;
}

.pop-shop-cost {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.pop-shop-tag {
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.85;
}

.pop-upgrade-top {
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 10px;
}

.pop-upgrade-sub {
	margin-top: 2px;
	font-size: 12px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.pop-upgrade-max {
	margin-top: 6px;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.85;
}

.pop-shop-mystery {
	border-radius: 12px;
	border: 1px dashed rgba(253, 243, 222, 0.25);
	padding: 12px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.pop-owned-board {
	position: fixed;
	left: 10px;
	top: 10px;
	z-index: 9997;
	width: min(220px, calc(100vw - 20px));
	pointer-events: none;
}

.pop-owned-col-items {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pop-owned-slot {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(0, 22, 37, 0.55);
	border: 1px solid rgba(253, 243, 222, 0.18);
}

.pop-owned-emoji {
	font-size: 18px;
	line-height: 1;
}

.pop-finish-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}
.pop-finish-overlay.is-visible {
	opacity: 1;
	pointer-events: auto;
}
.pop-finish-card {
	width: min(520px, 100%);
	background: rgba(0, 22, 37, 0.92);
	border: 1px solid rgba(253, 243, 222, 0.22);
	border-radius: 14px;
	padding: 18px;
	text-align: center;
}
.pop-finish-title {
	font-family: "Anton", "LT Energy", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 26px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.pop-finish-sub {
	margin-top: 8px;
	opacity: 0.85;
}
.pop-finish-time {
	margin-top: 10px;
	font-size: 34px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

/* Mobile tightening: prevent side clipping when numbers get big */
@media (max-width: 520px) {
	.pop-hud {
		top: 8px;
		right: 8px;
		width: calc(100vw - 16px);
	}
	.pop-owned-board {
		left: 8px;
		top: auto;
		bottom: 8px;
		width: calc(100vw - 16px);
	}
	.pop-owned-col-items {
		justify-content: flex-start;
	}
	.pop-hud-title { font-size: 14px; }
	.pop-hud-count span { max-width: 52vw; }
	.pop-shop-row { grid-template-columns: 1fr; }
	.pop-shop-right { align-items: flex-start; }
	.pop-shop-item, .pop-upgrade-btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
	.hero-logo, .hero-tagline, .hero-cta, .scroll-hint, .site-header {
		opacity: 1 !important;
		transform: none !important;
	}
	.popcorn-inner,
	.section-video-overlay,
	.section-video-content h2,
	.section-video-content .about-copy {
		transition: none !important;
	}
	.popcorn { display: none !important; }
	.cookie-banner { transition: opacity 0.01s !important; }
}