:root {
    --delay: .5s;
    --timing: 1s;
}


html, body {
    background: #F0F8FF;
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory; /* Мягкое прилипание */
}

.m-plus-1p-regular {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  font-style: normal;
}


.main-content {
    flex: 1;
}

/* Навбар: прозрачный + белый текст */
#mainNavbar {
    background-color: transparent !important;
    transition: all 0.4s ease-in-out;
    padding: 1.5rem 0 !important;
    min-height: 80px; /* Или любая другая фиксированная высота */
    max-height: 140px;
    align-items: center;
}

/* Логотип в навбаре */
#mainNavbar .navbar-brand {
    position: absolute;
    left: 0;
    z-index: 10;
    margin-left: 2rem;
}

/* Контейнер навбара */
#mainNavbar .container-fluid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 160px; /* Отступ для логотипа */
    padding-right: 2rem;
}

/* Центральное меню - независимый блок */
.navbar-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 35px;
}

/* Правый блок с социальными иконками */
.navbar-nav-right {
    margin-left: auto;
    margin-right: 0;
    font-size: 1.5rem;
}

/* Белый текст для всех элементов */
#mainNavbar .navbar-brand,
#mainNavbar .nav-link {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px !important;
    line-height: 1.4; /* Лёгкое увеличение межстрочного расстояния для воздуха */
    font-weight: 500; /* Увеличиваем жирность для лучшей читаемости */
    font-size: 1.05rem; /* Умеренное увеличение размера шрифта */
    padding: 8px 0; /* Убираем горизонтальный padding, оставляем только вертикальный */
    white-space: nowrap; /* Запрещаем перенос текста на новую строку */
    transition: color 0.3s ease, background-color 0.3s ease; /* Плавные переходы */
}

#mainNavbar .navbar-brand:hover,
#mainNavbar .nav-link:hover {
    color: #f1f1f1 !important; /* Цвет текста при наведении */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); /* Увеличиваем тень при наведении */
    transform: scale(1.1); /* Увеличиваем размер шрифта на 10% */
    letter-spacing: scale(1.1);
}

/* Состояние при скролле: синий фон (текст остаётся белым) */
#mainNavbar.scrolled {
    background-color: #0B123C !important;
    padding: 0.8rem 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ===== DEV РЕЖИМ - КНОПКИ УПРАВЛЕНИЯ ТОВАРАМИ ===== */
.dev-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-product-card:hover .dev-controls {
    opacity: 1;
}

.dev-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dev-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dev-btn-edit-name {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.dev-btn-edit-name:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
}

.dev-btn-edit-price {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.dev-btn-edit-price:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
}

