body {
    background-color: var(--main-bg);
	transition: all 0.4s ease;
}

.halloween {
	position: fixed; /* фиксируем по экрану */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* чтобы картинка заполняла экран красиво */
	z-index: -1; /* отправляем под весь контент */
	pointer-events: none; /* отключаем клики, hover и т.д. */
	user-select: none; /* не выделяется */
	opacity: var(--helloween-opacity); /* чуть прозрачности для мягкости */
	margin-bottom: 50px;
}



/* HEADER */
.header-wrapper {
	margin: 20px;
}

.header {
	background-color: var(--header-bg);
	border-radius: 20px;
	padding: 10px;
	box-shadow: 0 0 16px rgba(0,0,0,0.4);
	box-sizing: border-box;
	user-select: none;
}

.header__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0 10px;
	box-sizing: border-box;
	gap: 20px;
}

.header__content-logo {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
}

.header__content-logo-img {
	width: 100%;
	height: 100%;
	border-radius: 20px;
	object-fit: cover;
	user-select: none;
	pointer-events: none;
}

.header__content-nav {
	display: flex;
	align-items: center;
	gap: 25px;
	flex-grow: 1;
	justify-content: center;
}

.nav-link {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	font-family: 'MontserratAlternates', sans-serif;
	font-weight: 500;
	font-size: 17px;
	color: var(--header-nav-and-icon);
	transition: all 0.5s;
	white-space: nowrap;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 1px;
	width: 100%;
	background-color: var(--header-active-nav-and-hover);
	transform: translateX(-100%);
	transition: transform 0.4s ease;
	pointer-events: none;
}

.nav-link:hover::after {
	transform: translateX(0%);
}

.nav-link:hover {
	color: var(--header-active-nav-and-hover);
}

.nav-link:hover .dropdown-icon {
	fill: var(--header-active-nav-and-hover);
}

.nav-link__active {
	color: var(--header-active-nav-and-hover);
}

.dropdown-icon {
	height: 20px;
	width: 20px;
	flex-shrink: 0;
	flex-grow: 0;
	fill: var(--header-nav-and-icon);
	transition: all 0.4s;
}

/* ВЫПАДАЮЩЕЕ МЕНЮ */
.dropdown-panel {
	position: absolute;
	top: 100%; /* появляется ниже хедера */
	left: auto;
	right: auto;
	min-width: 300px;
	background: var(--standart-block);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease, transform 0.4s ease;
	transform: translateY(-10px);
	z-index: 999;
}

.dropdown-panel.active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.dropdown-panel-inner {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.drop-link {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 19px;
	color: var(--header-nav-and-icon);
	transition: all 0.3s;
}

.drop-link:hover {
	color: var(--header-active-nav-and-hover);
	text-decoration: underline;
}


.dropdown-link .dropdown-icon.rotate {
	transform: rotate(180deg);
}

/* стиль стоп */

.header__content-buttons {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-shrink: 0;
}

.header__button {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: var(--header-nav-and-icon);
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.4s;
}

.header__button svg {
	height: 32px;
	width: 32px;
	flex-shrink: 0;
	flex-grow: 0;
	fill: var(--header-nav-and-icon);
	transition: all 0.4s;
}

.header__button:hover {
	color: var(--header-active-nav-and-hover);
}

.header__button svg:hover {
	fill: var(--header-active-nav-and-hover);
}

/* ГИРЛЯНДЫ */
.christmas-garland {
    position: relative;
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
}

.garland-wire {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        #2c2c2c, #5a5a5a, #2c2c2c, #5a5a5a, 
        #2c2c2c, #5a5a5a, #2c2c2c);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    box-sizing: border-box;
}

.light-bulb {
    position: relative;
    width: 20px;
    height: 35px;
    animation: bulbSwing 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.3s);
    transform-origin: top center;
}

/* Верх лампочки (цоколь) */
.bulb-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 10px;
    background: #8B4513;
    border-radius: 2px 2px 0 0;
    z-index: 2;
}

