.final-wrapper {
    position: relative;
    width: 100%;
    /* Ядерный градиент + шум для текстуры */
    background: linear-gradient(135deg, #db2777 0%, #ff0055 40%, #ff5e00 100%);
    overflow: hidden;
    padding-bottom: 4rem;
    font-family: 'Libertinus Sans', 'Manrope', sans-serif;
}

.tracking-wider {
    letter-spacing: -0.02em !important;
}

p {
    margin: 0px 0 0px;
}

/* Эффект снега для категории "Зима в городе" */
.snow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
    /* Градиент для уменьшения снежинок к низу */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.2) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.2) 90%, rgba(0,0,0,0) 100%);
}

.snowflake {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
    top: 0;
    will-change: transform, opacity;
}

/* Эффект сердечек для категории "14 Февраля" */
.hearts-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
    /* Градиент для уменьшения сердечек к низу */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.2) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.2) 90%, rgba(0,0,0,0) 100%);
    /* Для Safari на мобильных */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: contents;
}

.heart-particle {
    position: absolute;
    color: #ff69b4;
    font-size: 12px;
    top: 0;
    will-change: transform, opacity;
    text-shadow: 0 0 4px rgba(255, 105, 180, 0.8);
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

/* Стили для сердечек (анимация через JS для максимальной плавности) */

/* Стили для видео фона */
.story-card video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Бейдж для 14 февраля */
.valentine-badge {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.6), 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
    font-size: 12px !important;
}

/* Переопределяем классы text-[9px] и md:text-[11px] для бейджа 14 февраля */
.valentine-badge,
.valentine-badge.text-\[9px\] {
    font-size: 12px !important;
}

@media (min-width: 768px) {
    .valentine-badge.md\:text-\[11px\] {
        font-size: 12px !important;
    }
}

/* Центрирование заголовка для карточки 14 февраля */
.valentine-card .card-info {
    text-align: center !important;
}

.valentine-card .card-info h3 {
    justify-content: center !important;
}

@media (min-width: 768px) {
    .final-wrapper { padding-bottom: 10rem; }
}

/* Волны */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
    pointer-events: none;
}
.wave-svg { width: calc(100% + 1.3px); height: 60px; }
@media (min-width: 768px) { .wave-svg { height: 120px; } }
.shape-fill { fill: #FFFFFF; }

/* Бегущая строка */
.marquee-container {
    position: relative;
    width: 100%;
    background: rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 0;
    margin-bottom: 0px;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateZ(0);
    will-change: contents;
    display: flex;
    align-items: center;
    min-height: 40px;
}
.marquee-content {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    contain: layout style paint;
    isolation: isolate;
}
.marquee-content .flex {
    display: inline-flex;
    flex-shrink: 0;
    will-change: transform;
}
.marquee-item {
    padding: 12px 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1;
}

/* Скролл */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 105px 1rem 15px 1rem;
    gap: 12px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    will-change: scroll-position;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
.scroll-container::-webkit-scrollbar { display: none; }

/* Скрываем прокрутку до инициализации (предотвращает видимую прокрутку при загрузке) */
.scroll-container.scroll-initializing {
    overflow: hidden;
    scroll-behavior: auto;
}

/* Стрелки навигации для ПК */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #db2777;
    font-size: 18px;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-arrow-left {
    left: 20px;
}

.scroll-arrow-right {
    right: 20px;
}

@media (max-width: 767px) {
    .scroll-arrow {
        display: none;
    }
}

/* Карточки */
.story-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 42vw;
    height: 260px;
    transition: box-shadow 0.3s ease;
}

