/* ===== КАРУСЕЛЬ БАННЕРОВ ===== */
.main-banner {
    background: white;
    border-radius: 40px;
    /*height: 424px;*/
    margin: 40px 0 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.banner-carousel {
    position: relative;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    position: relative;
}

.banner-content {
    padding: 48px;
    flex: 8;
}

.banner-content h1 {
    font-size: 64px;
    font-size: 64px;
    font-weight: bold;
    color: #433f45;
    line-height: 1.0;
}

.banner-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #433f45;
    margin-top: 32px;
    margin-bottom: 56px;
    height: 50px;
    max-width: 539px;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
    border: 2px solid #a43ccf;
}

.btn-primary {
    background: #a43ccf;
    color: white;
}

.btn-secondary {
    background: white;
    color: #a43ccf;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 206, 212, 0.6);
}

.promotions-image {
    flex: 5;
    border-radius: 0 20px 20px 0;
    position: relative;
    overflow: hidden;
    background: #e5e5f0;
}

.promotions-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Хэштеги */
.hashtags-section {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    max-width: calc(100% - 40px);
}

.hashtag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    width: fit-content;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hashtag:hover {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 12px rgba(164, 60, 207, 0.2);
    transform: translateY(-2px);
}

/* Стрелки навигации */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #433f45;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: white;
    color: #a43ccf;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(164, 60, 207, 0.3);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* Кружочки навигации под баннером */
.carousel-dots-container {
    text-align: center;
    margin: 15px 0 40px 0;
    width: 100%;
}

.carousel-dots {
    display: inline-flex;
    gap: 12px;
    padding: 10px 20px;
    border-radius: 50px;
}

.dot {
    cursor: pointer;
    width: 12px;
    height: 12px;
    background-color: rgba(164, 60, 207, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background-color: #a43ccf;
    transform: scale(1.2);

}

.dot:hover {
    background-color: #a43ccf;
    transform: scale(1.1);
}

/* ===== АДАПТИВ КАРУСЕЛИ БАННЕРОВ ===== */
@media (max-width: 992px) {
    .banner-slide {
        flex-direction: column;
    }

    .banner-content {
        padding: 40px 30px;
        text-align: center;
    }

    .banner-content h1 {
        font-size: 48px;
    }

    .banner-content p {
        max-width: 100%;
        margin: 20px 0 30px;
    }

    .buttons {
        justify-content: center;
    }

    .promotions-image {
        min-height: 250px;
        border-radius: 0 0 20px 20px;
    }

    .hashtags-section {
        bottom: 10px;
        right: 10px;
        gap: 5px;
    }

    .hashtag {
        padding: 8px 16px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .main-banner {
        border-radius: 30px;
        margin: 20px 0 15px;
    }

    .banner-content {
        padding: 30px 20px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 14px;
        margin: 15px 0 20px;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        min-width: auto;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .carousel-dots {
        padding: 8px 16px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .promotions-image {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .carousel-arrow {
        display: none;
    }

    .banner-content {
        padding: 25px 15px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 13px;
    }

    .carousel-dots-container {
        margin: 10px 0 25px;
    }

    .hashtag {
        padding: 6px 12px;
        font-size: 9px;
    }
}