/* Тело лампочки */
.bulb-body {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 22px;
    background: var(--color);
    border-radius: 50% 50% 40% 40%;
    animation: bulbGlow 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
    box-shadow: 
        inset 0 0 10px rgba(255,255,255,0.3),
        0 0 15px var(--color),
        0 0 30px var(--color);
    transition: all 0.3s ease;
}

/* Блики на лампочке */
.bulb-reflection {
    position: absolute;
    top: 12px;
    left: 55%;
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    transform: rotate(20deg);
    z-index: 1;
}

/* Проводок от лампочки к гирлянде */
.light-bulb::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
    background: #666;
    z-index: 1;
}

/* Анимации */
@keyframes bulbGlow {
    0%, 100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
        box-shadow: 
            inset 0 0 10px rgba(255,255,255,0.3),
            0 0 10px var(--color),
            0 0 20px var(--color);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
        box-shadow: 
            inset 0 0 15px rgba(255,255,255,0.5),
            0 0 20px var(--color),
            0 0 40px var(--color),
            0 0 60px var(--color);
    }
}

@keyframes bulbSwing {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

/* Эффект при наведении */
.light-bulb:hover .bulb-body {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 
        inset 0 0 20px rgba(255,255,255,0.6),
        0 0 30px var(--color),
        0 0 50px var(--color),
        0 0 70px var(--color);
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .christmas-garland {
        height: 40px;
    }
    
    .light-bulb {
        width: 16px;
        height: 28px;
    }
    
    .bulb-body {
        width: 14px;
        height: 18px;
    }
    
    .bulb-top {
        width: 6px;
        height: 8px;
    }
    
    .garland-wire {
        top: 12px;
    }
}

/* Дополнительный эффект - искры */
.light-bulb::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.5s);
}

@keyframes sparkle {
    0%, 90%, 100% {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }
    95% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* MAIN CONTENT */
.main-content {
	display: flex;
	flex-direction: column;
}

.landing {
	padding: 0px 40px;
	margin-bottom: 150px;
}

.landing__content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
    margin: 0 auto;
}

.landing__content-title {
	font-family: 'MontserratAlternates', sans-serif;
	font-weight: 600;
	font-size: 40px;
	margin-bottom: 10px;
	color: var(--title-and-accent-color);
    text-shadow: 
        0 0 5px #a0d2eb,
        0 0 10px #a0d2eb,
        0 0 15px #a0d2eb,
        0 0 20px #00b4d8,
        0 0 35px #00b4d8,
        0 0 40px #00b4d8,
        0 0 50px #0096c7,
        0 0 75px #0096c7;
    background: linear-gradient(45deg, #a0d2eb, #e4f1fe, #a0d2eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iceGlow 3s ease-in-out infinite alternate;
}

@keyframes iceGlow {
    from {
        text-shadow: 
            0 0 5px #a0d2eb,
            0 0 10px #a0d2eb,
            0 0 15px #a0d2eb,
            0 0 20px #00b4d8;
    }
    to {
        text-shadow: 
            0 0 10px #a0d2eb,
            0 0 20px #a0d2eb,
            0 0 30px #a0d2eb,
            0 0 40px #00b4d8,
            0 0 70px #00b4d8,
            0 0 80px #00b4d8;
    }
}

.landing__content-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 18px;
	color: var(--other-and-color);
	max-width: 700px;
}

.landing__content-image {
    width: 100%;
    height: auto;
    max-width: 300px;
	user-select: none;
	pointer-events: none;
}



/* Defend */
.defend {
	padding: 0px 40px;
	margin-bottom: 150px;
}

.defend__content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
    margin: 0 auto;
}