.dev-btn-change-type {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.dev-btn-change-type:hover {
    background: linear-gradient(135deg, #F57C00, #EF6C00);
}

.dev-btn-delete {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.dev-btn-delete:hover {
    background: linear-gradient(135deg, #d32f2f, #c62828);
}

/* Модальные окна для редактирования */
.dev-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.dev-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.dev-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.dev-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.dev-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.dev-modal-close:hover {
    background-color: #f0f0f0;
    color: #666;
}

.dev-modal-body {
    margin-bottom: 25px;
}

.dev-form-group {
    margin-bottom: 20px;
}

.dev-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 1rem;
}

.dev-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.dev-form-input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.dev-modal-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.dev-btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dev-btn-primary:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.dev-btn-secondary {
    background: linear-gradient(135deg, #9e9e9e, #757575);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dev-btn-secondary:hover {
    background: linear-gradient(135deg, #757575, #616161);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(158, 158, 158, 0.3);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .dev-controls {
        bottom: 5px;
        right: 5px;
        gap: 5px;
    }
    
    .dev-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .dev-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .dev-modal-footer {
        flex-direction: column;
    }
    
    .dev-btn-primary,
    .dev-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

body.catalog-page #mainNavbar {
    background-color: #0B123C !important;
    padding: 0.8rem 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

body.catalog-page #mainNavbar .navbar-brand,
body.catalog-page #mainNavbar .nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 0;
    white-space: nowrap;
}

body.catalog-page #navbarLogo {
    width: 140px !important;
}

/* Переливающийся эффект для Sale */
#mainNavbar .nav-link[href="#"] {
    background: linear-gradient(270deg, #d20000, #d20000, #ffffff, #d20000);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4.5s linear infinite;
    font-weight: 600;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Добавьте эти стили в ваш CSS файл */

/* Основные стили выпадающего меню */
.navbar .dropdown-menu {
    background-color: rgba(11, 18, 60, 0.95); /* Полупрозрачный синий фон */
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

/* Пункты меню */
.navbar .dropdown-item {
    color: white !important;
    padding: 8px 20px;
    font-size: 15px;
    transition: all 0.2s;
}

.navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Стрелочка для dropdown */
.navbar .dropdown-toggle::after {
    display: none;
    margin-left: 5px;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid white;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s;
}

/* Анимация при наведении */
.navbar .nav-item.dropdown:hover .dropdown-menu {
    margin-top: 15px;
    display: block;
    animation: fadeIn 0.3s;
}

/* Добавляем псевдоэлемент для "моста" */
.navbar .nav-item.dropdown:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 15px; /* Высота моста */
    top: 100%;
    left: 0;
    background: transparent;
}

.navbar .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

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

/* Для мобильных устройств - показываем по клику */
@media (max-width: 992px) {
    .navbar .dropdown-menu {
        background-color: transparent;
        box-shadow: none;
        padding-left: 20px;
    }

    .navbar .dropdown-item {
        padding-left: 0;
    }

    .navbar .dropdown-item:hover {
        background-color: transparent;
        transform: none;
    }
}


/* Герой-секция с фото на весь экран */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-carousel {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.carousel-logo {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-56%, -62%);
    width: 65vw;
    max-width: 1200px;
    min-width: 250px;
    height: auto;
}

/* слой с блюром - правильное стекло */
.glass-bg {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    background: rgba(255, 255, 255, 0.12);
    clip-path: url(#logo-clip);
    
    /* Улучшенные тени для глубины */
    box-shadow:
        /* Нижний и правый эффект глубины */
        inset -1px -0.75px rgba(255, 255, 255, 0.15),
        /* Верхний и левый эффект глубины */
        inset +1px +0.75px rgba(255, 255, 255, 0.03),
        /* Эффект тени */
        4px 3px 15px rgba(0, 0, 0, 0.3),
        /* Короткий подповерхностный эффект */
        inset 0px 0px 15px 8px rgba(255, 255, 255, 0.03),
        /* Длинный подповерхностный эффект */
        inset 0px 0px 50px 8px rgba(255, 255, 255, 0.02),
        /* Внешняя подсветка */
        0 0 30px rgba(255, 255, 255, 0.1);
    
    /* Анимация мерцания */
    animation: glassShimmer 4s ease-in-out infinite;
}

/* Анимация мерцания стекла */
@keyframes glassShimmer {
    0%, 100% {
        background: rgba(255, 255, 255, 0.12);
        box-shadow:
            inset -1px -0.75px rgba(255, 255, 255, 0.15),
            inset +1px +0.75px rgba(255, 255, 255, 0.03),
            4px 3px 15px rgba(0, 0, 0, 0.3),
            inset 0px 0px 15px 8px rgba(255, 255, 255, 0.03),
            inset 0px 0px 50px 8px rgba(255, 255, 255, 0.02),
            0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        background: rgba(255, 255, 255, 0.18);
        box-shadow:
            inset -1px -0.75px rgba(255, 255, 255, 0.2),
            inset +1px +0.75px rgba(255, 255, 255, 0.05),
            4px 3px 15px rgba(0, 0, 0, 0.3),
            inset 0px 0px 15px 8px rgba(255, 255, 255, 0.05),
            inset 0px 0px 50px 8px rgba(255, 255, 255, 0.03),
            0 0 40px rgba(255, 255, 255, 0.15);
    }
}

/* верхний слой с белыми штрихами */
.glass-overlay {
    position: relative;
    width: 100%;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    
    /* Анимация появления */
    animation: logoAppear 2s ease-out;
}

/* Анимация появления логотипа */
@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
}

.glass-path {
    fill: rgba(255, 255, 255, 0.2);
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 1;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    
    /* Анимация пульсации */
    animation: pathPulse 3s ease-in-out infinite;
}

/* Анимация пульсации путей */
@keyframes pathPulse {
    0%, 100% {
        fill: rgba(255, 255, 255, 0.2);
        stroke: rgba(255, 255, 255, 0.4);
    }
    50% {
        fill: rgba(255, 255, 255, 0.25);
        stroke: rgba(255, 255, 255, 0.5);
    }
}

/* Дополнительный эффект для создания глубины */
.carousel-logo {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-56%, -62%);
    width: 65vw;
    max-width: 1200px;
    min-width: 250px;
    height: auto;
    
    /* Анимация парения */
    animation: logoFloat 6s ease-in-out infinite;
}

/* Анимация парения логотипа */
@keyframes logoFloat {
    0%, 100% {
        transform: translate(-56%, -62%);
    }
    50% {
        transform: translate(-56%, -64%);
    }
}

/* Эффект внутреннего свечения */
.glass-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    
    /* Улучшенный градиент для создания эффекта света */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        rgba(255, 255, 255, 0.15) 100%
    );
    
    /* Увеличиваем яркость */
    opacity: 0.12;
    
    /* Рендерим за другими дочерними элементами */
    z-index: -1;
    
    /* Применяем clip-path для обрезки по форме логотипа */
    clip-path: url(#logo-clip);
    
    /* Анимация движения света */
    animation: lightMove 6s ease-in-out infinite;
}

/* Анимация движения света */
@keyframes lightMove {
    0%, 100% {
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 25%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.08) 75%,
            rgba(255, 255, 255, 0.15) 100%
        );
    }
    50% {
        background: linear-gradient(
            315deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 25%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.08) 75%,
            rgba(255, 255, 255, 0.15) 100%
        );
    }
}

