::-webkit-scrollbar { display: none; }

html {
    background-color: #080808 !important; 
    height: 100%;
}

body {
    scrollbar-width: none;
    font-family: 'Doto', sans-serif !important;
    color: white;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    background-color: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overscroll-behavior: none;
}

a, button { -webkit-tap-highlight-color: transparent; }

/* === ФОН === */
.background-layer {
    position: fixed;
    top: -20vh;
    left: 0;
    right: 0;
    bottom: -20vh;
    width: 100%;
    height: 140vh;
    z-index: 0;
    pointer-events: none;
}

/* === СТЕКЛЯННЫЕ ПАНЕЛИ === */
.header-wrapper, .container, .footer {
    position: relative;
    z-index: 1;
    background: rgba(30, 30, 30, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%; 
}

.header-wrapper, .footer { flex: 0 0 auto; }

/* === ШАПКА === */
.header-wrapper {
    display: flex;
    align-items: center;
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 60px; width: auto; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.212)); transition: filter 0.3s ease, transform 0.3s ease; }
.logo a:hover img { filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.308)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.205)); transform: scale(1.03); }

.navigation { flex: 1; display: flex; align-items: center; justify-content: center; }
.navigation-text { width: 100%; }
.navigation-textass { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }

.hamburger, .mobile-only, .mobile-title { display: none; }

.navigation-text-color {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 15px 30px;
    color: #e0e0e0;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.navigation-text-color:hover { filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.308)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.5)); transform: scale(1.03); }

/* === ОСНОВНОЙ КОНТЕЙНЕР === */
.container {
    justify-content: center;
    align-items: flex-start;
    padding: 20px 20px;
    width: 100%;
}

/* ==========================================================================
   СЕТКА SETS (Выступления 16:9)
   ========================================================================== */
.sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Базовая ширина для ПК */
    gap: 25px;
    width: 100%;
}

.sd-video-player {
    width: 100%; /* Занимает всю ширину колонки */
    height: auto; /* Высота подстраивается автоматически */
    aspect-ratio: 16 / 9; /* Магия современных браузеров: жестко держит пропорцию 16:9 */
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: none;
    margin-bottom: 5px; /* Небольшой отступ до кнопок */
}

.set-card {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: grid !important;
    grid-template-rows: max-content 1fr !important;
    text-decoration: none;
    color: inherit;
    
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background 0.3s ease;
}

.set-card.visible { opacity: 1; transform: translateY(0); }
.set-card.visible:hover { background: rgba(20, 20, 20, 0.7); z-index: 10; }

.set-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important; /* ФОРМАТ 16:9 */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: block !important;
}

.set-card:hover .set-image { transform: translateY(-8px); box-shadow: 0 15px 25px rgba(0, 0, 0, 0.8); }