.defend__content-title {
	font-family: 'MontserratAlternates', sans-serif;
	font-weight: 600;
	font-size: 40px;
	margin-bottom: 30px;
	color: var(--title-and-accent-color);
	white-space: nowrap;
    text-shadow: 
        0 0 5px #a0d2eb,
        0 0 10px #a0d2eb,
        0 0 15px #a0d2eb,
        0 0 20px #00b4d8,
        0 0 35px #00b4d8,
        0 0 40px #00b4d8,
        0 0 50px #0096c7,
        0 0 75px #0096c7;
    background: linear-gradient(45deg, #a0d2eb, #e4f1fe, #a0d2eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iceGlow 3s ease-in-out infinite alternate;
}

@keyframes iceGlow {
    from {
        text-shadow: 
            0 0 5px #a0d2eb,
            0 0 10px #a0d2eb,
            0 0 15px #a0d2eb,
            0 0 20px #00b4d8;
    }
    to {
        text-shadow: 
            0 0 10px #a0d2eb,
            0 0 20px #a0d2eb,
            0 0 30px #a0d2eb,
            0 0 40px #00b4d8,
            0 0 70px #00b4d8,
            0 0 80px #00b4d8;
    }
}

.defend__content-articles {
	display: flex;
	flex-direction: column;
}

.defend-link {
	text-decoration: none;
	display: block;
}

.defend-help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	padding: 21px 20px;
	border-radius: 20px;
	gap: 15px;
	background-color: var(--standart-block);
	transition: background-color 0.3s ease;
	box-shadow: 0 0 16px rgba(0,0,0,0.2);
	margin-bottom: 20px;
	max-width: 750px;
}

.defend-help__left {
	display: flex;
	align-items: center;
	gap: 15px;
}

.defend-heart {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	fill: var(--title-and-accent-color);
	transition: transform 0.3s ease;
}

.defend-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 17px;
	color: var(--other-and-color);
	transition: color 0.4s ease;
}

.defend-arrow {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	fill: var(--other-and-color);
	transition: all 0.3s ease;
}

.defend-link:hover .defend-text {
	color: var(--title-and-accent-color);
}

.defend-link:hover .defend-arrow {
	transform: scale(1.12);
	fill: var(--title-and-accent-color);
}

.defend__content-image {
    width: 100%;
    height: auto;
    max-width: 300px;
	user-select: none;
	pointer-events: none;
}



/* GET-REQUEST */
.getrequest {
	padding: 0px 40px;
	margin-bottom: 170px;
}

.getr__content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    margin: 0 auto;
}

.getr__content-title {
	font-family: 'MontserratAlternates', sans-serif;
	font-weight: 600;
	font-size: 40px;
	margin-bottom: 30px;
	color: var(--title-and-accent-color);
	white-space: nowrap;
    text-shadow: 
        0 0 5px #a0d2eb,
        0 0 10px #a0d2eb,
        0 0 15px #a0d2eb,
        0 0 20px #00b4d8,
        0 0 35px #00b4d8,
        0 0 40px #00b4d8,
        0 0 50px #0096c7,
        0 0 75px #0096c7;
    background: linear-gradient(45deg, #a0d2eb, #e4f1fe, #a0d2eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iceGlow 3s ease-in-out infinite alternate;
}

@keyframes iceGlow {
    from {
        text-shadow: 
            0 0 5px #a0d2eb,
            0 0 10px #a0d2eb,
            0 0 15px #a0d2eb,
            0 0 20px #00b4d8;
    }
    to {
        text-shadow: 
            0 0 10px #a0d2eb,
            0 0 20px #a0d2eb,
            0 0 30px #a0d2eb,
            0 0 40px #00b4d8,
            0 0 70px #00b4d8,
            0 0 80px #00b4d8;
    }
}

.getr__content-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 18px;
	max-width: 850px;
	margin-bottom: 40px;
	color: var(--other-and-color);
}

.getr__content-button {
	display: inline-flex;
	flex-direction: row;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 20px;
	padding: 16px 40px;
	background-color: var(--title-and-accent-color);
	color: var(--button-and-second-color);
	transition: all 0.7s;
}

.getr__content-button:hover {
	border-radius: 50px;
	background-color: var(--other-and-color);
}

body.dark-theme .getr__content-button:hover {
	border-radius: 50px;
	background-color: #000000;
}

.getr__content-button:active {
	transform: scale(0.95);
}


/* footer */
.footer-wrapper {
	margin: 20px; /* отступ вокруг хедера */
}

