:root {
	--bg: #1f2127;
	--accent: #86a68b;
	--accent-2: #2a454b;
	--danger: #f24c3d;
	--text: #e6ece9;
	--design-width: 2560px;
	--design-height: 1440px;
}


/* Base container for overlay effects */
.overlay-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	contain: layout style paint;
}

/* Fog effect for illegal detail pages */
.fog-container {
	overflow: hidden;
	z-index: 2;
}

.fog-layer {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
	filter: blur(40px);
	animation: fogDrift linear infinite;
	animation-delay: var(--fog-delay, 0s);
	animation-duration: var(--fog-duration, 30s);
	transform: translate(-50%, -50%) translateZ(0);
	will-change: transform;
	contain: layout style paint;
}

@keyframes fogDrift {
	0% {
		transform: translate(-50%, -50%) translateX(calc(var(--fog-direction, 1) * -20%));
	}
	50% {
		transform: translate(-50%, -50%) translateX(calc(var(--fog-direction, 1) * 20%));
	}
	100% {
		transform: translate(-50%, -50%) translateX(calc(var(--fog-direction, 1) * -20%));
	}
}

/* Crime damage effects */
.crime-damage-container {
	overflow: visible;
	z-index: 3;
}

.crime-damage--crack {
	position: absolute;
	height: 2px;
	background: linear-gradient(
		to right,
		transparent 0%,
		rgba(0, 0, 0, 0.6) 20%,
		rgba(0, 0, 0, 0.8) 50%,
		rgba(0, 0, 0, 0.6) 80%,
		transparent 100%
	);
	box-shadow: 
		0 0 2px rgba(0, 0, 0, 0.5),
		inset 0 0 1px rgba(255, 255, 255, 0.1);
	transform-origin: center;
}

.crime-damage--splatter {
	position: absolute;
	border-radius: 50% 40% 50% 40%;
	background: radial-gradient(
		ellipse at 30% 30%,
		rgba(139, 0, 0, 0.4) 0%,
		rgba(100, 0, 0, 0.3) 30%,
		rgba(60, 0, 0, 0.2) 60%,
		transparent 100%
	);
	filter: blur(2px);
	transform: translate(-50%, -50%);
}

.crime-damage--splatter::before {
	content: '';
	position: absolute;
	top: 10%;
	left: 20%;
	width: 40%;
	height: 40%;
	background: radial-gradient(
		circle,
		rgba(139, 0, 0, 0.5) 0%,
		transparent 70%
	);
	border-radius: 50%;
	filter: blur(1px);
}

.crime-damage--splatter::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 10%;
	width: 30%;
	height: 30%;
	background: radial-gradient(
		circle,
		rgba(100, 0, 0, 0.4) 0%,
		transparent 70%
	);
	border-radius: 50%;
	filter: blur(1px);
}

/* Ambient rim light overlay for cleaner depth (no harsh black shadow) */
.hero-card::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: calc(24px + 6px);
    background: radial-gradient(ellipse at 50% 110%, rgba(134,166,139,0.20), rgba(134,166,139,0.08) 38%, rgba(0,0,0,0) 62%);
    mix-blend-mode: screen;
    opacity: 0;
    transform: translateY(0) scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.hero-card:not(:focus-visible):hover::after,
.hero-card.hero-card--active::after {
    opacity: 0.5;
    transform: translateY(-2px) scale(1.01);
}

@font-face {
	font-family: 'AgencyCustom';
	src: url('../fonts/AGENCYB.TTF') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'FantasmSecrets';
	src: url('../fonts/Fantasm and Secrets.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.willst-font {
	font-family: 'FantasmSecrets', 'Roboto Slab', system-ui, sans-serif;
	font-weight: 400;
	font-size: 1.2em;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background: var(--bg);
	position: relative;
}

body {
	font-family: 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0;
	/* Will be set by JS for desktop scaling */
}

body.desktop-scaled {
	width: 2560px;
	height: 1440px;
	transform-origin: top left;
	/* Ensure fixed children are not affected by transform */
	transform-style: preserve-3d;
	position: absolute;
	top: 0;
	left: 0;
}

/* Fixed elements - they will scale with the body transform */
.top-cta {
	/* This element is inside the scaled body, so it scales automatically */
	transform: translateZ(0);
	will-change: transform;
}

.hero-rail-controls {
	/* This element is inside the scaled body, so it scales automatically */
	/* Transform will be set in its own rule to avoid conflicts */
	will-change: transform;
}

/* Scale container to fit viewport while maintaining 2K proportions */
#scaleContainer {
	width: var(--design-width);
	height: var(--design-height);
	transform-origin: top left;
	position: relative;
	overflow: hidden;
}

/* Top CTAs */
.top-cta {
	position: fixed !important;
	top: 32px !important;
	right: 32px !important;
	z-index: 100000 !important;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	transform-origin: top right;
	pointer-events: auto;
}

.top-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	color: white;
	transition: all 0.24s ease;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.top-cta__btn:hover,
.top-cta__btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
}

.top-cta__btn:focus-visible {
	outline: none;
	box-shadow:
		0 0 0 2px rgba(230, 236, 233, 0.45),
		0 10px 30px rgba(0, 0, 0, 0.36);
}

.top-cta__icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.discord-btn {
	position: relative;
	background: linear-gradient(135deg, #5865F2 0%, #414AD4 100%);
	box-shadow:
		0 12px 36px rgba(88, 101, 242, 0.35),
		0 0 0 1px rgba(172, 180, 255, 0.35) inset,
		0 0 40px rgba(88, 101, 242, 0.2);
	overflow: hidden;
	animation: discordPulse 2s ease-in-out infinite, discordFloat 3s ease-in-out infinite;
	transform-origin: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discord-btn:hover,
.discord-btn:focus-visible {
	background: linear-gradient(135deg, #4C55E2 0%, #323CC1 100%);
	box-shadow:
		0 20px 50px rgba(88, 101, 242, 0.6),
		0 0 0 1px rgba(190, 196, 255, 0.5) inset,
		0 0 60px rgba(88, 101, 242, 0.4);
	animation: discordPulseHover 1.5s ease-in-out infinite, discordFloatHover 3s ease-in-out infinite;
}

.discord-btn::before {
	content: '';
	position: absolute;
	inset: -2px;
	background: linear-gradient(135deg, rgba(88, 101, 242, 0.6), rgba(65, 74, 212, 0.4));
	border-radius: inherit;
	opacity: 0;
	animation: discordGlow 2s ease-in-out infinite;
	z-index: -1;
	filter: blur(8px);
}

.discord-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.4) 50%,
		transparent 100%
	);
	opacity: 0;
	animation: discordShimmer 3s ease-in-out infinite;
	transform: translateX(-100%);
}

.discord-btn:hover::after,
.discord-btn:focus-visible::after {
	animation: discordShimmer 2s ease-in-out infinite;
}

.discord-btn .top-cta__icon {
	animation: discordIconPulse 2s ease-in-out infinite;
	filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.discord-btn:hover .top-cta__icon,
.discord-btn:focus-visible .top-cta__icon {
	animation: discordIconPulseHover 1s ease-in-out infinite;
	filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}


.fivem-btn {
	background: linear-gradient(135deg, rgba(96, 30, 38, 0.95) 0%, rgba(62, 18, 24, 0.92) 100%);
}

.fivem-btn:hover,
.fivem-btn:focus-visible {
	background: linear-gradient(135deg, rgba(112, 38, 44, 0.98) 0%, rgba(70, 22, 28, 0.94) 100%);
}



@keyframes discordPulse {
	0%, 100% {
		box-shadow:
			0 12px 36px rgba(88, 101, 242, 0.4),
			0 0 0 1px rgba(172, 180, 255, 0.4) inset,
			0 0 40px rgba(88, 101, 242, 0.3);
	}
	50% {
		box-shadow:
			0 20px 50px rgba(88, 101, 242, 0.6),
			0 0 0 1px rgba(190, 196, 255, 0.5) inset,
			0 0 60px rgba(88, 101, 242, 0.5);
	}
}

@keyframes discordPulseHover {
	0%, 100% {
		box-shadow:
			0 20px 50px rgba(88, 101, 242, 0.7),
			0 0 0 1px rgba(190, 196, 255, 0.6) inset,
			0 0 70px rgba(88, 101, 242, 0.6);
	}
	50% {
		box-shadow:
			0 25px 60px rgba(88, 101, 242, 0.8),
			0 0 0 1px rgba(210, 216, 255, 0.7) inset,
			0 0 80px rgba(88, 101, 242, 0.7);
	}
}

@keyframes discordFloat {
	0%, 100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-4px) scale(1.02);
	}
}

@keyframes discordGlow {
	0%, 100% {
		opacity: 0.3;
		transform: scale(1);
	}
	50% {
		opacity: 0.6;
		transform: scale(1.05);
	}
}

@keyframes discordShimmer {
	0% {
		transform: translateX(-100%) skewX(-15deg);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: translateX(200%) skewX(-15deg);
		opacity: 0;
	}
}

/* discordShimmerHover uses same animation as discordShimmer */

@keyframes discordIconPulse {
	0%, 100% {
		transform: scale(1);
		filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
	}
	50% {
		transform: scale(1.1);
		filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
	}
}

@keyframes discordFloatHover {
	0%, 100% {
		transform: translateY(-3px) scale(1.05);
	}
	50% {
		transform: translateY(-7px) scale(1.08);
	}
}

@keyframes discordIconPulseHover {
	0%, 100% {
		transform: scale(1.05);
		filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
	}
	50% {
		transform: scale(1.15);
		filter: drop-shadow(0 0 16px rgba(255, 255, 255, 1));
	}
}

.teamspeak-btn {
	background: linear-gradient(135deg, rgba(80, 120, 132, 0.95) 0%, rgba(36, 66, 72, 0.92) 100%);
}

.teamspeak-btn:hover,
.teamspeak-btn:focus-visible {
	background: linear-gradient(135deg, rgba(92, 136, 148, 0.98) 0%, rgba(44, 78, 84, 0.94) 100%);
}


/* Main App Layout */
.app {
	position: relative;
	width: var(--design-width);
	height: var(--design-height);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--bg);
}

/* Floating background collage - removed */

.hero-dynamic-bg .bg-polaroid-stripe {
	position: absolute;
	display: flex;
	justify-content: center;
	width: clamp(110px, 18vw, 160px);
	overflow: hidden;
	transform-origin: center;
	transform: rotate(var(--bg-stripe-rotate, -22deg)) translateZ(0);
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
	opacity: 0.22;
	z-index: 1;
	/* Performance: GPU acceleration and content visibility */
	will-change: transform;
	content-visibility: auto;
}

.hero-dynamic-bg .bg-polaroid-stripe__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(14px, 3vh, 20px);
	animation: bgPolaroidLineScroll var(--bg-line-duration, 130s) linear infinite;
	animation-delay: var(--bg-line-delay, 0s);
	/* Performance: GPU acceleration */
	will-change: transform;
	transform: translateZ(0);
}

.hero-dynamic-bg .bg-polaroid {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: clamp(96px, 18vw, 148px);
	aspect-ratio: 3 / 4;
	padding: clamp(8px, 1.6vh, 14px);
	border-radius: 12px;
	box-shadow:
		0 22px 48px rgba(0, 0, 0, 0.26),
		inset 0 0 0 1px rgba(110, 150, 136, 0.22);
	overflow: hidden;
	will-change: transform;
	transform:
		translateX(var(--bg-polaroid-offset, 0%))
		translateZ(0)
		rotate(var(--bg-polaroid-tilt, 0deg))
		scale(var(--bg-polaroid-scale, 1));
	border: 1px solid rgba(100, 140, 124, 0.22);
	/* Performance: Reduced backdrop-filter blur for better performance */
	backdrop-filter: blur(8px);
	background:
		linear-gradient(160deg, rgba(10, 14, 16, 0.9) 0%, rgba(6, 10, 12, 0.82) 48%, rgba(2, 6, 8, 0.76) 100%);
	/* Performance: CSS containment */
	contain: layout style paint;
}

.hero-dynamic-bg .bg-polaroid::before {
	content: '';
	position: absolute;
	inset: 8%;
	background:
		radial-gradient(circle at 50% 18%, rgba(124, 172, 152, 0.42), rgba(10, 16, 14, 0) 70%),
		var(--roots-r-image) center/68% auto no-repeat;
	opacity: 0.38;
	filter: blur(6px);
	mix-blend-mode: screen;
	z-index: 0;
	pointer-events: none;
}

.hero-dynamic-bg .bg-polaroid::after {
	content: '';
	position: absolute;
	left: clamp(18px, 14%, 22px);
	right: clamp(18px, 14%, 22px);
	bottom: clamp(10px, 2.6vh, 16px);
	height: 6px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	opacity: 0.5;
	pointer-events: none;
}

.hero-dynamic-bg .bg-polaroid--highlight {
	background:
		linear-gradient(160deg, rgba(10, 14, 16, 0.9) 0%, rgba(6, 10, 12, 0.82) 48%, rgba(2, 6, 8, 0.76) 100%);
	box-shadow:
		0 26px 48px rgba(90, 120, 110, 0.24),
		inset 0 0 0 1px rgba(155, 192, 164, 0.36);
}
.hero-dynamic-bg .bg-polaroid--pulse {
	box-shadow:
		0 34px 60px rgba(134, 192, 168, 0.34),
		inset 0 0 0 1px rgba(186, 220, 204, 0.55);
	animation: bgPolaroidPulse 5.2s ease-in-out;
}

.hero-dynamic-bg .bg-polaroid__image {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
	z-index: 1;
	/* Performance: GPU acceleration for images */
	transform: translateZ(0);
	will-change: transform;
}

.hero-dynamic-bg .bg-polaroid-stripe::before {
	content: '';
	position: absolute;
	top: clamp(-32px, -6vh, -20px);
	left: clamp(20px, 16%, 38px);
	width: clamp(44px, 28%, 60px);
	height: clamp(16px, 4vh, 22px);
	background: rgba(248, 244, 208, 0.52);
	border-radius: 6px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
	transform: rotate(calc(var(--bg-stripe-rotate, -22deg) * -0.22));
	opacity: 0.5;
}

.hero-dynamic-bg .bg-polaroid-stripe::after {
	content: '';
	position: absolute;
	inset: clamp(-26px, -5vh, -16px) clamp(4px, 2%, 12px) clamp(-16px, -4vh, -8px) clamp(14px, 4%, 22px);
	border-radius: 22px;
	background: radial-gradient(120% 120% at 22% -18%, rgba(155, 192, 164, 0.18) 0%, rgba(56, 72, 62, 0.14) 48%, rgba(12, 16, 14, 0) 100%);
	opacity: 0.36;
	filter: blur(20px);
	z-index: -1;
}

@keyframes bgPolaroidLineScroll {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-50%);
	}
}

@keyframes bgPolaroidLineScrollX {
	0% {
		transform: translateX(-120%);
	}
	100% {
		transform: translateX(120%);
	}
}

@keyframes bgPolaroidPulse {
	0% {
		filter: saturate(0.85) brightness(0.92);
		transform:
			translateX(var(--bg-polaroid-offset, 0%))
			rotate(var(--bg-polaroid-tilt, 0deg))
			scale(calc(var(--bg-polaroid-scale, 1) * 0.98));
	}
	40% {
		filter: saturate(1.35) brightness(1.1);
	}
	60% {
		filter: saturate(1.2) brightness(1.04);
		transform:
			translateX(var(--bg-polaroid-offset, 0%))
			rotate(var(--bg-polaroid-tilt, 0deg))
			scale(calc(var(--bg-polaroid-scale, 1) * 1.04));
	}
	100% {
		filter: saturate(0.92) brightness(0.96);
		transform:
			translateX(var(--bg-polaroid-offset, 0%))
			rotate(var(--bg-polaroid-tilt, 0deg))
			scale(calc(var(--bg-polaroid-scale, 1) * 0.99));
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-dynamic-bg .bg-polaroid-stripe {
		animation: none;
		transform: rotate(var(--bg-stripe-rotate, -22deg));
	}

	.hero-dynamic-bg .bg-polaroid {
		animation: none;
		transform: rotate(var(--bg-polaroid-tilt, 0deg));
	}
}

/* ==================== HERO ==================== */
.hero-grid {
	display: grid;
	grid-template-columns: minmax(320px, 640px) 1fr;
	align-items: center;
	gap: clamp(20px, 4vw, 80px);
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding: clamp(24px, 5vh, 64px) clamp(24px, 5vw, 72px) clamp(24px, 5vh, 64px) 0;
	padding-left: clamp(20px, 4vw, 56px);
	position: relative;
	z-index: 2;
	overflow: visible;
}

.hero-left {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vh, 32px);
	max-width: min(540px, 44vw);
	align-items: flex-start;
	position: relative;
	z-index: 11;
}

.hero-logo {
	width: clamp(260px, 26vw, 420px);
	height: auto;
	filter: drop-shadow(0 12px 42px rgba(0,0,0,0.5));
	align-self: flex-start;
}

.hero-left__content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 4vh, 32px);
	padding: clamp(32px, 4vh, 40px) clamp(24px, 3vw, 36px);
	border-radius: 36px;
	border: 1px solid rgba(134, 166, 139, 0.3);
	background: transparent;
	z-index: 11;
	box-shadow: none;
	backdrop-filter: none;
	overflow: hidden;
	position: relative;
}

.hero-left__content::before {
	display: none;
}

.hero-left__content::after {
	display: none;
}

.hero-tagline-group {
	display: flex;
	flex-direction: column;
	gap: clamp(10px, 2vh, 18px);
	position: relative;
	z-index: 1;
}

.hero-tagline {
	display: flex;
	flex-direction: column;
	gap: clamp(6px, 1.4vh, 10px);
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	color: rgba(230, 236, 233, 0.96);
	max-width: 36ch;
	text-transform: none;
	letter-spacing: normal;
	position: relative;
	margin: 0;
	padding: 0;
	font-weight: inherit;
}

.hero-tagline__accent {
	font-size: clamp(12px, 1.5vw, 15px);
	letter-spacing: 0.38em;
	text-transform: uppercase;
	color: rgba(155, 192, 164, 0.68);
}

.hero-tagline__main {
	font-size: clamp(32px, 4.6vw, 60px);
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	color: rgba(234, 240, 236, 0.98);
}

.hero-subtext {
	font-family: 'Manrope', 'Roboto Slab', system-ui, sans-serif;
	font-size: clamp(15px, 1.9vw, 17px);
	line-height: 1.7;
	color: rgba(198, 214, 208, 0.82);
	max-width: 38ch;
}

.hero-choice {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: clamp(14px, 2.8vw, 24px);
	margin-top: clamp(8px, 1.4vh, 16px);
}

.hero-choice__btn,
.hero-rail-controls__btn {
	--btn-bg: linear-gradient(135deg, rgba(20, 26, 28, 0.92), rgba(10, 12, 14, 0.88));
	--btn-hover-bg: linear-gradient(135deg, rgba(34, 46, 42, 0.96), rgba(16, 22, 20, 0.9));
	--btn-border: rgba(134, 166, 139, 0.38);
	--btn-hover-border: rgba(134, 166, 139, 0.72);
	--btn-color: rgba(229, 235, 232, 0.92);
	--btn-hover-color: #ffffff;
	--btn-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
	--btn-hover-shadow: 0 26px 60px rgba(134, 166, 139, 0.35);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: clamp(4px, 1vw, 12px);
	min-width: 0;
	width: 100%;
	padding: 18px clamp(28px, 5vw, 44px);
	min-height: 56px;
	border-radius: 999px;
	border: 1px solid var(--btn-border);
	background: var(--btn-bg);
	color: var(--btn-color);
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: 18px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: var(--btn-shadow);
	overflow: hidden;
	transition:
		transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.24s ease,
		background 0.24s ease,
		border-color 0.24s ease,
		color 0.24s ease;
}

.hero-choice__btn {
	--btn-bg: linear-gradient(135deg, rgba(38, 82, 72, 0.92), rgba(24, 46, 40, 0.9));
	--btn-hover-bg: linear-gradient(135deg, rgba(62, 132, 112, 0.98), rgba(32, 68, 58, 0.94));
	--btn-border: rgba(155, 192, 164, 0.62);
	--btn-hover-border: rgba(196, 230, 205, 0.92);
	--btn-color: rgba(229, 243, 236, 0.95);
	--btn-hover-color: #ffffff;
	--btn-shadow: 0 26px 58px rgba(72, 118, 104, 0.38);
	--btn-hover-shadow: 0 34px 74px rgba(112, 162, 142, 0.46);
}

.hero-choice__btn::after,
.hero-rail-controls__btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.15), transparent 70%);
	opacity: 0;
	transition: opacity 0.24s ease;
	pointer-events: none;
}