.set-title { font-size: 18px; font-weight: 500; color: #ffffff; padding-bottom: 10px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); letter-spacing: 0.5px; line-height: 1.3; }

/* === КНОПКА MORE === */
.load-more-btn {
    width: 100%; margin: 40px 0; padding: 15px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: #e0e0e0; font-family: 'Doto', sans-serif;
    font-size: 22px; font-weight: 500; text-transform: uppercase; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; transition: all 0.3s ease;
}
.load-more-btn:hover { background: rgba(255, 255, 255, 0.15); color: #ffffff; border-color: rgba(255, 255, 255, 0.3); }
.chevron { display: inline-block; transform: rotate(90deg); transition: transform 0.4s ease; }
.load-more-btn.active .chevron { transform: rotate(-90deg); }
.hidden-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.8s ease-in-out; }
.hidden-wrapper.show { grid-template-rows: 1fr; }
.hidden-inner { overflow: hidden; }

/* === МАГИЯ АНИМАЦИИ МЕЖДУ СТРАНИЦАМИ === */
@view-transition { 
    navigation: auto; 
}
::view-transition-group(*) {
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
.page-fade-in { animation: pageEnter 0.4s ease forwards; }
@keyframes pageEnter { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   ФУТЕР И АДАПТИВНОСТЬ
   ========================================================================== */
.footerlink { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; width: 100%; gap: 20px; }
.footerinfo { display: flex; flex-direction: row; gap: 40px; text-align: left; }
.footer-block { display: flex; flex-direction: column; }
.footertext { font-size: 20px; color: rgb(255, 255, 255); text-transform: uppercase; margin-bottom: 8px; }
.footericongrup { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.iconsatings { width: 22px; transition: transform 0.2s ease; }
.iconsatings:hover { transform: scale(1.2); }
.footerxtane { align-self: center; transition: transform 0.2s ease; }
.footerxtane:hover { transform: scale(1.03); }

.back-btn { background: transparent; color: #fff; border: none; font-family: 'Doto', sans-serif; font-size: 14px; font-weight: bold; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 30px 0; padding: 0; transition: transform 0.3s ease, color 0.3s ease; text-decoration: none; }
.back-btn:hover { color: #b0b0b0; transform: translateX(-5px); }

.set-detail-wrapper { display: flex !important; gap: 60px !important; width: 100% !important; max-width: 100% !important; background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: none !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; box-sizing: border-box; }

/* ЛЕВАЯ КОЛОНКА (Сделали шире под 16:9) */
.sd-left { 
    flex: 1.5; 
    max-width: 600px; 
    display: flex; 
    flex-direction: column; 
    position: relative; 
    z-index: 10; 
}
.sd-cover { width: 100%; max-width: 600px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.6); margin-bottom: 25px; display: block !important; }
.sd-title { font-size: 28px; font-weight: 700; color: #ffffff; margin: 0 0 25px 0; text-shadow: 0 2px 5px rgba(0,0,0,0.5); line-height: 1.3; }

.artist-link-btn { display: flex; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.05); color: #ffffff; text-decoration: none; padding: 18px; border-radius: 12px; font-size: 16px; font-weight: 700; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.3s ease; text-align: center; }
.artist-link-btn:hover { background: #ffffff; color: #080808; transform: scale(1.02); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3); }

/* ПРАВАЯ КОЛОНКА */
.sd-right { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; }

/* Кнопки сервисов (Те же стили, что и в релизах) */
.sd-services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.service-rect { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; height: 60px; display: flex; justify-content: center; align-items: center; padding: 12px; box-sizing: border-box; text-decoration: none; transition: all 0.3s ease; }
.service-rect img { width: auto; max-width: 90%; object-fit: contain; transition: transform 0.3s ease; }
.service-rect:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1); }
.service-rect:hover img { transform: scale(1.08); }

/* Баланс логотипов */
.service-rect img[src*="yt_logo"] { 
    height: 66px; 
}
.service-rect img[src*="Odysee"] { 
    height: 80px; 
    margin-top: 5px;
}
.service-rect img[src*="Mixcloud"] { 
    height: 28px;
    filter: invert(1); 
}
.service-rect img[src*="SoundCloud"] { 
    height: 56px; 
}
.service-rect img[src*="PATREON"] { 
    height: 56px;
    filter: invert(1); 
}
.service-rect-text-PATREON { 
    margin-top: -8px;
    color: #fff; 
    font-family: 'Doto', sans-serif;
    font-size: 10px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.service-rect img[src*="telegram"] {
    height: 34px; 
}
.service-rect-text { 
    margin-left: 8px; 
    color: #fff; 
    font-family: 'Doto', sans-serif;
    font-size: 20px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}


.sd-anim-elem { 
    opacity: 0; 
    transform: translateY(30px); 
    animation: slideUpFade 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; 
}
.sd-title { animation-delay: 0.1s; }
.artist-link-btn { animation-delay: 0.2s; }
.sd-right { animation-delay: 0.3s; }

@keyframes slideUpFade { 
    to { opacity: 1; transform: translateY(0); } 
}

/* ==========================================================================
   СИСТЕМА ФИЛЬТРОВ
   ========================================================================== */
.filters-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 50; /* Чтобы меню открывалось поверх сетов */
}

.filter-group {
    position: relative;
}

/* Кнопка вызова меню */
.filter-btn {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Doto', sans-serif;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Выпадающее меню с тегами */
.filter-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    width: 320px; /* Ширина меню */
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    
    /* Анимация появления */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
}

.filter-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Красивый скроллбар для выпадающего списка */
.filter-dropdown::-webkit-scrollbar { width: 6px; }
.filter-dropdown::-webkit-scrollbar-track { background: transparent; }
.filter-dropdown::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; }

/* Теги внутри меню */
.filter-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Тег выбран */
.filter-tag.selected {
    background: #fff;
    color: #000;
    border-color: #fff;
    font-weight: 700;
}

/* Класс, который JS вешает на карточки, чтобы их спрятать */
.set-card.hidden-by-filter {
    display: none !important;
}

/* === IPAD (3 карточки 16:9 в ряд) === */
@media (min-width: 768px) and (max-width: 1250px) {
    .sets-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .set-title { font-size: 15px; }

    .set-detail-wrapper {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .sd-left {
        max-width: 100%; /* Картинка теперь может занимать всю ширину */
    }
    
    .sd-cover {
        margin: 0 auto 25px auto; /* Центрируем обложку */
    }

    .sd-services-list {
        grid-template-columns: 1fr; 
    }
}

/* === МОБИЛЬНЫЕ ТЕЛЕФОНЫ === */
@media (max-width: 1024px) {
    body { position: relative; top: auto; left: auto; right: auto; bottom: auto; height: auto; overflow: auto; min-height: 100vh; }
    .header-wrapper { position: fixed; top: 20px; left: 20px; width: calc(100% - 40px); z-index: 1000; }
    .logo { order: 1; }
    .mobile-title { display: block; position: absolute; left: 50%; top: 40px; transform: translate(-50%, -50%); font-size: 30px; font-weight: 900; text-transform: uppercase; color: white; letter-spacing: 2px; z-index: 5; }
    
    .hamburger { display: flex; order: 3; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 10; }
    .hamburger span { width: 100%; height: 3px; background-color: white; border-radius: 10px; transition: all 0.3s linear; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -8px); }

    .navigation-text-item { order: 4; width: 100%; opacity: 0; max-height: 0; overflow: hidden; margin-top: 0; transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out, margin-top 0.3s ease-in-out; will-change: opacity, max-height; backface-visibility: hidden; transform: translateZ(0); }
    .navigation-text-color { text-align: center; display: block; }
    .navigation-textass { gap: 0; }
    .navigation-textass.menu-open .navigation-text-item { opacity: 0.99; max-height: 100px; margin-top: 10px; }

    .container { flex: none; min-height: 50vh; margin-top: 100px; justify-content: center; align-items: flex-start; padding: 20px 10px; }
    
    .footerlink { flex-direction: column; justify-content: center; text-align: center; }
    .footerinfo { flex-direction: column; gap: 20px; align-items: center; }
    .footer-block { align-items: center; }
    .footerxtane { margin-top: 10px; }
    .set-detail-wrapper { flex-direction: column !important; padding: 0 !important; gap: 30px !important; }
    .sd-left { max-width: 100%; }
    .sd-cover { margin: 0 auto 25px auto; }
    .sd-title { text-align: center; font-size: 24px; }
    .sd-services-list { grid-template-columns: 1fr; }
    .service-tg { grid-column: span 1; }
}

@media (max-width: 767px) {
    .sets-grid { grid-template-columns: 1fr; }
    .filter-group {
        position: static;
    }
    .filter-dropdown {
        /* Меню будет появляться строго под всеми кнопками */
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%; /* Убиваем жесткие 320px */
        margin-top: 10px;
        box-sizing: border-box;
    }
}