/* Эффект света для стекла */
.glass-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    
    /* Улучшенный градиент для создания эффекта света */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        rgba(255, 255, 255, 0.15) 100%
    );
    
    /* Увеличиваем яркость */
    opacity: 0.12;
    
    /* Рендерим за другими дочерними элементами */
    z-index: -1;
    
    /* Применяем clip-path для обрезки по форме логотипа */
    clip-path: url(#logo-clip);
    
    /* Анимация движения света */
    animation: lightMove 6s ease-in-out infinite;
}

/* Дополнительные эффекты для стекла */
.carousel-logo::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        rgba(255, 255, 255, 0.1) 100%
    );
    clip-path: url(#logo-clip);
    border-radius: 6px;
    z-index: -1;
    filter: blur(1.5px);
    opacity: 0.7;
    
    /* Анимация внешнего свечения */
    animation: outerGlow 5s ease-in-out infinite;
}

/* Анимация внешнего свечения */
@keyframes outerGlow {
    0%, 100% {
        opacity: 0.7;
        filter: blur(1.5px);
    }
    50% {
        opacity: 0.9;
        filter: blur(2px);
    }
}

/* Новый слой с движущимся бликом */
.carousel-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 35% 25%,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 70%
    );
    clip-path: url(#logo-clip);
    opacity: 0.8;
    mix-blend-mode: overlay;
    
    /* Анимация блика */
    animation: highlightMove 8s ease-in-out infinite;
}

/* Анимация движения блика */
@keyframes highlightMove {
    0%, 100% {
        background: radial-gradient(
            circle at 35% 25%,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.15) 30%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 70%
        );
    }
    33% {
        background: radial-gradient(
            circle at 65% 75%,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.15) 30%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 70%
        );
    }
    66% {
        background: radial-gradient(
            circle at 15% 65%,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.15) 30%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 70%
        );
    }
}

/* Дополнительный слой с бликом для создания эффекта влажности */
.glass-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    clip-path: url(#logo-clip);
    opacity: 0.6;
    mix-blend-mode: soft-light;
    
    /* Анимация движения блика по горизонтали */
    animation: horizontalShine 10s linear infinite;
}