.footer {
    background-color: var(--standart-block);
    box-shadow: 0 0 16px rgba(0,0,0,0.25);
    border-radius: 30px;
    padding: 30px 40px;
    width: 100%;
    font-family: 'MontserratAlternates', sans-serif;
    color: var(--other-and-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Основной верхний блок футера */
.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Левая часть: логотип и описание */
.footer-logo-block {
    flex: 1 1 250px;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: 12px;
}

.footer-logo h1 {
    font-weight: 600;
    font-size: 25px;
    color: var(--title-and-accent-color);
}

.footer-copy-text {
    font-weight: 600;
    font-size: 19px;
    color: var(--other-and-color);
    margin-top: 15px;
    max-width: 400px;
}

.footer-doc-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 15px;
}

.footer-doc-links a {
	font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--nav-and-three-color);
    text-decoration: none;
    transition: color 0.4s;
}

.footer-doc-links a:hover {
    color: var(--title-and-accent-color);
}

/* Группа ссылок по категориям */
.footer-links-group {
    display: flex;
    flex: 3 1 600px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-links-block {
    flex: 1 1 150px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-title {
	font-family: 'MontserratAlternates', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--other-and-color);
}

.footer-links-block ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links-block li a {
	font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: var(--nav-and-three-color);
    text-decoration: none;
    transition: color 0.4s;
}

.footer-links-block li a:hover {
    color: var(--title-and-accent-color);
}

/* Нижняя часть футера */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
}

.footer-bottom-left {
    font-weight: 600;
    font-size: 18px;
    color: var(--other-and-color);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 18px;
    color: var(--other-and-color);
    flex-wrap: wrap;
}

.footer-bottom-right a {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--studio-color);
    text-decoration: none;
    gap: 3px;
    transition: color 0.3s;
}

.footer-bottom-right a:hover {
	text-decoration: underline;
}

.footer-bottom-right img {
    width: 33px;
    height: 33px;
	border-radius: 12px;
    object-fit: contain;
}



/* ОТДЕЛЬНО */
input {
	color: var(--other-and-color);
}


/* БУРГЕР */
.burger-menu {
    display: none;
}

.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

/* SVG бургер */
.burger-icon {
    fill: var(--header-nav-and-icon);
    transition: transform 0.4s ease;
}

.burger-icon .line {
    transition: all 0.4s ease;
    transform-origin: center;
}

.burger-btn.open .burger-icon .top {
    transform: translateY(20px) rotate(45deg);
}

.burger-btn.open .burger-icon .middle {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.open .burger-icon .bottom {
    transform: translateY(-20px) rotate(-45deg);
}


/* Мобильное меню */
.mobile-nav {
    position: fixed;
	font-family: 'Montserrat', sans-serif;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: var(--header-bg);
    transform: rotateY(90deg);
    transform-origin: right;
    transition: transform 0.6s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

.mobile-nav.active {
    transform: rotateY(0);
    pointer-events: auto;
}

.mobile-nav__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-logo {
	display: flex;
	flex-direction: row;
	gap: 15px;
	align-items: center;
}

.mobile-logo img {
	height: 60px;
	width: 60px;
	border-radius: 18px;
}

.mobile-logo h1 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--header-nav-and-icon);
}

.mobile-nav .dropdown-panel {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: none;
    margin: 5px 0 5px 0;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.mobile-nav .dropdown-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

.mobile-nav .dropdown-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-nav .drop-link {
    padding: 8px 0;
    color: var(--header-nav-and-icon);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav .drop-link:hover {
    color: var(--header-active-nav-and-hover);
}

.mobile-nav .dropdown-link {
    display: flex;
    align-items: center;
    width: 100%;
}

.mobile-nav .dropdown-icon {
    flex-shrink: 0; /* Предотвращает сжатие иконки */
    transition: transform 0.3s ease;
}

.mobile-nav .dropdown-icon.rotate {
    transform: rotate(180deg);
}

/* Соцсети */
.mobile-socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.mobile-socials svg {
    width: 28px;
    height: 28px;
    fill: var(--header-nav-and-icon);
    transition: fill 0.3s ease;
}

.mobile-socials a:hover svg {
    fill: var(--header-active-nav-and-hover);
}

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

/* Блокировка скролла при открытом меню */
html.no-scroll,
body.no-scroll {
    overflow: hidden;
    height: 100%;
}
