/* ================================
   O'SCALE — Стили
   ================================ */

/* ================================
   Защита медиа от перетаскивания
   ================================ */

button, a, .select-none {
    -webkit-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* ================================
   Material Symbols Configuration
   ================================ */

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ================================
   Зернистый оверлей
   ================================ */

.grain-overlay {
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuAknneKNn1I5hidiVBDi82ZzwlepzI0r54p0V_LjzGYyfPQXf4AodIcZ8R8zQtYCA3kEof7nVTO9f6CBxGTT3YrCjJ81Zp3AykMwyqlm3pr84VypscWA_9NNG7wPwz6yf3iIfGchYU3hkUdvh-wD-J9uC3kxQpLgQePhdPKJhWNjztzigNo1BPAdyB0fpcsIQtqKMGqI-1KP2xXrrjqdUYjel-0-TneA_Wk-BFoEKAIwJi1j-imireXPHqxYoccoqqFKUX6Bu21F_kh);
    opacity: 0.05;
    pointer-events: none;
}

/* ================================
   Брутальная тень
   ================================ */

.brutalist-shadow {
    transition: box-shadow 0.2s ease;
}

.brutalist-shadow:hover {
    box-shadow: 4px 4px 0 0 #ffb4a8;
}

/* ================================
   Вертикальный текст
   ================================ */

.text-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* ================================
   Preloader
   ================================ */

#preloader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes preload {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ================================
   Навигация
   ================================ */

#main-nav {
    background: transparent;
}

#main-nav.scrolled {
    background: rgba(19, 19, 19, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* ================================
   Custom Cursor
   ================================ */

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: -200px;
    left: -200px;
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.15s ease, transform 0.2s ease;
    opacity: 0;
    will-change: left, top, transform;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #FF5540;
    box-shadow: 0 0 10px rgba(255, 85, 64, 0.6);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: width 0.25s ease,
                height 0.25s ease,
                background-color 0.25s ease,
                border-color 0.25s ease,
                opacity 0.15s ease,
                transform 0.2s ease;
}

.cursor-outline.is-hovering {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 85, 64, 0.12);
    border-color: #FF5540;
}

.cursor-dot.is-clicking {
    transform: translate(-50%, -50%) scale(0.5);
}

.cursor-outline.is-clicking {
    transform: translate(-50%, -50%) scale(0.75);
}

.custom-cursor-active,
.custom-cursor-active * {
    cursor: none !important;
}

@media (hover: none), (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    .custom-cursor-active,
    .custom-cursor-active * {
        cursor: auto !important;
    }
}

/* ================================
   Glassmorphism
   ================================ */

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-strong {
    background: rgba(19, 19, 19, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   Magnetic buttons
   ================================ */

.magnetic {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ================================
   Hero parallax
   ================================ */

.parallax-bg {
    will-change: transform;
}

/* ================================
   Scroll Reveal
   ================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Кастомный скроллбар
   ================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #131313;
}

::-webkit-scrollbar-thumb {
    background: #ff5540;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffb4a8;
}

/* ================================
   Фокус (доступность)
   ================================ */

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #ffb4a8;
    outline-offset: 2px;
}

/* ================================
   Стили форм
   ================================ */

input::placeholder {
    color: rgba(255, 180, 168, 0.5);
}

input:focus::placeholder {
    color: rgba(255, 180, 168, 0.3);
}

/* ================================
   Состояния загрузки
   ================================ */

.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 19, 19, 0.8);
}

/* ================================
   Адаптивность
   ================================ */

@media (max-width: 768px) {
    .text-vertical {
        display: none;
    }
}

/* ================================
   Стили печати
   ================================ */

@media print {
    header, footer, nav {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ================================
   Liquid Glass Filter Buttons (Apple-style)
   ================================ */

.liquid-glass-group {
    position: relative;
    display: flex;
    align-items: center;
}

.liquid-glass-track {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03),
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        0 0 60px rgba(255, 85, 64, 0.08);
    overflow: hidden;
}

.liquid-glass-track::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 30%,
        transparent 60%,
        rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

.liquid-glass-track::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 1;
}

.liquid-glass-indicator,
.release-glass-indicator {
    position: absolute;
    top: 4px;
    left: 0;
    height: calc(100% - 8px);
    background: linear-gradient(135deg,
        #FF5540 0%,
        #FF8A75 50%,
        #FF5540 100%);
    border-radius: 999px;
    box-shadow:
        0 0 0 2px rgba(255, 85, 64, 0.3),
        0 0 20px rgba(255, 85, 64, 0.5),
        0 0 40px rgba(255, 85, 64, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    will-change: transform, width;
    z-index: 2;
}

.liquid-glass-indicator::before,
.release-glass-indicator::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    right: 10%;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.5) 0%,
        transparent 100%);
    border-radius: 999px;
    filter: blur(2px);
}