/* Анимация горизонтального блика */
@keyframes horizontalShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.glass-logo-layer-1 {
    z-index: 3;
    width: 69vw;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    text-align: center;
    background: #000;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* вот это главный момент */
    object-position: center;
}

.slide-caption {
    position: absolute;
    z-index: 4;
    bottom: 10%;
    color: white;
    animation: fadeInUp 1s ease-in-out;
}

.swiper-pagination-bullet-active {
    background-color: white; /* активная точка будет белой */
}

.catalog-btn {
    display: inline-block;
    font-weight: 700;
    font-size: 20px;
    margin-top: 10px;
    padding: 12px 24px;
    background: transparent; /* Прозрачный фон */
    color: #fff; /* Белый текст */
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.border-animated {
	--angle: 0deg;
	border: 1px solid transparent;
    border-radius: 10px;
	border-image: linear-gradient(var(--angle), rgb(255, 0, 0), rgb(255, 255, 255)) 1;
	animation: 10s rotate linear infinite;
}

@keyframes rotate {
	to {
		--angle: 360deg;
	}
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}


/* Анимированная рамка для кнопки "Перейти в каталог" - подготовлена для JS */
.catalog-btn::before {
    display: none; /* Отключаем старую анимацию */
}

/* Анимация бегущей красной линии по кругу */
.animated-border {
    position: relative;
    border: 1px solid transparent;
    background: transparent;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: conic-gradient(from 0deg, #ff0000, #ff4444, #ff0000, transparent, transparent);
    background-size: 100% 100%;
    animation: rotateBorder 2s linear infinite;
    z-index: -1;
}

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

.catalog-btn:hover {
    background: rgba(255, 255, 255, 0.3); /* Белый фон 30% прозрачности */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Элегантные стрелочки навигации со стеклянным эффектом */
.custom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 4px rgba(255, 255, 255, 0.02);
    
    /* Усиленный эффект преломления */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.06) 25%, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(255, 255, 255, 0.08) 75%, 
        rgba(255, 255, 255, 0.1) 100%);
}

/* Удаляем старый ::before для стрелочек */

/* Удаляем старый ::after для эффектов */

.custom-nav-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.18) 0%, 
        rgba(255, 255, 255, 0.12) 25%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.15) 75%, 
        rgba(255, 255, 255, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 0 4px rgba(255, 255, 255, 0.05),
        0 0 25px rgba(255, 255, 255, 0.15);
    
    /* Усиленный эффект преломления при наведении */
    backdrop-filter: blur(12px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(200%) brightness(1.1);
}

/* Удаляем старый hover эффект для ::before */

/* Удаляем старый hover эффект для ::after */

.custom-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.18) 25%, 
        rgba(255, 255, 255, 0.12) 50%, 
        rgba(255, 255, 255, 0.2) 75%, 
        rgba(255, 255, 255, 0.25) 100%);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.25),
        0 0 0 4px rgba(255, 255, 255, 0.08),
        0 0 15px rgba(255, 255, 255, 0.2);
}

