* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #0a0a0a;
	min-height: 100vh;
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
	overflow-x: hidden;
	position: relative;
}

/* Animated Background */
.animated-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
}

.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.6;
	animation: float 20s ease-in-out infinite;
}

.blob-1 {
	width: 400px;
	height: 400px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	top: -100px;
	left: -100px;
	animation-delay: 0s;
	animation-duration: 25s;
}

.blob-2 {
	width: 500px;
	height: 500px;
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	top: 50%;
	right: -150px;
	animation-delay: -5s;
	animation-duration: 30s;
}

.blob-3 {
	width: 350px;
	height: 350px;
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	bottom: -50px;
	left: 30%;
	animation-delay: -10s;
	animation-duration: 28s;
}

.blob-4 {
	width: 450px;
	height: 450px;
	background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
	top: 30%;
	left: 50%;
	animation-delay: -15s;
	animation-duration: 32s;
}

@keyframes float {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}
	25% {
		transform: translate(50px, -50px) scale(1.1);
	}
	50% {
		transform: translate(-30px, 30px) scale(0.9);
	}
	75% {
		transform: translate(-50px, -30px) scale(1.05);
	}
}

.gradient-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Content Wrapper */
.content-wrapper {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 40px 20px 20px;
}

/* Header */
.header {
	text-align: center;
	margin-bottom: 40px;
	animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-bottom: 15px;
}

.logo-text {
	font-size: 36px;
	font-weight: 700;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	background-size: 200% auto;
	animation: gradientShift 5s ease infinite;
	text-align: center;
}

@keyframes gradientShift {
	0%, 100% {
		background-position: 0% center;
	}
	50% {
		background-position: 100% center;
	}
}

.subtitle {
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	font-weight: 400;
}

/* Container */
.container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 900px;
	width: 100%;
	margin: 0 auto 40px;
	animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Buttons */
.btn {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
	border: 1px solid rgba(102, 126, 234, 0.3);
	border-radius: 20px;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.4s ease;
	backdrop-filter: blur(10px);
}

.btn::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.6s ease;
	z-index: 2;
}

.btn:hover::before {
	left: 100%;
}

.btn:hover {
	transform: translateY(-8px);
	border-color: rgba(102, 126, 234, 0.6);
	box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.btn:active {
	transform: translateY(-4px);
}

.btn-gif {
	width: 100%;
	height: 100px;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-gif img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.btn:hover .btn-gif img {
	transform: scale(1.1);
}

.btn-text {
	padding: 15px 20px;
	font-size: 15px;
	text-align: center;
	width: 100%;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 0 0 20px 20px;
}

.btn-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	border-color: rgba(100, 100, 100, 0.3);
	background: linear-gradient(135deg, rgba(50, 50, 50, 0.2) 0%, rgba(40, 40, 40, 0.2) 100%);
}

.btn-disabled:hover {
	transform: none;
	box-shadow: none;
	border-color: rgba(100, 100, 100, 0.3);
}

.btn-disabled:hover .btn-gif img {
	transform: none;
}

/* Banners */
.banner-top,
.banner-bottom {
	max-width: 900px;
	margin: 0 auto 30px;
	padding: 20px;
	background: rgba(20, 20, 20, 0.8);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	width: 100%;
	animation: fadeIn 1s ease 0.6s both;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.banner-top {
	margin-top: 20px;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Yandex Banner */
.yandex-banner {
	margin-top: auto;
	padding: 20px;
	background: rgba(20, 20, 20, 0.8);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	animation: fadeIn 1s ease 0.6s both;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Footer */
.footer {
	text-align: center;
	padding: 20px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
	margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
	.container {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.logo-text {
		font-size: 28px;
	}

	.subtitle {
		font-size: 16px;
	}

	.btn {
		padding: 0;
	}

	.btn-gif {
		height: 100px;
	}

	.btn-text {
		padding: 12px 15px;
		font-size: 14px;
	}

	.banner-top,
	.banner-bottom {
		padding: 15px;
		min-height: 80px;
	}
}

@media (max-width: 480px) {
	.container {
		grid-template-columns: 1fr;
	}

	.header {
		margin-bottom: 20px;
	}

	.logo-text {
		font-size: 24px;
	}

	.subtitle {
		font-size: 14px;
	}

	.btn-gif {
		height: 120px;
	}

	.banner-top,
	.banner-bottom {
		padding: 10px;
		min-height: 70px;
	}
}