.gallery-filter-btn,
.release-tab-btn {
    position: relative;
    z-index: 3;
    color: rgba(226, 226, 226, 0.7);
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.1s ease;
    font-family: 'Manrope', sans-serif;
}

.gallery-filter-btn:hover,
.release-tab-btn:hover {
    color: #fff;
}

.gallery-filter-btn:active,
.release-tab-btn:active {
    transform: scale(0.96);
}

.gallery-filter-btn:focus-visible,
.release-tab-btn:focus-visible {
    outline: 2px solid #FF5540;
    outline-offset: 3px;
}

.gallery-filter-btn.active,
.release-tab-btn.active {
    color: #131313;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .liquid-glass-indicator,
    .release-glass-indicator {
        transition: none;
    }
}

/* Hover glow on track */
.liquid-glass-track:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 80px rgba(255, 85, 64, 0.15);
}

.gallery-filter-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    max-width: 100%;
    min-width: 0;
}

.gallery-filter-arrow {
    display: none;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e2e2;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.gallery-filter-arrow svg {
    width: 16px;
    height: 16px;
}

.gallery-filter-arrow:hover:not(:disabled) {
    background: #ff5540;
    color: #131313;
}

.gallery-filter-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .gallery-filter-arrow {
        display: grid;
    }

    .gallery-filter-wrap {
        width: 100%;
    }

    .liquid-glass-group {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .liquid-glass-track {
        gap: 2px;
        padding: 3px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .liquid-glass-track::-webkit-scrollbar {
        display: none;
    }

    .gallery-filter-btn {
        flex: 0 0 auto;
        min-width: 0;
        font-size: clamp(9px, 2.4vw, 11px) !important;
        letter-spacing: 0.03em;
        padding: 7px 12px !important;
        min-height: 32px;
        white-space: nowrap;
    }

    .liquid-glass-indicator {
        top: 3px;
        left: 0;
        height: calc(100% - 6px);
    }

    .gallery-controls {
        gap: 12px;
        margin-bottom: 20px;
    }

    .gallery-controls-label {
        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .gallery-nav-btn {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 380px) {
    .gallery-filter-btn {
        letter-spacing: 0;
        padding: 7px 9px !important;
    }

    .gallery-controls-label {
        display: none;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 80px rgba(255, 84, 64, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 48px;
    color: white;
    cursor: pointer !important;
    font-family: 'Epilogue', sans-serif;
    font-weight: 900;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ff5540;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-prev {
    left: 28px;
}

.lightbox-next {
    right: 28px;
}

.lightbox-nav:hover:not(:disabled) {
    background: #ff5540;
    color: #131313;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-nav:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .lightbox {
        background: #000;
    }

    .lightbox img {
        max-width: 100vw;
        max-height: 100dvh;
        width: 100%;
        height: 100%;
        object-fit: contain;
        box-shadow: none;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.45);
        border-color: rgba(255, 255, 255, 0.25);
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: max(12px, env(safe-area-inset-top));
        right: 14px;
        font-size: 38px;
        z-index: 3;
    }
}

.poster-clickable {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-clickable:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(255, 84, 64, 0.5);
}

/* ================================
   Electric border (красный)
   ================================ */

.electric-border {
    position: relative;
    z-index: 1;
}

.electric-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, #FF5540, #ffb4a8, #FF5540, #ffb4a8, #FF5540);
    background-size: 300% 100%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: electric-flow 3s linear infinite;
    z-index: -1;
}

.electric-border::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: linear-gradient(90deg, #FF5540, #ffb4a8, #FF5540, #ffb4a8, #FF5540);
    background-size: 300% 100%;
    filter: blur(12px);
    opacity: 0;
    animation: electric-flow 3s linear infinite;
    z-index: -2;
    transition: opacity 0.3s ease;
}

.electric-border:hover::after {
    opacity: 0.7;
}

@keyframes electric-flow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ================================
   Electric border gray (серый)
   ================================ */

.electric-border-gray {
    position: relative;
    z-index: 1;
}

.electric-border-gray::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.6)
    );
    background-size: 300% 100%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: electric-flow 3s linear infinite;
    z-index: -1;
}

.electric-border-gray::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.6)
    );
    background-size: 300% 100%;
    filter: blur(12px);
    opacity: 0;
    animation: electric-flow 3s linear infinite;
    z-index: -2;
    transition: opacity 0.3s ease;
}

.electric-border-gray:hover::after {
    opacity: 0.5;
}