.story-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Матовое наложение на категории */
.story-card:not(.video-card)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .story-card { width: 220px; height: 340px; border-radius: 18px; }
    .story-card:hover { 
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }
}
.story-card:active { 
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Видео в первой карточке */
.video-card {
    background: transparent;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.video-card.playing .video-bg {
    z-index: 1;
}

/* Скрываем элементы при воспроизведении */
.video-card.playing .video-play-overlay {
    opacity: 0;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
}

.video-card.playing .live-badge {
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card.playing .card-info {
    opacity: 0;
    transition: opacity 0.3s;
}

.video-play-overlay {
    pointer-events: none;
}

.video-play-btn {
    pointer-events: auto !important;
    z-index: 50 !important;
    cursor: pointer !important;
    position: relative !important;
}

.card-info a {
    pointer-events: auto;
    z-index: 20;
    position: relative;
}

.video-play-overlay {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: none;
}

.video-card:hover .video-play-overlay {
    opacity: 1 !important;
}

.video-card.playing:hover .video-play-overlay {
    opacity: 1 !important;
}

.video-play-btn {
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

@media (min-width: 768px) {
    .video-play-btn {
        width: 36px !important;
        height: 36px !important;
    }
}

.live-badge {
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.season-badge {
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.6), 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.live-dot {
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Инфо карточки */
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    padding: 20px 10px 12px 10px;
    text-align: center;
    z-index: 2;
}

.card-info h3 {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 0.875rem !important; /* 14px для мобильных */
    line-height: 1.25rem !important;
}

/* Переопределяем Tailwind классы для заголовков категорий - максимальная специфичность */
.story-card .card-info h3.text-sm,
.card-info h3.text-sm {
    font-size: 1.4rem !important;
    line-height: 1.25rem !important;
}

@media (min-width: 768px) {
    .card-info h3 {
        font-size: 1.4rem !important; /* 22.4px для ПК */
        line-height: 1.5rem !important;
    }
    
    /* Переопределяем md:text-xl для заголовков категорий - максимальная специфичность */
    .story-card .card-info h3.text-sm.md\:text-xl,
    .story-card .card-info h3.md\:text-xl,
    .card-info h3.text-sm.md\:text-xl,
    .card-info h3.md\:text-xl {
        font-size: 1.4rem !important; /* 22.4px */
        line-height: 1.5rem !important;
    }
}

/* Теги подкатегорий для Монобукетов */
.mono-subcategories {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.story-card:hover .mono-subcategories {
    opacity: 1;
}

.mono-tag {
    display: inline-block;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 2px 6px;
    border-radius: 8px;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.mono-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .mono-tag {
        font-size: 9px;
        padding: 3px 8px;
    }
}

/* Виджет */
.audio-widget-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Переопределяем Tailwind классы */
.audio-widget-container.max-w-6xl {
    max-width: 100% !important;
}

.audio-widget-container.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.audio-widget {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    padding: 1rem !important;
    border-radius: 1rem !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

/* Эффект стекла и переливания при наведении */
.audio-widget:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* Эффект переливания (shimmer) */
.audio-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.audio-widget:hover::before {
    left: 100%;
}

/* Мобильная версия - на всю ширину */
@media (max-width: 767px) {
    .audio-widget-container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .audio-widget-container.max-w-6xl {
        max-width: 100% !important;
    }
    
    .audio-widget {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.875rem !important;
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
    }
    
    .audio-widget {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .audio-widget > .w-12 {
        flex-shrink: 0 !important;
        margin-top: 0 !important;
    }
    
    .audio-widget .flex.flex-col {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    
    .audio-widget .flex.items-center.justify-between {
        flex-wrap: nowrap !important;
    }
    
    .audio-details-btn {
        font-size: 9px !important;
        padding: 6px 10px !important;
        min-width: 80px !important;
        flex-shrink: 0 !important;
    }
    
    .audio-widget h3 {
        font-size: 1.8rem !important;
        line-height: 1.25rem !important;
    }
}

@media (min-width: 768px) {
    .audio-widget {
        max-width: 500px !important;
        width: 500px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }
    
    .audio-widget > .w-12 {
        flex-shrink: 0 !important;
    }
    
    .audio-widget .flex.items-center.gap-3 {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 0.75rem !important;
    }
    
    .audio-widget h3 {
        font-size: 1.9rem !important;
    }
    
    .audio-details-btn {
        flex-shrink: 0 !important;
    }
}

@media (min-width: 1024px) {
    .audio-widget {
        max-width: 500px !important;
        width: 500px !important;
    }
}

/* Частицы (Hearts) */
.particle-heart {
    position: fixed;
    pointer-events: none;
    color: #fff;
    font-size: 20px;
    animation: floatUp 1s ease-out forwards;
    z-index: 9999;
    text-shadow: 0 0 5px rgba(255,20,147, 0.5);
}
@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

@keyframes marquee {
    from { 
        transform: translate3d(0, 0, 0);
    }
    to { 
        transform: translate3d(-33.333%, 0, 0);
    }
}

/* Анимация эквалайзера */
.equalizer-bar {
    height: 30%;
    transition: height 0.3s ease;
}

.equalizer-playing .equalizer-bar {
    animation: wave-bars 1s ease-in-out infinite;
}

.audio-example-badge {
    font-size: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: rgba(255,255,255,0.6) !important;
    background: rgba(255,255,255,0.1) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    display: inline-block !important;
}

.audio-details-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: rgba(255,255,255,0.9) !important;
    background: rgba(255,20,147,0.2) !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,20,147,0.4) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    width: fit-content !important;
    min-width: 100px !important;
    height: fit-content !important;
    position: relative !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    align-self: center !important;
    margin: 0 !important;
}

.audio-details-btn:hover {
    background: rgba(255,20,147,0.3);
    border-color: rgba(255,20,147,0.6);
    color: white;
    transform: translateX(2px);
}

.audio-details-btn i {
    font-size: 8px;
    transition: transform 0.3s ease;
}

.audio-details-btn:hover i {
    transform: translateX(2px);
}

.equalizer-playing .equalizer-bar:nth-child(1) { animation-delay: 0s; }
.equalizer-playing .equalizer-bar:nth-child(2) { animation-delay: 0.1s; }
.equalizer-playing .equalizer-bar:nth-child(3) { animation-delay: 0.2s; }
.equalizer-playing .equalizer-bar:nth-child(4) { animation-delay: 0.3s; }

@keyframes wave-bars {
    0%, 100% { height: 30%; }
    50% { height: 100%; }
}

/* Размеры заголовков категорий - переопределение Tailwind (глобально, максимальная специфичность) */
@media (min-width: 768px) {
    .story-card .card-info h3.text-sm.md\:text-xl,
    .story-card .card-info h3.md\:text-xl,
    .card-info h3.text-sm.md\:text-xl,
    .card-info h3.md\:text-xl,
    .md\:text-xl {
        font-size: 1.4rem !important; /* 22.4px */
        line-height: 1.5rem !important;
    }
}

/* ============================================
   TAILWIND UTILITY CLASSES (без CDN)
   ============================================ */

/* Display */
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.inline-flex { display: inline-flex !important; }
.block { display: block !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Width & Height */
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.w-1 { width: 0.25rem !important; }
.w-8 { width: 2rem !important; }
.w-12 { width: 5rem !important; }
.h-0\.5 { height: 0.125rem !important; }
.h-3 { height: 0.75rem !important; }
.h-12 { height: 4rem !important; }
.min-w-\[0\.5rem\] { min-width: 0.5rem !important; }

/* Spacing */
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-0\.5 { gap: 0.125rem !important; }
.mb-1 { margin-bottom: -0.75rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mt-1 { margin-top: -0.75rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.pt-5 { padding-top: 1.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.p-4 { padding: 1rem !important; }

/* Flexbox */
.items-center { align-items: center !important; }
.items-end { align-items: flex-end !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-wrap { flex-wrap: wrap !important; }

/* Typography */
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-lg { font-size: 1.5rem !important; line-height: 1.75rem !important; }
.text-white { color: rgb(255 255 255) !important; }
.text-pink-500 { color: rgb(236 72 153) !important; }
.text-pink-100 { color: rgb(252 231 243) !important; }
.text-pink-300 { color: rgb(249 168 212) !important; }
.text-blue-300 { color: rgb(147 197 253) !important; }
.text-green-300 { color: rgb(134 239 172) !important; }
.text-yellow-300 { color: rgb(253 224 71) !important; }
.text-purple-300 { color: rgb(196 181 253) !important; }
.text-orange-300 { color: rgb(253 186 116) !important; }
.font-bold { font-weight: 700 !important; }
.font-black { font-weight: 900 !important; }
.uppercase { text-transform: uppercase !important; }
.tracking-wider { letter-spacing: -0.02em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.leading-none { line-height: 1 !important; }

/* Custom text sizes */
.text-\[8px\] { font-size: 8px !important; }
.text-\[9px\] { font-size: 9px !important; }
.text-\[10px\] { font-size: 14px !important; }
.text-\[11px\] { font-size: 11px !important; }

/* Background */
.bg-white { background-color: rgb(255 255 255) !important; }
.bg-black { background-color: rgb(0 0 0) !important; }
.bg-red-500 { background-color: rgb(239 68 68) !important; }
.bg-yellow-500 { background-color: rgb(234 179 8) !important; }
.bg-pink-500 { background-color: rgb(236 72 153) !important; }
.bg-purple-500 { background-color: rgb(168 85 247) !important; }
.bg-green-500 { background-color: rgb(34 197 94) !important; }
.bg-orange-500 { background-color: rgb(249 115 22) !important; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important; }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-to: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.to-transparent { --tw-gradient-to: transparent !important; }
.from-red-500 { --tw-gradient-from: rgb(239 68 68); --tw-gradient-to: rgb(239 68 68 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.to-pink-500 { --tw-gradient-to: rgb(236 72 153) !important; }

/* Border */
.border { border-width: 1px !important; }
.border-2 { border-width: 2px !important; }
.border-white { border-color: rgb(255 255 255) !important; }
.border-white\/30 { border-color: rgb(255 255 255 / 0.3) !important; }
.border-white\/20 { border-color: rgb(255 255 255 / 0.2) !important; }
.rounded-full { border-radius: 9999px !important; }
.rounded-2xl { border-radius: 2rem !important; }

/* Opacity */
.opacity-80 { opacity: 0.8 !important; }
.opacity-100 { opacity: 1 !important; }
.opacity-95 { opacity: 0.95 !important; }

/* Z-index */
.z-5 { z-index: 5 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-50 { z-index: 50 !important; }

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms !important; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms !important; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms !important; }
.duration-200 { transition-duration: 200ms !important; }
.duration-300 { transition-duration: 300ms !important; }
.duration-500 { transition-duration: 500ms !important; }
.duration-700 { transition-duration: 700ms !important; }

/* Transform */
.scale-105 { transform: scale(1.05) !important; }
.scale-110 { transform: scale(1.1) !important; }
.translate-x-\[-100\%\] { transform: translateX(-100%) !important; }
.translate-x-\[100\%\] { transform: translateX(100%) !important; }
.skew-x-12 { transform: skewX(12deg) !important; }

/* Hover effects */
.group:hover .group-hover\:scale-105 { transform: scale(1.05) !important; }
.group:hover .group-hover\:brightness-110 { filter: brightness(1.1) !important; }
.group:hover .group-hover\:opacity-95 { opacity: 0.95 !important; }
.group:hover .group-hover\:w-12 { width: 3rem !important; }
.group:hover .group-hover\:bg-red-400 { background-color: rgb(248 113 113) !important; }
.group:hover .group-hover\:bg-yellow-400 { background-color: rgb(250 204 21) !important; }
.group:hover .group-hover\:bg-pink-400 { background-color: rgb(244 114 182) !important; }
.group:hover .group-hover\:bg-purple-400 { background-color: rgb(192 132 252) !important; }
.group:hover .group-hover\:bg-green-400 { background-color: rgb(74 222 128) !important; }
.group:hover .group-hover\:bg-orange-400 { background-color: rgb(251 146 60) !important; }

/* Text color with opacity */
.text-white\/80 { color: rgb(255 255 255 / 0.8) !important; }

/* Cursor */
.cursor-pointer { cursor: pointer !important; }

/* Overflow */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }

/* White space */
.whitespace-nowrap { white-space: nowrap !important; }

/* Object fit */
.object-cover { object-fit: cover !important; }

/* Animations */
.animate-nudge { animation: nudge 2s ease-in-out 1 !important; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important; }

@keyframes nudge {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-20px); }
    40% { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* Media queries для md: */
@media (min-width: 768px) {
    .md\:text-xl { font-size: 1.4rem !important; line-height: 1.5rem !important; }
    .md\:text-\[10px\] { font-size: 10px !important; }
    .md\:text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
}

/* Max width */
.max-w-6xl { max-width: 72rem !important; }

/* Pointer events */
.pointer-events-none { pointer-events: none !important; }
.pointer-events-auto { pointer-events: auto !important; }

/* Shadow */
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important; }

/* Via gradient */
.via-blue-300 { --tw-gradient-to: rgb(147 197 253 / 0); --tw-gradient-stops: var(--tw-gradient-from), rgb(147 197 253), var(--tw-gradient-to) !important; }
.via-transparent { --tw-gradient-to: transparent; --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to) !important; }

/* Top/Left positioning */
.top-3 { top: 0.75rem !important; }
.left-3 { left: 0.75rem !important; }

/* Margin left for play icon */
.ml-0\.5 { margin-left: 0.125rem !important; }

/* Padding для live badge */
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }

/* ============================================
   PRICE FILTER SECTION
   ============================================ */

.price-filter-section {
    background: #ffffff;
    padding: 0rem 1rem;
    position: relative;
    overflow: hidden;
    font-family: 'Libertinus Sans', 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.price-filter-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .price-filter-container {
        width: 75%;
    }
}

.price-filter-title {
    text-align: center;
    font-size: 2.2rem;
    letter-spacing: -1px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 0rem 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Libertinus Sans', 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.price-filter-title i {
    color: #db2777;
    font-size: 2rem;
}

.price-filter-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: #000000;
    margin: 0 0 0.7rem 0;
    font-weight: 400;
    font-family: 'Libertinus Sans', 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.price-filter-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0;
    margin: 0 -1rem;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: scroll-position;
}

.price-filter-scroll::-webkit-scrollbar {
    display: none;
}

.price-filter-items {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
    min-width: -webkit-max-content;
    min-width: max-content;
}

@media (min-width: 768px) {
    .price-filter-items {
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        min-width: auto;
    }
    
    .price-filter-scroll {
        overflow-x: visible;
        margin: 0;
    }
}

.price-filter-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 1rem;
    background: -webkit-linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e5e7eb;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    position: relative;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.price-filter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(219, 39, 119, 0.1), transparent);
    -webkit-transition: left 0.5s ease;
    transition: left 0.5s ease;
}

.price-filter-item:hover::before {
    left: 100%;
}

.price-filter-item:hover {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    border-color: #db2777;
    -webkit-box-shadow: 0 8px 24px rgba(219, 39, 119, 0.15);
    box-shadow: 0 8px 24px rgba(219, 39, 119, 0.15);
    background: -webkit-linear-gradient(135deg, #ffffff 0%, #fff5f9 100%);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f9 100%);
}

.price-filter-item:active {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.price-icon {
    width: 48px;
    height: 48px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    background: -webkit-linear-gradient(135deg, #db2777 0%, #ff0055 100%);
    background: linear-gradient(135deg, #db2777 0%, #ff0055 100%);
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0 4px 12px rgba(219, 39, 119, 0.2);
    box-shadow: 0 4px 12px rgba(219, 39, 119, 0.2);
}

.price-filter-item:hover .price-icon {
    -webkit-transform: scale(1.1) rotate(5deg);
    transform: scale(1.1) rotate(5deg);
    -webkit-box-shadow: 0 6px 20px rgba(219, 39, 119, 0.3);
    box-shadow: 0 6px 20px rgba(219, 39, 119, 0.3);
}

.price-icon i {
    color: #ffffff;
    font-size: 1.25rem;
}

.price-content {
    -webkit-box-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.price-label {
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    white-space: nowrap;
    font-family: 'Libertinus Sans', 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.price-desc {
    font-size: 1.4rem;
    color: #000000;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.1px;
    font-family: 'Libertinus Sans', 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.price-filter-item:hover .price-label {
    color: #db2777;
}

.price-filter-item:hover .price-desc {
    color: #db2777;
}

.price-arrow {
    width: 32px;
    height: 32px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background: rgba(219, 39, 119, 0.1);
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.price-filter-item:hover .price-arrow {
    background: -webkit-linear-gradient(135deg, #db2777 0%, #ff0055 100%);
    background: linear-gradient(135deg, #db2777 0%, #ff0055 100%);
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}

.price-arrow i {
    color: #db2777;
    font-size: 0.875rem;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.price-filter-item:hover .price-arrow i {
    color: #ffffff;
}

/* Специальный стиль для "И в космос" */
.price-filter-item-space .price-icon {
    background: -webkit-linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #6366f1 100%);
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #6366f1 100%);
    -webkit-animation: space-glow 2s ease-in-out infinite;
    animation: space-glow 2s ease-in-out infinite;
}

.price-filter-item-space:hover .price-icon {
    -webkit-animation: space-glow 1s ease-in-out infinite;
    animation: space-glow 1s ease-in-out infinite;
}

@-webkit-keyframes space-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(147, 51, 234, 0.6), 0 0 30px rgba(147, 51, 234, 0.3);
    }
}

@keyframes space-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(147, 51, 234, 0.6), 0 0 30px rgba(147, 51, 234, 0.3);
    }
}

.price-filter-item-space .price-icon i {
    -webkit-animation: rocket-float 2s ease-in-out infinite;
    animation: rocket-float 2s ease-in-out infinite;
}

@-webkit-keyframes rocket-float {
    0%, 100% {
        -webkit-transform: translateY(0) rotate(0deg);
        transform: translateY(0) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-3px) rotate(-10deg);
        transform: translateY(-3px) rotate(-10deg);
    }
}

@keyframes rocket-float {
    0%, 100% {
        -webkit-transform: translateY(0) rotate(0deg);
        transform: translateY(0) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-3px) rotate(-10deg);
        transform: translateY(-3px) rotate(-10deg);
    }
}

@media (max-width: 767px) {
    .price-filter-title {
        font-size: 1.6rem;
        letter-spacing: -0.5px;
    }
    
    .price-filter-title i {
        font-size: 1.4rem;
    }
    
    .price-filter-subtitle {
        font-size: 1rem;
    }
    
    .price-filter-item {
        min-width: 180px;
        padding: 0.875rem 1rem;
    }
    
    .price-icon {
        width: 40px;
        height: 40px;
    }
    
    .price-icon i {
        font-size: 1rem;
    }
    
    .price-label {
        font-size: 1.1rem;
        letter-spacing: -0.3px;
    }
    
    .price-desc {
        font-size: 0.9rem;
        letter-spacing: -0.05px;
    }
    
    .price-arrow {
        width: 28px;
        height: 28px;
    }
}

/* Плавная прокрутка для мобильных */
@media (max-width: 767px) {
    .price-filter-items {
        scroll-snap-type: x mandatory;
    }
    
    .price-filter-item {
        scroll-snap-align: start;
    }
}