.hero-choice__btn:hover,
.hero-choice__btn:focus-visible,
.hero-choice__btn.is-active,
.hero-rail-controls__btn:hover,
.hero-rail-controls__btn:focus-visible {
	transform: translateY(-4px);
	background: var(--btn-hover-bg, var(--btn-bg));
	border-color: var(--btn-hover-border, var(--btn-border));
	color: var(--btn-hover-color, var(--btn-color));
	box-shadow: var(--btn-hover-shadow, var(--btn-shadow));
}

.hero-choice__btn:hover::after,
.hero-choice__btn:focus-visible::after,
.hero-choice__btn.is-active::after,
.hero-rail-controls__btn:hover::after,
.hero-rail-controls__btn:focus-visible::after {
	opacity: 0.4;
}

.hero-choice__btn:focus-visible,
.hero-rail-controls__btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(155, 192, 164, 0.4), var(--btn-hover-shadow, 0 26px 60px rgba(134, 166, 139, 0.35));
}

.hero-choice__btn--illegal {
	--btn-bg: linear-gradient(135deg, rgba(92, 28, 34, 0.95), rgba(42, 14, 18, 0.92));
	--btn-hover-bg: linear-gradient(135deg, rgba(134, 32, 40, 0.98), rgba(62, 18, 24, 0.94));
	--btn-border: rgba(242, 76, 61, 0.55);
	--btn-hover-border: rgba(242, 128, 110, 0.8);
	--btn-color: #fbe4e0;
	--btn-hover-color: #ffffff;
	--btn-shadow: 0 22px 46px rgba(242, 76, 61, 0.24);
	--btn-hover-shadow: 0 34px 70px rgba(242, 76, 61, 0.38);
}

.hero-choice__btn--rules {
	--btn-bg: linear-gradient(135deg, rgba(36, 104, 118, 0.92), rgba(20, 54, 62, 0.9));
	--btn-hover-bg: linear-gradient(135deg, rgba(64, 158, 172, 0.98), rgba(30, 82, 92, 0.94));
	--btn-border: rgba(118, 208, 222, 0.58);
	--btn-hover-border: rgba(176, 236, 244, 0.88);
	--btn-color: rgba(224, 244, 246, 0.96);
	--btn-hover-color: #ffffff;
	--btn-shadow: 0 26px 60px rgba(76, 148, 166, 0.34);
	--btn-hover-shadow: 0 38px 82px rgba(110, 196, 214, 0.48);
}

.hero-choice__btn--whitelist {
	--btn-bg: linear-gradient(135deg, rgba(78, 56, 128, 0.92), rgba(40, 32, 78, 0.9));
	--btn-hover-bg: linear-gradient(135deg, rgba(118, 84, 184, 0.98), rgba(60, 44, 118, 0.94));
	--btn-border: rgba(176, 152, 228, 0.6);
	--btn-hover-border: rgba(214, 192, 250, 0.88);
	--btn-color: rgba(244, 242, 255, 0.94);
	--btn-hover-color: #ffffff;
	--btn-shadow: 0 28px 64px rgba(120, 96, 188, 0.36);
	--btn-hover-shadow: 0 40px 90px rgba(168, 144, 232, 0.5);
}

.hero-choice__btn--rules {
	--btn-bg: linear-gradient(135deg, rgba(28, 78, 84, 0.92), rgba(18, 40, 48, 0.88));
	--btn-hover-bg: linear-gradient(135deg, rgba(40, 116, 128, 0.96), rgba(24, 58, 64, 0.92));
	--btn-border: rgba(120, 200, 210, 0.6);
	--btn-hover-border: rgba(164, 232, 240, 0.85);
	--btn-color: rgba(220, 244, 246, 0.95);
	--btn-hover-color: #ffffff;
	--btn-shadow: 0 22px 48px rgba(60, 140, 162, 0.32);
	--btn-hover-shadow: 0 34px 70px rgba(96, 188, 204, 0.45);
}

.hero-choice__btn--rules .strikethrough {
	text-decoration: line-through;
	opacity: 0.7;
}

.hero-choice__btn--whitelist {
	--btn-bg: linear-gradient(135deg, rgba(70, 52, 112, 0.92), rgba(36, 26, 62, 0.9));
	--btn-hover-bg: linear-gradient(135deg, rgba(108, 84, 168, 0.98), rgba(54, 40, 102, 0.94));
	--btn-border: rgba(168, 144, 220, 0.58);
	--btn-hover-border: rgba(210, 188, 248, 0.86);
	--btn-color: rgba(242, 240, 255, 0.92);
	--btn-hover-color: #ffffff;
	--btn-shadow: 0 24px 52px rgba(118, 92, 188, 0.32);
	--btn-hover-shadow: 0 36px 78px rgba(168, 144, 228, 0.42);
}

.hero-rail-controls__btn {
	--btn-bg: linear-gradient(135deg, rgba(16, 20, 24, 0.92), rgba(8, 10, 12, 0.9));
	--btn-hover-bg: linear-gradient(135deg, rgba(34, 46, 42, 0.96), rgba(18, 26, 24, 0.92));
	--btn-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
	--btn-hover-shadow: 0 22px 52px rgba(134, 166, 139, 0.3);
	min-width: auto;
	min-height: 48px;
	padding: 0 clamp(16px, 3vw, 24px);
	font-size: 15px;
	letter-spacing: 0.16em;
}

.hero-right {
	position: relative;
	width: 100%;
	height: clamp(480px, 76vh, 860px);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-bottom: clamp(56px, 9vh, 120px);
	padding-left: clamp(40px, 5vw, 80px);
	min-width: 0;
	max-width: none;
	overflow: hidden;
	margin-right: 0;
	padding-right: 0;
	border-radius: 10px;
}

.hero-rail-controls {
	position: fixed !important;
	left: 50% !important;
	bottom: clamp(240px, 22vh, 320px) !important;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 2vw, 18px);
	padding: clamp(8px, 1.4vh, 12px) clamp(16px, 3vw, 28px);
	border-radius: 999px;
	background: rgba(6, 10, 12, 0.82);
	border: 1px solid rgba(134, 166, 139, 0.28);
	backdrop-filter: blur(16px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	max-width: min(92vw, 520px);
	z-index: 100000 !important;
	pointer-events: auto;
	margin: 0;
}

body.is-detail-open .hero-rail-controls {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
}

/* Performance: Hide main page background when detail is open to improve video performance */
body.is-detail-open #heroDynamicBg {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation-play-state: paused !important;
}

body.is-detail-open #heroDynamicBg * {
    animation-play-state: paused !important;
}

body.is-random-rolling .hero-rail-controls__btn--random {
	box-shadow: 0 26px 70px rgba(134, 166, 139, 0.48);
}

body.is-random-lock .hero-rail-controls__btn--random::after {
	opacity: 0.55;
}

body.is-random-lock .hero-rail-controls__btn--random {
	box-shadow: 0 32px 84px rgba(134, 166, 139, 0.55);
}

body.is-random-reveal .crime-detail.active {
	animation: randomOverlayFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-random-reveal .crime-detail.active .crime-detail-content {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(134,166,139,0.05) 100%);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: clamp(32px, 5vh, 48px);
  transition: all 0.3s ease;
	animation: randomDetailPop 0.58s cubic-bezier(0.2, 1, 0.24, 1) 0.08s both;
}

.hero-rail-controls__btn--random {
	--btn-bg: linear-gradient(135deg, rgba(134, 166, 139, 0.96), rgba(54, 90, 98, 0.94));
	--btn-hover-bg: linear-gradient(135deg, rgba(155, 192, 164, 1), rgba(64, 110, 118, 0.98));
	--btn-border: rgba(197, 230, 205, 0.85);
	--btn-hover-border: rgba(197, 230, 205, 1);
	--btn-color: #0c1214;
	--btn-hover-color: #020606;
	--btn-shadow: 0 22px 52px rgba(134, 166, 139, 0.4);
	--btn-hover-shadow: 0 34px 76px rgba(134, 166, 139, 0.5);
	gap: clamp(6px, 1vw, 12px);
	padding-inline: clamp(22px, 4vw, 40px);
}

/* Illegal category - use danger color for random button */
.hero-card-stack.is-illegal ~ .hero-rail-controls .hero-rail-controls__btn--random {
	--btn-bg: linear-gradient(135deg, rgba(242, 76, 61, 0.96), rgba(200, 40, 30, 0.94));
	--btn-hover-bg: linear-gradient(135deg, rgba(255, 100, 85, 1), rgba(220, 50, 40, 0.98));
	--btn-border: rgba(255, 150, 140, 0.85);
	--btn-hover-border: rgba(255, 150, 140, 1);
	--btn-color: rgba(255, 200, 195, 0.95);
	--btn-hover-color: #ffffff;
	--btn-shadow: 0 22px 52px rgba(242, 76, 61, 0.4);
	--btn-hover-shadow: 0 34px 76px rgba(242, 76, 61, 0.5);
}

.hero-rail-controls__btn span {
	pointer-events: none;
}

.hero-rail-controls__btn--random .hero-rail-controls__random-icon {
	font-size: 16px;
	transform-origin: center;
	transition: transform 0.35s ease;
}

.hero-rail-controls__btn--random:hover .hero-rail-controls__random-icon,
.hero-rail-controls__btn--random:focus-visible .hero-rail-controls__random-icon {
	transform: rotate(22deg) scale(1.08);
}

.hero-rail-controls__btn--random.is-rolling {
	animation: heroRandomGlow 0.85s ease-in-out;
}

.hero-rail-controls__btn--random.is-rolling .hero-rail-controls__random-icon {
	animation: heroRandomSpin 0.85s cubic-bezier(0.5, 1.3, 0.4, 1);
}

@keyframes heroRandomSpin {
	0% { transform: rotate(0deg) scale(1); }
	30% { transform: rotate(160deg) scale(1.2); }
	65% { transform: rotate(300deg) scale(0.9); }
	100% { transform: rotate(360deg) scale(1); }
}

@keyframes heroRandomGlow {
	0% { box-shadow: 0 14px 42px rgba(134, 166, 139, 0.4); }
	50% { box-shadow: 0 24px 60px rgba(134, 166, 139, 0.6); }
	100% { box-shadow: 0 14px 42px rgba(134, 166, 139, 0.4); }
}

/* Illegal category - danger color glow for random button */
.hero-card-stack.is-illegal ~ .hero-rail-controls .hero-rail-controls__btn--random.is-rolling {
	animation: heroRandomGlowDanger 0.85s ease-in-out;
}

@keyframes heroRandomGlowDanger {
	0% { box-shadow: 0 14px 42px rgba(242, 76, 61, 0.4); }
	50% { box-shadow: 0 24px 60px rgba(242, 76, 61, 0.6); }
	100% { box-shadow: 0 14px 42px rgba(242, 76, 61, 0.4); }
}

@keyframes randomOverlayFade {
	0% {
		opacity: 0;
		filter: saturate(0.9) blur(8px);
	}
	55% {
		opacity: 1;
		filter: saturate(1.05) blur(0);
	}
	100% {
		opacity: 1;
		filter: none;
	}
}

@keyframes randomDetailPop {
	0% {
		opacity: 0;
		transform: translateY(34px) scale(0.95);
	}
	60% {
		opacity: 1;
		transform: translateY(-8px) scale(1.03);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Rail navigation buttons */
.hero-rail-nav {
	--btn-bg: linear-gradient(135deg, rgba(16, 20, 24, 0.92), rgba(8, 10, 12, 0.9));
	--btn-hover-bg: linear-gradient(135deg, rgba(34, 46, 42, 0.96), rgba(18, 26, 24, 0.92));
	--btn-border: rgba(134, 166, 139, 0.36);
	--btn-hover-border: rgba(134, 166, 139, 0.68);
	--btn-color: rgba(229, 235, 232, 0.92);
	--btn-hover-color: #ffffff;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	border: 1px solid var(--btn-border);
	background: var(--btn-bg);
	color: var(--btn-color);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(10px);
	transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}
.hero-rail-nav--left { left: 8px; }
.hero-rail-nav--right { right: 8px; }
.hero-rail-nav:hover,
.hero-rail-nav:focus-visible {
	background: var(--btn-hover-bg);
	border-color: var(--btn-hover-border);
	color: var(--btn-hover-color);
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 20px 48px rgba(134, 166, 139, 0.28);
}
.hero-rail-nav:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(155, 192, 164, 0.4), 0 20px 48px rgba(134, 166, 139, 0.28);
}

.hero-rail-nav {
	display: none !important;
}

@media (max-width: 640px) {
    .hero-rail-nav { display: none; }
    .hero-rail-controls {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    .hero-right {
        flex-direction: column;
        align-items: stretch;
    }

    /* Hide Teamspeak and FiveM buttons on mobile */
    .top-cta .teamspeak-btn,
    .top-cta .fivem-btn {
        display: none !important;
    }
}

.hero-card-stack {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: clamp(16px, 3vw, 28px);
	width: 100%;
	max-width: 100%;
	height: 100%;
	padding: clamp(6px, 1vw, 12px);
	align-content: center;
	justify-items: center;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1 1 auto;
	min-width: 0;
	isolation: isolate;
}

/* Horizontal rail variant (single row scroll) */

.hero-card-stack.as-rail {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(20px, 2.5vw, 36px);
	padding: 16px 0 24px clamp(60px, 12vw, 180px);
	padding-right: clamp(32px, 10vw, 160px);
	width: calc(100% + clamp(60px, 12vw, 180px) + 300px);
	max-width: none;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	margin-left: calc(-1 * clamp(60px, 12vw, 180px));
	margin-right: -300px;
	scroll-behavior: smooth;
	cursor: default;
	flex: 1 1 auto;
	min-width: 0;
	scrollbar-width: none;
	border-radius: 40px;
	-ms-overflow-style: none;
}

/* Inner track for transform-based fallback and proper child flow */
.hero-card-stack.as-rail .hero-card-track {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(20px, 2.5vw, 36px);
	will-change: transform;
	width: max-content;
	flex: 0 0 auto;
	margin-left: clamp(20px, 3vw, 40px);
}

/* Add a trailing spacer so the end of the rail disappears beyond the right edge */
.hero-card-stack.as-rail .hero-card-track::after {
	content: '';
	flex: 0 0 clamp(32px, 12vw, 220px);
	width: clamp(32px, 12vw, 220px);
	height: 1px;
	pointer-events: none;
	background: transparent;
}

.hero-card-stack.as-rail .hero-card {
	--card-w: 420px;
	flex: 0 0 var(--card-w);
	width: var(--card-w);
	height: 530px;
}

.hero-card-stack::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 40px;
	background: transparent;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
	z-index: 0;
}

body.is-random-rolling .hero-card-stack {
	transform-origin: center;
	animation: heroRailBreath 1.8s ease-in-out infinite;
}

body.is-random-rolling .hero-card-stack::before {
	opacity: 0.45;
	animation: heroRailSheen 1.8s cubic-bezier(0.55, 0.08, 0.26, 0.99) infinite;
}

@keyframes heroRailBreath {
	0%, 100% { transform: perspective(1400px) rotateX(0.6deg); }
	50% { transform: perspective(1400px) rotateX(1.6deg); }
}

@keyframes heroRailSheen {
	0% {
		opacity: 0.18;
		filter: blur(0px);
	}
	40% {
		opacity: 0.5;
		filter: blur(4px);
	}
	100% {
		opacity: 0.18;
		filter: blur(0px);
	}
}

/* Feature the very first card slightly larger (except illegal, regelwerk, and whitelist) */
.hero-card-stack.as-rail .hero-card[data-index="0"]:not(.hero-card--placeholder):not(.hero-card--illegal):not(.hero-card--regelwerk):not(.hero-card--whitelist) {
    --card-w: 480px;
    height: 600px;
}

.hero-card-stack.as-rail .hero-card:not(:focus-visible):hover {
	transform: translateY(-3px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
}

.hero-card-stack.as-rail.is-dragging {
	cursor: grabbing;
}

.hero-card-stack.as-rail .hero-card.hero-card--pulse {
	animation: heroCardPulse 0.7s ease-in-out;
}

@keyframes heroCardPulse {
	0% { transform: translateY(0) scale(1); }
	35% { transform: translateY(-10px) scale(1.03); }
	60% { transform: translateY(4px) scale(0.99); }
	100% { transform: translateY(0) scale(1); }
}

.hero-card--roulette {
	animation: heroCardRoulette 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card--random-lock {
	animation: heroCardRandomLock 0.92s cubic-bezier(0.2, 1, 0.24, 1) forwards;
	border-color: rgba(134, 166, 139, 0.58) !important;
	box-shadow: 0 24px 58px rgba(134, 166, 139, 0.32);
}

@keyframes heroCardRoulette {
	0% {
		transform: translateY(-4px) scale(1) rotateX(var(--tiltX)) rotateY(var(--tiltY));
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
	}
	45% {
		transform: translateY(-22px) scale(1.07) rotateX(calc(var(--tiltX) - 1deg)) rotateY(calc(var(--tiltY) + 1deg));
		box-shadow: 0 26px 54px rgba(134, 166, 139, 0.26);
	}
	100% {
		transform: translateY(-10px) scale(1.02) rotateX(var(--tiltX)) rotateY(var(--tiltY));
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
	}
}

@keyframes heroCardRandomLock {
	0% {
		transform: translateY(-10px) scale(1.02) rotateX(var(--tiltX)) rotateY(var(--tiltY));
		box-shadow: 0 18px 42px rgba(134, 166, 139, 0.24);
	}
	55% {
		transform: translateY(-28px) scale(1.08) rotateX(calc(var(--tiltX) - 0.8deg)) rotateY(calc(var(--tiltY) + 1deg));
		box-shadow: 0 32px 78px rgba(134, 166, 139, 0.38);
	}
	100% {
		transform: translateY(-14px) scale(1.04) rotateX(var(--tiltX)) rotateY(var(--tiltY));
		box-shadow: 0 26px 64px rgba(134, 166, 139, 0.32);
	}
}

.hero-card-stack.as-rail { scrollbar-color: transparent transparent; }
.hero-card-stack.as-rail::-webkit-scrollbar { display: none; }
.hero-card-stack.as-rail::-webkit-scrollbar-track { display: none; }
.hero-card-stack.as-rail::-webkit-scrollbar-thumb { display: none; }
.hero-card-stack.as-rail::-webkit-scrollbar-thumb:hover { display: none; }

.hero-card-stack.as-rail .hero-card--illegal,
.hero-card-stack.as-rail .hero-card--regelwerk,
.hero-card-stack.as-rail .hero-card--whitelist {
	--card-w: 800px;
	flex: 0 0 var(--card-w);
	width: var(--card-w);
	height: auto;
	aspect-ratio: 16 / 9;
}

.hero-card-stack.is-illegal {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(14px, 2.4vw, 24px);
}

.hero-card-stack::-webkit-scrollbar { width: 10px; }
.hero-card-stack::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 10px; }
.hero-card-stack::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(134,166,139,0.6), rgba(42,69,75,0.6)); border-radius: 10px; }
.hero-card-stack::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(155,192,164,0.85), rgba(53,90,98,0.85)); }

.hero-empty {
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(204, 212, 210, 0.6);
	text-align: center;
	grid-column: 1 / -1;
	align-self: center;
}

.hero-card {
	position: relative;
	width: clamp(180px, 26vw, 240px);
	height: clamp(220px, 40vh, 320px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	border-radius: 24px;
	border: 1px solid rgba(134, 166, 139, 0.16);
	padding: 18px 16px 22px;
	background: linear-gradient(160deg, rgba(20, 24, 28, 0.92), rgba(10, 12, 14, 0.86));
	box-shadow: none;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
	font: inherit;
	text-align: center;
	--hold-progress: 0;
    --tiltX: 0deg;
    --tiltY: 0deg;
	will-change: transform, box-shadow;
}

.hero-card:not(:focus-visible):hover {
    transform: translateY(-6px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
	border-color: rgba(134, 166, 139, 0.48);
	box-shadow: none;
}

.hero-card.hero-card--active {
	transform: translateY(-6px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
	border-color: rgba(134, 166, 139, 0.48);
	box-shadow: none;
}

.hero-card.hero-card--active .hero-card__backdrop {
	--logo-blur: 0px;
	opacity: 0.6;
	transform: scale(1.02);
}

.hero-card.hero-card--active .hero-card__backdrop::before {
	opacity: 1;
}

.hero-card.hero-card--active .hero-card__footer {
	opacity: 1;
	transform: translateY(0);
}

.hero-card:focus-visible {
	outline: 2px solid rgba(134, 166, 139, 0.82);
	outline-offset: 3px;
}

.hero-card__backdrop {
	position: absolute;
	inset: 12% 10% 28%;
	background: var(--card-logo, var(--roots-r-image)) center/contain no-repeat;
	opacity: 0.35;
	filter: blur(var(--logo-blur, 4px)) saturate(1.05);
	transform: scale(1.06);
	z-index: 0;
	transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.hero-card__backdrop::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--card-logo, var(--roots-r-image)) center/contain no-repeat;
	opacity: 0;
	display: none;
}

.hero-card__image {
	position: relative;
	width: 86%;
	height: auto;
	object-fit: contain;
	filter: brightness(1);
	z-index: 1;
	transition: transform 0.2s ease, filter 0.2s ease;
	transform: scale(1);
}

/* Placeholder text overlay (AgencyB font) */
.hero-card__text {
	position: absolute;
	left: 50%;
	top: 54%;
	transform: translate(-50%, -50%);
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 3.2vw, 48px);
	letter-spacing: 0.16em;
	color: rgba(230, 236, 233, 0.96);
	text-shadow: 0 10px 24px rgba(0,0,0,0.6);
	z-index: 2;
	pointer-events: none;
    text-transform: uppercase;
    text-align: center;
    width: 80%;
}

.hero-card__text--nogo {
	font-family: 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-weight: 800;
	font-size: 44px;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.98);
	text-shadow: 0 8px 32px rgba(0,0,0,0.8), 0 4px 16px rgba(0,0,0,0.6);
	line-height: 1.2;
}