/* Дополнительные эффекты для стрелок */
.custom-nav-btn:focus {
    outline: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 4px rgba(255, 255, 255, 0.02),
        0 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Позиционирование стрелок */
.swiper-button-prev.custom-nav-btn {
    left: 30px;
}

.swiper-button-next.custom-nav-btn {
    right: 30px;
}

/* Софтовые chevron стрелочки */
.custom-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    border-right: 4px solid rgba(255, 255, 255, 0.9);
    border-bottom: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* Стрелка влево - chevron (показывает влево) */
.swiper-button-prev.custom-nav-btn::before {
    transform: translate(-40%, -50%) rotate(135deg);
}

/* Стрелка вправо - chevron (показывает вправо) */
.swiper-button-next.custom-nav-btn::before {
    transform: translate(-60%, -50%) rotate(-45deg);
}

/* Hover эффекты */
.custom-nav-btn:hover::before {
    border-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.swiper-button-prev.custom-nav-btn:hover::before {
    transform: translate(-40%, -50%) rotate(135deg) scale(1.1);
}

.swiper-button-next.custom-nav-btn:hover::before {
    transform: translate(-60%, -50%) rotate(-45deg) scale(1.1);
}

/* Анимация появления стрелок */
.custom-nav-btn {
    animation: navBtnAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(-50%) scale(0.6) rotate(-10deg);
}

.swiper-button-prev.custom-nav-btn {
    animation-delay: 0.3s;
}

.swiper-button-next.custom-nav-btn {
    animation-delay: 0.5s;
}

@keyframes navBtnAppear {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.6) rotate(-10deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
}

/* Удаляем старые анимации для псевдоэлементов */

/* Скрываем стандартные стрелки Swiper и SVG стрелочки */
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.nav-arrow {
    display: none;
}

.swiper-container {
    perspective: 4000px;
}

/* Элегантная пагинация */
.swiper-pagination {
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    display: flex;
    gap: 12px;
    align-items: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 10px rgba(255, 255, 255, 0.1);
}

.swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 15px rgba(255, 255, 255, 0.2);
}


.item-carusel-text {
    color: #fefaf0;
}


.russian-flag-lines, .russian-flag-lines-to-left {
    width: 100%;
    height: 200px;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2px;
    padding: 40px 0;
    box-sizing: border-box;
    position: relative;
}

/* Специальный стиль для первого флага */
.russian-flag-lines-first {
    width: 100%;
    height: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    background: linear-gradient(to bottom, #7a7978, #4d4841);
}

delimiter-lines {
    padding: 0;
    gap: 15px;
}

/* Линии слева направо (по умолчанию) */
.line {
    width: 0%;
    height: 3px;
    background-color: white;
    opacity: 1;
    transition: width 0.2s linear;
    transform-origin: left center;
}

/* Линии справа налево */
.russian-flag-lines-to-left .line {
    width: 0%;
    height: 3px;
    background-color: white;
    opacity: 1;
    transition: width 0.2s linear;
    transform-origin: right center;
    /* направление ��асширения справа налево */
    margin-left: auto;
    margin-right: 0;
}


.line.blue {
    background-color: #043cff;
}

.line.white {
    background-color: #ffffff;
}

.line.red {
    background-color: #fd1f24;
}

.small-heading {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.feedback-form {
    background-color: #0B123C;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px; /* В 2 раза шире */
    margin: 100px auto;
    margin-bottom: 5%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Градиентный фон за формой */
.feedback-form-wrapper {
    background: linear-gradient(to bottom, #0B123C 0%, #0B123C 1%, #F0F8FF 100%);
    padding: 80px 20px;
    margin: 0;
    position: relative;
}

/* Убираем псевдоэлемент, который перекрывал основной градиент */

/* Подрезаем края lead-block на 100px */
.lead-block {
    margin-top: -100px;
    margin-bottom: -100px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.feedback-form h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
}

.submit-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 20px;
    width: 100%;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px; /* Кнопка ниже */
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

footer {
    padding: 20px;
    text-align: center;
}


.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.catalog-navigation {
    padding: 40px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.catalog-navigation h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #0B123C;
}

.catalog-sections-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2%;
    margin-bottom: 3%;
}

.catalog-section-item {
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 10px;
}

.catalog-section-item.active {
  transform: scale(1.15);
  margin: 0 15px;
  padding-bottom: 5px;
  position: relative;
  z-index: 10;
}

.catalog-section-item.active::after {
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}




.catalog-section-item:hover {
    transform: scale(1.15);
    margin: 0 15px;
    padding-bottom: 5px;
    position: relative;
    z-index: 10;
}

.catalog-section-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 4px;
    background: #d20000;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.catalog-section-item:hover::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.catalog-section-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 10px;
}

.catalog-section-item a {
  text-decoration: none;
  color: inherit; /* Чтобы цвет текста не поменялся */
}

.catalog-section-item p {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.catalog-search .form-control {
  border: 2px solid #0B123C;
  border-right: 0px;
  border-radius: 0.25rem 0 0 0.25rem;
  background-color: #fff;
}

.catalog-search .btn {
  border-radius: 0 0.25rem 0.25rem 0;
  border-color: #0B123C;
  color: #0B123C;
}

.catalog-search .btn:hover {
  background-color: #0B123C;
  color: #fff;
}

.catalog-search .btn i {
  margin-right: 5px;
  color: #0B123C;
}

.catalog-search .btn:hover i {
  color: #fff;
}

.catalog-search .container {
    display: flex;
    justify-content: center;
}

.catalog-search form {
    width: 80%;
    min-width: 200px;
    margin: 0 auto;
}

.catalog-back-wrapper {
  margin: 30px auto;
  margin-top: 40px auto;
  text-align: center;
}

.catalog-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #0B123C;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.catalog-back-link i {
  font-size: 20px;
}

.catalog-back-link:hover {
  transform: translateY(-5px);
}

.product-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.product-content {
  display: flex;
  gap: 30px;
}

.product-images {
  display: flex;
  gap: 15px;
}

.additional-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.additional-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.additional-img:hover {
  border-color: #007BFF;
}

.main-image img {
  width: 400px;
  height: 400px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.product-info {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 25px;
}

.variant-switcher {
  display: flex;
  gap: 10px;
}

.variant-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
}

.variant-circle.active {
  border-color: #007BFF;
}

.variant-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.color-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.lead {
    font-weight: bold;
    font-family: "Balsamiq Sans", sans-serif;
    font-size: 60px;
    font-style: normal;
    text-align: center;
    display: inline-block;
    position: relative;
    background: linear-gradient(90deg, #FFF 0%, #FFF 100%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-size 2.5s ease-out;

}

.lead.lead-reveal {
    background-size: 100% 100%;
}

.lead-wrapper {
    text-align: center;
    justify-content: center; /* выравнивание по горизонтали */
    padding: 0 20px; /* отступы по бокам */
}


.panaram-preview-block {
    position: relative;
    height: 100%;
    width: 100%;
    margin: 100px auto;
    margin-bottom: 0;
    margin-top: 0; /* Ваш отступ сверху */
    text-align: center;
    width: fit-content; /* Ширина по содержимому */
    height: auto; /* Высота автоматическая */
    scroll-snap-align: 50% 0;
    overflow: hidden; /* Для градиентных переходов */
}

/* Добавляем scroll-snap только для контейнера с панорамами */

.panaram-preview-img {
    width: 100vw;
    max-height: 90vh;
    margin-top: 0; /* Ваш отступ сверху */
    border-radius: 0px;
    transition: transform 0.3s ease; /* Плавное увеличение при наведении */
    position: relative;
    z-index: 1;
}

/* Простые панорамные изображения без эффектов */
.panaram-preview-block {
    position: relative;
}


.panaram-preview-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 3;
    color: white;
    text-align: center;
    width: 90%;
    max-width: 1000px;
    padding: 0 50px;
    box-sizing: border-box;
}

.panaram-preview-link,
.panaram-preview-link:hover,
.panaram-preview-link:focus {
    text-decoration: none !important;
}

.panaram-preview-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 0px;
}

.panaram-preview-text,
.panaram-preview-text p {
    margin: 24px;
    text-decoration: none !important;
    color: white;
    margin-bottom: 0px;
}

.panaram-preview-item-name {
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.panaram-preview-title,
.panaram-preview-description {
    text-decoration: none !important;
    margin: 0;
    padding: 0;
}

.panaram-preview-button {
    font-size: 20px;
    font-weight: 700;
    margin-top: 24px;
    padding: 10px 24px;
    color: white;
    border: none; /* Убираем белую обводку */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible; /* Изменяем на visible для градиентной обводки */
}

/* Анимированная рамка для кнопки "Подробнее" */
.panaram-preview-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #fd1f24;
    opacity: 0;
    pointer-events: none;
}

/* Градиентная обводка для кнопок "Подробнее" с классом border-animated */
.panaram-preview-button.border-animated {
    --angle: 0deg;
    border: 1px solid transparent;
    border-image: linear-gradient(var(--angle), rgb(255, 0, 0), rgb(255, 255, 255)) 1;
    animation: 10s rotate linear infinite;
    background-color: transparent;
    overflow: visible;
}

.panaram-preview-button.animate-border::before {
    animation: borderDraw 1.5s ease-in-out forwards;
}

@keyframes borderDraw {
    0% {
        opacity: 1;
        clip-path: inset(0 0 0 100%);
    }
    25% {
        opacity: 1;
        clip-path: inset(0 0 0 0%);
    }
    50% {
        opacity: 1;
        clip-path: inset(0 0 100% 0%);
    }
    75% {
        opacity: 1;
        clip-path: inset(100% 0 0% 0%);
    }
    100% {
        opacity: 0;
        clip-path: inset(0% 0 0% 0%);
    }
}
.panaram-preview-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* Анимация вращения градиента рамки - плавно бегущий свет */
/* @keyframes borderRotate {
    0% {
        background: conic-gradient(from 0deg, #ffffff, #fd1f24, #ffffff, #fd1f24, #ffffff);
    }
    100% {
        background: conic-gradient(from 360deg, #ffffff, #fd1f24, #ffffff, #fd1f24, #ffffff);
    }
} */

/* Для мобильных (добавляем в конец) */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }
    .panaram-preview-block {
        height: auto;
        min-height: 100vh;
    }
}


