/* ═══════════════════════════════════════════════════════════════════════════
   ОСНОВНЫЕ СТИЛИ ШАБЛОНА V3
   Базовые стили для чёрной темы - минималистичный дизайн
   ═══════════════════════════════════════════════════════════════════════════ */

* {
	font-family: 'Raleway', sans-serif;
	font-style: normal;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BODY - ОСНОВА
   ───────────────────────────────────────────────────────────────────────────── */
body {
	background: 
		radial-gradient(ellipse at top left, rgba(30, 41, 59, 0.5) 0%, transparent 50%),
		radial-gradient(ellipse at bottom right, rgba(15, 23, 42, 0.6) 0%, transparent 50%),
		radial-gradient(ellipse at center, rgba(20, 20, 30, 0.3) 0%, transparent 70%),
		linear-gradient(180deg, #0a0a0f 0%, #111118 50%, #0d0d12 100%);
	background-color: #0a0a0f;
	background-attachment: fixed;
	word-break: break-word;
	position: relative;
	color: #ffffff;
	font-weight: normal;
	font-style: normal;
	font-size: 16px;
	min-height: 100vh;
}

a {
	color: #006FFF;
	transition: color 0.3s ease;
}

a:hover {
	color: #0055CC;
}

body > .container {
	min-height: calc(100vh - 80px - 232px);
	position: relative;
	z-index: 5;
}

/* ─────────────────────────────────────────────────────────────────────────────
   НАВИГАЦИЯ
   ───────────────────────────────────────────────────────────────────────────── */
.navbar {
	height: 100px;
	min-height: 100px;
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	background: transparent;
	padding-top: 10px;
}

.navbar:after {
	display: none;
}

.navbar .navbar-wrapper {
	display: flex;
}

.navbar .navbar-wrapper .nav-brand {
	font-size: 36px;
	font-weight: 900;
	padding: 0;
	height: auto;
	line-height: normal;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-style: italic;
}

.navbar .navbar-wrapper > .nav-left {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ОНЛАЙН БЕЙДЖ
   ───────────────────────────────────────────────────────────────────────────── */
.online-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid #22c55e;
	border-radius: 25px;
	box-shadow: 
		0 4px 15px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 600;
	color: #888888;
	animation: online-pulse 2s ease-in-out infinite;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

@keyframes online-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
	}
}

.online-badge i {
	color: #22c55e;
	font-size: 14px;
}

.online-badge span {
	text-transform: uppercase;
}

.online-badge strong {
	color: #ffffff;
	font-weight: 700;
}

.navbar .navbar-wrapper > .nav-left,
.navbar .navbar-wrapper > .nav-right {
	display: flex;
	align-items: center;
	font-weight: 700;
	font-size: 16px;
	line-height: 19px;
	color: #666666;
}

.navbar .navbar-wrapper > .nav-right {
	margin-left: auto;
	display: flex;
	align-items: center;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ГЛАВНАЯ НАВИГАЦИЯ
   ───────────────────────────────────────────────────────────────────────────── */
.main-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.main-nav > a {
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 22px;
	border-radius: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
}

.main-nav > a i {
	font-size: 16px;
}

.main-nav > a:hover {
	color: #ffffff;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.main-nav > a.active {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-divider {
	width: 1px;
	height: 24px;
	background-color: #333333;
	margin: 0 10px;
}

body.dark-theme .navbar #light {
	display: none;
}

body:not(.dark-theme) .navbar #dark {
	display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   АДМИН МЕНЮ
   ───────────────────────────────────────────────────────────────────────────── */
.admin-menu {
	position: relative;
}

.admin-menu::after {
	content: '';
	position: absolute;
	top: 100%;
	left: -10px;
	right: -10px;
	height: 12px;
	background: transparent;
	z-index: 999;
}

.admin-menu > a {
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 22px;
	border-radius: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-menu > a:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
	border-color: rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

.admin-menu > a.active {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 0;
	background: linear-gradient(145deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 10px;
	min-width: 200px;
	box-shadow: 
		0 20px 50px rgba(0, 0, 0, 0.6),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	z-index: 1000;
}

.admin-dropdown::before {
	content: '';
	position: absolute;
	top: -12px;
	left: -10px;
	right: -10px;
	height: 12px;
	background: transparent;
}

.admin-menu:hover .admin-dropdown {
	display: block;
}

.admin-dropdown a {
	display: block;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	font-weight: 500;
	padding: 12px 16px;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.admin-dropdown a:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
	color: #ffffff;
}

.navbar .navbar-wrapper .nav-mobile {
	height: 44px;
	width: 44px;
	min-width: 44px;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background-color: transparent;
	border: none;
	border-radius: 0;
	line-height: normal;
	margin-left: 20px;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	transition: all 0.3s ease;
	padding: 8px;
}

.navbar .navbar-wrapper .nav-mobile .burger-line {
	display: block;
	width: 28px;
	height: 2px;
	background-color: #ffffff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.navbar .navbar-wrapper .nav-mobile:hover .burger-line {
	background-color: #cccccc;
}

/* Анимация бургера в крестик */
.navbar.open .navbar-wrapper .nav-mobile .burger-line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.navbar.open .navbar-wrapper .nav-mobile .burger-line:nth-child(2) {
	opacity: 0;
}

.navbar.open .navbar-wrapper .nav-mobile .burger-line:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}


/* ─────────────────────────────────────────────────────────────────────────────
   ФУТЕР
   ───────────────────────────────────────────────────────────────────────────── */
footer {
	min-height: 232px;
	padding-top: 43px;
	border-top: 1px solid #1a1a1a;
	position: relative;
	background-color: #000000;
}

footer > .scrolltop {
	display: flex;
	width: 50px;
	height: 50px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #006FFF;
	background-image: url("../img/arrow-up.svg");
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: -25px;
	left: calc(50% + 754px + 75px);
	box-shadow: 0 4px 20px rgba(0, 111, 255, 0.3);
	transition: all 0.3s ease;
}

footer > .scrolltop:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 25px rgba(0, 111, 255, 0.4);
}

footer > .container {
	display: flex;
	align-items: center;
}

footer > .container.footer-top {
	justify-content: space-between;
}

footer > .container.footer-top > .block-left {
	display: flex;
	gap: 49px;
}

footer > .container.footer-top > .block-left > .pages-links {
	display: flex;
	align-items: center;
	gap: 32px;
}

footer > .container.footer-top > .block-left > .pages-links > li {
	list-style: none;
}

footer > .container.footer-top > .block-left > .pages-links > li > a {
	display: block;
	color: #666666;
	transition: color 0.3s ease;
}

footer > .container.footer-top > .block-left > .pages-links > li > a:hover {
	color: #ffffff;
}

footer > .container.footer-top > .block-left > .pages-links > li .pic {
	vertical-align: bottom;
}

footer > .container.footer-top > .block-right {
	display: flex;
	align-items: center;
}

footer > .container.footer-top > .block-right .local-pages {
	display: flex;
	gap: 20px;
	flex-direction: column;
}

footer > .container.footer-top > .block-right .local-pages > li {
	list-style: none;
}

footer > .container.footer-bottom > .block-right a {
	list-style: none;
	font-weight: 500;
	font-size: 16px;
	display: flex;
	align-items: center;
	text-align: right;
	color: #666666;
	justify-content: end;
	transition: color 0.3s ease;
}

footer > .container.footer-bottom > .block-right a:hover {
	color: #ffffff;
}

footer > .container.footer-bottom {
	display: flex;
	align-items: end;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	color: #666666;
	padding-top: 20px;
	font-family: Montserrat, sans-serif;
	position: relative;
}

footer > .container.footer-bottom * {
	font-family: Montserrat, sans-serif;
}

footer > .container.footer-bottom > .block-left {
	width: 360px;
	max-width: 100%;
}

footer > .container.footer-bottom > .block-center {
	margin-left: 120px;
}

footer > .container.footer-bottom > .block-right {
	margin-left: auto;
}

footer > .container.footer-bottom > .block-dev {
	padding-right: 20px;
	display: flex;
	align-items: center;
	height: 40px;
	position: absolute;
	bottom: 100%;
	right: 0;
}

footer > .container.footer-bottom > .block-dev .dev {
	display: block;
	background-image: none;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 37px;
	height: 28px;
	opacity: 0.3;
	filter: invert(1);
	transition: all 450ms cubic-bezier(.23,1,.32,1) 0s;
}

footer > .container.footer-bottom > .block-dev .dev:hover {
	opacity: 0.7;
}

footer > .container.footer-bottom .cards {
	display: flex;
	gap: 30px;
	align-items: center;
}

footer > .container.footer-bottom .cards > li {
	filter: saturate(0%) brightness(0.5);
	-webkit-filter: saturate(0%) brightness(0.5);
	height: 36px;
	transition: filter 0.3s ease;
}

footer > .container.footer-bottom .cards > li:hover {
	filter: saturate(0%) brightness(0.8);
}

footer > .container.footer-bottom .cards > li {
	list-style: none;
	background-image: url("../img/visa.svg");
	width: 104px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

footer > .container.footer-bottom .cards > li.mastercard {
	background-image: url("../img/mastercard.svg");
	width: 48px;
}

footer > .container.footer-bottom .cards > li.mir {
	background-image: url("../img/mir.svg");
	width: 136px;
	height: 40px;
}

footer .logo {
	font-size: 32px;
	font-weight: 700;
	padding: 0;
	height: auto;
	line-height: normal;
	color: #ffffff;
	display: block;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ФУТЕР - НОВЫЙ ДИЗАЙН
   ───────────────────────────────────────────────────────────────────────────── */
.footer {
    padding: 60px 0 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.4) 0%, rgba(15, 15, 20, 0.7) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        #0044AA, 
        #006FFF, 
        #3388FF, 
        #4D99FF, 
        #3388FF, 
        #006FFF, 
        #0044AA
    );
    background-size: 200% 100%;
    animation: footer-gradient-flow 3s linear infinite;
}

@keyframes footer-gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.footer .footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
}