.hero-card__text--nogo .hero-card__text-title {
	display: block;
	margin-top: 0.4em;
	font-size: 0.5em;
	font-weight: 600;
	letter-spacing: 0.08em;
	opacity: 0.9;
	line-height: 1.3;
}

/* Regelwerk cards - match illegal card style exactly */
.hero-card--regelwerk {
	padding: 0;
}

.hero-card--regelwerk .hero-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	filter: brightness(0.98) contrast(1.05);
}

.hero-card--regelwerk:hover .hero-card__image,
.hero-card--regelwerk:focus-visible .hero-card__image {
	filter: brightness(1.08) contrast(1.12);
}

.hero-card--regelwerk .hero-card__backdrop {
	inset: 0;
	transform: none;
	opacity: 0.3;
}

.hero-card--regelwerk.hero-card--active .hero-card__backdrop {
	transform: scale(1.02);
	opacity: 0.6;
}

/* Regelwerk card flip animation */
.hero-card--regelwerk {
	perspective: 1000px;
	-webkit-perspective: 1000px;
}

.hero-card--regelwerk .hero-card__flip-container {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-card--regelwerk.hero-card--flipped .hero-card__flip-container {
	transform: rotateY(180deg);
}

.hero-card--regelwerk .hero-card__face {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border-radius: inherit;
	overflow: hidden;
}

.hero-card--regelwerk .hero-card__face--back {
	transform: rotateY(180deg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(20, 24, 28, 0.95), rgba(10, 12, 14, 0.9));
	border: 1px solid rgba(134, 166, 139, 0.2);
}

.hero-card--regelwerk .hero-card__face--back .hero-card__footer {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
}

.hero-card--regelwerk .hero-card__face--back img {
	width: 40%;
	height: auto;
	opacity: 0.7;
	filter: blur(4px) brightness(0.85) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.hero-card--regelwerk:hover .hero-card__face--back img,
.hero-card--regelwerk:focus-visible .hero-card__face--back img {
	filter: blur(0px) brightness(1.1) contrast(1.15) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
	opacity: 0.95;
}

.hero-card--regelwerk .hero-card__face--front {
	transform: rotateY(0deg);
	position: relative;
}

.hero-card--regelwerk .hero-card__face--front .hero-card__footer {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
}

/* Regelwerk nogo content cards */
.hero-card__nogo-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	padding: 20px 18px;
	z-index: 2;
	overflow: hidden;
	background: var(--bg, #1f2127);
}

.hero-card__nogo-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 10px;
	flex-shrink: 0;
}

.hero-card__nogo-header .hero-card__text--nogo {
	position: static;
	transform: none;
	margin-bottom: 6px;
	font-size: 38px;
	font-weight: 800;
	font-family: 'FantasmSecrets', 'Roboto Slab', system-ui, sans-serif;
	background: linear-gradient(135deg, var(--accent, #86a68b) 0%, var(--accent-2, #2a454b) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--accent, #86a68b);
	text-shadow: none;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: none;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.hero-card__nogo-header .hero-card__text--einleitung {
	background: linear-gradient(135deg, var(--accent, #86a68b) 0%, var(--accent-2, #2a454b) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--accent, #86a68b);
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.hero-card__nogo-header .hero-card__text-title {
	display: block;
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-weight: 600;
	font-size: 20px;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 2px 6px rgba(0,0,0,0.8);
	text-align: center;
	line-height: 1.3;
	margin-top: clamp(4px, 0.6vw, 8px);
	text-transform: uppercase;
}

.hero-card__nogo-description {
	flex: 1;
	overflow: auto;
	color: rgba(255, 255, 255, 0.92);
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 22px;
	line-height: 1.55;
	text-align: left;
	padding: 10px 0;
	font-weight: 400;
	min-height: 0;
	display: block;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	overflow-y: auto;
}

.hero-card__nogo-description p {
	margin: 0 0 11px 0;
	text-shadow: 0 1px 4px rgba(0,0,0,0.7);
	line-height: inherit;
}

.hero-card__nogo-description p:last-child {
	margin-bottom: 0;
}

/* NoGo card buttons */
.hero-card__nogo-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
	flex-shrink: 0;
}

.hero-card__nogo-button {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	background: linear-gradient(135deg, rgba(134, 166, 139, 0.9) 0%, rgba(42, 69, 75, 0.9) 100%);
	border: 1px solid rgba(134, 166, 139, 0.4);
	border-radius: 10px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.98);
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: all 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
	box-shadow: 
		0 3px 10px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.hero-card__nogo-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	transition: left 0.5s ease;
}

.hero-card__nogo-button:hover::before,
.hero-card__nogo-button:focus-visible::before {
	left: 100%;
}

.hero-card__nogo-button:hover,
.hero-card__nogo-button:focus-visible {
	background: linear-gradient(135deg, rgba(134, 166, 139, 1) 0%, rgba(42, 69, 75, 1) 100%);
	border-color: rgba(134, 166, 139, 0.6);
	transform: translateY(-3px) scale(1.02);
	box-shadow: 
		0 6px 20px rgba(134, 166, 139, 0.4),
		0 2px 8px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	outline: none;
}

.hero-card__nogo-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-card__nogo-button-text {
	text-align: center;
	line-height: 1.3;
}

/* Whitelist server info display */
.hero-card__server-info-container {
	margin-top: 17px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hero-card__server-info {
	position: relative;
	padding: 12px 20px;
	background: rgba(134, 166, 139, 0.1);
	border: 1px solid rgba(134, 166, 139, 0.25);
	border-radius: 8px;
	font-family: 'Courier New', 'Monaco', monospace;
	font-size: clamp(14px, 1.8vw, 20px);
	color: rgba(255, 255, 255, 0.9);
	text-align: center;
	letter-spacing: 0.05em;
	word-break: break-all;
	transition: all 0.3s ease;
	cursor: pointer;
	overflow: hidden;
	min-height: 1.5em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-card__server-info:hover {
	background: rgba(134, 166, 139, 0.15);
	border-color: rgba(134, 166, 139, 0.4);
	transform: translateY(-1px);
}

.hero-card__server-info-text,
.hero-card__server-info-hint,
.hero-card__server-info-copied {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
	white-space: nowrap;
}

.hero-card__server-info-text {
	opacity: 1;
	transform: translate(-50%, -50%);
	font-family: 'Courier New', 'Monaco', monospace;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.9);
	word-break: break-all;
	white-space: normal;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-card__server-info-hint {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.9);
	font-size: clamp(11px, 1.3vw, 14px);
	font-family: 'Manrope', system-ui, sans-serif;
	color: rgba(134, 166, 139, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	pointer-events: none;
	transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-card__server-info-copied {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.8);
	font-size: clamp(12px, 1.5vw, 16px);
	font-family: 'Manrope', system-ui, sans-serif;
	color: rgba(134, 166, 139, 1);
	font-weight: 700;
	pointer-events: none;
	transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-card__server-info:not(.hero-card__server-info--no-hover):hover .hero-card__server-info-text {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.95);
}

.hero-card__server-info:not(.hero-card__server-info--no-hover):hover .hero-card__server-info-hint {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.hero-card__server-info--copied {
	background: rgba(134, 166, 139, 0.25);
	border-color: rgba(134, 166, 139, 0.6);
	animation: copyPulse 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-card__server-info--copied .hero-card__server-info-text {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.9);
	transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-card__server-info--copied .hero-card__server-info-hint {
	opacity: 0 !important;
	transform: translate(-50%, -50%) scale(0.85);
	transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-card__server-info--copied .hero-card__server-info-text {
	opacity: 0 !important;
	transform: translate(-50%, -50%) scale(0.9);
	transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-card__server-info--copied .hero-card__server-info-copied {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes copyPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(134, 166, 139, 0.4);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(134, 166, 139, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(134, 166, 139, 0);
	}
}

.hero-card__whitelist-footer {
	margin-top: clamp(12px, 1.5vw, 18px);
	padding-top: clamp(12px, 1.5vw, 18px);
	border-top: 1px solid rgba(134, 166, 139, 0.2);
	font-size: clamp(14px, 1.8vw, 20px);
	color: rgba(255, 255, 255, 0.85);
	font-style: italic;
	text-align: center;
}

/* Quick Connect buttons */
.hero-card__quick-connect {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 1vw, 12px);
	margin-top: clamp(16px, 2vw, 24px);
	padding: clamp(12px, 1.4vw, 16px) clamp(20px, 2.5vw, 28px);
	background: linear-gradient(135deg, rgba(134, 166, 139, 0.15) 0%, rgba(42, 69, 75, 0.15) 100%);
	border: 2px solid rgba(134, 166, 139, 0.4);
	border-radius: 10px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.95);
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: clamp(13px, 1.6vw, 18px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
	box-shadow: 
		0 2px 8px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.hero-card__quick-connect::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

.hero-card__quick-connect:hover::before,
.hero-card__quick-connect:focus-visible::before {
	left: 100%;
}

.hero-card__quick-connect:hover,
.hero-card__quick-connect:focus-visible {
	background: linear-gradient(135deg, rgba(134, 166, 139, 0.25) 0%, rgba(42, 69, 75, 0.25) 100%);
	border-color: rgba(134, 166, 139, 0.6);
	transform: translateY(-2px) scale(1.02);
	box-shadow: 
		0 4px 16px rgba(134, 166, 139, 0.3),
		0 2px 8px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
	outline: none;
}

.hero-card__quick-connect:active {
	transform: translateY(0) scale(1);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-card__quick-connect-icon {
	flex-shrink: 0;
	width: clamp(16px, 2vw, 20px);
	height: clamp(16px, 2vw, 20px);
	transition: transform 0.3s ease;
}

.hero-card__quick-connect:hover .hero-card__quick-connect-icon,
.hero-card__quick-connect:focus-visible .hero-card__quick-connect-icon {
	transform: scale(1.1);
}

.hero-card__quick-connect--fivem {
	border-color: rgba(255, 193, 7, 0.4);
	background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
}

.hero-card__quick-connect--fivem:hover,
.hero-card__quick-connect--fivem:focus-visible {
	border-color: rgba(255, 193, 7, 0.6);
	background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
	box-shadow: 
		0 4px 16px rgba(255, 193, 7, 0.3),
		0 2px 8px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-card__quick-connect--teamspeak {
	border-color: rgba(134, 166, 139, 0.4);
}

/* Whitelist cards - match regelwerk card style exactly */
.hero-card--whitelist {
	padding: 0;
}

.hero-card--whitelist .hero-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	filter: brightness(0.98) contrast(1.05);
}

.hero-card--whitelist:hover .hero-card__image,
.hero-card--whitelist:focus-visible .hero-card__image {
	filter: brightness(1.08) contrast(1.12);
}

.hero-card--whitelist .hero-card__backdrop {
	inset: 0;
	transform: none;
	opacity: 0.3;
}

.hero-card--whitelist.hero-card--active .hero-card__backdrop {
	transform: scale(1.02);
	opacity: 0.6;
}

/* Whitelist step cards - simple design with animations */
.hero-card--whitelist-step {
	opacity: 0;
	transform: translateY(30px) scale(0.95);
	animation: whitelistCardSlideIn 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
	animation-delay: var(--animation-delay, 0s);
}

@keyframes whitelistCardSlideIn {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.hero-card--whitelist-step .hero-card__whitelist-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	padding: clamp(16px, 2vw, 24px) clamp(14px, 1.8vw, 20px);
	z-index: 2;
	overflow: visible;
	background: var(--bg, #1f2127);
}

.hero-card__whitelist-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: clamp(8px, 1vw, 12px);
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	overflow: visible;
}

.hero-card__whitelist-step {
	font-size: clamp(24px, 3.5vw, 42px);
	font-weight: 800;
	font-family: 'FantasmSecrets', 'Roboto Slab', system-ui, sans-serif;
	background: linear-gradient(135deg, var(--accent, #86a68b) 0%, var(--accent-2, #2a454b) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--accent, #86a68b);
	text-shadow: none;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: none;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
	margin-bottom: clamp(4px, 0.5vw, 6px);
	padding: 0 clamp(8px, 1vw, 12px);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: visible;
}

.hero-card__whitelist-title {
	display: block;
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(14px, 1.8vw, 20px);
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 2px 6px rgba(0,0,0,0.8);
	text-align: center;
	line-height: 1.3;
	text-transform: uppercase;
	width: 100%;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	padding: 0 clamp(4px, 0.5vw, 8px);
	box-sizing: border-box;
}

.hero-card__whitelist-description {
	flex: 1;
	overflow: visible;
	color: rgba(255, 255, 255, 0.92);
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: clamp(13px, 1.6vw, 18px);
	line-height: 1.5;
	text-align: left;
	padding: clamp(6px, 0.8vw, 10px) 0;
	font-weight: 400;
	min-height: 0;
	display: block;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

.hero-card__whitelist-description p {
	margin: 0 0 clamp(8px, 1vw, 12px) 0;
	text-shadow: 0 1px 4px rgba(0,0,0,0.7);
	line-height: inherit;
}

.hero-card__whitelist-description p:last-child {
	margin-bottom: 0;
}

/* Arrow between whitelist cards */
.hero-card-arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(40px, 5vw, 60px);
	height: 100%;
	color: rgba(134, 166, 139, 0.6);
	opacity: 0;
	transform: translateX(-20px);
	animation: arrowFadeIn 0.5s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
	animation-delay: calc(var(--animation-delay, 0s) + 0.3s);
	transition: color 0.3s ease, transform 0.3s ease;
}

.hero-card-arrow:hover {
	color: rgba(134, 166, 139, 1);
	transform: translateX(0) scale(1.1);
}

.hero-card-arrow svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes arrowFadeIn {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Guidelines card styling */
.hero-card__guidelines-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 2vw, 24px);
	z-index: 2;
	overflow: visible;
	background: var(--bg, #1f2127);
}

.hero-card__guidelines-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(4, 1fr);
	gap: clamp(6px, 0.8vw, 10px);
	width: 100%;
	height: 100%;
}

.hero-card__guideline-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid rgba(134, 166, 139, 0.2);
	background: rgba(20, 24, 28, 0.6);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-card__guideline-item:hover {
	transform: scale(1.02);
	border-color: rgba(134, 166, 139, 0.4);
}

.hero-card__guideline-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-card__guideline-item--cta {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(134, 166, 139, 0.15), rgba(42, 69, 75, 0.15));
	border-color: rgba(134, 166, 139, 0.3);
}

.hero-card__guidelines-discord-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.9);
	transition: all 0.3s ease;
	width: 100%;
	height: 100%;
	padding: 12px;
}

.hero-card__guidelines-discord-cta:hover,
.hero-card__guidelines-discord-cta:focus-visible {
	color: rgba(255, 255, 255, 1);
	transform: scale(1.05);
	outline: none;
}

.hero-card__discord-icon {
	width: clamp(28px, 3.5vw, 40px);
	height: clamp(28px, 3.5vw, 40px);
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
	transition: filter 0.3s ease;
}

.hero-card__guidelines-discord-cta:hover .hero-card__discord-icon,
.hero-card__guidelines-discord-cta:focus-visible .hero-card__discord-icon {
	filter: drop-shadow(0 4px 8px rgba(134, 166, 139, 0.5));
}

.hero-card__discord-text {
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hero-card:hover .hero-card__backdrop {
    --logo-blur: 0px;
    opacity: 0.6;
	transform: scale(1.02);
}

.hero-card:hover .hero-card__backdrop::after,
.hero-card:focus-visible .hero-card__backdrop::after {
	opacity: 0;
}

.hero-card:hover .hero-card__image,
.hero-card:focus-visible .hero-card__image {
	transform: scale(1.04);
	filter: brightness(1.06);
}

.hero-card__footer {
	position: relative;
	z-index: 2;
	margin-top: 16px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(204, 212, 210, 0.64);
}

.hero-card--placeholder .hero-card__footer { display: none; }
.hero-card--placeholder {
	cursor: pointer;
	border: 1px solid transparent;
	background:
	  radial-gradient(100% 120% at 50% 0%, rgba(155,192,164,0.12), rgba(64,96,88,0) 50%),
	  linear-gradient(160deg, rgba(20, 24, 28, 0.96), rgba(10, 12, 14, 0.88)),
	  linear-gradient(180deg, rgba(155,192,164,0.45), rgba(60,80,70,0.22));
	background-clip: padding-box, padding-box, border-box;
	background-origin: border-box;
	width: clamp(180px, 26vw, 240px);
	height: clamp(220px, 40vh, 320px);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-card--placeholder:hover {
	transform: translateY(-4px);
	box-shadow: none;
	border-color: rgba(134, 166, 139, 0.3);
}

.hero-card--placeholder .hero-card__backdrop {
	background: none;
	opacity: 0.22;
	inset: 10% 8% 50% 8%;
	transform: scale(1.04);
}
.hero-card--placeholder .hero-card__backdrop::after {
	background: none;
}
.hero-card--placeholder {
	overflow: hidden;
}
.hero-card--placeholder .hero-card__text {
	top: auto;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'FantasmSecrets', 'Roboto Slab', system-ui, sans-serif;
	font-size: clamp(36px, 4.5vw, 56px);
	font-weight: normal;
	letter-spacing: 0.08em;
	text-transform: none;
	background: linear-gradient(180deg, rgba(234,241,237,1), rgba(180,209,189,0.95));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 10px 26px rgba(0,0,0,0.6);
	white-space: normal;
	line-height: 1.3;
	z-index: 3;
	pointer-events: none;
}



.hero-card--placeholder:not(:focus-visible):hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.hero-card__progress { display: none; }

/* Subtle attention animation on the placeholder card to hint interactivity */
.hero-card--placeholder {
    animation: placeholderTease 6.2s ease-in-out infinite;
}
.hero-card--placeholder:hover,
.hero-card--placeholder:focus-visible {
    animation: none;
}

@keyframes placeholderTease {
    0%, 90%, 100% {
        transform: translateY(0);
    }
    93% {
        transform: translateY(-4px);
    }
    96% {
        transform: translateY(0);
    }
}

/* Spotlight sweep over the placeholder to hint interactivity */

.hero-card--placeholder::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    width: 60%;
    height: 130%;
    /* Theatre-style cone beam from top center */
    background: radial-gradient(closest-side at 50% 0%, rgba(196, 230, 205, 0.65) 0%, rgba(134, 166, 139, 0.22) 45%, rgba(0,0,0,0) 70%);
    clip-path: polygon(50% 0%, 60% 0%, 90% 100%, 10% 100%);
    transform: translateX(-50%) translateY(-8%) scaleX(0.72);
    filter: blur(14px);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
    z-index: 0;
    animation: theatreSpot 4.4s ease-in-out infinite;
}

@keyframes theatreSpot {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-12%) scaleX(0.70);
    }
    18% {
        opacity: 0.72;
    }
    50% {
        opacity: 0.52;
        transform: translateX(-50%) translateY(6%) scaleX(0.96);
    }
    82% {
        opacity: 0.68;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12%) scaleX(1.05);
    }
}

@keyframes qmGlow {
    0%, 100% {
        text-shadow: 0 16px 36px rgba(0,0,0,0.55);
        filter: none;
    }
    50% {
        text-shadow: 0 18px 40px rgba(0,0,0,0.6);
        filter: none;
    }
}

/* Arrow hint between first and second card */
.hero-rail-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(12, 16, 18, 0.72);
    border: 1px solid rgba(134, 166, 139, 0.28);
    color: rgba(236, 241, 238, 0.96);
    font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(0,0,0,0.45);
    pointer-events: none; /* decorative */
    flex: 0 0 auto;
}

.hero-rail-hint__text { opacity: 0.95; }

.hero-rail-hint__arrow {
    font-size: 18px;
    line-height: 1;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45));
    animation: hintArrow 1.6s ease-in-out infinite;
}

@keyframes hintArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

@media (max-width: 768px) {
  .crime-detail-content {
    flex-direction: column;
    padding: 24px;
  }
  .crime-detail-left, .crime-detail-right {
    max-width: 100%;
  }
  .crime-detail-right {
    height: 300px;
    margin-top: 1rem;
  }
    .hero-rail-hint { display: none; }
}

/* Split mode: replace rail content with 2x2 grid and hide controls */
.hero-card-track.hero-split-host,
.hero-split-host {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: 100%;
    padding: 8px;
}
.hero-split-host .split-grid {
    width: 100%;
    height: 100%;
    gap: 10px;
    padding: 10px;
}

body.is-split-open .hero-rail-controls { 
    opacity: 0; 
    pointer-events: none; 
    transform: translateX(-50%) translateY(6px); 
}
body.is-split-open .hero-rail-hint { display: none; }

/* Hide rail controls on whitelist tab */
body.is-whitelist .hero-rail-controls {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}
.hero-card--illegal {
	padding: 0;
	width: clamp(260px, 32vw, 380px);
	height: auto;
	aspect-ratio: 16 / 9;
}

.hero-card--illegal .hero-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	filter: brightness(0.98) contrast(1.05);
}

.hero-card--illegal:hover .hero-card__image,
.hero-card--illegal:focus-visible .hero-card__image {
	filter: brightness(1.08) contrast(1.12);
}

.hero-card--illegal .hero-card__backdrop {
	inset: 0;
	transform: none;
	opacity: 0.3;
}

.hero-card--illegal.hero-card--active .hero-card__backdrop {
	transform: scale(1.02);
	opacity: 0.6;
}

.hero-card--illegal.hero-card--placeholder {
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 0;
	background:
		linear-gradient(135deg, rgba(34, 40, 38, 0.92) 0%, rgba(24, 32, 30, 0.88) 100%);
	box-shadow: inset 0 0 0 1px rgba(134, 166, 139, 0.18), 0 28px 60px rgba(16, 24, 20, 0.4);
}

.illegal-placeholder {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: clamp(10px, 1.8vh, 18px);
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
	padding: clamp(14px, 2.4vw, 20px);
	background: none;
	box-shadow: none;
}

.illegal-placeholder__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(12px, 2vw, 20px);
	padding-inline: clamp(12px, 1.8vw, 18px);
}

.illegal-placeholder__headline {
	font-family: 'AgencyCustom', 'Roboto Slab', system-ui, sans-serif;
	font-size: clamp(16px, 2.4vw, 26px);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(230, 236, 233, 0.96);
	position: relative;
	padding-bottom: 6px;
}

.illegal-placeholder__headline::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: clamp(42px, 14vw, 120px);
	height: 3px;
	background: linear-gradient(90deg, rgba(134, 166, 139, 0.92), rgba(42, 69, 73, 0.85));
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(18, 30, 27, 0.4);
}

.illegal-placeholder__shuffle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 22px;
	border-radius: 999px;
	border: 1px solid rgba(134, 166, 139, 0.52);
	background: linear-gradient(135deg, rgba(134, 166, 139, 0.94), rgba(186, 222, 192, 0.9));
	box-shadow: 0 16px 42px rgba(20, 32, 28, 0.35), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
	color: rgba(18, 28, 22, 0.92);
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: 14px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
	position: relative;
	z-index: 2;
}

.illegal-placeholder__shuffle:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 54px rgba(18, 30, 26, 0.45), 0 1px 0 rgba(255, 255, 255, 0.14) inset;
	filter: brightness(1.04);
}

