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

body {
	line-height: 1.65;
	min-height: 100vh;
	position: relative;
	color: #f8fafc;
	overflow: hidden;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
}

.page-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
	transition: all 0.65s cubic-bezier(0.3, 0.95, 0.45, 0.95);
}

.page-background {
	background-image: url("/img/bg.webp");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: brightness(0.6) contrast(1.1);
}

.cookies-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.65);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 1000;
	backdrop-filter: blur(8px);
}

.cookies-modal {
	background: linear-gradient(
		165deg,
		rgba(48, 30, 59, 0.95) 0%,
		rgba(34, 15, 42, 0.95) 100%
	);
	color: #f1f5f9;
	padding: 2.8rem;
	border-radius: 16px;
	max-width: 520px;
	width: 90%;
	position: relative;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.07);
	animation: modalSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	background-image: radial-gradient(
			circle at 15% 15%,
			rgba(16, 185, 129, 0.1) 0%,
			transparent 35%
		),
		radial-gradient(
			circle at 85% 80%,
			rgba(14, 165, 233, 0.08) 0%,
			transparent 35%
		);
}

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

.cookies-modal::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	background: #ff8d7d;
	z-index: -1;
	border-radius: 18px;
	opacity: 0.4;
	filter: blur(6px);
}

.cookies-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 1.8rem;
	text-align: center;
}

.cookies-icon {
	width: 58px;
	height: 58px;
	margin-bottom: 1.2rem;
}

.cookies-icon svg {
	width: 100%;
	height: 100%;
	fill: #ff8d7d;
	filter: drop-shadow(0 3px 5px rgba(185, 69, 16, 0.25));
}

.cookies-title {
	font-family: "Roboto", sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: #f8fafc;
	width: 100%;
	text-align: center;
}

.cookies-close {
	position: absolute;
	right: 1.5rem;
	top: 1.5rem;
	background: rgba(255, 255, 255, 0.12);
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
	transition: all 0.35s ease;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 50%;
	line-height: 1;
	backdrop-filter: blur(4px);
}

.cookies-close:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg);
}

.cookies-content {
	margin-bottom: 2.2rem;
	line-height: 1.75;
	font-size: 1.05rem;
	color: #e2e8f0;
}

.cookies-link {
	color: #ff8d7d;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px dashed #edb49a;
	transition: all 0.25s ease;
}

.cookies-link:hover {
	color: #f08e68;
	border-bottom: 1px solid #f08868;
}

.cookies-actions {
	display: flex;
	justify-content: center;
}

.cookies-accept {
	display: inline-block;
	padding: 0.95rem 2.5rem;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 500;
	text-align: center;
	min-width: 200px;
	transition: all 0.3s ease;
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: linear-gradient(to right, #ee8a5c, #ecb08d);
	color: white;
	box-shadow: 0 10px 15px rgba(150, 63, 5, 0.3);
	position: relative;
	overflow: hidden;
	text-decoration: none;
}

.cookies-accept:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 25px rgba(150, 46, 5, 0.4);
}

.cookies-accept::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 30%;
	height: 100%;
	background: rgba(255, 255, 255, 0.2);
	transform: skewX(-25deg);
	transition: 0.75s;
}

.cookies-accept:hover::after {
	left: 130%;
}

@media (max-width: 767px) {
	.cookies-modal {
		padding: 2.2rem 1.8rem;
		width: 92%;
	}

	.cookies-header {
		margin-bottom: 1.5rem;
	}

	.cookies-title {
		font-size: 1.5rem;
	}

	.cookies-content {
		font-size: 1rem;
		line-height: 1.7;
		margin-bottom: 2rem;
	}

	.cookies-accept {
		width: 100%;
		padding: 0.85rem 1.8rem;
		font-size: 1rem;
	}

	.cookies-icon {
		width: 50px;
		height: 50px;
		margin-bottom: 1rem;
	}
}

@keyframes pulseButton {
	0% {
		box-shadow: 0 0 0 0 rgba(185, 83, 16, 0.6);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}

.pulse-animation {
	animation: pulseButton 2s infinite;
}

.sidebar {
	position: fixed;
	right: 50%;
	bottom: 0;
	transform: translateX(50%);
	z-index: 1000;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	font-weight: 500;
	padding-right: 16px;
	margin-block: 10px;
	color: #e2e8f0;
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: space-between;

	a {
		color: currentColor;
		text-decoration: none;
		margin-block: 10px;
		transition: color 0.3s ease;

		&:hover {
			color: #eda69a;
		}
	}
}
