* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f0e6;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    color: #333;
    scroll-behavior: smooth;
}

/* Прогресс-бар */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #8b4513;
    width: 0%;
    z-index: 1001;
    transition: width 0.1s linear;
}

/* Шапка */
.new-header {
    background: #f5f0e6;
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.header-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: #8b4513;
    margin: 0;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
}

/* Основной контейнер */
.slides-container {
    width: 100%;
    padding: 0;
    margin-top: 120px;
    margin-bottom: 140px;
    overflow-y: auto;
    height: calc(100vh - 260px);
    scroll-snap-type: y proximity;
}

.slide-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
}

/* Элементы с анимацией */
.slide-item, 
.video-item, 
.video-wrapper {
    width: 90%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease, transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    scroll-snap-align: start;
}

.slide-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.slide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Видео */
.video-item, 
.video-wrapper {
    display: flex;
    justify-content: center;
    background: transparent;
    padding: 10px 0;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.video-item:hover, 
.video-wrapper:hover {
    transform: translateY(-5px);
}

.video-item video, 
.video-wrapper video {
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 500px;
    aspect-ratio: 9/16;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: #000;
    transition: all 0.3s ease;
}

.video-item:hover video, 
.video-wrapper:hover video {
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Секция с отзывами */
.reviews-section {
    width: 100%;
    padding: 50px 20px 30px;
    text-align: center;
}

.reviews-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: #8b4513;
    margin-bottom: 30px;
    font-weight: 400;
}

.videos-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

/* Контакты */
.contacts-section {
    width: 100%;
    padding: 50px 20px;
    text-align: center;
    background: #f9f5eb;
    border-radius: 10px;
    margin: 20px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: #8b4513;
    margin-bottom: 30px;
    font-weight: 400;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contacts-description {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #8b4513;
    margin-bottom: 15px;
}

.contact-link {
    color: #8b4513;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin: 5px 0;
}

.contact-link:hover {
    color: #6b3a0e;
    text-decoration: underline;
}

/* Нижний блок с соцсетями и кнопкой */
.bottom-section {
    position: fixed;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(245, 240, 230, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
}

.social-left, 
.social-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.social-left {
    justify-content: flex-start;
}

.social-right {
    justify-content: flex-end;
}

.social-link {
    display: flex;
    align-items: center;
    position: relative;
    padding: 8px;
}

.social-link img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
}

.asterisk {
    position: absolute;
    top: 0;
    right: 0;
    color: red;
    font-size: 12px;
    font-weight: bold;
}

/* Кнопка "Купить билет" */
.button-container {
    flex: 2;
    display: flex;
    justify-content: center;
    max-width: 400px;
}

.main-button {
    padding: 18px 40px;
    background: linear-gradient(135deg, #8b4513 0%, #6b3a0e 100%);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(139,69,19,0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.main-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('button-bg.png') center/cover;
    opacity: 0.8;
    z-index: -1;
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139,69,19,0.6);
}

.button-text {
    position: relative;
    z-index: 2;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    letter-spacing: 0.5px;
}

/* Пояснение о запрещенной соцсети */
.legal-notice {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: #999;
    padding: 5px 20px;
    z-index: 1001;
}

/* Адаптация для планшетов */
@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
    }
    .reviews-title, .section-title {
        font-size: 2rem;
    }
    .slide-item, .video-item {
        width: 95%;
    }
    .videos-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .video-wrapper {
        width: 95%;
        max-width: none;
    }
    .video-item video, 
    .video-wrapper video {
        max-width: 280px;
        max-height: 450px;
    }
    .main-button {
        padding: 16px 30px;
        font-size: 16px;
    }
    .social-link img {
        width: 28px;
        height: 28px;
    }
    .bottom-section {
        bottom: 40px;
    }
    .contact-link {
        font-size: 1.1rem;
    }
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
    .header-title {
        font-size: 1.8rem;
    }
    .slide-item, .video-item {
        width: 98%;
    }
    .video-item video, 
    .video-wrapper video {
        max-width: 240px;
        max-height: 400px;
    }
    .main-button {
        padding: 14px 25px;
        font-size: 15px;
    }
    .social-link img {
        width: 24px;
        height: 24px;
    }
    .bottom-section {
        padding: 12px 15px;
        bottom: 30px;
    }
    .legal-notice {
        font-size: 9px;
    }
    .reviews-title, .section-title {
        font-size: 1.8rem;
    }
    .contacts-description {
        font-size: 1.1rem;
    }
    .contact-name {
        font-size: 1.2rem;
    }
    .contact-link {
        font-size: 1rem;
    }
}
/* Гарантируем muted для видео */
video {
    -webkit-muted: true;
    muted: true;
}

/* Оптимизация для мобильных */
@media (max-width: 768px) {
    .video-item video, 
    .video-wrapper video {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .video-item, .video-wrapper {
        width: 95%;
    }
}