.illegal-placeholder__shuffle:disabled {
	opacity: 0.75;
	cursor: default;
	transform: none;
	box-shadow: 0 10px 26px rgba(16, 28, 26, 0.24), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
	filter: none;
}

.illegal-placeholder__shuffle-icon {
	font-size: 15px;
	transform-origin: center;
}

.illegal-placeholder__shuffle.is-rolling .illegal-placeholder__shuffle-icon {
	animation: splitSpin 0.8s linear infinite;
}

.illegal-placeholder__stage {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(4px, 1vw, 10px);
	border-radius: 0;
	background: none;
	box-shadow: none;
	min-height: 0;
}

.illegal-placeholder__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 1.8vw, 16px);
    gap: 8px;
}

.illegal-placeholder__controls .split-shuffle {
    position: static;
    left: auto;
    top: auto;
    transform: none;
}

.illegal-placeholder__controls .split-shuffle:hover {
    transform: translateY(-2px);
}

.illegal-placeholder__grid {
	position: relative;
	z-index: 1;
	display: grid;
	width: 100%;
	border-radius: 18px;
	gap: clamp(10px, 1.5vw, 18px);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	height: 100%;
	padding: clamp(12px, 1.8vw, 18px);
}

@media (max-width: 1024px) {
	.illegal-placeholder__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Hide rail controls on mobile/tablet */
	.hero-rail-controls {
		display: none !important;
		opacity: 0 !important;
		pointer-events: none !important;
		visibility: hidden !important;
	}

	/* Hide Teamspeak and FiveM buttons on mobile/tablet */
	.top-cta .teamspeak-btn,
	.top-cta .fivem-btn {
		display: none !important;
	}
}

@media (max-width: 640px) {
	.illegal-placeholder__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.illegal-placeholder__cell {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: linear-gradient(140deg, rgba(28, 42, 40, 0.86), rgba(20, 34, 36, 0.78));
	box-shadow: inset 0 0 0 1px rgba(134, 166, 139, 0.24);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.illegal-placeholder__cell::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(230, 236, 233, 0.12), rgba(18, 28, 27, 0.68));
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.22s ease;
}

.illegal-placeholder__cell--selected {
	box-shadow: 0 18px 38px rgba(24, 42, 38, 0.46), inset 0 0 0 1px rgba(197, 230, 205, 0.72);
	transform: translateY(-2px) scale(1.01);
}

.illegal-placeholder__cell--selected::after {
	opacity: 0.22;
}

.illegal-placeholder__image {
	position: absolute;
	inset: 4px;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	border-radius: 12px;
	object-fit: cover;
	filter: saturate(1.1) contrast(1.06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
	will-change: transform;
}

.hero-card--illegal.hero-card--placeholder .hero-card__single-logo,
.hero-card--illegal.hero-card--placeholder .hero-card__text {
	display: none;
}

.hero-card--illegal .hero-card__footer {
	position: absolute;
	left: 12px;
	bottom: 12px;
	background: rgba(0,0,0,0.45);
	padding: 6px 10px;
	border-radius: 10px;
}

/* Character Left - extends to overlap video area */
.character-left {
	position: absolute;
	bottom: 0;
	left: 0;
	width: calc((100vw - min(96vw, 1400px)) / 2 + 90px);
	height: clamp(54vh, 72vh, 84vh);
	z-index: 10;
	pointer-events: none;
	overflow: hidden;
}

.character-left img {
	position: absolute;
	bottom: 0;
	right: 0;
	height: 100%;
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: right bottom;
	filter: drop-shadow(0 10px 50px rgba(0,0,0,0.7));
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	animation: characterFadeIn 0.42s cubic-bezier(0.2, 0.75, 0.1, 1);
}

@keyframes characterFadeIn {
	0% { opacity: 0; transform: translateX(-12px) scale(0.98); filter: blur(0.6px) brightness(0.95); }
	45% { opacity: 1; transform: translateX(6px) scale(1.02); filter: blur(0.2px) brightness(1.05); }
	100% { opacity: 1; transform: translateX(0) scale(1); filter: drop-shadow(0 10px 50px rgba(0,0,0,0.7)); }
}

/* Background gradient */
.app::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
	pointer-events: none;
	z-index: 0;
}

/* Center Column */
.center-column {
	position: relative;
	z-index: 20;
	display: grid;
	grid-template-rows: auto auto 1fr auto auto;
	align-items: center;
	justify-items: center;
	gap: clamp(16px, 3vh, 32px);
	width: 100%;
	height: 100%;
	padding: clamp(20px, 4vh, 40px) 20px;
}

.main-logo {
	width: clamp(180px, 20vw, 280px);
	height: auto;
	filter: drop-shadow(0 10px 40px rgba(0,0,0,0.5));
}

.cta-container {
	display: flex;
	gap: 12px;
}

.mantra-banner {
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: clamp(14px, 1.6vw, 20px);
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(204, 212, 210, 0.65);
	text-align: center;
	margin: clamp(20px, 3.6vh, 32px) 0 clamp(16px, 3vh, 28px);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2.4vw, 24px);
	position: relative;
	max-width: min(900px, 92%);
	margin-left: auto;
	margin-right: auto;
}

.mantra-banner::before,
.mantra-banner::after {
	content: '';
	flex: 1 1 100px;
	height: 1px;
	background: linear-gradient(to right, rgba(43,68,76,0.0), rgba(134,166,139,0.32));
	opacity: 0.45;
}

.mantra-banner::after {
	background: linear-gradient(to right, rgba(134,166,139,0.32), rgba(43,68,76,0.0));
}

.mantra-banner--compact {
	margin-top: clamp(14px, 2.6vh, 22px);
	margin-bottom: clamp(10px, 2.2vh, 20px);
	font-size: clamp(12px, 1.4vw, 18px);
	letter-spacing: 0.12em;
}

.mantra-banner span {
	flex-shrink: 0;
	padding: 0;
	background: none;
	border: none;
	box-shadow: none;
	position: relative;
	color: transparent;
	background-image: linear-gradient(120deg, rgba(186, 209, 200, 0.9), rgba(96, 149, 143, 0.85));
	background-clip: text;
	-webkit-background-clip: text;
}

.mantra-banner span::after { display: none; }

/* ==================== CHARACTER RAIL ==================== */
.character-right {
	display: none;
	width: clamp(200px, 16vw, 280px);
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(12px, 2.4vh, 20px);
	border-radius: 22px;
	background: linear-gradient(160deg, rgba(18, 20, 24, 0.78), rgba(10, 12, 14, 0.72));
	border: 1px solid rgba(134, 166, 139, 0.12);
	backdrop-filter: blur(14px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
	z-index: 40;
}

.character-right__header {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.character-right__eyebrow {
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 12px;
	color: rgba(134, 166, 139, 0.7);
}

.character-right__title {
	font-family: 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 700;
	color: #fff;
}

.character-right__hint {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(204, 212, 210, 0.72);
}

.character-rail {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow-y: auto;
	padding-right: 4px;
	scrollbar-width: thin;
	scrollbar-color: rgba(134, 166, 139, 0.46) transparent;
}

.character-rail::-webkit-scrollbar {
	width: 6px;
}

.character-rail::-webkit-scrollbar-thumb {
	background: rgba(134, 166, 139, 0.46);
	border-radius: 999px;
}

.character-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 18px;
	background: rgba(23, 25, 29, 0.76);
	border: 1px solid rgba(134, 166, 139, 0.12);
	color: inherit;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.26s, background 0.26s;
	font: inherit;
	text-align: left;
	--hold-progress: 0;
}

.character-card:focus-visible {
	outline: 2px solid rgba(134, 166, 139, 0.9);
	outline-offset: 2px;
}

.character-card:hover {
	transform: translateX(-6px);
	border-color: rgba(134, 166, 139, 0.32);
}

.character-card__progress {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(134, 166, 139, 0.65), rgba(42, 69, 75, 0.9));
	transform: scaleX(var(--hold-progress));
	transform-origin: left center;
	opacity: 0;
	transition: transform 0.08s linear, opacity 0.15s ease-out;
	z-index: 0;
}

.character-card--holding .character-card__progress {
	opacity: 0.9;
}

.character-card__shine {
	position: absolute;
	inset: -60% -10%;
	background: radial-gradient(circle at top left, rgba(134, 166, 139, 0.4), transparent 60%);
	opacity: 0;
	transition: opacity 0.35s ease;
	z-index: 0;
}

.character-card--active .character-card__shine {
	opacity: 0.4;
}

.character-card__avatar {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	object-fit: contain;
	filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.55));
	z-index: 1;
}

.character-card__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	z-index: 1;
}

.character-card__name {
	font-weight: 700;
	font-size: 15px;
	color: #f5f7f6;
}

.character-card__cta {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(204, 212, 210, 0.58);
}

.character-card--active {
	border-color: rgba(134, 166, 139, 0.65);
	box-shadow: 0 16px 40px rgba(134, 166, 139, 0.28);
	--hold-progress: 1;
}

.character-card--active .character-card__cta {
	color: rgba(245, 247, 246, 0.8);
}

.character-card--active .character-card__progress {
	opacity: 0.45;
}

/* ==================== EXPERIENCE GATE ==================== */
.experience-gate {
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 4vh, 40px);
	background: radial-gradient(circle at 40% 30%, rgba(134, 166, 139, 0.15), transparent 60%), rgba(8, 9, 12, 0.92);
	backdrop-filter: blur(12px);
	z-index: 1200;
	opacity: 0;
	pointer-events: none;
	transform: scale(1.02);
	transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1), transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
	padding: 40px 20px;
	text-align: center;
}

.experience-gate--active {
	opacity: 1;
	pointer-events: auto;
	transform: scale(1);
}

.experience-gate--closing {
	opacity: 0;
	pointer-events: none;
	transform: scale(0.96);
}

.experience-gate--hidden {
	display: none;
}

.experience-gate__logo {
	width: clamp(180px, 22vw, 320px);
	filter: drop-shadow(0 12px 42px rgba(0, 0, 0, 0.6));
}

.experience-gate__tagline {
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: clamp(20px, 3vw, 34px);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(230, 236, 233, 0.92);
}

.experience-gate__choices {
	display: flex;
	gap: clamp(20px, 4vw, 48px);
}

.experience-gate__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	padding: 14px 36px;
	border-radius: 999px;
	border: 1px solid rgba(134, 166, 139, 0.4);
	background: rgba(24, 26, 30, 0.85);
	color: rgba(229, 235, 232, 0.92);
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: 16px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s, border-color 0.28s, color 0.28s;
}

.experience-gate__btn:hover {
	transform: translateY(-4px);
	background: rgba(40, 48, 44, 0.95);
	border-color: rgba(134, 166, 139, 0.7);
}

.experience-gate__btn:focus-visible {
	outline: 2px solid rgba(134, 166, 139, 0.9);
	outline-offset: 3px;
}

.experience-gate__btn--illegal {
	background: rgba(70, 20, 24, 0.92);
	border-color: rgba(242, 76, 61, 0.5);
	color: #fbe4e0;
}

.experience-gate__btn--illegal:hover {
	background: rgba(120, 32, 40, 0.95);
	border-color: rgba(242, 76, 61, 0.75);
}

.experience-gate__sub {
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(204, 212, 210, 0.66);
}

.btn-cta {
	padding: 12px 28px;
	border-radius: 999px;
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	border: none;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
	background-size: 200% 200%;
	color: white;
	box-shadow: 0 6px 22px rgba(134, 166, 139, 0.35), 0 1px 0 rgba(255,255,255,0.08) inset;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	position: relative;
	overflow: hidden;
	animation: btnBreath 7.5s ease-in-out infinite, ctaWiggle 12s ease-in-out infinite;
}

.btn-cta:hover {
	transform: translateY(-1px) scale(1.01);
	box-shadow: 0 10px 30px rgba(134, 166, 139, 0.5);
	background-position: 100% 50%;
}

.btn-cta .btn-icon {
	width: 18px;
	height: 18px;
	display: inline-block;
	transition: transform 0.25s ease;
}

.btn-cta:hover .btn-icon {
	transform: translateX(2px);
}

/* Engage shine overlay for CTA */
.btn-cta::after { display: block; }

@keyframes btnBreath {
	0%, 100% { background-position: 0% 50%; box-shadow: 0 6px 22px rgba(134, 166, 139, 0.35), 0 1px 0 rgba(255,255,255,0.08) inset; }
	50% { background-position: 100% 50%; box-shadow: 0 10px 30px rgba(134, 166, 139, 0.5), 0 1px 0 rgba(255,255,255,0.1) inset; }
}

@keyframes undergroundShine {
	0% { left: -40%; opacity: 0.0; }
	10% { opacity: 0.45; }
	50% { left: 120%; opacity: 0.35; }
	100% { left: 140%; opacity: 0.0; }
}

@keyframes ctaWiggle {
	0%, 92%, 100% { transform: translateY(0) scale(1); }
	94% { transform: translateY(-2px) rotate(-0.6deg) scale(1.02); }
	96% { transform: translateY(0) rotate(0.6deg) scale(1.015); }
	98% { transform: translateY(-1px) rotate(-0.4deg) scale(1.01); }
}

/* Subtle sweep shine */
.btn-cta::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -30%;
	width: 40%;
	height: 200%;
	background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.0) 100%);
	transform: rotate(20deg);
	filter: blur(1px);
	animation: undergroundShine 6s ease-in-out infinite;
}

@keyframes undergroundPulse {
	0%, 100% { box-shadow: 0 4px 20px rgba(220, 20, 60, 0.35); }
	50% { box-shadow: 0 8px 32px rgba(220, 20, 60, 0.55); }
}

/* Removed shine to keep exact color match with crime title */

/* Video Container Wrapper */
.video-container-wrapper {
	width: min(96vw, 1400px);
	min-height: clamp(260px, 36vh, 560px);
	max-height: 48vh;
	flex: 1;
	display: flex;
	position: relative;
	align-self: stretch;
}

/* Video Main Area */
.crime-video {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 0 20px 0;
	aspect-ratio: 16/9;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}

/* Video Carousel Container */
.video-carousel {
	position: absolute;
	inset: 0;
	display: flex;
	overflow-x: scroll;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	z-index: 1;
	transition: opacity 0.3s ease;
}

.video-carousel::-webkit-scrollbar {
	display: none;
}

.video-section {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
	background: black;
	min-height: 300px;
	overflow: hidden;
}

.video-section iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Video Navigation Arrows */
.video-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 25;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 2px solid var(--accent);
	background: rgba(0,0,0,0.7);
	backdrop-filter: blur(10px);
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.video-nav-left { left: 12px; }
.video-nav-right { right: 12px; }

.video-nav:hover {
	background: rgba(0,0,0,0.9);
	transform: translateY(-50%) scale(1.1);
	border-color: rgba(134,166,139,0.8);
	box-shadow: 0 4px 16px rgba(134,166,139,0.4);
}

/* Hide nav and controls when company overlay is active */
.company-overlay.active ~ .video-nav {
	opacity: 0;
	pointer-events: none;
}

.company-overlay.active ~ .video-controls {
	opacity: 0;
	pointer-events: none;
}

/* Ensure hover does not reveal main controls while company overlay is active */
.company-overlay.active ~ #videoControls {
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Creator Badge (top-left) */
.creator-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 25;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(0,0,0,0.7);
	backdrop-filter: blur(10px);
	color: rgba(255,255,255,0.9);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.1);
	box-shadow: 0 4px 12px rgba(0,0,0,0.4);
	transition: all 0.2s ease;
}

.creator-badge:hover {
	background: rgba(0,0,0,0.9);
	transform: translateY(-2px);
}

/* Custom Video Controls - Modern Redesign */
.video-controls {
	position: absolute;
	bottom: clamp(16px, 2.5vh, 24px);
	left: clamp(16px, 2.5vw, 24px);
	transform: translateY(8px);
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(4px, 0.8vw, 6px);
	padding: clamp(10px, 1.5vh, 14px) clamp(14px, 2vw, 18px);
	border-radius: 20px;
	line-height: 1;
	background: linear-gradient(
		135deg,
		rgba(31, 33, 39, 0.85) 0%,
		rgba(20, 22, 28, 0.9) 100%
	);
	backdrop-filter: blur(32px) saturate(200%);
	-webkit-backdrop-filter: blur(32px) saturate(200%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 
		0 12px 48px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(0, 0, 0, 0.4) inset,
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 4px 16px rgba(134, 166, 139, 0.08);
	transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	opacity: 0;
	pointer-events: none;
	min-width: auto;
	flex-wrap: nowrap;
	max-width: calc(100vw - clamp(32px, 5vw, 48px));
	overflow: hidden;
}

.video-controls::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 20px;
	background: linear-gradient(
		135deg,
		rgba(134, 166, 139, 0.05) 0%,
		transparent 50%,
		rgba(134, 166, 139, 0.02) 100%
	);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.video-controls > * {
	position: relative !important;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(38px, 4.5vw, 42px) !important;
	max-height: clamp(38px, 4.5vw, 42px) !important;
	min-height: clamp(38px, 4.5vw, 42px) !important;
	align-self: center !important;
	z-index: 1;
	margin-top: auto !important;
	margin-bottom: auto !important;
}

.video-controls.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.video-controls:hover {
	background: linear-gradient(
		135deg,
		rgba(31, 33, 39, 0.92) 0%,
		rgba(20, 22, 28, 0.95) 100%
	);
	border-color: rgba(134, 166, 139, 0.35);
	box-shadow: 
		0 20px 64px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(0, 0, 0, 0.5) inset,
		inset 0 1px 0 rgba(255, 255, 255, 0.15),
		0 0 0 4px rgba(134, 166, 139, 0.2),
		0 8px 24px rgba(134, 166, 139, 0.15);
	transform: translateY(0) scale(1.01);
}

.video-controls:hover::before {
	opacity: 1;
}

/* Show main controls on hover over video area */
.video-main:hover #videoControls {
	opacity: 1;
	pointer-events: auto;
}