/* Для мобильных устройств */
@media (max-width: 768px) {
    .panaram-preview-info {
        bottom: 50px; /* Меньший отступ на мобильных */
        width: 95%; /* Чуть больше ширины */
    }
}


.hotline-number {
    font-weight: bolder;
}

.video-text-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    padding-top: 125px;
    padding-bottom: 125px;
    padding-left: 100px;
    padding-right: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* можно visible, чтобы не резало */
    background: linear-gradient(to bottom, #64605f, #0B123C);
}

.video-container {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 1.8s ease;
    transform-origin: center center;
    z-index: 2;
}

/* Само видео */
.video-container video {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 100%; /* начальная ширина */
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Кнопка mute */
.mute-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}
.mute-btn:hover {
    background: rgba(0,0,0,0.7);
}
.mute-btn i {
    font-size: 18px;
}

/* Текст в изначальном состоянии — спрятан за видео слева */
.dream-text {
    font-family: "Balsamiq Sans", sans-serif;
    opacity: 0; /* невидимый */
    transform: translateX(-60px); /* чуть смещён влево */
    color: #ffffff;
    font-weight: 600;
    transition: all 1.8s ease; /* скорость и плавность выезда */
    font-size: 52px;
    max-width: 400px;
    margin-left: -100px; /* заходит под видео */
    z-index: 1; /* под видео */
}

