:root {
	--bg-primary: #0a0612;
	--bg-card: #1a0f23dd;
	--color-text: #ffeef8;
	--color-text-secondary: #e6c5d8;
	--color-btn-yes: #ff4458;
	--color-btn-yes-hover: #ff2a42;
	--color-btn-yes-active: #e6003d;
	--color-btn-no: #6b5b7a;
	--color-btn-no-hover: #554866;
	--color-btn-no-active: #423752;
	--border-radius: 16px;
	--border-radius-btn: 12px;
	--transition-speed: 0.2s;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	background: var(--bg-primary);
	color: var(--color-text);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	will-change: transform;
	background: radial-gradient(
			1000px 600px at 20% 15%,
			rgba(255, 68, 120, 0.45),
			transparent 65%
		),
		radial-gradient(
			900px 700px at 80% 70%,
			rgba(180, 58, 255, 0.4),
			transparent 65%
		),
		radial-gradient(
			800px 800px at 50% 100%,
			rgba(255, 20, 147, 0.38),
			transparent 60%
		),
		linear-gradient(165deg, #1a0a2e 0%, #0f0518 50%, #0a0412 100%);
}

.bg::before {
	content: "";
	position: absolute;
	inset: -20%;
	background: radial-gradient(
			ellipse at 25% 25%,
			rgba(255, 105, 180, 0.12),
			rgba(0, 0, 0, 0) 45%
		),
		radial-gradient(
			ellipse at 75% 75%,
			rgba(186, 85, 211, 0.1),
			rgba(0, 0, 0, 0) 50%
		);
	filter: blur(20px) saturate(1.3);
	opacity: 0.65;
	transform: scale(1.08);
	pointer-events: none;
	will-change: transform;
}

.bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
			circle at 50% 50%,
			rgba(255, 20, 147, 0.08),
			transparent 40%
		),
		rgba(0, 0, 0, 0.3);
	pointer-events: none;
}

.gate {
	position: fixed;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	padding: 24px;
}

.card {
	width: 100%;
	max-width: 400px;
	background: var(--bg-card);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1.5px solid rgba(255, 105, 180, 0.15);
	border-radius: var(--border-radius);
	padding: 28px 20px;
	text-align: center;
	box-shadow: 0 12px 40px rgba(255, 20, 147, 0.25),
		0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	margin-inline: auto;
	transform: translateZ(0);
	will-change: transform;
}

@media (min-width: 480px) {
	.card {
		max-width: 480px;
		padding: 32px 28px;
	}
}

.title {
	margin: 0 0 12px;
	font-size: clamp(22px, 5.5vw, 28px);
	font-weight: 700;
	line-height: 1.2;
	background: linear-gradient(135deg, #fff 0%, #ffb3d9 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.desc {
	margin: 0 0 24px;
	color: var(--color-text-secondary);
	font-size: clamp(15px, 3.8vw, 17px);
	line-height: 1.6;
}

.row {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
}

@media (min-width: 480px) {
	.row {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}
}

button,
.btn {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	background-clip: padding-box;
	outline: none;
}

.btn {
	border-radius: var(--border-radius-btn);
	padding: 15px 16px;
	font-weight: 700;
	font-size: clamp(16px, 4.2vw, 18px);
	cursor: pointer;
	transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	transform: translateZ(0);
	will-change: transform, box-shadow;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.15) 0%,
		transparent 100%
	);
	opacity: 0;
	transition: opacity var(--transition-speed) ease;
}

.btn:focus {
	outline: none;
}

.btn:focus-visible {
	outline: 3px solid rgba(255, 68, 88, 0.6);
	outline-offset: 3px;
}

.btn:active {
	transform: translateY(2px) translateZ(0);
}

.yes {
	background: linear-gradient(135deg, var(--color-btn-yes) 0%, #ff2a6e 100%);
	color: #ffffff;
	font-size: clamp(17px, 4.5vw, 19px);
	box-shadow: 0 8px 24px rgba(255, 68, 88, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (hover: hover) and (pointer: fine) {
	.yes:hover {
		background: linear-gradient(
			135deg,
			var(--color-btn-yes-hover) 0%,
			#ff0055 100%
		);
		box-shadow: 0 12px 32px rgba(255, 68, 88, 0.6),
			0 4px 12px rgba(0, 0, 0, 0.35);
		transform: translateY(-2px) translateZ(0);
	}

	.yes:hover::before {
		opacity: 1;
	}
}

.yes:active {
	background: linear-gradient(
		135deg,
		var(--color-btn-yes-active) 0%,
		#cc0044 100%
	);
	box-shadow: 0 4px 12px rgba(255, 68, 88, 0.35),
		inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.no {
	background: linear-gradient(135deg, var(--color-btn-no) 0%, #5a4a69 100%);
	color: #e6d5f0;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (hover: hover) and (pointer: fine) {
	.no:hover {
		background: linear-gradient(
			135deg,
			var(--color-btn-no-hover) 0%,
			#4a3a59 100%
		);
		box-shadow: 0 10px 28px rgba(107, 91, 122, 0.35);
		border-color: rgba(255, 255, 255, 0.12);
		transform: translateY(-2px) translateZ(0);
	}

	.no:hover::before {
		opacity: 0.8;
	}
}

.no:active {
	background: linear-gradient(
		135deg,
		var(--color-btn-no-active) 0%,
		#3a2a49 100%
	);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

noscript {
	display: block;
	padding: 20px;
	text-align: center;
	background: #ff4458;
	color: #fff;
	font-weight: 700;
}