/* ================================
   Концертная галерея — ровная сетка
   ================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.gallery-controls-label {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(226, 226, 226, 0.55);
}

.gallery-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-nav-btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #e2e2e2;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.gallery-nav-btn svg {
    width: 20px;
    height: 20px;
}

.gallery-nav-btn:hover:not(:disabled) {
    background: #ff5540;
    border-color: #ff5540;
    color: #131313;
    transform: scale(1.06);
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-page {
    min-width: 64px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(226, 226, 226, 0.7);
}

.gallery-item {
    aspect-ratio: 4 / 3;
    break-inside: auto;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before,
.gallery-item:focus-visible::before {
    opacity: 1;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(255, 85, 64, 0.3);
    z-index: 10;
    outline: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(0.6) brightness(0.8);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.08);
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-loader,
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

/* Staggered reveal */
.gallery-item.reveal-gallery {
    opacity: 0;
    transform: translateY(60px) scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item.reveal-gallery.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Бегущая строка */
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Счётчик */
.gallery-counter {
    font-variant-numeric: tabular-nums;
}

/* Glitch */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: #ff5540;
    z-index: -1;
    animation: glitch-1 3s infinite linear alternate-reverse;
}

.glitch::after {
    color: #488fff;
    z-index: -2;
    animation: glitch-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0%, 90%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    92% { clip-path: inset(20% 0 60% 0); transform: translate(-4px, 2px); }
    94% { clip-path: inset(60% 0 10% 0); transform: translate(4px, -2px); }
    96% { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 4px); }
    98% { clip-path: inset(10% 0 70% 0); transform: translate(2px, -4px); }
}

@keyframes glitch-2 {
    0%, 88%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    90% { clip-path: inset(70% 0 5% 0); transform: translate(3px, -1px); }
    93% { clip-path: inset(15% 0 55% 0); transform: translate(-3px, 1px); }
    95% { clip-path: inset(50% 0 20% 0); transform: translate(1px, 3px); }
    97% { clip-path: inset(5% 0 80% 0); transform: translate(-1px, -3px); }
}

/* Статистика */
.stat-number {
    background: linear-gradient(135deg, #FF5540, #ffb4a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 85, 64, 0.1) 60deg, transparent 120deg);
    animation: stat-rotate 6s linear infinite;
    z-index: 0;
}

@keyframes stat-rotate {
    100% { transform: rotate(360deg); }
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

/* ================================
   Видео — Сетка и Карточки
   ================================ */

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.video-card {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 85, 64, 0.4);
    box-shadow: 0 20px 50px rgba(255, 85, 64, 0.2);
}

.video-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #181818;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.35) brightness(0.85);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-card:hover .video-card-thumb img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.06);
}

.video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-card-overlay {
    opacity: 0.5;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: rgba(255, 85, 64, 0.95);
    color: #131313;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(255, 85, 64, 0.7);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                box-shadow 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.video-play-btn svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
    fill: currentColor;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: #ff5540;
    box-shadow: 0 0 45px rgba(255, 85, 64, 0.95);
}

.video-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    background: #ff5540;
    color: #131313;
    font-family: 'Epilogue', sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.video-badge-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.video-card-info {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(25, 25, 25, 0.6);
}

/* ================================
   Video Modal / Lightbox
   ================================ */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.video-modal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9), 0 0 80px rgba(255, 85, 64, 0.25);
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.3s ease;
    overflow: hidden;
}

.video-modal.active .video-modal-container {
    transform: scale(1);
}

.video-modal-container.is-vertical {
    max-width: 440px;
}

.video-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    font-size: 40px;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer !important;
    line-height: 1;
    font-family: 'Epilogue', sans-serif;
    font-weight: 900;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
}

.video-modal-close:hover {
    color: #ff5540;
    transform: scale(1.1);
}

.video-player-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-modal-container.is-vertical .video-player-wrap {
    padding-top: 0;
    height: 70vh;
    max-height: 620px;
}

.video-player-wrap iframe,
.video-player-wrap video,
.video-modal-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-player-wrap video {
    object-fit: contain;
    background: #000;
    outline: none;
}

.video-modal-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    background: radial-gradient(circle at center, #242424 0%, #101010 100%);
}

.video-modal-meta {
    padding: 1.5rem 2rem;
    background: #161616;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================================
   Музыка / Стриминг — Слайдер релизов
   ================================ */

.music-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.music-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.music-slide {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    opacity: 0.35;
    transform: scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.music-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.music-link-card {
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.music-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 85, 64, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 85, 64, 0.15);
}

.music-link-card:active {
    transform: translateY(0);
}

.hero-release-pill {
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hero-release-pill:hover {
    transform: scale(1.04);
}