.control-btn {
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 255, 255, 0.06) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.95);
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	width: clamp(38px, 4.5vw, 42px);
	height: clamp(38px, 4.5vw, 42px);
	min-width: 38px;
	min-height: 38px;
	flex: 0 0 auto;
	position: relative;
	box-shadow: 
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2);
	margin: 0;
	vertical-align: middle;
	overflow: hidden;
}

.control-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(134, 166, 139, 0.2) 0%,
		transparent 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.control-btn:hover {
	background: linear-gradient(
		135deg,
		rgba(134, 166, 139, 0.25) 0%,
		rgba(134, 166, 139, 0.15) 100%
	);
	border-color: rgba(134, 166, 139, 0.5);
	transform: translateY(-2px) scale(1.05);
	box-shadow: 
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2),
		0 0 0 3px rgba(134, 166, 139, 0.15),
		0 4px 16px rgba(134, 166, 139, 0.2);
}

.control-btn:hover::before {
	opacity: 1;
}

.control-btn:active {
	transform: translateY(0) scale(1.02);
	box-shadow: 
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15),
		inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.control-btn__icon {
	width: clamp(20px, 2.2vw, 22px);
	height: clamp(20px, 2.2vw, 22px);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.control-btn__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
	stroke: currentColor;
	transition: all 0.3s ease;
}

.play-pause-btn {
	padding: 8px;
}

.volume-control {
	display: flex;
	align-items: center;
	gap: clamp(8px, 1.2vw, 12px);
	padding: 0;
	padding-left: clamp(12px, 1.8vw, 16px);
	margin: 0;
	margin-left: clamp(6px, 1vw, 8px);
	margin-top: 0;
	margin-bottom: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	flex: 0 0 auto;
	min-width: 70px;
	max-width: 100px;
	width: clamp(70px, 10vw, 100px);
	position: relative;
	height: clamp(38px, 4.5vw, 42px);
	max-height: clamp(38px, 4.5vw, 42px);
}

/* Video navigation buttons and counter are now direct children of .video-controls */
.video-nav-btn--prev {
	margin-left: clamp(6px, 1vw, 8px) !important;
	padding-left: clamp(12px, 1.8vw, 16px) !important;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.video-counter {
	margin-left: 0 !important;
}

.video-nav-btn {
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 255, 255, 0.06) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.95);
	cursor: pointer;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	width: clamp(38px, 4.5vw, 42px);
	height: clamp(38px, 4.5vw, 42px);
	min-width: 38px;
	min-height: 38px;
	max-height: clamp(38px, 4.5vw, 42px);
	flex: 0 0 auto;
	position: relative;
	box-shadow: 
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2);
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	vertical-align: middle;
	overflow: hidden;
	font-weight: 600;
	font-size: clamp(18px, 2.2vw, 20px);
	line-height: 1;
}

.video-nav-btn > span {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.video-nav-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(134, 166, 139, 0.2) 0%,
		transparent 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.video-nav-btn:hover:not(:disabled) {
	background: linear-gradient(
		135deg,
		rgba(134, 166, 139, 0.25) 0%,
		rgba(134, 166, 139, 0.15) 100%
	);
	border-color: rgba(134, 166, 139, 0.5);
	transform: translateY(-2px) scale(1.05);
	box-shadow: 
		0 8px 20px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2),
		0 0 0 3px rgba(134, 166, 139, 0.15),
		0 4px 16px rgba(134, 166, 139, 0.2);
}

.video-nav-btn:hover:not(:disabled)::before {
	opacity: 1;
}

.video-nav-btn:active:not(:disabled) {
	transform: translateY(0) scale(1.02);
	box-shadow: 
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15),
		inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.video-nav-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
}

.video-counter {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(6px, 0.8vw, 8px);
	color: rgba(255, 255, 255, 0.95);
	font-size: clamp(12px, 1.4vw, 13px);
	font-family: 'Manrope', system-ui, sans-serif;
	font-weight: 600;
	white-space: nowrap;
	padding: 0 !important;
	padding-left: clamp(10px, 1.2vw, 12px) !important;
	padding-right: clamp(10px, 1.2vw, 12px) !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	flex: 0 0 auto;
	min-width: fit-content;
	letter-spacing: 0.03em;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 255, 255, 0.06) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	line-height: 1;
	height: clamp(38px, 4.5vw, 42px) !important;
	max-height: clamp(38px, 4.5vw, 42px) !important;
	min-height: clamp(38px, 4.5vw, 42px) !important;
	margin: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	vertical-align: middle;
	box-shadow: 
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
}

.video-counter::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(134, 166, 139, 0.2) 0%,
		transparent 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 0;
}

.video-counter:hover::before {
	opacity: 1;
}

.video-counter__icon {
	width: clamp(14px, 1.6vw, 16px);
	height: clamp(14px, 1.6vw, 16px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.95;
	position: relative;
	z-index: 1;
}

.video-counter__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
	opacity: 0.95;
}

.video-counter__text {
	letter-spacing: 0.03em;
	font-variant-numeric: tabular-nums;
	position: relative;
	z-index: 1;
}

.volume-slider {
	width: 100%;
	height: 6px;
	border-radius: 4px;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background: linear-gradient(
		to right,
		rgba(134, 166, 139, 0.3) 0%,
		rgba(134, 166, 139, 0.3) var(--volume-percent, 0%),
		rgba(255, 255, 255, 0.15) var(--volume-percent, 0%),
		rgba(255, 255, 255, 0.15) 100%
	);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	margin: 0;
	align-self: center;
	box-shadow: 
		inset 0 1px 2px rgba(0, 0, 0, 0.3),
		inset 0 -1px 1px rgba(255, 255, 255, 0.05);
}

.volume-slider:hover {
	height: 7px;
	background: linear-gradient(
		to right,
		rgba(134, 166, 139, 0.4) 0%,
		rgba(134, 166, 139, 0.4) var(--volume-percent, 0%),
		rgba(255, 255, 255, 0.2) var(--volume-percent, 0%),
		rgba(255, 255, 255, 0.2) 100%
	);
}

.volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: clamp(18px, 2.2vw, 20px);
	height: clamp(18px, 2.2vw, 20px);
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.95) 0%,
		rgba(230, 240, 235, 0.9) 100%
	);
	border: 2px solid rgba(134, 166, 139, 0.6);
	cursor: pointer;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 
		0 4px 12px rgba(0, 0, 0, 0.4),
		0 0 0 2px rgba(134, 166, 139, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	position: relative;
}

.volume-slider::-webkit-slider-thumb:hover {
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 1) 0%,
		rgba(240, 248, 243, 0.95) 100%
	);
	border-color: rgba(134, 166, 139, 0.8);
	transform: scale(1.3);
	box-shadow: 
		0 6px 16px rgba(134, 166, 139, 0.4),
		0 0 0 3px rgba(134, 166, 139, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.volume-slider::-webkit-slider-thumb:active {
	transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
	width: clamp(18px, 2.2vw, 20px);
	height: clamp(18px, 2.2vw, 20px);
	border: 2px solid rgba(134, 166, 139, 0.6);
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.95) 0%,
		rgba(230, 240, 235, 0.9) 100%
	);
	cursor: pointer;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 
		0 4px 12px rgba(0, 0, 0, 0.4),
		0 0 0 2px rgba(134, 166, 139, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.volume-slider::-moz-range-thumb:hover {
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 1) 0%,
		rgba(240, 248, 243, 0.95) 100%
	);
	border-color: rgba(134, 166, 139, 0.8);
	transform: scale(1.3);
	box-shadow: 
		0 6px 16px rgba(134, 166, 139, 0.4),
		0 0 0 3px rgba(134, 166, 139, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.volume-slider::-moz-range-thumb:active {
	transform: scale(1.2);
}

.volume-slider::-moz-range-track {
	height: 6px;
	border-radius: 4px;
	background: linear-gradient(
		to right,
		rgba(134, 166, 139, 0.3) 0%,
		rgba(134, 166, 139, 0.3) var(--volume-percent, 0%),
		rgba(255, 255, 255, 0.15) var(--volume-percent, 0%),
		rgba(255, 255, 255, 0.15) 100%
	);
	box-shadow: 
		inset 0 1px 2px rgba(0, 0, 0, 0.3),
		inset 0 -1px 1px rgba(255, 255, 255, 0.05);
}

/* Company Overlay (splits video area) */
.company-overlay {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: clamp(14px, 3vw, 32px);
	background: rgba(6, 8, 11, 0.88);
	backdrop-filter: blur(20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.company-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.company-close {
	position: absolute;
	top: clamp(16px, 3vw, 26px);
	right: clamp(16px, 3vw, 26px);
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	border: none;
	color: rgba(242, 244, 243, 0.9);
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.company-close:hover {
	background: rgba(242, 76, 61, 0.85);
	box-shadow: 0 10px 24px rgba(242, 76, 61, 0.3);
	transform: scale(1.05);
	color: white;
}

.company-layout {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(18px, 3vw, 28px);
	width: 100%;
	max-width: min(96vw, 1200px);
	padding: clamp(6px, 1.6vw, 14px);
}

.company-main {
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 2vw, 18px);
	min-width: 0;
}

.company-brand {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(12px, 2vw, 18px);
	min-width: 0;
}

.company-heading {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.company-kicker {
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: rgba(173, 188, 182, 0.7);
}

.company-title {
	font-family: 'AgencyCustom', 'Manrope', system-ui, sans-serif;
	font-size: clamp(20px, 2vw, 30px);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(242, 244, 243, 0.94);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.company-creator-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(226, 232, 230, 0.9);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(12px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.company-creator-badge::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(224, 231, 228, 0.86), rgba(134, 166, 139, 0.2));
	box-shadow: 0 0 6px rgba(134, 166, 139, 0.35);
}

.company-creator-badge:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
	background: rgba(134, 166, 139, 0.25);
	color: rgba(12, 18, 20, 0.94);
}

.company-media {
	position: relative;
	border-radius: clamp(18px, 2vw, 24px);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: radial-gradient(circle at 50% 0%, rgba(32, 36, 42, 0.92), rgba(8, 10, 14, 0.92));
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	min-height: 220px;
}

.company-media iframe,
.company-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: none;
}

.company-video-controls {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	pointer-events: none;
}

.company-media:hover .company-video-controls {
	opacity: 1;
	pointer-events: auto;
}

.company-description {
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: 0.02em;
	color: rgba(227, 233, 230, 0.94);
	padding: clamp(8px, 1.6vw, 16px);
	overflow-y: auto;
	min-height: 0;
}

.company-description::-webkit-scrollbar {
	width: 6px;
}

.company-description::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 999px;
}

.company-description::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(134, 166, 139, 0.75), rgba(53, 90, 98, 0.75));
	border-radius: 999px;
}

.company-description::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, rgba(155, 192, 164, 0.85), rgba(53, 90, 98, 0.85));
}

@media (max-width: 960px) {
	.company-overlay {
		align-items: flex-start;
	}
	
	.company-layout {
		grid-template-columns: 1fr;
	}
	
	.company-brand {
		grid-template-columns: auto 1fr;
		row-gap: 10px;
	}
	
	.company-creator-badge {
		justify-self: start;
	}
	
	.company-description {
		max-height: 40vh;
	}
}

@media (max-width: 640px) {
	.company-layout {
		padding: clamp(6px, 4vw, 14px);
		gap: clamp(14px, 4vw, 22px);
	}
	
	.company-brand {
		grid-template-columns: 1fr;
		align-items: flex-start;
	}
	
	.company-title {
		white-space: normal;
	}
}

/* Company Ticker */
.ticker-container {
	position: relative;
	width: min(96vw, 1400px);
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,0.1);
	background: rgba(255,255,255,0.05);
	overflow: hidden;
}

.ticker-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 2px solid var(--accent);
	background: rgba(0,0,0,0.7);
	color: white;
	font-size: 24px;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

@media (min-width: 768px) {
	.ticker-nav { display: flex; }
}

.ticker-nav-left { left: 8px; }
.ticker-nav-right { right: 8px; }

.ticker-nav:hover {
	background: rgba(0,0,0,0.9);
	transform: translateY(-50%) scale(1.1);
	border-color: rgba(134,166,139,0.8);
}

.ticker-wrapper {
	overflow: hidden;
	position: relative;
	padding: 12px 50px;
}

.ticker-track {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
}

.ticker {
	display: inline-flex;
	gap: 28px;
	padding: 4px 0;
	will-change: transform;
	animation: tickerScroll 110s linear infinite;
}

.ticker:hover {
	animation-play-state: paused;
}

.ticker-item:hover ~ .ticker,
.ticker-item:focus ~ .ticker {
	animation-play-state: paused;
}

@keyframes tickerScroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-100% / 3)); }
}

.ticker-item {
	flex: 0 0 auto;
	height: 112px;
	padding: 14px 20px;
	border-radius: 12px;
	background: rgba(0,0,0,0.25);
	border: 1px solid rgba(255,255,255,0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	animation: clickHint 8s ease-in-out infinite;
}

.ticker-item:hover {
	background: rgba(0,0,0,0.4);
	border-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.ticker-item.active {
	background: rgba(134,166,139,0.15);
	border-color: var(--accent);
	box-shadow: 0 4px 20px rgba(134,166,139,0.3);
	animation: logoActivate 0.38s cubic-bezier(0.2, 0.75, 0.1, 1);
}

@keyframes logoActivate {
	0% { transform: scale(1); filter: none; }
	45% { transform: scale(0.97); filter: brightness(1.06); }
	80% { transform: scale(1.02); filter: brightness(1.08); }
	100% { transform: scale(1); filter: none; }
}

@keyframes logoIdle {
	0%, 100% { transform: none; filter: drop-shadow(0 0 0 rgba(134,166,139,0)); }
	50% { transform: translateY(-1px) scale(1.02); filter: drop-shadow(0 4px 10px rgba(134,166,139,0.25)); }
}

.ticker-item img {
	max-height: 92px;
	max-width: 260px;
	object-fit: contain;
	filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

/* Staggered attention animation more frequently */
.ticker-item:nth-child(1) { animation-delay: 0.5s; }
.ticker-item:nth-child(2) { animation-delay: 1.5s; }
.ticker-item:nth-child(3) { animation-delay: 2.5s; }
.ticker-item:nth-child(4) { animation-delay: 3.5s; }
.ticker-item:nth-child(5) { animation-delay: 4.5s; }
.ticker-item:nth-child(6) { animation-delay: 5.5s; }
.ticker-item:nth-child(7) { animation-delay: 6.5s; }
.ticker-item:nth-child(8) { animation-delay: 7.5s; }
.ticker-item:nth-child(9) { animation-delay: 8.5s; }
.ticker-item:nth-child(10) { animation-delay: 9.5s; }

@keyframes clickHint {
	0%, 88%, 100% { transform: none; box-shadow: 0 0 0 rgba(255,255,255,0); }
	90% { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 30px rgba(134,166,139,0.35); }
	94% { transform: translateY(-2px) scale(1.01); box-shadow: 0 8px 24px rgba(134,166,139,0.25); }
}

/* Crime Floating Button */
.crime-fab {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 26;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.12);
	background: rgba(0,0,0,0.75);
	backdrop-filter: blur(10px);
	color: rgba(255,255,255,0.95);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

.crime-fab:hover {
	background: rgba(0,0,0,0.95);
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

/* Tagline */
.tagline {
	font-size: clamp(16px, 2.5vw, 24px);
	color: rgba(230, 236, 233, 0.9);
	text-align: center;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.decision-word {
	color: #dc143c;
	font-weight: 800;
	cursor: pointer;
	position: relative;
	display: inline-block;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	text-shadow: 0 0 20px rgba(220, 20, 60, 0.4);
	animation: bloodGlow 3s ease-in-out infinite;
}

.decision-word::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 28%;
	height: 2px;
	background: linear-gradient(90deg, var(--danger), transparent);
	border-radius: 999px;
	opacity: 0.4;
	transition: all 0.22s ease;
}

.decision-word:hover {
	color: #ff1c4a;
	transform: scale(1.12) translateY(-2px);
	text-shadow: 0 0 30px rgba(220, 20, 60, 0.8), 0 0 60px rgba(220, 20, 60, 0.4);
}

.decision-word:hover::after {
	width: 100%;
	opacity: 0.95;
}

@keyframes bloodGlow {
	0%, 100% { text-shadow: 0 0 20px rgba(220, 20, 60, 0.4); }
	50% { text-shadow: 0 0 40px rgba(220, 20, 60, 0.7), 0 0 60px rgba(220, 20, 60, 0.3); }
}

/* Crime Overlay */
.crime-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: var(--bg);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	padding: clamp(28px, 5vw, 60px);
	gap: clamp(18px, 3.2vh, 36px);
}

.crime-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

@keyframes crimeShake {
	0%, 100% { transform: translate(0, 0); }
	10% { transform: translate(-2px, 2px); }
	20% { transform: translate(2px, -2px); }
	30% { transform: translate(-3px, 1px); }
	40% { transform: translate(3px, -1px); }
	50% { transform: translate(-2px, 2px); }
	60% { transform: translate(2px, -2px); }
	70% { transform: translate(-1px, 1px); }
	80% { transform: translate(1px, -1px); }
	90% { transform: translate(-1px, 0); }
}

.crime-close {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 10;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	border: 2px solid rgba(134, 166, 139, 0.3);
	background: linear-gradient(135deg, rgba(42, 69, 75, 0.8), rgba(20, 20, 25, 0.8));
	backdrop-filter: blur(12px);
	color: var(--accent);
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.crime-close:hover {
	background: linear-gradient(135deg, rgba(134, 166, 139, 0.95), rgba(42, 69, 75, 0.95));
	color: white;
	border-color: rgba(134, 166, 139, 0.8);
	transform: rotate(90deg) scale(1.08);
	box-shadow: 0 8px 28px rgba(134, 166, 139, 0.5);
}

.crime-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(22px, 4vw, 38px);
	max-width: 1320px;
	width: 100%;
	position: relative;
	z-index: 1;
}

@media (max-width: 900px) {
	.crime-grid { 
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: clamp(18px, 4vw, 28px);
	}
}

.crime-card {
	aspect-ratio: 16/9;
	border-radius: 22px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	transform: translateY(18px);
	opacity: 0;
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease, opacity 0.3s ease;
	box-shadow: 0 20px 50px rgba(0,0,0,0.45);
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	min-height: 240px;
}

.crime-overlay.active .crime-card {
	transform: translateY(0);
	opacity: 1;
}

.crime-card:nth-child(1) { transition-delay: 0.1s; }
.crime-card:nth-child(2) { transition-delay: 0.2s; }
.crime-card:nth-child(3) { transition-delay: 0.3s; }
.crime-card:nth-child(4) { transition-delay: 0.4s; }

.crime-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.55s ease;
	filter: brightness(0.95) contrast(1.06);
}

.crime-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 30px 70px rgba(0,0,0,0.5);
	border-color: rgba(134, 166, 139, 0.35);
}

.crime-card-focus {
	outline: 3px solid rgba(134, 166, 139, 0.6);
	box-shadow: 0 30px 90px rgba(134, 166, 139, 0.35);
}

.crime-card:hover img {
	transform: scale(1.08);
	filter: brightness(1.06) contrast(1.15);
}

/* Crime Detail */
.crime-detail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: var(--design-width);
  height: var(--design-height);
  z-index: 999;
  background: var(--bg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: detailFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.crime-detail.active {
  opacity: 1;
  visibility: visible;
  animation: detailFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailFadeIn {
  from { 
    opacity: 0; 
  }
  to { 
    opacity: 1; 
  }
}

.detail-dynamic-bg {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: transparent;
}


.detail-flying-logo {
  position: absolute;
  object-fit: contain;
  /* Simplified filter - single drop-shadow for performance */
  filter: drop-shadow(0 2px 8px rgba(134, 166, 139, 0.2));
  /* Single animation only - removed logoGlow for performance */
  animation: flyLogo var(--fly-duration, 30s) ease-in-out infinite;
  animation-delay: var(--fly-delay, 0s);
  will-change: transform;
  opacity: 0.2;
  z-index: 1;
  /* Removed mix-blend-mode and transitions for performance */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}

.detail-flying-logo:hover {
  opacity: 0.2;
  filter: drop-shadow(0 2px 12px rgba(134, 166, 139, 0.3));
  transform: translateZ(0) scale(1.02);
}

/* Removed logoGlow animation - was causing performance issues */

@keyframes flyLogo {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(calc(var(--fly-direction, 1) * 15vw), -5vh, 0);
  }
  50% {
    transform: translate3d(calc(var(--fly-direction, 1) * 20vw), 8vh, 0);
  }
  75% {
    transform: translate3d(calc(var(--fly-direction, 1) * 10vw), 4vh, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.detail-dynamic-bg .bg-polaroid-stripe {
  position: absolute;
  display: flex;
  justify-content: center;
  width: clamp(110px, 18vw, 160px);
  overflow: hidden;
  transform-origin: center;
  transform: rotate(var(--bg-stripe-rotate, -22deg));
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
  opacity: 0.22;
  z-index: 1;
}

.detail-dynamic-bg .bg-polaroid-stripe__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 3vh, 20px);
  animation: bgPolaroidLineScroll var(--bg-line-duration, 130s) linear infinite;
  animation-delay: var(--bg-line-delay, 0s);
}

.detail-dynamic-bg .bg-polaroid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(96px, 18vw, 148px);
  aspect-ratio: 3 / 4;
  padding: clamp(8px, 1.6vh, 14px);
  border-radius: 12px;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.26),
    inset 0 0 0 1px rgba(110, 150, 136, 0.22);
  overflow: hidden;
  will-change: transform;
  transform:
    translateX(var(--bg-polaroid-offset, 0%))
    rotate(var(--bg-polaroid-tilt, 0deg))
    scale(var(--bg-polaroid-scale, 1));
  border: 1px solid rgba(100, 140, 124, 0.22);
  backdrop-filter: blur(10px);
  background:
    linear-gradient(160deg, rgba(10, 14, 16, 0.9) 0%, rgba(6, 10, 12, 0.82) 48%, rgba(2, 6, 8, 0.76) 100%);
}

.detail-dynamic-bg .bg-polaroid::before {
  content: '';
  position: absolute;
  inset: 8%;
  background:
    radial-gradient(circle at 50% 18%, rgba(124, 172, 152, 0.42), rgba(10, 16, 14, 0) 70%);
  opacity: 0.38;
  filter: blur(6px);
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
}

.detail-dynamic-bg .bg-polaroid::after {
  content: '';
  position: absolute;
  left: clamp(18px, 14%, 22px);
  right: clamp(18px, 14%, 22px);
  bottom: clamp(10px, 2.6vh, 16px);
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  opacity: 0.5;
  pointer-events: none;
}

.detail-dynamic-bg .bg-polaroid__image {
  position: absolute;
  top: clamp(8px, 1.6vh, 14px);
  left: clamp(8px, 1.6vh, 14px);
  right: clamp(8px, 1.6vh, 14px);
  bottom: clamp(32px, 5vh, 48px);
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 1;
  opacity: 0.6;
  filter: blur(1px) brightness(0.85);
}

.detail-dynamic-bg .bg-polaroid--highlight {
  background:
    linear-gradient(160deg, rgba(10, 14, 16, 0.9) 0%, rgba(6, 10, 12, 0.82) 48%, rgba(2, 6, 8, 0.76) 100%);
  box-shadow:
    0 26px 48px rgba(90, 120, 110, 0.24),
    inset 0 0 0 1px rgba(155, 192, 164, 0.36);
}

.detail-dynamic-bg .bg-polaroid--pulse {
  box-shadow:
    0 34px 60px rgba(134, 192, 168, 0.34),
    inset 0 0 0 1px rgba(186, 220, 204, 0.55);
  animation: bgPolaroidPulse 5.2s ease-in-out;
}

.detail-dynamic-bg .bg-polaroid-stripe::before {
  content: '';
  position: absolute;
  top: clamp(-32px, -6vh, -20px);
  left: clamp(20px, 16%, 38px);
  width: clamp(44px, 28%, 60px);
  height: clamp(16px, 4vh, 22px);
  background: rgba(248, 244, 208, 0.52);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transform: rotate(calc(var(--bg-stripe-rotate, -22deg) * -0.22));
  opacity: 0.5;
}

.detail-dynamic-bg .bg-polaroid-stripe::after {
  content: '';
  position: absolute;
  inset: clamp(-26px, -5vh, -16px) clamp(4px, 2%, 12px) clamp(-16px, -4vh, -8px) clamp(14px, 4%, 22px);
  border-radius: 22px;
  background: radial-gradient(120% 120% at 22% -18%, rgba(155, 192, 164, 0.18) 0%, rgba(56, 72, 62, 0.14) 48%, rgba(12, 16, 14, 0) 100%);
  opacity: 0.36;
  filter: blur(20px);
  z-index: -1;
}

.crime-back {
  position: fixed !important;
  top: clamp(24px, 3vh, 32px) !important;
  left: clamp(24px, 4vw, 48px) !important;
  z-index: 100000 !important;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20, 26, 28, 0.92), rgba(10, 12, 14, 0.88));
  border: 1px solid rgba(134, 166, 139, 0.38);
  border-radius: 999px;
  color: rgba(229, 235, 232, 0.92);
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
  line-height: 1;
  pointer-events: auto;
}

