/* ====== 1 ====== */
:root {
    --pink: #ff2d8e;
    --pink-dark: #e0267f;
    --pink-light: #ff5ca8;
    --black: #000000;
    --black-light: #1a1a1a;
    --gray: #2d2d2d;
    --gray-light: #404040;
    --white: #ffffff;
    --section-padding: 80px 0;
    --container-max-width: 1400px;
    --shadow: 0 10px 30px rgba(255, 45, 142, 0.2);
    --shadow-hover: 0 15px 40px rgba(255, 45, 142, 0.3);
    --glow: 0 0 20px rgba(255, 45, 142, 0.5);
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* ====== 2 ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #0a0a0a 0%, #1a001a 50%, #0a0a0a 100%) !important;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; 
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== 3====== */
.hero-section {
    min-height: 100vh;
    background: 
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.2) 70%,
            rgba(0, 0, 0, 0) 100%
        ),
        url('../images/div/1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    text-align: left;
    max-width: 650px;
    margin-left: 10%;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.hero-accent {
    color: var(--pink);
    text-shadow: var(--glow);
    font-weight: 600;
    font-family: var(--font-secondary);
    font-style: italic;
}

/* ======4 ====== */
.girls-section {
    padding: var(--section-padding);
    background: var(--black-light);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====== SWIPER STYLES ====== */
.swiper-container {
    width: 100%;
    height: 650px;
    padding: 40px 0;
    position: relative;
}

.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0.8;
    transform: scale(0.95);
}

/* Стрелки навигации */
.swiper-button-prev,
.swiper-button-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 45, 142, 0.3);
    border: 2px solid rgba(255, 45, 142, 0.5);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: white;
    font-weight: bold;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255, 45, 142, 0.6);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--glow);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

/* Пагинация */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--pink);
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--pink);
}

/* Стили для слайдов */
.slide-wrapper {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    height: 580px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 2px solid rgba(255, 45, 142, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.slide-wrapper:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 45, 142, 0.4);
    box-shadow: 0 30px 60px rgba(255, 45, 142, 0.3);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .slide-image {
    transform: scale(1.08);
}

.image-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 10;
    text-align: left;
}

.slide-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* КРУПНЫЕ ЗВЕЗДЫ */
.slide-rating {
    color: var(--pink);
    font-size: 32px; /* Увеличили размер звезд */
    margin-bottom: 15px;
    text-shadow: 
        0 0 10px var(--pink),
        0 0 20px rgba(255, 45, 142, 0.5);
    letter-spacing: 3px;
    line-height: 1;
    display: block;
}

.slide-description {
    font-size: 16px;
    color: #ffb6e1;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.btn-wrapper {
    margin-top: 15px;
}

.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    box-shadow: var(--shadow);
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ====== 6====== */
.show-ballet-section {
    padding: var(--section-padding);
    background: var(--black);
    position: relative;
}

.ballet-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--white) 0%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ballet-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.ballet-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 20px;
}

.ballet-arrow {
    width: 60px;
    height: 60px;
    background: rgba(255, 45, 142, 0.3);
    border: 2px solid rgba(255, 45, 142, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ballet-arrow:hover {
    background: rgba(255, 45, 142, 0.6);
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.ballet-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 2;
}

.ballet-track {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.ballet-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ballet-slide.active {
    opacity: 1;
}

.ballet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ballet-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.ballet-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ballet-dot.active {
    background: var(--pink);
    transform: scale(1.2);
    box-shadow: var(--glow);
}

.ballet-dot:hover {
    background: var(--pink-light);
    transform: scale(1.1);
}

/* ====== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ====== */

/* Планшеты */
@media (max-width: 1024px) {
    .swiper-container {
        height: 600px;
        padding: 35px 0;
    }
    
    .swiper-slide {
        opacity: 0.6;
        transform: scale(0.85);
    }
    
    .swiper-slide-active {
        opacity: 1;
        transform: scale(0.95);
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 50px;
        height: 50px;
    }
    
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-content {
        margin-left: 5%;
        max-width: 600px;
    }
    
    .slide-wrapper {
        height: 520px;
    }
    
    .slide-rating {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .ballet-track {
        height: 500px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .swiper-container {
        height: 500px;
        padding: 25px 0;
    }
    
    .swiper-slide {
        opacity: 0.5;
        transform: scale(0.8);
    }
    
    .swiper-slide-active {
        opacity: 1;
        transform: scale(0.9);
    }
    
    .swiper-slide-prev,
    .swiper-slide-next {
        opacity: 0.6;
        transform: scale(0.85);
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
        display: flex !important;
    }
    
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 14px;
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-content {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .girls-section {
        padding: 50px 0;
    }
    
    .slide-wrapper {
        height: 450px;
        max-width: 320px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 22px;
    }
    
    .slide-rating {
        font-size: 26px;
        letter-spacing: 2px;
    }
    
    .ballet-track {
        height: 400px;
    }
    
    .ballet-arrow {
        width: 45px;
        height: 45px;
    }

    body {
        padding-top: 70px;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .swiper-container {
        height: 450px;
        padding: 20px 0;
    }
    
    .swiper-slide {
        opacity: 0.4;
        transform: scale(0.75);
    }
    
    .swiper-slide-active {
        opacity: 1;
        transform: scale(0.85);
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
    }
    
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .girls-section {
        padding: 40px 0;
    }
    
    .slide-wrapper {
        height: 400px;
        max-width: 280px;
    }
    
    .slide-content {
        padding: 15px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-rating {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .slide-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .ballet-track {
        height: 300px;
    }
    
    .ballet-arrow {
        width: 40px;
        height: 40px;
    }

    body {
        padding-top: 60px;
    }
}

/* Убираем старые стили карусели */
.carousel-container,
.arrows,
.arrow,
.gallery,
.carousel-track {
    display: none !important;
}

/* Анимация для плавного перехода */
.swiper-slide {
    transition: transform 0.6s ease, opacity 0.6s ease;
}