.video-text-container.animate .video-container {
    transform: scale(0.93) translateX(-40px); /* меньшее смещение */
}

.video-text-container.animate .dream-text {
    opacity: 1; /* появляется */
    transform: translateX(0); /* возвращается в нормальное положение */
    margin-left: 75px; /* финальный отступ от видео */
}

/* Стили для иконок социальных сетей в навбаре */
#mainNavbar .social-icon {
    font-size: 2rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#mainNavbar .social-icon:hover {
    color: #f1f1f1 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    #mainNavbar .navbar-nav.ms-auto {
        margin: 10px 0;
        justify-content: center;
    }
    
    #mainNavbar .social-icon {
        width: 70px;
        height: 70px;
        font-size: 32px !important;
    }
    
    /* На мобильных устройствах возвращаем стандартное поведение */
    .navbar-nav-center {
        position: static;
        transform: none;
        margin: 0 auto;
        justify-content: center;
    }
    
    .navbar-nav-right {
        margin: 0;
        justify-content: center;
        font-size: 1.5rem;
    }
    
    #mainNavbar .container-fluid {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Анимация для стекла */
@keyframes glass-shine {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
    }
}

.glass-bg::before {
    animation: glass-shine 8s ease-in-out infinite;
}

/* Адаптивность для стеклянного эффекта */
@media (max-width: 768px) {
    .carousel-logo {
        width: 80vw;
        transform: translate(-50%, -50%);
    }
    
    .glass-bg {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .glass-path {
        stroke-width: 0.6;
    }
}

@media (max-width: 480px) {
    .carousel-logo {
        width: 90vw;
    }
    
    .glass-bg {
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
}