.crime-back:hover {
  background: linear-gradient(135deg, rgba(34, 46, 42, 0.96), rgba(16, 22, 20, 0.9));
  border-color: rgba(134, 166, 139, 0.72);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(134, 166, 139, 0.35);
}

.crime-back svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.crime-detail-content {
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	border: none;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	z-index: 1;
}

.crime-detail.active .crime-detail-content {
	opacity: 1;
	transform: translateY(0);
}

/* Modern Detail Content Wrapper */
.detail-content-wrapper {
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(16px, 2vh, 24px) clamp(32px, 5vw, 64px) clamp(140px, 18vh, 180px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vh, 32px);
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  box-sizing: border-box;
}

.detail-content-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: -1;
}

/* Hero Section with Media */
.detail-header {
  text-align: left;
  margin-top: clamp(40px, 6vh, 60px);
  margin-bottom: clamp(32px, 4.5vh, 48px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vh, 20px);
  align-items: flex-start;
  flex-shrink: 0;
}

.detail-header-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  flex-wrap: wrap;
  width: 100%;
}

.detail-character {
  position: fixed;
  bottom: clamp(-40px, -6vh, -20px);
  right: clamp(-100px, -8vw, -50px);
  width: clamp(550px, 50vw, 750px);
  height: auto;
  filter: drop-shadow(0 12px 42px rgba(0,0,0,0.5));
  z-index: 0;
  animation: detailTitleFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  pointer-events: none;
  object-fit: contain;
  object-position: bottom right;
}

.detail-company-logo {
  width: clamp(80px, 8vw, 110px);
  height: auto;
  margin-bottom: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  animation: detailTitleFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  flex-shrink: 0;
}

.detail-header h1 {
  font-family: 'FantasmSecrets', 'AgencyCustom', 'Roboto Slab', serif;
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: none;
  position: relative;
  animation: detailTitleFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

.detail-header-top h1 {
  flex: 1;
  min-width: 0;
}

@keyframes detailTitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tagline-text {
  font-family: 'Manrope', 'Roboto Slab', system-ui, sans-serif;
  font-size: clamp(11px, 1.4vw, 14px);
  color: rgba(155, 192, 164, 0.68);
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  animation: detailTaglineFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

@keyframes detailTaglineFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-main-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  gap: 0;
  align-items: stretch;
  margin-top: 0;
  flex: 0.85;
  min-height: 0;
  height: 100%;
  overflow: visible;
  max-height: 85%;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .detail-main-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: stretch;
    height: 100%;
    max-height: 85%;
  }
  
  
  .detail-media-row {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
  }
  
  .content-text {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .detail-media-row,
  .content-text {
    border-radius: 24px;
  }
}

.detail-media-row {
  position: relative;
  width: 100%;
  min-height: 400px;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  animation: none;
  border: 1px solid rgba(134, 166, 139, 0.3);
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .detail-media-row {
    aspect-ratio: auto;
    min-height: 0;
  }
}

.detail-media-row::after {
  display: none;
}

@keyframes detailMediaFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Regelwerk and Whitelist detail view styling */
.crime-detail[data-category="regelwerk"] .detail-media-row,
.crime-detail[data-category="whitelist"] .detail-media-row {
  background: transparent;
  border: 1px solid rgba(134, 166, 139, 0.3);
  box-shadow: none;
}

.crime-detail[data-category="regelwerk"] .detail-media-row::after,
.crime-detail[data-category="whitelist"] .detail-media-row::after {
  display: none;
}

.detail-media-image--regelwerk,
.detail-media-image--whitelist {
  object-fit: contain !important;
  object-position: center !important;
  inset: clamp(20px, 3vw, 40px) !important;
  background: transparent;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - clamp(40px, 6vw, 80px)) !important;
  max-height: calc(100% - clamp(40px, 6vw, 80px)) !important;
  margin: auto;
}

.content-text {
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 2;
  color: rgba(240, 248, 243, 1);
  font-family: 'Manrope', 'Roboto Slab', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  animation: detailContentFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
  position: relative;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  padding: clamp(48px, 5.5vh, 64px) clamp(40px, 5vw, 56px);
  border-radius: 24px;
  border: 1px solid rgba(134, 166, 139, 0.3);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: none;
  min-height: 400px;
  height: auto;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  z-index: 3;
  scrollbar-width: thin;
  scrollbar-color: rgba(134, 166, 139, 0.6) rgba(8, 10, 12, 0.4);
  isolation: isolate;
}

@media (min-width: 1024px) {
  .content-text {
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .content-text-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.content-text *,
.content-text *::before,
.content-text *::after {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.content-text br {
  display: inline;
  margin: 0;
  padding: 0;
}

@keyframes detailContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-text-title {
  font-family: 'Manrope', 'Roboto Slab', system-ui, sans-serif;
  font-size: clamp(11px, 2vw, 19px);
  color: rgba(200, 230, 210, 1);
  font-weight: 800;
  margin: 0 0 clamp(36px, 5vh, 52px) 0;
  padding: 0 0 clamp(24px, 3.5vh, 32px) 0;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: detailTaglineFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
  border-bottom: 1px solid rgba(134, 166, 139, 0.35);
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.content-text-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, rgba(155, 192, 164, 0.8), transparent);
  border-radius: 1px;
}

/* Illegal detail page - keep title same as legal */

.content-text-body {
  width: 100%;
  margin: 0;
  padding: 0;
}

.content-text p {
  margin-top: 0;
  margin-bottom: clamp(24px, 3vh, 32px);
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  box-sizing: border-box;
  padding: 0;
  overflow: visible;
  white-space: normal;
  text-align: left;
  line-height: 2.1;
  color: rgba(245, 250, 247, 1);
  font-weight: 400;
  letter-spacing: 0.003em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.content-text p:first-of-type {
  margin-top: 0;
}

.content-text p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.content-text strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.content-text a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.content-text a:hover {
  color: #a8c5ae;
  border-bottom-color: rgba(168, 196, 174, 0.4);
}

.content-text a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.crime-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: block;
}

.crime-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 120% 100% at 50% 20%, rgba(134, 166, 139, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 16, 20, 0.3) 0%, rgba(10, 16, 20, 0.05) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  border-radius: 24px;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.crime-video:hover::before {
  opacity: 0.6;
}

.crime-video::after {
  display: none;
}

.crime-video iframe,
.crime-video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  border: none;
  margin: 0;
  padding: 0;
  display: block;
  box-sizing: border-box;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  will-change: transform;
  filter: brightness(0.98) contrast(1.02) saturate(1.05);
  z-index: 1;
  border-radius: 24px;
}

.crime-video:hover iframe,
.crime-video:hover img {
  transform: scale(1.01);
  filter: brightness(1) contrast(1.05) saturate(1.1);
}

.video-buy-link-wrapper {
  display: flex;
  align-items: center;
  padding-left: clamp(10px, 1.4vw, 14px);
  margin-left: clamp(8px, 1.2vw, 12px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
  min-width: fit-content;
  position: relative;
  height: auto;
}

.video-buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 0.8vw, 7px);
  padding: 0 clamp(10px, 1.2vw, 12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(10px, 1.1vw, 11px);
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex: 0 0 auto;
  height: clamp(32px, 4vw, 36px);
  line-height: 1.2;
  margin: 0;
  vertical-align: middle;
}

.video-buy-link:hover,
.video-buy-link:focus-visible {
  background: rgba(134, 166, 139, 0.25);
  color: rgba(255, 255, 255, 1);
  border-color: rgba(134, 166, 139, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(134, 166, 139, 0.2);
}

.video-buy-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(134, 166, 139, 0.4);
}

.video-buy-link__icon {
  font-size: clamp(12px, 1.3vw, 13px);
  line-height: 1;
  display: inline-block;
}

.video-buy-link__text {
  white-space: nowrap;
}

/* Remove duplicate - using styles above */

/* Remove duplicate styles - handled above */

.crime-detail-left::before { content: none; }

.crime-detail-left::after { content: none; }

.crime-detail-left h1 {
  font-family: 'FantasmSecrets', 'AgencyCustom', 'Roboto Slab', serif;
  font-size: clamp(36px, 5.5vw, 70px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin: 0 0 0.3em 0;
  color: rgba(244, 247, 245, 0.98);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  padding-bottom: 0.5em;
}

.crime-detail-left h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

@keyframes bloodFlow {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

.crime-detail-left .tagline-text {
  font-family: 'Manrope', 'Roboto', system-ui, sans-serif;
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(200, 210, 205, 0.9);
  font-weight: 500;
  line-height: 1.5;
  margin: -0.8em 0 1.5em 0;
  max-width: 800px;
  padding: 0 0 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-header .tagline-text {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.tagline-text::before { content: none; }

.content-text {
  position: relative;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(230, 236, 233, 0.92);
  background: none;
  flex: 1;
  max-width: 100%;
  font-family: 'Manrope', 'Roboto', system-ui, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 400;
}

/* Remove duplicate - using styles defined above */

.content-text::before {
  display: none;
}

.content-text::after {
  display: none;
}

.content-text > * {
	position: relative;
	z-index: 1;
	max-width: 100%;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-break: break-word;
	min-width: 0;
}

.content-text > p {
	position: relative;
	z-index: 1;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
	max-width: 100%;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	white-space: normal;
	overflow: visible;
}

.crime-detail-nav {
  margin-top: clamp(28px, 4vh, 40px);
  padding: clamp(24px, 3.5vh, 32px) 0 0;
  border-top: 1px solid rgba(134, 166, 139, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 28px);
  position: relative;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  animation: detailNavFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  flex-shrink: 0;
}

@keyframes detailNavFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .crime-detail-nav {
    flex-direction: column;
    gap: clamp(14px, 2.8vw, 24px);
    padding-top: clamp(16px, 2vh, 24px);
  }
  
  .crime-nav-status {
    order: -1;
    width: 100%;
    max-width: 100%;
  }
  
  .crime-nav-btn {
    width: 100%;
    justify-content: center;
  }
  
  .crime-nav-btn-text {
    align-items: center !important;
    text-align: center !important;
  }
}

.crime-nav-btn {
  --btn-bg: linear-gradient(
    135deg,
    rgba(31, 33, 39, 0.85) 0%,
    rgba(20, 22, 28, 0.9) 100%
  );
  --btn-hover-bg: linear-gradient(
    135deg,
    rgba(31, 33, 39, 0.92) 0%,
    rgba(20, 22, 28, 0.95) 100%
  );
  --btn-border: rgba(255, 255, 255, 0.12);
  --btn-hover-border: rgba(134, 166, 139, 0.35);
  --btn-color: rgba(255, 255, 255, 0.95);
  --btn-hover-color: #ffffff;
  --btn-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --btn-hover-shadow: 
    0 20px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 4px rgba(134, 166, 139, 0.2),
    0 8px 24px rgba(134, 166, 139, 0.15);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 12px);
  min-width: 0;
  flex: 1;
  padding: clamp(14px, 2vh, 18px) clamp(28px, 5vw, 44px);
  min-height: clamp(50px, 6vh, 56px);
  border-radius: 20px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  color: var(--btn-color);
  font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  overflow: visible;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.crime-nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(134, 166, 139, 0.05) 0%,
    transparent 50%,
    rgba(134, 166, 139, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.crime-nav-btn:hover::before {
  opacity: 1;
}

.crime-nav-btn:hover,
.crime-nav-btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
  background: var(--btn-hover-bg, var(--btn-bg));
  border-color: var(--btn-hover-border, var(--btn-border));
  color: var(--btn-hover-color, var(--btn-color));
  box-shadow: var(--btn-hover-shadow, var(--btn-shadow));
}

.crime-nav-btn:active {
  transform: translateY(0) scale(1);
}

.crime-nav-btn > *:not(.crime-nav-btn-logo) {
  position: relative;
  z-index: 2;
}

.crime-nav-btn .crime-nav-btn-text {
  z-index: 3;
  position: relative;
}


.crime-nav-btn-primary {
  --btn-bg: linear-gradient(
    135deg,
    rgba(31, 33, 39, 0.9) 0%,
    rgba(20, 22, 28, 0.92) 100%
  );
  --btn-hover-bg: linear-gradient(
    135deg,
    rgba(31, 33, 39, 0.95) 0%,
    rgba(20, 22, 28, 0.97) 100%
  );
  --btn-border: rgba(134, 166, 139, 0.4);
  --btn-hover-border: rgba(134, 166, 139, 0.5);
  --btn-color: rgba(255, 255, 255, 0.98);
  --btn-hover-color: #ffffff;
  --btn-shadow: 
    0 16px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 4px 16px rgba(134, 166, 139, 0.15);
  --btn-hover-shadow: 
    0 24px 72px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(134, 166, 139, 0.25),
    0 12px 32px rgba(134, 166, 139, 0.2);
}

.crime-nav-btn:focus-visible {
  outline: 3px solid rgba(134, 166, 139, 0.6);
  outline-offset: 4px;
  border-radius: 14px;
}

.crime-nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.24s ease;
  position: relative;
  z-index: 3;
}

.crime-nav-btn-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3)) brightness(1.05);
  transition: transform 0.24s ease, filter 0.24s ease, opacity 0.24s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.crime-nav-btn-logo--left {
  left: -30px;
}

.crime-nav-btn-logo--right {
  right: -30px;
}

.crime-nav-btn-primary .crime-nav-btn-logo {
  filter: drop-shadow(0 1px 4px rgba(134, 166, 139, 0.5)) brightness(1.1);
  opacity: 0.95;
}

.crime-nav-btn:hover .crime-nav-btn-logo {
  transform: translateY(-50%) scale(1.15);
  opacity: 1;
  filter: drop-shadow(0 2px 6px rgba(134, 166, 139, 0.6)) brightness(1.15);
}

.crime-nav-btn-primary:hover .crime-nav-btn-logo {
  filter: drop-shadow(0 2px 8px rgba(155, 192, 164, 0.7)) brightness(1.2);
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

.crime-nav-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 0 1 auto;
  min-width: 80px;
  text-align: center;
  padding: 18px clamp(20px, 4vw, 32px);
  border-radius: 999px;
  border: 1px solid rgba(134, 166, 139, 0.38);
  background: linear-gradient(135deg, rgba(20, 26, 28, 0.92), rgba(10, 12, 14, 0.88));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
}

.crime-nav-status-meta {
  font-size: 18px;
  color: rgba(229, 235, 232, 0.92);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
  line-height: 1;
}

/* Duplicate removed - using modern styles defined earlier */

/* Navigation Button Text Styles */
.crime-nav-btn-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  text-align: left !important;
  flex: 1 1 auto !important;
  position: relative !important;
  z-index: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.crime-nav-btn #crimeNavPrevLogo ~ .crime-nav-btn-text {
  padding-left: 20px !important;
  margin-left: 0 !important;
}

.crime-nav-btn-text .crime-nav-status-label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.38em !important;
  color: rgba(155, 192, 164, 0.68) !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif !important;
}

.crime-nav-btn-text .crime-nav-status-title {
  display: block !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  color: inherit !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 200px !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif !important;
}

.crime-nav-btn-primary .crime-nav-btn-text .crime-nav-status-label {
  color: rgba(155, 192, 164, 0.68) !important;
}