.footer .footer-info {
    max-width: 400px;
}

.footer .footer-brand {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: italic;
    margin-bottom: 12px;
    text-decoration: none;
}

.footer .footer-brand:hover {
    color: #ffffff;
}

.footer .footer-legal {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

.footer .footer-socials {
    display: flex;
    gap: 16px;
}

.footer .social-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer .social-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.footer .social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer .social-icon.telegram {
    background: linear-gradient(135deg, rgba(42, 171, 238, 0.8) 0%, rgba(34, 158, 217, 0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

.footer .social-icon.vk {
    background: linear-gradient(135deg, rgba(76, 117, 163, 0.8) 0%, rgba(59, 89, 152, 0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

.footer .social-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer .social-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer .social-handle {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.footer .social-handle i {
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.6;
}

.footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
}

.footer .footer-links {
    display: flex;
    gap: 32px;
}

.footer .footer-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 8px 14px;
    border-radius: 8px;
}

.footer .footer-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.footer .footer-cards {
    display: flex;
    gap: 24px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .footer-cards > li {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0%) brightness(0.5);
    transition: filter 0.3s ease;
}

.footer .footer-cards > li:hover {
    filter: saturate(0%) brightness(0.8);
}

.footer .footer-cards > li.visa {
    background-image: url("../img/visa.svg");
    width: 70px;
    height: 24px;
}

.footer .footer-cards > li.mastercard {
    background-image: url("../img/mastercard.svg");
    width: 32px;
    height: 24px;
}

.footer .footer-cards > li.mir {
    background-image: url("../img/mir.svg");
    width: 90px;
    height: 26px;
}

.footer .footer-copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .footer .footer-main {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer .footer-socials {
        flex-wrap: wrap;
    }
    
    .footer .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
    
    .footer .footer-cards {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer .footer-socials {
        flex-direction: column;
        width: 100%;
    }
    
    .footer .social-card {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ИКОНКИ
   ───────────────────────────────────────────────────────────────────────────── */
.pic {
	background-position: center;
	display: inline-block;
	background-repeat: no-repeat;
}

.pic.pic-telegram,
.pic.pic-telegram-gray {
	background-image: url("../img/telegram.svg");
	width: 22px;
	height: 22px;
}

.pic.pic-vk,
.pic.pic-vk-gray {
	background-image: url("../img/vk.svg");
	width: 22px;
	height: 22px;
}

.pic.pic-telegram-gray {
	background-image: url("../img/telegram-gray.svg");
}

.pic.pic-vk-gray {
	background-image: url("../img/vk-gray.svg");
}

.pic.pic-moon,
.pic.pic-sun {
	background-image: url("../img/sun.svg");
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background-color: #0a0a0a;
	border: 1px solid #1a1a1a;
}

.pic.pic-moon {
	background-image: url("../img/moon.svg");
}

/* Анимации для иконок социальных сетей и смены темы */
.navbar-social > li > a {
	transition: all 0.3s ease;
	position: relative;
}

.navbar-social > li > a:hover {
	opacity: 0.8;
}

/* Анимация для иконки VK */
.navbar-social > li > a:hover .pic-vk {
	animation: vk-bounce 0.6s ease-in-out;
}

@keyframes vk-bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-5px);
	}
	60% {
		transform: translateY(-2px);
	}
}

/* Анимация для иконки Telegram */
.navbar-social > li > a:hover .pic-telegram {
	animation: telegram-shake 0.5s ease-in-out;
}

@keyframes telegram-shake {
	0%, 100% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(-8deg);
	}
	75% {
		transform: rotate(8deg);
	}
}

/* Анимация для иконки солнца */
.navbar-social > li > a:hover .pic-sun {
	animation: sun-rotate 0.8s ease-in-out;
}

@keyframes sun-rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Анимация для иконки луны */
.navbar-social > li > a:hover .pic-moon {
	animation: moon-glow 0.6s ease-in-out;
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes moon-glow {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
	}
	50% {
		box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   ФОРМЫ И ИНПУТЫ
   ───────────────────────────────────────────────────────────────────────────── */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
	height: 60px;
	border-radius: 10px;
	border: 1px solid #1a1a1a;
	background-color: #0a0a0a;
	font-weight: 600;
	font-size: 14px;
	line-height: 16px;
	font-style: normal;
	color: #ffffff;
	padding: 0 25px;
	display: flex;
	align-items: center;
	box-shadow: none;
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
	box-shadow: 0 0 0 2px rgba(0, 111, 255, 0.15);
	border-color: #006FFF;
	outline: none;
}

textarea {
	align-items: start;
	padding: 21px 25px;
	min-width: 60px;
	min-height: 60px;
	scrollbar-width: thin;
}

input::placeholder,
textarea::placeholder {
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 16px;
	font-style: normal;
	color: #666666;
}

select {
	padding: 0 31px;
	display: flex;
	align-items: center;
	color: #666666;
}

input[type="text"]:focus:valid,
input[type="number"]:focus:valid,
input[type="email"]:focus:valid,
input[type="tel"]:focus:valid,
select:focus:valid,
textarea:focus:valid {
	border-color: #22c55e;
	background-color: rgba(34, 197, 94, 0.05);
}

/* ─────────────────────────────────────────────────────────────────────────────
   УВЕДОМЛЕНИЯ (ALERTS)
   ───────────────────────────────────────────────────────────────────────────── */
.alert {
	position: fixed;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 400px;
	width: calc(100% - 32px);
	right: 20px !important;
	left: auto !important;
	top: 20px !important;
	bottom: auto !important;
	transform: none !important;
}

.alert-id {
	position: relative;
	background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
	border: 1px solid #2a2a2a;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 
		0 20px 50px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	animation: alertSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

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

/* Красная полоса слева */
.alert-id::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
	border-radius: 16px 0 0 16px;
}

.alert-content {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	padding-left: 8px;
}

.alert-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 16px;
	padding-top: 14px;
	padding-left: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.alert-footer .block-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.alert-footer .block-left::before {
	content: "!";
	width: 24px;
	height: 24px;
	min-width: 24px;
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	line-height: 24px;
	text-align: center;
}

.alert-footer .block-left .title {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #ef4444;
}

.alert-footer .block-left .title:empty::after {
	content: "Ошибка";
}

.alert-footer .block-right .btn {
	padding: 8px 16px;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.alert-footer .block-right .btn:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.25);
}

/* Фиксы для главной страницы */
body .alert[data-placement] {
	position: fixed !important;
	top: 20px !important;
	right: 20px !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 999999 !important;
}

body .alert[data-placement] .alert-footer {
	flex-direction: row !important;
}

body .alert[data-placement] .alert-footer .block-left {
	flex-direction: row !important;
}

body .alert[data-placement] .alert-footer .block-right .btn {
	display: inline-block !important;
	padding: 10px 20px !important;
	height: auto !important;
	min-height: auto !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ТУЛТИПЫ
   ───────────────────────────────────────────────────────────────────────────── */
.tooltip {
	z-index: 50;
	background-color: #1a1a1a;
	color: #ffffff;
	border: 1px solid #333333;
}

.textarea textarea {
	white-space: pre;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ОКНА
   ───────────────────────────────────────────────────────────────────────────── */
.window {
	border-radius: 0;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
	background-color: #0a0a0a;
	background-image: none;
	padding: 80px;
	border: 1px solid #1a1a1a;
}

.checkbox-style input:checked + .checkbox-style-checked {
	background-color: #006FFF;
}

.checkbox-style .checkbox-style-checked, .radio-style .checkbox-style-checked {
	border-color: #006FFF;
}

/* ─────────────────────────────────────────────────────────────────────────────
   МОДАЛЬНЫЕ ОКНА
   ───────────────────────────────────────────────────────────────────────────── */
.modal {
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 200 !important;
}

.modal > .wrapper {
	width: 740px;
	max-width: 100%;
	scrollbar-width: thin;
	max-height: 100%;
}

.modal > .wrapper > .modal-content {
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
	border-radius: 0;
	background-color: #0a0a0a;
	background-image: none;
	padding: 80px;
	position: relative;
	border: 1px solid #1a1a1a;
}

.modal > .wrapper > .modal-content > .close-modal {
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	width: 80px;
	height: 80px;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #666666;
	font-size: 36px;
	transition: color 0.3s ease;
}

.modal > .wrapper > .modal-content > .close-modal:hover {
	color: #ffffff;
}

.modal > .wrapper > .modal-content > .close-modal > .close-icon {
	font-size: 24px;
	padding-bottom: 6px;
}

.modal > .wrapper > .modal-content > .modal-description {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 25px;
	text-align: center;
	padding-bottom: 40px;
	padding-top: 17px;
	color: #999999;
}

.modal > .wrapper > .modal-content > .modal-header {
	text-align: left;
	color: #ffffff;
	font-weight: 700;
	font-size: 32px;
	line-height: 38px;
	display: flex;
	align-items: start;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	padding: 0;
	border: 0;
}

.modal > .wrapper > .modal-content > .modal-footer {
	border: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   КАСТОМНЫЙ СЕЛЕКТ
   ───────────────────────────────────────────────────────────────────────────── */
.custom-select[data-custom-select-id] {
	display: none;
}

.custom-select-render {
	display: flex;
	height: 60px;
	width: 100%;
	font-weight: 600;
	font-size: 14px;
	line-height: 58px;
	cursor: pointer;
	position: relative;
	border: 1px solid #1a1a1a;
	background-color: #0a0a0a;
	border-radius: 10px;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: all 0.3s ease;
}

.custom-select-render:hover {
	border-color: #333333;
}

.custom-select-render:after {
	content: "";
	width: 8px;
	height: 8px;
	border: 1px solid #666666;
	border-left: transparent;
	border-top: transparent;
	transform: rotate(45deg);
	position: absolute;
	top: 23px;
	right: 20px;
	z-index: 3;
	pointer-events: none;
	transition: all 450ms cubic-bezier(.23,1,.32,1) 0s;
}

.custom-select-render.active:after {
	transform: rotate(225deg);
	top: 27px;
}

.custom-select-render > .select-wrapper {
	color: #ffffff;
	position: relative;
	z-index: 2;
	border-radius: 10px;
	padding: 0 31px;
	width: 100%;
}

.custom-select-render > .select-items {
	display: none;
	position: absolute;
	width: calc(100% + 2px);
	max-height: 240px;
	overflow: auto;
	scrollbar-width: thin;
	background-color: #0a0a0a;
	border: 1px solid #1a1a1a;
	border-radius: 10px;
	padding: 14px 0;
	left: -1px;
	top: 100%;
	margin-top: 14px;
	z-index: 3;
	cursor: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.custom-select-render.active > .select-items {
	display: block;
}

.custom-select-render.active > .select-items > li {
	list-style: none;
	height: 50px;
	display: flex;
	width: 100%;
	position: relative;
	align-items: center;
	font-weight: 600;
	font-size: 14px;
	line-height: 58px;
	padding: 0 31px;
	color: #666666;
	cursor: pointer;
	transition: all 300ms ease;
}

.custom-select-render.active > .select-items > li.selected,
.custom-select-render.active > .select-items > li:hover {
	color: #ffffff;
	background-color: #1a1a1a;
}

.custom-select-render.active > .select-items > li:after {
	content: "";
	display: block;
	width: 137px;
	height: 1px;
	position: absolute;
	left: calc(50% - 68px);
	bottom: 0;
	background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.custom-select-render.active > .select-items > li:last-child:after {
	display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   СЛАЙДЕР RANGE
   ───────────────────────────────────────────────────────────────────────────── */
.range-datalist {
	display: block;
	width: 100%;
	height: 20px;
	background-repeat: repeat-x;
	background-position: top left;
	background-image: url("../img/range.png");
	margin-top: 19px;
	filter: invert(1);
	opacity: 0.3;
}

.range-max {
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 18px;
	line-height: 25px;
	display: flex;
	color: #666666;
	position: absolute;
	right: 0;
	bottom: 100%;
	margin-bottom: 10px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   СТАТИЧЕСКИЕ СТРАНИЦЫ
   ───────────────────────────────────────────────────────────────────────────── */
.static-page {
	padding: 59px 0;
}

.static-page > .pagename {
	position: relative;
	display: inline-flex;
	gap: 30px;
	align-items: center;
}

.static-page > .pagename > h1 {
	color: #ffffff;
	font-weight: 700;
	font-size: 40px;
	line-height: 47px;
}

.static-page > .pagename > .lastmod {
	font-weight: 600;
	font-size: 14px;
	line-height: 129.4%;
	color: #006FFF;
}

.static-page ul {
	padding-bottom: 20px;
}

.static-page ul > li {
	list-style: none;
}

.static-page > .description {
	width: 975px;
	max-width: 100%;
	font-weight: 600;
	font-size: 14px;
	line-height: 129.4%;
	color: #999999;
	padding-top: 34px;
}

.static-page > .section {
	padding-top: 52px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 33px;
	color: #cccccc;
}

.static-page a {
	text-decoration: underline;
}

.static-page .text-light {
	color: #666666;
}

.static-page .orange-subtext {
	color: #006FFF;
}

.static-page h4 {
	display: block;
	padding-bottom: 20px;
	color: #ffffff;
	font-weight: 700;
	font-size: 30px;
	line-height: 37px;
}

.static-page > .section .section-tabs .tabs > .tab-links {
	background-color: transparent;
	padding: 0;
	border-bottom: 1px solid #1a1a1a;
}

.static-page > .section .section-tabs .tabs > .tab-links > li .tab-link {
	color: #666666;
	font-size: 20px;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	position: relative;
	top: 1px;
	transition: all 0.3s ease;
}

.static-page > .section .section-tabs .tabs > .tab-links > li .tab-link.active {
	color: #ffffff;
	border-color: #006FFF;
}

.static-page > .section .section-tabs .tabs > .tab-links > li .tab-link:hover {
	color: #ffffff;
}

.static-page > .section .section-tabs .tabs .section-tab-name {
	font-size: 28px;
	color: #ffffff;
	display: block;
	padding-bottom: 20px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   СТИЛИ ДЛЯ СОЦИАЛЬНЫХ ССЫЛОК В НАВИГАЦИИ
   ───────────────────────────────────────────────────────────────────────────── */
.nav-link-social {
	display: flex !important;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
}

.nav-icon-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	transition: all 0.3s ease;
}

.nav-text {
	font-weight: inherit;
	transition: all 0.3s ease;
}

/* Цвет иконок в цвет текста */
.nav-link-social .pic {
	filter: brightness(0) saturate(100%) invert(50%);
	transition: all 0.3s ease;
}

/* Hover эффекты для социальных ссылок */
.nav-link-social:hover .pic {
	filter: brightness(0) saturate(100%) invert(100%);
}

/* Анимации для иконок при наведении */
.nav-link-social:hover .pic-vk {
	animation: vk-bounce 0.6s ease-in-out;
}

.nav-link-social:hover .pic-telegram {
	animation: telegram-shake 0.5s ease-in-out;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.nav-link-social {
		gap: 6px;
	}
	
	.nav-icon-container {
		width: 18px;
		height: 18px;
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   СКРОЛЛБАР
   ───────────────────────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background-color: #0a0a0a;
}

::-webkit-scrollbar-thumb {
	background-color: #333333;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #006FFF;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ВЫДЕЛЕНИЕ ТЕКСТА
   ───────────────────────────────────────────────────────────────────────────── */
::selection {
	background-color: #006FFF;
	color: #ffffff;
}

::-moz-selection {
	background-color: #006FFF;
	color: #ffffff;
}
