/*
* Custom look — loaded after style.css and brands.css so it overrides both.
*/

/* Animated dark gradient background */
:root.theme-dark body {
	min-height: 100vh;
	background: linear-gradient(135deg, #0f0c29, #302b63, #24243e, #1a0533);
	background-size: 300% 300%;
	animation: bg-shift 14s ease infinite;
	color: #ffffff;
}

@keyframes bg-shift {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Heading */
.page-heading {
	font-size: var(--scale-4);
	font-weight: 800;
	margin: var(--spacing-l) 0 var(--spacing-xl) 0;
	background: linear-gradient(90deg, #ff8a00, #e52e71, #9b5cff);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #e52e71; /* fallback */
}

.page-heading .arrow {
	display: inline-block;
	-webkit-text-fill-color: initial;
	animation: bounce 1.2s ease-in-out infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(8px); }
}

@media (max-width: 34.375rem) {
	.page-heading {
		font-size: var(--scale-3);
	}
}

/* Buttons — full-width glassy pills with glow */
.button {
	width: 100%;
	max-width: none;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
.button:active {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

/* Highlighted post-search CTA */
.button-highlight {
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	border: 2px solid rgba(255, 255, 255, 0.55);
	box-shadow:
		0 0 0 0 rgba(225, 0, 255, 0.55),
		0 6px 28px rgba(0, 0, 0, 0.45);
	animation: highlight-pulse 1.6s ease-in-out infinite;
}

.button-highlight .icon {
	width: 1.35rem;
	height: 1.35rem;
}

.button-highlight-text {
	display: inline-block;
	animation: highlight-text 1.4s ease-in-out infinite;
}

.button-highlight:hover,
.button-highlight:active {
	transform: translateY(-4px) scale(1.03);
	box-shadow:
		0 0 28px rgba(225, 0, 255, 0.65),
		0 10px 32px rgba(0, 0, 0, 0.55);
}

@keyframes highlight-pulse {
	0%, 100% {
		box-shadow:
			0 0 12px rgba(225, 0, 255, 0.35),
			0 6px 28px rgba(0, 0, 0, 0.45);
	}
	50% {
		box-shadow:
			0 0 28px rgba(255, 138, 0, 0.7),
			0 8px 32px rgba(0, 0, 0, 0.5);
	}
}

@keyframes highlight-text {
	0%, 100% { transform: scale(1); opacity: 1; }
	50%      { transform: scale(1.06); opacity: 0.92; }
}

/* Non-Telegram links: purple/pink gradient */
.button-default {
	--button-background: linear-gradient(90deg, #7f00ff, #e100ff);
	--button-text: #ffffff;
	background: linear-gradient(90deg, #7f00ff, #e100ff);
	color: #ffffff;
}

/* Telegram links: blue/cyan gradient */
.button-telegram {
	--button-background: linear-gradient(90deg, #0088cc, #00c6ff);
	--button-text: #ffffff;
	background: linear-gradient(90deg, #0088cc, #00c6ff);
	color: #ffffff;
}

/* Footer */
footer {
	color: rgba(255, 255, 255, 0.55);
}

/* Landing page — single converting composition */
.landing-page {
	position: relative;
	background: #0f0c29;
	animation: none;
}

.landing-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.landing-bg-image {
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(48vw, 26rem);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	opacity: 0.92;
}

.landing-bg-image--left {
	left: 0;
	background-image: url("../images/bg/collage-left.jpg");
	mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
}

.landing-bg-image--right {
	right: 0;
	background-image: url("../images/bg/collage-right.jpg");
	mask-image: linear-gradient(270deg, #000 55%, transparent 100%);
	-webkit-mask-image: linear-gradient(270deg, #000 55%, transparent 100%);
}

.landing-bg-veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at center, rgba(8, 5, 28, 0.72) 0%, rgba(8, 5, 28, 0.42) 48%, rgba(8, 5, 28, 0.18) 100%);
}

.landing-page .landing-container {
	display: flex;
	align-items: flex-start;
	min-height: 100vh;
	position: relative;
	z-index: 1;
	padding-top: 1.5rem;
	padding-bottom: 2rem;
}

.links-locked {
	overflow: hidden;
	height: 100dvh;
}

.links-locked .landing-container {
	align-items: center;
	min-height: 100dvh;
	padding-top: 0;
	padding-bottom: 0;
}

.links-locked .landing-cta {
	display: none;
}

.landing-page .landing-container .column,
.landing-page .landing-main,
.landing-page footer {
	position: relative;
	z-index: 1;
}

@media (max-width: 48rem) {
	.landing-bg-image {
		width: 72vw;
		opacity: 0.85;
	}

	.landing-bg-image--left {
		mask-image: linear-gradient(90deg, #000 40%, transparent 95%);
		-webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 95%);
	}

	.landing-bg-image--right {
		mask-image: linear-gradient(270deg, #000 40%, transparent 95%);
		-webkit-mask-image: linear-gradient(270deg, #000 40%, transparent 95%);
	}

	.landing-bg-veil {
		background:
			radial-gradient(ellipse at center, rgba(8, 5, 28, 0.78) 0%, rgba(8, 5, 28, 0.45) 55%, rgba(8, 5, 28, 0.16) 100%);
	}
}

.landing-main {
	width: 100%;
	padding: 2.5rem 0 1.5rem;
	text-align: center;
	animation: landing-rise 0.7s ease-out both;
}

.landing-copy {
	margin: 0 auto;
	padding: 1.25rem 1.2rem 1.2rem;
	max-width: 24rem;
	hyphens: none;
	border-radius: 1.5rem;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.18) 0%,
		rgba(255, 255, 255, 0.06) 40%,
		rgba(20, 10, 40, 0.28) 100%
	);
	backdrop-filter: blur(22px) saturate(1.35);
	-webkit-backdrop-filter: blur(22px) saturate(1.35);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.landing-heading {
	font-size: clamp(1.7rem, 6.4vw, 2.35rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 0 0 0.7rem;
	color: #ffffff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
	hyphens: none;
}

.landing-heading-line,
.landing-heading-amp {
	display: block;
}

.landing-heading-amp {
	margin: 0.08em 0;
	font-size: 0.72em;
	font-weight: 700;
	color: #ffb347;
	text-shadow: 0 0 18px rgba(255, 138, 0, 0.55);
}

.landing-heading-line--accent {
	background: linear-gradient(90deg, #ffb347 0%, #ff5cab 45%, #c084ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #ff5cab;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.landing-subhead {
	max-width: 22rem;
	margin: 0 auto 1.1rem;
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.5;
	color: #f3f0ff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.landing-cta {
	margin: 1.35rem auto 0;
	max-width: 24rem;
	scroll-margin-top: 1.25rem;
}

.landing-cta .button:last-child {
	margin-bottom: 0;
}

.landing-page .container p.landing-subhead {
	margin: 0 auto 1.1rem;
}

.landing-page .container p.landing-hint {
	margin: 0 0 0.3rem;
}

.landing-page .container p.landing-social-proof {
	margin: 0;
}

.landing-page .container p.landing-no-spam {
	margin: 0.28rem 0 0;
}

.landing-page .container p.landing-age {
	margin: 0 auto 0.65rem;
}

.landing-age {
	display: inline-block;
	padding: 0.18rem 0.6rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
	background: rgba(229, 46, 113, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	text-shadow: none;
}

.landing-unlock {
	display: inline-flex;
	flex-direction: column;
	width: 100%;
	margin: 0 0 0.7rem;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
	font-size: 1.35rem;
	text-decoration: none;
}

.landing-unlock-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.12rem;
	line-height: 1.15;
}

.landing-unlock-sub {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: lowercase;
	opacity: 0.95;
}

.landing-unlock:hover,
.landing-unlock:active {
	color: #ffffff;
	text-decoration: none;
}

.landing-button {
	font-size: 1.45rem;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.landing-hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #ffe08a;
	text-shadow: 0 0 16px rgba(255, 180, 40, 0.45);
	animation: hint-glow 1.6s ease-in-out infinite;
}

.landing-social-proof {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #c8f7c5;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.landing-no-spam {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #ffe08a;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.landing-page footer {
	margin: 1.25rem 0 0;
}

.landing-hint-text {
	display: inline-block;
}

.landing-hint .arrow {
	display: inline-block;
	animation: bounce 1.2s ease-in-out infinite;
}

@keyframes hint-glow {
	0%, 100% { opacity: 0.88; transform: translateY(0); }
	50%      { opacity: 1; transform: translateY(-2px); }
}

@keyframes landing-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