.crime-nav-btn-primary .crime-nav-btn-text .crime-nav-status-title {
  color: inherit !important;
}

/* Remove duplicate - using styles defined above */

/* Scrollbar for crime content */
.content-text::-webkit-scrollbar {
	width: 10px;
}

.content-text::-webkit-scrollbar-track {
	background: rgba(8, 10, 12, 0.4);
	border-radius: 8px;
	margin: 8px 0;
	border: 1px solid rgba(134, 166, 139, 0.1);
}

.content-text::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(134, 166, 139, 0.6), rgba(155, 192, 164, 0.5));
	border-radius: 8px;
	border: 2px solid rgba(8, 10, 12, 0.3);
	box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
	transition: background 0.2s ease;
}

.content-text::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, rgba(155, 192, 164, 0.7), rgba(134, 166, 139, 0.6));
	border-color: rgba(134, 166, 139, 0.4);
}


.crime-detail-right {
  display: none;
}

.crime-detail-right::before {
	content: none;
}

/* Hide character image */
.detail-hero-card__image {
	display: none !important;
}

/* Detail sidebar polaroids container */
#detailCollage.detail-polaroids,
.detail-polaroids {
	position: relative;
	width: min(100%, clamp(320px, 28vw, 460px));
	min-height: clamp(520px, 62vh, 880px);
	overflow: hidden;
	pointer-events: none;
	margin: 0;
	display: block;
	grid-template-columns: none;
	grid-auto-rows: initial;
	grid-auto-flow: initial;
	gap: 0;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

/* Mirrored hero composition on detail right */
#detailCollage.detail-hero-mirror,
.detail-hero-mirror {
        position: relative;
        width: min(100%, clamp(300px, 26vw, 480px));
        min-height: clamp(560px, 64vh, 900px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: clamp(24px, 3vh, 36px);
        padding: clamp(32px, 4vh, 44px) clamp(26px, 3.4vw, 40px);
        overflow: hidden;
        isolation: isolate;
        border-radius: 0;
        border: none;
        background: none;
        box-shadow: none;
        pointer-events: auto;
}

.detail-hero-mirror::before { content: none; }

.detail-hero-mirror__stripes { display: none; }

.detail-hero-mirror__stripes .bg-polaroid-stripe {
        position: absolute;
        display: flex;
        justify-content: center;
        width: clamp(110px, 18vw, 160px);
        overflow: hidden;
        transform-origin: center;
        transform: rotate(var(--bg-stripe-rotate, -20deg));
        filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.32));
        opacity: 0.32;
        mix-blend-mode: lighten;
}

.detail-hero-mirror__stripes .bg-polaroid-stripe__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(14px, 3vh, 20px);
        animation: bgPolaroidLineScroll var(--bg-line-duration, 118s) linear infinite;
        animation-delay: var(--bg-line-delay, 0s);
}

.detail-hero-mirror__stripes .bg-polaroid {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: clamp(96px, 18vw, 148px);
        aspect-ratio: 3 / 4;
        padding: clamp(8px, 1.6vh, 14px);
        border-radius: 12px;
        box-shadow:
                0 22px 48px rgba(0, 0, 0, 0.26),
                inset 0 0 0 1px rgba(110, 150, 136, 0.22);
        overflow: hidden;
        transform:
                translateX(var(--bg-polaroid-offset, 0%))
                rotate(var(--bg-polaroid-tilt, 0deg))
                scale(var(--bg-polaroid-scale, 1));
        border: 1px solid rgba(100, 140, 124, 0.22);
        backdrop-filter: blur(10px);
        background:
                linear-gradient(160deg, rgba(10, 14, 16, 0.9) 0%, rgba(6, 10, 12, 0.82) 48%, rgba(2, 6, 8, 0.76) 100%);
}

.detail-hero-mirror__stripes .bg-polaroid--pulse {
        box-shadow:
                0 34px 60px rgba(134, 192, 168, 0.34),
                inset 0 0 0 1px rgba(186, 220, 204, 0.55);
        animation: bgPolaroidPulse 5.2s ease-in-out;
}

.detail-hero-mirror__stripes .bg-polaroid::before {
        content: '';
        position: absolute;
        inset: 8%;
        background:
                radial-gradient(circle at 50% 18%, rgba(124, 172, 152, 0.42), rgba(10, 16, 14, 0) 70%),
                var(--roots-r-image) center/68% auto no-repeat;
        opacity: 0.38;
        filter: blur(6px);
        mix-blend-mode: screen;
        z-index: 0;
}

.detail-hero-mirror__stripes .bg-polaroid::after {
        content: '';
        position: absolute;
        left: clamp(18px, 14%, 22px);
        right: clamp(18px, 14%, 22px);
        bottom: clamp(10px, 2.6vh, 16px);
        height: 6px;
        background: rgba(0, 0, 0, 0.08);
        border-radius: 999px;
        opacity: 0.5;
}

.detail-hero-mirror__foreground {
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        gap: clamp(24px, 3vh, 32px);
}

.detail-hero-mirror .hero-left__content {
        padding: 0;
        border: none;
        background: none;
        box-shadow: none;
}

.detail-hero-card {
        position: relative;
        display: flex;
        align-items: flex-end;
        min-height: clamp(260px, 30vh, 360px);
        padding: clamp(26px, 3vh, 36px);
        border-radius: 0;
        border: none;
        background: none;
        box-shadow: none;
        overflow: hidden;
        --tiltX: 0deg;
        --tiltY: 0deg;
        transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
}

.detail-hero-card:hover {
        transform: translateY(-4px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
}

.detail-hero-card--illegal { border: none; background: none; }

.detail-hero-card__backdrop { display: none; }

.detail-hero-card__image {
        position: relative;
        width: 76%;
        height: auto;
        object-fit: contain;
        opacity: 1;
        filter: brightness(1);
        z-index: 1;
}

.detail-hero-card__emblem { display: none; }

.detail-hero-card__logo {
        display: none;
}

.detail-hero-card__overlay {
        position: relative;
        z-index: 4;
        display: flex;
        flex-direction: column;
        gap: clamp(8px, 1.6vh, 14px);
        width: 100%;
        color: rgba(234, 240, 236, 0.98);
        text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.detail-hero-card__label {
        font-size: clamp(12px, 1.3vw, 14px);
        letter-spacing: 0.32em;
        text-transform: uppercase;
        color: rgba(155, 192, 164, 0.76);
}

.detail-hero-card--illegal .detail-hero-card__label {
        color: rgba(231, 168, 168, 0.78);
}

.detail-hero-card__title {
        font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
        font-size: clamp(30px, 4vw, 48px);
        line-height: 1.08;
        letter-spacing: 0.02em;
}

.detail-hero-card__subtitle {
        font-family: 'Manrope', 'Roboto Slab', system-ui, sans-serif;
        font-size: clamp(14px, 1.5vw, 16px);
        line-height: 1.6;
        color: rgba(210, 222, 216, 0.86);
        max-width: 28ch;
}

.detail-hero-cta {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: clamp(18px, 2.6vh, 26px);
        padding: clamp(30px, 4vh, 38px);
        border-radius: clamp(28px, 3.2vw, 34px);
        border: 1px solid rgba(134, 166, 139, 0.3);
        background:
                linear-gradient(155deg, rgba(16, 22, 24, 0.92) 0%, rgba(12, 18, 20, 0.88) 52%, rgba(8, 14, 16, 0.82) 100%),
                radial-gradient(120% 120% at 0% 0%, rgba(134, 166, 139, 0.16) 0%, rgba(12, 18, 16, 0) 52%);
        box-shadow:
                0 32px 64px rgba(4, 10, 12, 0.54),
                inset 0 0 0 1px rgba(134, 166, 139, 0.12);
        backdrop-filter: blur(24px);
        color: rgba(230, 236, 233, 0.96);
        overflow: hidden;
}

.detail-hero-cta::before,
.detail-hero-cta::after {
        content: '';
        position: absolute;
        pointer-events: none;
        border-radius: 50%;
        filter: blur(24px);
        opacity: 0.28;
}

.detail-hero-cta::before {
        width: clamp(240px, 32vw, 360px);
        height: clamp(240px, 32vw, 360px);
        right: -26%;
        top: -30%;
        background: radial-gradient(circle at 50% 50%, rgba(155, 192, 164, 0.2), rgba(155, 192, 164, 0));
}

.detail-hero-cta::after {
        width: clamp(280px, 36vw, 420px);
        height: clamp(200px, 30vw, 340px);
        left: -24%;
        bottom: -32%;
        background: radial-gradient(circle at 30% 70%, rgba(68, 122, 118, 0.28), rgba(10, 18, 16, 0));
}

.detail-hero-cta__tagline {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: clamp(10px, 2vh, 18px);
        z-index: 1;
}

.detail-hero-cta__accent {
        font-size: clamp(12px, 1.4vw, 14px);
        letter-spacing: 0.36em;
        text-transform: uppercase;
        color: rgba(155, 192, 164, 0.68);
}

.detail-hero-mirror--illegal .detail-hero-cta__accent {
        color: rgba(231, 168, 168, 0.72);
}

.detail-hero-cta__title {
        font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
        font-size: clamp(32px, 4.2vw, 50px);
        line-height: 1.05;
        letter-spacing: 0.02em;
}

.detail-hero-cta__description {
        position: relative;
        z-index: 1;
        font-family: 'Manrope', 'Roboto Slab', system-ui, sans-serif;
        font-size: clamp(15px, 1.8vw, 17px);
        line-height: 1.7;
        color: rgba(198, 214, 208, 0.84);
        max-width: 36ch;
}

.detail-hero-cta__buttons {
        position: relative;
        z-index: 1;
}

@media (max-width: 1024px) {
    #detailCollage.detail-hero-mirror,
    .detail-hero-mirror {
        display: flex !important;
        width: 100%;
        min-height: clamp(480px, 60vh, 760px);
        padding: clamp(22px, 5vw, 32px);
        border-radius: clamp(22px, 4vw, 32px);
    }
}

.detail-polaroids .bg-polaroid-stripe {
	position: absolute;
	display: flex;
	justify-content: center;
	width: clamp(150px, 18vw, 220px);
	overflow: hidden;
	transform-origin: center;
	transform:
		translateX(var(--film-strip-shift, 0px))
		rotate(var(--film-strip-angle, 12deg));
	filter: drop-shadow(0 32px 60px rgba(0, 0, 0, 0.38));
	opacity: 0.88;
	z-index: 1;
	right: clamp(-40px, -4vw, -10px);
}

.detail-polaroids .bg-polaroid-stripe__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(24px, 4.2vh, 34px);
	animation: bgPolaroidLineScroll var(--bg-line-duration, 100s) linear infinite;
	animation-delay: var(--bg-line-delay, 0s);
}

.detail-polaroids .bg-polaroid {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.detail-polaroids .bg-polaroid:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 15px 40px rgba(134,166,139,0.2);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: clamp(96px, 18vw, 148px);
	aspect-ratio: 3 / 4;
	padding: clamp(10px, 1.8vh, 16px);
	border-radius: 14px;
	box-shadow:
		0 28px 54px rgba(0, 0, 0, 0.36),
		inset 0 0 0 1px rgba(110, 150, 136, 0.28);
	overflow: hidden;
	will-change: transform;
	transform:
		translateX(var(--bg-polaroid-offset, 0%))
		rotate(calc(var(--bg-polaroid-tilt, 0deg) + 4deg))
		scale(var(--bg-polaroid-scale, 1));
	border: 1px solid rgba(100, 140, 124, 0.22);
	backdrop-filter: blur(10px);
	background:
		linear-gradient(160deg, rgba(10, 14, 16, 0.9) 0%, rgba(6, 10, 12, 0.82) 48%, rgba(2, 6, 8, 0.76) 100%);
}

.detail-polaroids .bg-polaroid::before {
	content: '';
	position: absolute;
	inset: 9%;
	background:
		radial-gradient(circle at 50% 18%, rgba(124, 172, 152, 0.45), rgba(10, 16, 14, 0) 70%),
		var(--roots-r-image) center/68% auto no-repeat;
	opacity: 0.38;
	filter: blur(6px);
	mix-blend-mode: screen;
	z-index: 0;
	pointer-events: none;
}

.detail-polaroids .bg-polaroid::after {
	content: '';
	position: absolute;
	left: clamp(16px, 12%, 20px);
	right: clamp(16px, 12%, 20px);
	bottom: clamp(12px, 2.8vh, 18px);
	height: 10px;
	background: rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	opacity: 0.55;
	pointer-events: none;
}

.detail-polaroids .bg-polaroid--highlight {
	background:
		linear-gradient(160deg, rgba(10, 14, 16, 0.92) 0%, rgba(6, 10, 12, 0.84) 48%, rgba(2, 6, 8, 0.78) 100%);
	box-shadow:
		0 30px 56px rgba(90, 120, 110, 0.28),
		inset 0 0 0 1px rgba(148, 182, 162, 0.4);
}

.detail-polaroids .bg-polaroid-stripe::before,
.detail-polaroids .bg-polaroid-stripe::after {
	content: '';
	position: absolute;
	top: -24px;
	bottom: -24px;
	width: clamp(16px, 2vw, 20px);
	background:
		repeating-linear-gradient(
			180deg,
			transparent 0,
			transparent 30px,
			rgba(10, 14, 16, 0.92) 30px,
			rgba(10, 14, 16, 0.92) 46px
		);
	border-radius: 6px;
	opacity: 0.9;
	z-index: 2;
	pointer-events: none;
}

.detail-polaroids .bg-polaroid-stripe::before {
	left: clamp(6px, 6%, 10px);
	box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.35);
}

.detail-polaroids .bg-polaroid-stripe::after {
	right: clamp(6px, 6%, 10px);
	box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.35);
}

.detail-polaroids .bg-polaroid--pulse {
	box-shadow:
		0 34px 60px rgba(134, 192, 168, 0.34),
		inset 0 0 0 1px rgba(186, 220, 204, 0.55);
	animation: bgPolaroidPulse 5.2s ease-in-out;
}

.detail-polaroids .bg-polaroid__image {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
	z-index: 1;
	opacity: 0.92;
	filter: saturate(1.05);
	transition: opacity 0.25s ease, transform 0.35s ease;
}

.crime-video {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: 0;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
	overflow: hidden;
	border: 1px solid rgba(150, 182, 168, 0.25);
	box-shadow:
		0 28px 70px rgba(0, 0, 0, 0.6),
		inset 0 0 0 1px rgba(8, 12, 10, 0.8);
	width: 100%;
	max-width: clamp(420px, 58%, 640px);
	flex-shrink: 0;
	align-self: flex-start;
	margin-right: clamp(6px, 1vw, 12px);
	margin-bottom: clamp(18px, 2.6vh, 26px);
}

.crime-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.detail-video-player__host {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#detailCollage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: 180px;
    gap: 14px;
    height: auto;
    width: 100%;
    left: 0;
    overflow: visible;
    align-content: stretch;
    justify-content: stretch;
    margin-left: clamp(16px, 4.5vw, 96px);
}

/* Detail collage specifics: pack tighter and clip at the left control bottom */
#detailCollage {
    grid-auto-rows: var(--row-size, 160px);
    grid-auto-flow: dense;
    overflow: hidden;
}

#detailCollage.detail-collage--scatter {
	display: block;
	grid-template-columns: none;
	grid-auto-flow: initial;
	grid-auto-rows: initial;
	gap: 0;
	width: min(100%, clamp(1260px, 90vw, 1780px));
	min-height: clamp(640px, 78vh, 1100px);
	margin-left: clamp(20px, 5.5vw, 110px);
	margin-right: clamp(12px, 2.4vw, 36px);
	padding: clamp(10px, 1.8vw, 36px);
	border-radius: clamp(14px, 1.6vw, 22px);
	background: none;
	border: none;
	box-shadow: none;
	backdrop-filter: none;
	isolation: auto;
	overflow: visible;
}

@keyframes polaroidPulse {
	0%, 100% { transform: translateX(var(--bg-polaroid-offset, 0%)) rotate(var(--bg-polaroid-tilt, 0deg)) scale(var(--bg-polaroid-scale, 1)); }
	50% { transform: translateX(var(--bg-polaroid-offset, 0%)) rotate(var(--bg-polaroid-tilt, 0deg)) scale(calc(var(--bg-polaroid-scale, 1) * 1.05)); }
}

.crime-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(16, 18, 22, 0.92), rgba(8, 10, 14, 0.9));
    cursor: default;
    box-shadow: 0 22px 58px rgba(0,0,0,0.5);
    opacity: 1;
    min-width: 0;
    min-height: 0;
    isolation: isolate;
    will-change: auto;
    --logo-blur: 6px;
    transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease, border-color 200ms ease, filter 200ms ease;
    backdrop-filter: none;
    padding: 0;
    border-style: solid;
    font: inherit;
    pointer-events: auto;
}

.crime-thumbnail::before {
    content: '';
    position: absolute;
    inset: 4% 4% 12%;
    background: var(--card-logo, var(--roots-r-image)) center/contain no-repeat;
    opacity: 0.58;
    filter: blur(var(--logo-blur, 6px)) saturate(1.12) drop-shadow(0 24px 40px rgba(0,0,0,0.5));
    transform: scale(1.28);
    z-index: 0;
    pointer-events: none;
    transition: filter 0.32s ease, opacity 0.32s ease, transform 0.32s ease;
}

.crime-thumbnail:hover::before,
.crime-thumbnail:focus-visible::before {
    --logo-blur: 0px;
    opacity: 0.82;
    transform: scale(1.34);
}

.crime-thumbnail:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    border-color: rgba(255,255,255,0.18);
    outline: none;
}

/* Manipulation handles */
.thumb-handle {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(14,18,20,0.84);
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: grab;
    z-index: 40;
}

.crime-thumbnail.thumb-selected .thumb-handle {
    display: none;
}

.thumb-handle--rotate {
    top: 6px;
    left: 6px;
    cursor: crosshair;
}

.thumb-handle--rotate::before {
    content: '⟳';
    font-size: 12px;
    line-height: 1;
    opacity: 0.9;
}

.thumb-handle--resize {
    bottom: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, rgba(50, 76, 82, 0.92), rgba(18, 24, 28, 0.88));
    border: 1px solid rgba(200, 220, 212, 0.35);
    box-shadow: 0 6px 16px rgba(0,0,0,0.38);
}

.thumb-handle--resize::before {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(224, 238, 233, 0.85);
    border-bottom: 2px solid rgba(224, 238, 233, 0.85);
    transform: rotate(0deg);
}

/* Edge and corner resize handles */
.thumb-handle--resize-t { top: 6px; left: calc(50% - 11px); cursor: ns-resize; }
.thumb-handle--resize-r { right: 6px; top: calc(50% - 11px); cursor: ew-resize; }
.thumb-handle--resize-b { bottom: 6px; left: calc(50% - 11px); cursor: ns-resize; }
.thumb-handle--resize-l { left: 6px; top: calc(50% - 11px); cursor: ew-resize; }

.thumb-handle--resize-tl { top: 6px; left: 6px; cursor: nwse-resize; }
.thumb-handle--resize-tr { top: 6px; right: 6px; cursor: nesw-resize; }
.thumb-handle--resize-bl { bottom: 6px; left: 6px; cursor: nesw-resize; }

/* Floating toolbar for selected thumbnails */
.thumb-toolbar {
    position: absolute;
    top: 6px;
    right: 6px;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(10,12,14,0.65);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    z-index: 60;
}
.crime-thumbnail.thumb-selected .thumb-toolbar { display: none; }

/* Floating inspector overlay (outside the card, avoids clipping at edges) */
.floating-inspector {
  position: absolute;
  display: none !important;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(42,69,75,0.94), rgba(134,166,139,0.88));
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 2px 10px rgba(0,0,0,0.30), 0 0 0 1px rgba(245,239,229,0.20) inset;
  border: 1px solid rgba(245, 239, 229, 0.65);
  z-index: 2000;
  backdrop-filter: blur(4px) saturate(120%);
}

.floating-inspector.show {
  display: flex;
  align-items: center;
  animation: inspectorIn 160ms ease-out;
  will-change: transform, opacity;
}

.floating-inspector.fade-out {
  animation: inspectorOut 160ms ease-in;
  pointer-events: none;
}

@keyframes inspectorIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes inspectorOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.98); }
}

.floating-inspector .thumb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid rgba(245, 239, 229, 0.55);
  font-family: 'FantasmSecrets', 'AgencyCustom', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  text-shadow: 0 0 12px rgba(134,166,139,0.35);
  transition: background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.floating-inspector .thumb-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(245, 239, 229, 0.75);
  box-shadow: 0 0 0 1px rgba(245,239,229,0.35) inset, 0 8px 18px rgba(0,0,0,0.35);
}

.floating-inspector .thumb-btn:active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(245, 239, 229, 0.85);
  transform: translateY(0.5px);
}

.floating-inspector .thumb-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(245,239,229,0.65), 0 0 0 4px rgba(134,166,139,0.35);
}

/* Hide in-card toolbar when floating inspector is active to reduce clutter */
#crimeThumbnails.has-floating-inspector .crime-thumbnail.thumb-selected .thumb-toolbar {
  display: none;
}
/* Ensure the same behavior within detail collage container */
#detailCollage.has-floating-inspector .crime-thumbnail.thumb-selected .thumb-toolbar {
  display: none;
}

/* Always hide the in-card toolbar in detail view for a cleaner UX */
#detailCollage .crime-thumbnail.thumb-selected .thumb-toolbar {
  display: none;
}

/* Ephemeral rotation angle hint */
/* Grid size variants */
.grid-size-sm {
  grid-column: span 1;
  grid-row: span 1;
}
.grid-size-md {
  grid-column: span 1;
  grid-row: span 2;
}
.grid-size-lg {
  grid-column: span 2;
  grid-row: span 2;
}
.grid-size-xl {
  grid-column: span 2;
  grid-row: span 3;
}
/* Width-focused variants to better utilize horizontal space */
.grid-size-wide2 {
  grid-column: span 2;
  grid-row: span 1;
}
.grid-size-wide3 {
  grid-column: span 3;
  grid-row: span 1;
}

.thumb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(22,26,28,0.9);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.thumb-btn:hover { background: rgba(28,32,34,0.95); border-color: rgba(134,166,139,0.6); }
.thumb-btn:active { transform: scale(0.96); }

/* Slightly larger on hover/focus for discoverability */
.crime-thumbnail.thumb-selected .thumb-handle {
    display: flex;
    transform: scale(1.02);
}

/* Manipulating state: slight lift and emphasis */
.crime-thumbnail.manipulating {
    transform: rotate(var(--thumb-rotate, 0deg)) translateY(-2px) scale(1.01);
    box-shadow: 0 16px 36px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.2);
    filter: none;
}

/* Selected state: subtle emphasis and ring */
.crime-thumbnail.thumb-selected {
    border-color: rgba(134, 166, 139, 0.55);
    box-shadow: 0 20px 44px rgba(134,166,139,0.28), 0 8px 22px rgba(0,0,0,0.45);
    outline: 2px solid rgba(134,166,139,0.6);
    outline-offset: 2px;
}

/* Small on-card indicator for live feedback */
.thumb-indicator {
    position: absolute;
    top: -14px;
    left: 8px;
    padding: 4px 6px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1;
    color: #fff;
    background: rgba(12,14,16,0.65);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 50;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 120ms ease, transform 140ms ease;
    pointer-events: none;
    display: none !important;
}

.crime-thumbnail.manipulating .thumb-indicator {
    opacity: 1;
    transform: translateY(0);
}

/* Make only the title label open details */
.crime-thumbnail__label {
	position: absolute;
	left: 14px;
	bottom: 14px;
	right: 52px;
	padding: 9px 14px;
    border-radius: 10px;
    background: rgba(12,14,16,0.6);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    z-index: 30;
}

.crime-thumbnail__label:hover {
    background: rgba(0,0,0,0.75);
    border-color: rgba(134,166,139,0.5);
}

.crime-thumbnail.dragging {
    cursor: grabbing;
    transform: rotate(var(--thumb-rotate, 0deg)) translateY(-2px) scale(1.01);
    box-shadow: 0 14px 28px rgba(0,0,0,0.48);
    border-color: rgba(255,255,255,0.18);
    filter: none;
}

.crime-thumbnail:focus-visible {
    outline: 2px solid rgba(255,255,255,0.35);
    outline-offset: 4px;
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 20px 40px rgba(0,0,0,0.55);
}

.crime-thumbnail[data-role="you"]::before {
	content: none;
}

.crime-thumbnail::after {
	content: '';
	position: absolute;
	inset: -8px;
	border-radius: clamp(20px, 2.2vw, 28px);
	background: radial-gradient(ellipse at 50% 35%, rgba(255,255,255,0.5), rgba(255,255,255,0) 62%);
	opacity: 0;
	transform: translate3d(0,0,0) scale(0.75) rotate(0deg);
	box-shadow: none;
	filter: blur(18px);
	pointer-events: none;
	z-index: 1;
}

@keyframes thumbnailFadeIn {
	0% { opacity: 0; transform: translateY(20px) scale(0.95) rotate(var(--thumb-rotate, 0deg)); }
	100% { opacity: 1; transform: translateY(0) scale(1) rotate(var(--thumb-rotate, 0deg)); }
}

.crime-thumbnail:nth-child(1) { animation-delay: 0.05s; }
.crime-thumbnail:nth-child(2) { animation-delay: 0.1s; }
.crime-thumbnail:nth-child(3) { animation-delay: 0.15s; }
.crime-thumbnail:nth-child(4) { animation-delay: 0.2s; }
.crime-thumbnail:nth-child(5) { animation-delay: 0.25s; }
.crime-thumbnail:nth-child(6) { animation-delay: 0.3s; }
.crime-thumbnail:nth-child(7) { animation-delay: 0.35s; }
.crime-thumbnail:nth-child(8) { animation-delay: 0.4s; }
.crime-thumbnail:nth-child(9) { animation-delay: 0.45s; }
.crime-thumbnail:nth-child(10) { animation-delay: 0.5s; }

.crime-thumbnail.pulse-highlight {
    z-index: 48;
    box-shadow: 0 calc(var(--thumb-depth, 36px) * 1.4) calc(var(--thumb-depth, 36px) * 2.4) rgba(0,0,0,0.78);
}

.crime-thumbnail.pulse-highlight::before {
    --logo-blur: 2px;
    opacity: 0.76;
    transform: scale(1.26);
}

/* Ensure interaction states float to the top visually */
.crime-thumbnail:hover,
.crime-thumbnail.dragging,
.crime-thumbnail.pulse-highlight {
    z-index: 1000 !important;
}

.crime-thumbnail.pulse-highlight::after {
	opacity: calc(0.52 + var(--thumb-glow, 0.18));
	animation: spotlightSweep 2.4s ease-in-out forwards;
}

.crime-thumbnail.pulse-highlight img {
	animation: spotlightFocus 2.4s ease-in-out forwards;
}

.crime-thumbnail.pulse-highlight .crime-thumbnail__label {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.08s;
}

@keyframes spotlightSweep {
	0% {
		opacity: 0;
		transform: translate(-28%, -24%) scale(0.52);
		filter: blur(18px);
	}
	30% {
		opacity: 0.62;
		transform: translate(-16%, -6%) scale(0.9);
		filter: blur(13px);
	}
	60% {
		opacity: 0.78;
		transform: translate(0, 0) scale(1.08);
		filter: blur(8px);
	}
	85% {
		opacity: 0.32;
		transform: translate(4%, 9%) scale(1.28);
		filter: blur(14px);
	}
	100% {
		opacity: 0;
		transform: translate(8%, 16%) scale(1.42);
		filter: blur(22px);
	}
}

@keyframes spotlightFocus {
	0% {
		filter: brightness(0.9) contrast(1.02);
	}
	40% {
		filter: brightness(1.12) contrast(1.08) saturate(1.02);
	}
	70% {
		filter: brightness(1.04) contrast(1.06);
	}
	100% {
		filter: brightness(0.98) contrast(1.04);
	}
}


.crime-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: brightness(1) contrast(1);
    background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.05), rgba(0,0,0,0.65));
    display: block;
    position: relative;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* Restore company logos as subtle background overlays */
.crime-thumbnail-you::before {
    content: none;
}

.crime-thumbnail:hover::before,
.crime-thumbnail:focus-visible::before {
    --logo-blur: 0px;
    opacity: 0.66;
    transform: scale(1.02);
}

.crime-thumbnail:hover img,
.crime-thumbnail:focus-visible img {
    transform: scale(1.04);
    filter: brightness(1.06) drop-shadow(0 28px 48px rgba(0,0,0,0.7));
}

.crime-thumbnail__label {
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: 10%;
	padding: 8px 14px;
	border-radius: 14px;
	background: rgba(6, 10, 12, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(236, 241, 238, 0.9);
	text-align: center;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 3;
	pointer-events: auto;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.crime-thumbnail:hover .crime-thumbnail__label,
.crime-thumbnail__label:focus-visible {
	opacity: 1;
	transform: translateY(0);
}

.crime-thumbnail__label:focus-visible {
	outline: 2px solid rgba(134, 166, 139, 0.8);
	outline-offset: 2px;
}

.crime-thumbnail-you {
    background: linear-gradient(145deg, rgba(134,166,139,0.88), rgba(42,69,75,0.92));
    border-color: rgba(245, 239, 229, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(16px, 3vw, 28px);
}

.crime-thumbnail-you .crime-thumbnail-you-label {
    font-family: 'FantasmSecrets', 'AgencyCustom', 'Roboto Slab', serif;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-shadow:
        0 8px 18px rgba(0,0,0,0.45),
        0 0 16px rgba(134,166,139,0.55);
}

.crime-thumbnail-you:hover {
    background: linear-gradient(145deg, rgba(134,166,139,0.96), rgba(42,69,75,0.98));
    box-shadow: 0 38px 70px rgba(0,0,0,0.7);
}

/* Ensure thumbnails render crisply */
.crime-thumbnail {
	min-width: 0;
	min-height: 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1fr;
		height: auto;
		justify-items: center;
		text-align: center;
	}
	
	.hero-left {
		align-items: center;
	}
	
	.hero-right {
		width: 100%;
	}
	
	.app {
		align-items: flex-start;
		padding-top: 120px;
	}
	
	.center-column {
		padding-bottom: 220px;
	}
	
	.character-right {
		position: static;
		width: min(520px, 90%);
		margin: 0 auto;
		top: auto;
		right: auto;
		bottom: auto;
		background: linear-gradient(160deg, rgba(12, 14, 17, 0.88), rgba(10, 12, 14, 0.82));
	}
	
	.character-rail {
		max-height: 360px;
	}
	
	.character-card {
		padding: 12px 14px;
	}
	
	.crime-detail-content {
		grid-template-columns: 1fr;
		height: auto;
		max-height: calc(100vh - (2 * clamp(30px, 5vw, 60px)));
		gap: 20px;
		overflow-y: auto;
	}

	.crime-detail-left {
		padding: clamp(22px, 5vw, 32px);
	}

	.crime-detail-right {
		width: 100%;
		padding: clamp(10px, 2.4vw, 22px) 0 0;
	}

	.crime-detail-right::before {
		display: none;
	}

	.detail-polaroids {
		width: 100%;
		min-height: clamp(420px, 60vh, 720px);
	}

	.detail-polaroids::before {
		inset: clamp(18px, 6vw, 32px);
	}
	
	.crime-detail-nav {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	
	.crime-nav-btn {
		justify-content: center;
		width: 100%;
	}
	
	.crime-nav-status {
		order: -1;
	}
	
	#crimeThumbnails,
    #detailCollage {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
        gap: 12px;
        width: 100% !important;
        left: 0 !important;
        height: auto !important;
        min-height: auto !important;
        margin-top: 0 !important;
    }
	
	.crime-thumbnail {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		width: 100% !important;
		height: 100% !important;
	}
	
	/* Make some thumbnails span wider on tablet */
	.crime-thumbnail:nth-child(1),
	.crime-thumbnail:nth-child(5),
	.crime-thumbnail:nth-child(9) {
		grid-column: span 2 !important;
	}

	#detailCollage.detail-collage--scatter {
		display: grid;
		padding: 0;
		border: none;
		box-shadow: none;
		backdrop-filter: none;
		min-height: auto;
		margin-left: 0;
		margin-right: 0;
	}

	#detailCollage.detail-collage--scatter .crime-thumbnail,
	#detailCollage.detail-collage--scatter .crime-thumbnail-you {
		position: relative;
		cursor: pointer;
		transform: none;
	}
}

@media (max-width: 640px) {
	.discord-btn span { display: none; }
	.ticker-wrapper { padding: 12px 10px; }
	.ticker { gap: 12px; }
	.ticker-item { height: 80px; padding: 8px 14px; }
	.ticker-item img { max-height: 64px; }
	
	.hero-choice {
		flex-direction: column;
	}
	
	.character-right {
		width: 100%;
		padding: 18px 16px;
		border-radius: 18px;
	}
	
	.character-card {
		padding: 12px 12px;
	}
	
	.experience-gate__choices {
		flex-direction: column;
	}
	
	.experience-gate__btn {
		min-width: 0;
		width: min(240px, 80vw);
	}
	
	.video-controls {
		padding: 8px 14px;
		gap: 8px;
	}
	
	.volume-slider {
		width: 60px;
	}
	
	.crime-grid {
		gap: 20px;
	}
	
	.crime-card {
		min-height: 200px;
	}
	
	#crimeThumbnails,
    #detailCollage { 
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 10px;
        margin-left: 0;
    }
	
	.crime-thumbnail:nth-child(1),
	.crime-thumbnail:nth-child(5),
	.crime-thumbnail:nth-child(9) {
		grid-column: span 2 !important;
		grid-auto-rows: 200px;
	}
	
	.crime-detail-left h1 {
		font-size: clamp(32px, 10vw, 48px);
	}

	.crime-detail-left {
		padding: clamp(20px, 6vw, 28px);
	}

	.content-text {
		padding: clamp(16px, 6vw, 26px);
	}
	
	.crime-back, .crime-close {
		width: 40px;
		height: 40px;
		font-size: 22px;
	}
	
	.crime-back {
		top: 16px;
		right: 16px;
	}
	
	.crime-detail-nav {
		gap: 16px;
		padding: 18px;
	}
	
	.crime-nav-btn {
		padding: 12px 16px;
	}
	
	.crime-nav-status-title {
		font-size: clamp(20px, 8vw, 26px);
	}
}

/* Mobile Overlay */
.mobile-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: var(--bg);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.mobile-overlay__content {
	text-align: center;
	max-width: 600px;
	padding: 60px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.mobile-overlay__logo {
	width: min(400px, 80vw);
	height: auto;
	max-width: 100%;
}

.mobile-overlay__title {
	font-family: 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: clamp(28px, 6vw, 42px);
	font-weight: 700;
	color: var(--text);
	margin: 0;
	line-height: 1.3;
}

.mobile-overlay__message {
	font-family: 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-size: clamp(18px, 4vw, 24px);
	font-weight: 400;
	color: var(--text);
	margin: 0;
	line-height: 1.6;
	opacity: 0.85;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ==================== END CRIME DETAIL ==================== */
.hero-card__single-logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card__single-logo::before {
    content: '?';
    font-family: 'AgencyCustom', 'FantasmSecrets', 'Roboto Slab', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(140px, 22vw, 420px);
    line-height: 1;
    letter-spacing: 0em;
    background: linear-gradient(135deg, rgba(134,166,139,0.95), rgba(42,69,75,0.85));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 0.5px rgba(234,241,237,0.22);
    text-shadow: 0 12px 28px rgba(0,0,0,0.55);
    opacity: 0.66;
    animation: qmGlow 3.6s ease-in-out infinite;
    transform: translateY(0);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.28s ease, opacity 0.28s ease;
}

.hero-card__single-logo::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 72%;
    height: 72%;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.55), rgba(196,230,205,0.28) 35%, rgba(134,166,139,0.16) 55%, rgba(0,0,0,0) 70%);
    mix-blend-mode: screen;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.hero-card--placeholder:hover .hero-card__single-logo::before,
.hero-card--placeholder:focus-visible .hero-card__single-logo::before {
    transform: translateY(-8px);
    opacity: 0.9;
    text-shadow: 0 14px 34px rgba(0,0,0,0.6);
}

.hero-card--placeholder:hover .hero-card__single-logo::after,
.hero-card--placeholder:focus-visible .hero-card__single-logo::after {
    opacity: 0.88;
    transform: translate(-50%, -52%) scale(1.05);
}

.hero-card__placeholder-text {
	position: absolute;
	left: 24px;
	bottom: 24px;
	font-family: 'AgencyB', sans-serif;
	font-size: 25px;
	font-weight: bold;
	letter-spacing: 0.18em;
	background: linear-gradient(180deg, rgba(234,241,237,1), rgba(180,209,189,0.95));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 4px 16px rgba(0,0,0,0.5);
	z-index: 2;
	pointer-events: none;
	text-align: left;
	line-height: 1.3;
	animation: textPulse 2s ease-in-out infinite alternate;
}

/* Grid splitting effect */
.hero-card--splitting {
	cursor: pointer;
}

.split-grid {
	display: grid;
	width: 100%;
	height: 100%;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	padding: 8px;
	box-sizing: border-box;
	background: transparent;
	animation: gridAppear 0.3s ease-out forwards;
}

.split-panel {
	background: transparent;
	border-radius: 8px;
	border: 1px solid rgba(134, 166, 139, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	animation: panelAppear 0.2s ease-out forwards;
}

.split-grid--level-1 .split-panel,
.split-grid--level-2 .split-panel,
.split-grid--level-3 .split-panel,
.split-grid--level-4 .split-panel {
	border: none;
}

.split-panel:hover {
	transform: scale(1.03);
}

.split-panel__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60%;
	height: 60%;
	font-family: 'AgencyB', sans-serif;
	font-size: clamp(24px, 8vw, 48px);
	font-weight: bold;
	color: rgba(234, 241, 237, 0.95);
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	opacity: 0.95;
	z-index: 2;
	position: relative;
}

.split-panel__backdrop {
	position: absolute;
	inset: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 75% auto;
	opacity: 0.6;
	z-index: 0;
	pointer-events: none;
	display: block;
	width: 100%;
	height: 100%;
}

.split-panel__image {
	display: block;
	width: 70%;
	height: 70%;
	object-fit: contain;
	z-index: 1;
	position: relative;
	opacity: 0.88;
	mix-blend-mode: normal;
}

.split-grid--level-2 .split-panel__logo {
	font-size: clamp(18px, 6vw, 36px);
}

.split-grid--level-3 .split-panel__logo {
	font-size: clamp(14px, 4vw, 24px);
}

.split-grid--level-4 .split-panel__logo {
	font-size: clamp(10px, 2vw, 16px);
}

@keyframes gridAppear {
	0% { opacity: 0; transform: scale(0.95); }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes panelAppear {
	0% { opacity: 0; transform: scale(0.9); }
	100% { opacity: 1; transform: scale(1); }
}

.split-panel--splitting {
	animation: panelSplit 0.2s ease forwards;
}

@keyframes panelSplit {
	0% { transform: scale(1); }
	50% { transform: scale(0.95); }
	100% { transform: scale(1); }
}

/* Centered Shuffle button for split grid */
.split-shuffle {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 80;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	font-family: 'AgencyCustom', 'Roboto Slab', 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #0c1214;
	background: linear-gradient(135deg, rgba(134,166,139,0.96), rgba(54,90,98,0.96));
	border: 1px solid rgba(197,230,205,0.85);
	box-shadow: 0 16px 40px rgba(134,166,139,0.35), 0 2px 0 rgba(255,255,255,0.08) inset;
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.split-shuffle:hover {
	transform: translate(-50%, -50%) translateY(-2px);
	box-shadow: 0 22px 54px rgba(134,166,139,0.45), 0 2px 0 rgba(255,255,255,0.1) inset;
}


.split-shuffle:disabled {
	opacity: 0.8;
	cursor: default;
}

/* When UI is hidden for interaction, make shuffle non-interactive */
.split-ui-hidden .split-shuffle {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.96);
}

.split-shuffle__icon {
	font-size: 16px;
	transform-origin: center;
}

.split-shuffle.is-rolling .split-shuffle__icon {
	animation: splitSpin 0.8s linear infinite;
}

@keyframes splitSpin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Selected panel highlight after shuffle */
.split-panel--selected {
	outline: 3px solid rgba(197,230,205,0.9);
	outline-offset: -3px;
	box-shadow: 0 18px 48px rgba(134,166,139,0.35);
	transform: scale(1.03);
	animation: splitSelectedPop 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes splitSelectedPop {
	0% { transform: scale(0.98); filter: brightness(0.98) contrast(1.02); }
	60% { transform: scale(1.05); filter: brightness(1.06) contrast(1.08); }
	100% { transform: scale(1.03); filter: none; }
}


/* Adjustments for deeper levels */
.split-grid--level-2 .split-panel__logo {
	width: 50%;
	height: 50%;
}

.split-grid--level-3 .split-panel__logo {
	width: 40%;
	height: 40%;
}

.split-grid--level-4 .split-panel__logo {
	width: 30%;
	height: 30%;
}




/* Remove duplicate - using styles defined earlier */
.detail-inline-hero {
  display: none !important;
}