:root {
    --orange: #ff4500;
    --orange-light: #ff6b35;
    --green-live: #32ff7e;
    --dark-pure: #000000;
    --dark-matte: #0a0a0a;
    --dark-card: #111111;
    --white: #ffffff;
    --gray-matte: #333333;
    --gray-light: #1a1a1a;
}

/* ЗАГРУЗКА КАСТОМНОГО ШРИФТА */
@font-face {
    font-family: 'ZARBA';
    src: url('assets/fonts/ZARBA.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ============================================
   БАЗОВЫЕ СТИЛИ + МОБИЛЬНАЯ БРОНЯ (ПАКЕТ 1)
   ============================================ */
body, html {
    margin: 0;
    padding: 0;
    background: #080808;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    height: 100%;
    overflow-x: hidden;
    position: relative;
    
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
    overscroll-behavior-y: none;
}

input, textarea {
    -webkit-user-select: auto;
    user-select: auto;
}

/* ПРЕМИУМ ФОН */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 900px 600px at -5% 10%, rgba(255, 69, 0, 0.09) 0%, transparent 65%),
        radial-gradient(ellipse 700px 500px at 105% 90%, rgba(255, 69, 0, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 1400px 500px at 50% 0%, rgba(255, 69, 0, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, rgba(18, 18, 18, 1) 0%, rgba(10, 10, 10, 1) 40%, rgba(6, 6, 6, 1) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.008) 2px, rgba(255, 255, 255, 0.008) 4px);
    background-attachment: fixed;
    background-color: #080808;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle 800px at 50% 50%, rgba(255, 69, 0, 0.03) 0%, transparent 80%),
        radial-gradient(1px 1px at 15% 25%, rgba(255, 255, 255, 0.25) 0%, transparent 1px),
        radial-gradient(1px 1px at 85% 75%, rgba(255, 255, 255, 0.2) 0%, transparent 1px),
        radial-gradient(1px 1px at 45% 45%, rgba(255, 100, 0, 0.3) 0%, transparent 1px),
        radial-gradient(1px 1px at 70% 15%, rgba(255, 255, 255, 0.22) 0%, transparent 1px),
        radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.18) 0%, transparent 1px),
        radial-gradient(1px 1px at 60% 85%, rgba(255, 100, 0, 0.2) 0%, transparent 1px),
        radial-gradient(1px 1px at 10% 60%, rgba(255, 255, 255, 0.15) 0%, transparent 1px);
    background-size: 100% 100%, 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%, 200% 200%;
    background-attachment: fixed;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   УПРУГИЙ ОТКЛИК НА КАСАНИЕ (ПАКЕТ 1)
   ============================================ */
.track-row-skeleton:active,
.release-item-skeleton:active,
.ringtone-item:active,
.trend-track-row:active,
.newcomer-card:active,
.artist-card-skeleton:active,
.player-btn:active,
.btn-google-auth:active,
.scroll-arrow-btn:active,
.play-btn-elite:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 0.85;
}

/* ============================================
   HEADER
   ============================================ */
.main-header {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(5, 5, 5, 0.95);
}

.nav-logo {
    height: 35px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-area {
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-area:hover {
    opacity: 0.9;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 69, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-area:hover .logo-icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.25) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-color: rgba(255, 69, 0, 0.4);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.2);
}

.logo-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(100%);
    transition: all 0.3s ease;
}

.logo-area:hover .logo-icon {
    filter: brightness(0) saturate(100%) invert(45%) sepia(100%) saturate(500%) hue-rotate(-10deg);
}

.logo-text-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-family: 'ZARBA', 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo-area:hover .logo-main {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 8px;
    font-weight: 800;
    color: #555;
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
    transition: color 0.3s ease;
    max-width: 120px;
}

.logo-area:hover .logo-tagline {
    color: var(--orange);
}

.main-nav button {
    background: none;
    border: none;
    color: #666;
    margin: 0 10px;
    font-weight: 800;
    cursor: pointer;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding-bottom: 2px;
}

.main-nav button:hover {
    color: var(--orange);
    transform: translateY(-2px);
}

.main-nav button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav button:hover::after {
    width: 100%;
}

.btn-google-auth {
    background: #FF4500;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    margin-left: auto;
}

.btn-google-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
    background: #ff571a;
}

/* ============================================
   РАДИО КАПСУЛА
   ============================================ */
.radio-section {
    padding: 60px 20px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.radio-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: wave-pulse 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes wave-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

.z-capsule {
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #141414 0%, #0d0d0d 50%, #0a0a0a 100%);
    border: 1px solid rgba(255,69,0,0.2);
    border-radius: 120px;
    padding: 16px 50px 16px 20px;
    gap: 35px;
    box-shadow: 
        0 2px 0 rgba(255,255,255,0.05) inset,
        0 -2px 0 rgba(0,0,0,0.7) inset,
        1px 0 0 rgba(255,255,255,0.03) inset,
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 25px rgba(0,0,0,0.6),
        0 0 60px rgba(255, 69, 0, 0.12);
    backdrop-filter: blur(20px);
    background-color: rgba(12, 12, 12, 0.97);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.z-capsule:hover {
    border-color: rgba(255,69,0,0.4);
    box-shadow: 
        0 2px 0 rgba(255,255,255,0.06) inset,
        0 -2px 0 rgba(0,0,0,0.7) inset,
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 10px 30px rgba(0,0,0,0.7),
        0 0 80px rgba(255, 69, 0, 0.2);
    transform: translateY(-2px);
}

.capsule-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.audio-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wave-bar {
    width: 3px;
    height: 20px;
    background: linear-gradient(to top, var(--orange), var(--orange-light));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
    animation: wave-bars 0.6s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.2s; }

@keyframes wave-bars {
    0%, 100% { height: 10px; opacity: 0.5; }
    50% { height: 40px; opacity: 1; }
}

.play-btn-elite {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    z-index: 10;
    box-shadow: 
        0 0 30px rgba(255, 69, 0, 0.5),
        0 10px 40px rgba(255, 69, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.play-btn-elite::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translate(-100%, -100%) rotate(0deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

.play-btn-elite img {
    width: 32px;
    height: auto;
    display: block;
    margin: 0;
    position: relative;
    z-index: 2;
}

.play-btn-elite:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 50px rgba(255, 69, 0, 0.8),
        0 15px 50px rgba(255, 69, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.energy-ring-1, .energy-ring-2 {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    animation: ring-pulse 3s infinite;
    opacity: 0.6;
}

.energy-ring-2 {
    animation-delay: 1.5s;
}

@keyframes ring-pulse {
    0% { transform: scale(1); opacity: 0.8; border-color: var(--orange); }
    50% { opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; border-color: var(--orange-light); }
}

.history-side {
    display: flex;
    flex-direction: column;
    min-width: 130px;
    text-align: left;
    padding: 8px 0;
}

.history-label {
    font-size: 9px;
    font-weight: 900;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.history-track-bright {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    transition: color 0.3s ease;
}

.history-side:hover .history-track-bright {
    color: var(--orange);
}

.capsule-info {
    display: flex;
    flex-direction: column;
    min-width: 400px;
    gap: 8px;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.live-tag-green {
    color: var(--green-live);
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 0 8px rgba(50, 255, 126, 0.6);
    letter-spacing: 1px;
}

.green-dot {
    width: 8px;
    height: 8px;
    background: var(--green-live);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--green-live);
    animation: blink 1.2s infinite;
}

.tags-group {
    display: flex;
    gap: 8px;
}

.z-tag {
    font-size: 8px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 3px;
    border: 1px solid #444;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 69, 0, 0.05);
    transition: all 0.3s ease;
}

.z-tag:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 69, 0, 0.1);
}

.pure-track-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.1;
}

.pure-artist-name {
    font-size: 13px;
    color: #888;
    margin: 0;
    font-weight: 700;
    text-transform: capitalize;
}

.progress-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

.time-current, .time-total {
    font-size: 10px;
    font-weight: 800;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-line-bg {
    flex-grow: 1;
    height: 4px;
    background: #1a1a1a;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.neon-line-fill {
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    box-shadow: 0 0 15px var(--orange), inset 0 0 10px rgba(255, 69, 0, 0.5);
    border-radius: 2px;
    transition: width 0.3s linear;
}

.capsule-actions {
    display: flex;
    gap: 10px;
}

.btn-chat-elite {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border: 1px solid #333;
    color: white;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-chat-elite:hover {
    background: var(--orange);
    color: black;
    border-color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

/* ============================================
   РАЗДЕЛИТЕЛИ МЕЖДУ СЕКЦИЯМИ
   ============================================ */
.content-block {
    padding: 60px 40px 80px 40px;
    position: relative;
    z-index: 1;
}

.content-block + .content-block {
    border-top: 1px solid transparent;
    background-clip: padding-box;
}

.content-block + .content-block::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,69,0,0.2) 15%,
        rgba(255,255,255,0.1) 40%,
        rgba(255,255,255,0.1) 60%,
        rgba(255,69,0,0.2) 85%,
        transparent 100%
    );
    pointer-events: none;
}

.content-block + .content-block::after {
    content: '';
    display: block;
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,69,0,0.6), 0 0 20px rgba(255,69,0,0.3);
    pointer-events: none;
}

h3, h2, h1 {
    border: none !important;
    outline: none !important;
    margin: 0;
    padding: 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 40px;
    border-left: 4px solid var(--orange);
    padding-left: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(45%) sepia(100%) saturate(500%) hue-rotate(-10deg);
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
}

.section-icon:focus,
.section-icon:active,
.section-icon:focus-visible {
    outline: none !important;
    border: none !important;
}

/* ============================================
   ТОП 10
   ============================================ */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-row-skeleton {
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #161616 0%, #0f0f0f 60%, #0a0a0a 100%);
    border: 1px solid rgba(255, 69, 0, 0.15);
    padding: 14px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 -1px 0 rgba(0,0,0,0.5) inset,
        0 6px 15px rgba(0,0,0,0.7),
        0 1px 3px rgba(0,0,0,0.5);
}

.track-row-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.1), transparent);
    transition: left 0.3s ease;
}

.track-row-skeleton:hover::before {
    left: 100%;
}

.track-row-skeleton:hover {
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border-color: rgba(255,69,0,0.4);
    transform: translateX(6px) translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 -1px 0 rgba(0,0,0,0.6) inset,
        0 12px 30px rgba(0,0,0,0.5),
        0 4px 12px rgba(255,69,0,0.15),
        0 0 0 1px rgba(255,69,0,0.1);
}

.rank {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--orange);
    width: 40px;
    text-align: center;
}

.mini-cover {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
    padding: 10px;
    border-radius: 6px;
    margin: 0 20px;
    opacity: 0.6;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.track-row-skeleton:hover .mini-cover {
    opacity: 1;
    border-color: var(--orange);
}

.track-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 2px;
}

.t-name {
    font-weight: 800;
    font-size: 16px;
    color: var(--white);
    text-transform: capitalize;
}

.a-name {
    font-size: 12px;
    color: #888;
    text-transform: capitalize;
}

.trend-indicators {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.trend-up {
    color: var(--green-live);
    font-weight: 900;
    font-size: 14px;
    text-shadow: 0 0 8px rgba(50, 255, 126, 0.4);
}

.trend-down {
    color: #ff6b6b;
    font-weight: 900;
    font-size: 14px;
}

/* ============================================
   НОВИНКИ
   ============================================ */
.grid-1-1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.release-item-skeleton {
    aspect-ratio: 1/1;
    background: linear-gradient(160deg, #1e1e1e 0%, #141414 60%, #0f0f0f 100%);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 2px 0 rgba(255,255,255,0.05) inset,
        0 -1px 0 rgba(0,0,0,0.6) inset,
        0 8px 25px rgba(0,0,0,0.7),
        0 2px 4px rgba(0,0,0,0.4);
}

.release-item-skeleton::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 69, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.release-item-skeleton::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.release-item-skeleton:hover::before { opacity: 1; }

.release-item-skeleton:hover {
    transform: scale(1.05) translateY(-4px);
    border-color: rgba(255,69,0,0.5);
    box-shadow:
        0 2px 0 rgba(255,255,255,0.06) inset,
        0 -1px 0 rgba(0,0,0,0.6) inset,
        0 16px 40px rgba(0,0,0,0.7),
        0 8px 20px rgba(255,69,0,0.2),
        0 0 0 1px rgba(255,69,0,0.15);
}

.release-item-skeleton img {
    width: 60px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.release-item-skeleton:hover img { opacity: 0.5; }

.release-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: black;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

/* ============================================
   АРТИСТЫ МЕСЯЦА
   ============================================ */
.artists-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 50px;
}

.artist-card-skeleton {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.artist-card-skeleton:hover { transform: translateY(-10px); }

.circle-avatar {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 50%;
    border: 2px solid #333;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.circle-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.circle-avatar:hover img { opacity: 1; }

.circle-avatar:hover {
    border-color: var(--orange);
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.4), inset 0 0 20px rgba(255, 69, 0, 0.1);
    transform: scale(1.05);
}

.artist-name {
    font-size: 13px;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.artist-card-skeleton:hover .artist-name { color: var(--orange); }

/* ============================================
   РИНГТОНЫ
   ============================================ */
.ringtones-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ringtone-item {
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #161616 0%, #0f0f0f 60%, #0a0a0a 100%);
    border: 1px solid rgba(255, 69, 0, 0.15);
    padding: 16px 28px;
    border-radius: 50px;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.05) inset,
        0 -1px 0 rgba(0,0,0,0.5) inset,
        0 6px 18px rgba(0,0,0,0.6);
}

.ringtone-item:hover {
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border-color: rgba(255,69,0,0.4);
    transform: translateX(6px) translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 -1px 0 rgba(0,0,0,0.6) inset,
        0 12px 30px rgba(0,0,0,0.5),
        0 4px 12px rgba(255,69,0,0.15);
}

.play-small {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.play-small:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
}

.ring-title {
    font-weight: 700;
    font-size: 14px;
    flex-grow: 1;
    margin-left: 20px;
    text-transform: capitalize;
    color: #fff;
}

.btn-download-wa {
    background: linear-gradient(135deg, #25D366 0%, #20ba5f 100%);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-download-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    padding: 20px 40px;
    border-top: 1px solid #1a1a1a;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.footer-logo {
    height: 30px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.footer-logo:hover { opacity: 0.8; }

.footer-copy {
    font-size: 8px;
    color: #555;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
}

.footer-socials {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    color: #666;
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-2px);
    border-color: var(--orange);
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, rgba(255, 69, 0, 0.05) 100%);
    color: var(--orange);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.2);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.footer-link:hover { color: var(--orange); }
.footer-link:hover::before { width: 100%; }

.footer-slogan {
    font-size: 9px;
    color: #555;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.heart {
    color: var(--orange);
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ============================================
   МОДАЛЬНЫЕ ОКНА
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-hip-hop {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border: 3px solid #ff4500;
    border-radius: 20px;
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 50px;
    position: relative;
    overflow-y: auto;
    animation: modalIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal-hip-hop::before,
.modal-hip-hop::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid var(--orange);
}

.modal-hip-hop::before {
    top: -10px; left: -10px;
    border-right: none; border-bottom: none;
    border-radius: 10px 0 0 0;
}

.modal-hip-hop::after {
    bottom: -10px; right: -10px;
    border-left: none; border-top: none;
    border-radius: 0 0 10px 0;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-60px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border: none;
    color: black;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    z-index: 10;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.15);
    filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.6));
}

.modal-title {
    font-family: 'ZARBA', 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--orange);
    margin: 0 0 25px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(255, 69, 0, 0.5), 0 0 80px rgba(255, 69, 0, 0.2);
    line-height: 1.1;
}

.modal-content {
    font-size: 16px;
    line-height: 1.8;
    color: #f0f0f0;
    flex: 1;
    overflow-y: auto;
}

.modal-content p { margin: 0 0 20px 0; }
.modal-content p:last-child { margin-bottom: 0; }

.modal-content strong {
    color: var(--orange-light);
    font-weight: 900;
    text-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

.modal-content a {
    color: var(--orange-light);
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.modal-content a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.modal-content a:hover { text-shadow: 0 0 20px rgba(255, 69, 0, 0.7); }
.modal-content a:hover::after { width: 100%; }

/* ============================================
   АНИМАЦИИ И ГЛОБАЛЬНАЯ БРОНЯ КАРТИНОК
   ============================================ */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

* { box-sizing: border-box; }

img {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0;
    display: block;
    -webkit-user-drag: none;
    pointer-events: none;
}

img:focus, img:active, img:focus-visible {
    outline: 0 !important;
    border: 0 !important;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ============================================
   АДАПТИВ — ДЕСКТОП
   ============================================ */
@media (max-width: 1200px) {
    .capsule-info { min-width: 300px; }
    .pure-track-title { font-size: 24px; }
    .grid-1-1 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* old 768px block removed */

/* ============================================
   КАСТОМНЫЙ ПЛЕЕР
   ============================================ */
.custom-player {
    background: linear-gradient(135deg, #111 0%, #161616 100%);
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.05);
    transform: perspective(1200px) rotateX(0.8deg);
}

.custom-player:hover {
    border-color: rgba(255,69,0,0.4);
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.9),
        inset 0 1px 2px rgba(255, 255, 255, 0.08);
    transform: perspective(1200px) rotateX(0.8deg) translateY(-4px);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.player-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid #222;
    border-radius: 50%;
    color: #ff4500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 900;
}

.player-btn:hover {
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
    color: black;
    border-color: #ff4500;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

.player-btn.playing {
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
    color: black;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

.player-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-title {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
}

.player-progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-time {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    min-width: 35px;
    text-align: right;
}

.player-progress-bar {
    flex: 1;
    height: 5px;
    background: #1a1a1a;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid #222;
}

.player-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4500, #ff6b35);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.player-progress-bar:hover .player-progress-fill {
    background: linear-gradient(90deg, #ff6b35, #ff4500);
}

.player-duration {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    min-width: 35px;
}

.player-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.player-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid #333;
    border-radius: 8px;
    color: #ff4500;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 44px;
    height: 44px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6), 0 -1px 2px rgba(255, 255, 255, 0.05) inset;
}

.player-action-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.player-action-btn:hover {
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
    color: #000;
    border-color: #ff4500;
    transform: translateY(-3px);
}

.player-action-btn:hover svg { transform: scale(1.15); }
.player-action-btn:active { transform: translateY(-1px); }

/* ============================================
   СКРОЛЛ ГОРИЗОНТАЛЬНЫЙ
   ============================================ */
.scroll-nav-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.scroll-arrow-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: var(--orange);
    font-size: 32px;
    line-height: 1;
    width: 40px;
    min-width: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    align-self: center;
}

.scroll-arrow-btn:hover {
    background: var(--orange);
    color: #000;
}

.hscroll-wrapper {
    flex: 1;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) #1a1a1a;
}

.hscroll-wrapper::-webkit-scrollbar { height: 4px; }
.hscroll-wrapper::-webkit-scrollbar-track { background: #1a1a1a; }
.hscroll-wrapper::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

.hscroll-wrapper.dragging {
    cursor: grabbing;
    user-select: none;
}

.hscroll-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    padding: 8px 4px 14px;
    width: max-content;
    align-items: flex-start;
}

.grid-1-1.hscroll-inner .release-item-skeleton {
    flex: 0 0 180px;
    min-width: 180px;
    width: 180px;
    height: 180px;
    aspect-ratio: 1/1;
}

.artists-grid-home.hscroll-inner .artist-card-skeleton {
    flex: 0 0 160px;
    min-width: 160px;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artists-scroll-row .scroll-arrow-btn {
    align-self: center;
    margin-top: 0;
    position: relative;
    top: -14px;
}

.newcomer-label { background: #00c851 !important; color: #000 !important; }

/* ============================================
   НОВИЧКИ
   ============================================ */
.newcomer-card {
    flex: 0 0 150px;
    min-width: 150px;
    width: 150px;
    background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 15px rgba(0,0,0,0.6);
}

.newcomer-card:hover {
    border-color: var(--orange);
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.25);
}

.newcomer-card-cover {
    width: 100%;
    aspect-ratio: 1/1;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.newcomer-card-cover img {
    width: 50px;
    opacity: 0.25;
    transition: opacity 0.3s ease;
}

.newcomer-card:hover .newcomer-card-cover img { opacity: 0.45; }

.newcomer-card-cover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(transparent, #0f0f0f);
}

.newcomer-card-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.newcomer-card-info {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.newcomer-card-badge { display: none; }

.newcomer-card-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newcomer-card-artist {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   СКРОЛЛ ВЕРТИКАЛЬНЫЙ
   ============================================ */
.vscroll-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) #1a1a1a;
    padding-right: 4px;
}

.vscroll-wrapper::-webkit-scrollbar { width: 4px; }
.vscroll-wrapper::-webkit-scrollbar-track { background: #1a1a1a; }
.vscroll-wrapper::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

.vscroll-top10 { max-height: 640px; }
.ringtones-scroll { max-height: 680px; }

/* ============================================
   В ТРЕНДЕ — СТРОКА
   ============================================ */
.trend-track-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    background: linear-gradient(160deg, #161616 0%, #0f0f0f 60%, #0a0a0a 100%);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    padding: 14px 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 -1px 0 rgba(0,0,0,0.5) inset,
        0 6px 15px rgba(0,0,0,0.7);
}

.trend-track-row:hover {
    border-color: rgba(255,69,0,0.35);
    transform: translateY(-2px);
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 -1px 0 rgba(0,0,0,0.6) inset,
        0 12px 30px rgba(0,0,0,0.55),
        0 4px 12px rgba(255,69,0,0.14);
}

.trend-track-row .rank {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--orange);
    width: 36px;
    min-width: 36px;
    text-align: center;
}

.trend-cover {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--orange) 0%, #c73200 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.35);
    flex-shrink: 0;
}

.trend-cover img {
    width: 26px;
    height: 26px;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    display: block;
    margin: 0;
}

.trend-track-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 160px;
    width: 220px;
    flex-shrink: 0;
}

.trend-track-meta .t-name {
    display: block;
    font-weight: 800;
    font-size: 15px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.trend-track-meta .a-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.trend-player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.trend-play-btn,
.trend-stop-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    padding: 0;
    margin: 0;
    transition: background 0.2s, transform 0.15s;
    box-sizing: border-box;
}

.trend-play-btn {
    background: var(--orange);
    color: #000;
    padding-left: 2px;
}

.trend-play-btn:hover { background: var(--orange-light); transform: scale(1.1); }

.trend-stop-btn {
    background: #1a1a1a;
    color: var(--orange);
    border: 1px solid #2a2a2a;
}

.trend-stop-btn:hover { background: #252525; }

.trend-time,
.trend-duration {
    font-size: 11px;
    color: #888;
    min-width: 30px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    white-space: nowrap;
}

.trend-progress-bar {
    flex: 1;
    height: 3px;
    background: #222;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 60px;
}

.trend-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 2px;
    transition: width 0.1s linear;
}

.trend-track-row .trend-indicators { flex-shrink: 0; margin-left: 4px; }
.trend-player-block { display: contents; }

.trend-track-meta .trend-progress-bar {
    display: none;
}

.trend-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 12px;
}

.trend-plays {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    white-space: nowrap;
    letter-spacing: 0.3px;
    min-width: 44px;
}

.trend-action-btn { width: 36px !important; height: 36px !important; padding: 0 !important; }

.ringtone-plays {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    margin-top: 2px;
}

/* ============================================
   НОВИНКИ — низ карточки
   ============================================ */
.release-item-skeleton {
    position: relative;
    display: flex;
    flex-direction: column;
}

.release-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.92));
    padding: 24px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.release-item-skeleton:hover .release-bottom { opacity: 1; }

.release-plays {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 0.3px;
}

.release-card-btns { display: flex; gap: 6px; }

.newcomer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #222;
}

.newcomer-plays { font-size: 10px; font-weight: 700; color: #666; }
.newcomer-btns { display: flex; gap: 5px; }

.card-mini-btn {
    width: 28px;
    height: 28px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: var(--orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.card-mini-btn svg { width: 14px; height: 14px; }

.card-mini-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #000;
    transform: translateY(-2px);
}

.card-mini-btn:hover svg { filter: brightness(0); }

/* ============================================
   USER PROFILE
   ============================================ */
.user-profile-head {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 5px 5px 15px;
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.user-profile-head:hover {
    background: rgba(255, 0, 85, 0.15);
    border-color: #ff0055;
}

.user-name-small {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff0055;
}

#app-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 70px);
}

/* ============================================================
   ZARBA MOBILE ARMOR
   ============================================================ */

* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
}
img, .art-card > img, .art-modal-img,
.release-card-cover img, .newcomer-card-cover img,
.art-vr-avatar, .trend-cover img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}
.release-card-cover::after,
.newcomer-card-cover::after,
.trend-cover::after,
.art-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

/* ── TOUCH FEEDBACK ── */
.trend-track-row,
.release-card,
.newcomer-card-new,
.newcomer-card,
.art-vote-row,
.art-card,
.play-btn-elite,
.rc-play-btn,
.trend-play-btn,
.art-nav-btn,
.scroll-arrow-btn,
.card-mini-btn {
    transition: transform 0.15s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.15s ease,
                background 0.2s ease !important;
    -webkit-tap-highlight-color: transparent;
}
.trend-track-row:active    { transform: scale(0.97) !important; opacity: 0.88; }
.release-card:active        { transform: scale(0.95) translateY(0) !important; }
.newcomer-card-new:active   { transform: scale(0.95) !important; }
.newcomer-card:active       { transform: scale(0.96) !important; }
.art-vote-row:active        { transform: scale(0.97) translateY(0) !important; }
.play-btn-elite:active      { transform: scale(0.92) !important; }
.rc-play-btn:active         { transform: scale(0.9) !important; }
.trend-play-btn:active      { transform: scale(0.9) !important; }
.art-nav-btn:active         { transform: scale(0.9) !important; background: #ff4500 !important; }
.scroll-arrow-btn:active    { transform: scale(0.9) !important; }
.card-mini-btn:active       { transform: scale(0.88) translateY(0) !important; }

/* ── SHIMMER ── */
@keyframes zarba-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.release-item-skeleton,
.artist-card-skeleton,
.track-row-skeleton {
    background: linear-gradient(
        90deg,
        #1a1a1a 0px,
        #242424 60px,
        #2a1e0a 120px,
        #242424 180px,
        #1a1a1a 240px
    ) !important;
    background-size: 400px 100% !important;
    animation: zarba-shimmer 1.8s ease-in-out infinite !important;
}

/* ── SNAP SCROLLING ── */
.hscroll-wrapper {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.hscroll-wrapper::-webkit-scrollbar { display: none !important; }
.hscroll-inner > * {
    scroll-snap-align: start;
}

/* ============================================
   МОБИЛЬНЫЙ BREAKPOINT ≤768px
   ============================================ */
@media (max-width: 768px) {

    /* ── HEADER ── */
    .main-header {
        padding: 0 16px !important;
        height: 60px !important;
    }
    .logo-main     { font-size: 22px !important; }
    .logo-tagline  { display: none !important; }
    .logo-icon-wrapper { width: 38px !important; height: 38px !important; }
    .logo-icon     { width: 22px !important; height: 22px !important; }
    .btn-google-auth {
        padding: 8px 14px !important;
        font-size: 11px !important;
    }

    /* ── HAMBURGER ── */
    #hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        width: 36px; height: 36px;
        align-items: center; justify-content: center;
        background: rgba(255,69,0,0.08);
        border: 1px solid rgba(255,69,0,0.25);
        border-radius: 10px;
        cursor: pointer;
        z-index: 1001;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }
    #hamburger span {
        display: block;
        width: 18px; height: 2px;
        background: #ff4500;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
        transform-origin: center;
    }
    #hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    #hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── NAV MENU MOBILE ── */
    .main-nav {
        position: fixed !important;
        top: 60px !important; left: 0 !important; right: 0 !important;
        background: rgba(8,8,8,0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255,69,0,0.2) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px 0 20px !important;
        z-index: 1000 !important;
        transform: translateY(-110%) !important;
        transition: transform 0.35s cubic-bezier(0.23,1,0.32,1) !important;
        display: flex !important;
        pointer-events: none !important;
    }
    .main-nav.open {
        transform: translateY(0) !important;
        pointer-events: all !important;
    }
    .main-nav button {
        width: 100% !important;
        text-align: left !important;
        padding: 14px 24px !important;
        margin: 0 !important;
        font-size: 13px !important;
        border-bottom: 1px solid rgba(255,255,255,0.04) !important;
        border-radius: 0 !important;
        color: rgba(255,255,255,0.7) !important;
    }
    .main-nav button:hover,
    .main-nav button.active {
        color: #ff4500 !important;
        background: rgba(255,69,0,0.06) !important;
        padding-left: 30px !important;
    }
    .main-nav button::after { display: none !important; }

    /* ══════════════════════════════════════════
       РАДИО СЕКЦИЯ — ИСПРАВЛЕНИЕ ЦЕНТРИРОВАНИЯ
    ══════════════════════════════════════════ */
    .radio-section {
        padding: 16px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .z-capsule {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border-radius: 20px !important;
        padding: 12px 16px !important;
        gap: 12px !important;
        overflow: hidden !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .capsule-visual {
        width: 56px !important;
        height: 56px !important;
        flex-shrink: 0 !important;
    }

    .play-btn-elite {
        width: 50px !important;
        height: 50px !important;
    }

    .energy-ring-1, .energy-ring-2 {
        width: 50px !important;
        height: 50px !important;
    }

    .capsule-info {
        flex: 1 !important;
        min-width: 0 !important;
        gap: 4px !important;
    }

    .pure-track-title {
        font-size: 13px !important;
        max-width: 100% !important;
    }

    .pure-artist-name { font-size: 10px !important; }

    .history-side {
        display: none !important;
    }

    .capsule-actions {
        flex-shrink: 0 !important;
    }

    .btn-chat-elite {
        padding: 8px 14px !important;
        font-size: 9px !important;
    }

    /* ── КОНТЕНТ БЛОКИ ── */
    .content-block {
        padding: 18px 12px 22px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ── КАРУСЕЛЬ АРТИСТОВ — центрирование ── */
    .art-slider-outer {
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .art-slider-track {
        height: 280px !important;
        width: 100% !important;
        position: relative !important;
        left: 0 !important;
    }

    /* ── NAV ROW — по центру ── */
    .art-nav-row {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 16px !important;
        margin: 12px 0 0 !important;
        width: 100% !important;
    }

    /* ── ГОЛОСОВАНИЕ — контейнер ── */
    .art-vote-container {
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .art-vote-head {
        padding: 18px 0 14px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
    }

    .art-vote-title { font-size: 22px !important; letter-spacing: 2px !important; }
    .art-vote-head-bar { display: none !important; }

    /* ── СПИСОК ГОЛОСОВАНИЯ — строки ── */
    .art-vote-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 12px 0 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .art-vote-row {
        width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        align-items: center !important;
        min-height: unset !important;
        height: 72px !important;
        padding: 10px 14px !important;
        gap: 12px !important;
        border-radius: 14px !important;
    }

    .art-vote-row:hover { transform: translateX(4px) !important; }
    .art-vote-row:active { transform: scale(0.97) !important; }

    .art-vr-avatar {
        width: 52px !important;
        height: 52px !important;
        border-radius: 12px !important;
        flex-shrink: 0 !important;
    }
    .art-vr-info {
        flex: 1 !important;
        text-align: left !important;
        min-width: 0 !important;
    }
    .art-vr-name {
        font-size: 13px !important;
        margin-bottom: 5px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: left !important;
    }
    .art-vr-bar-wrap { margin: 0 0 4px !important; }
    .art-vr-pct {
        font-size: 13px !important;
        margin-top: 2px !important;
        text-align: left !important;
    }
    .art-vr-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
    }

    /* ── ГОРИЗОНТАЛЬНЫЕ ЛЕНТЫ ── */
    .scroll-arrow-btn { display: none !important; }
    .scroll-nav-row { gap: 0 !important; width: 100% !important; box-sizing: border-box !important; }
    .hscroll-wrapper { width: 100% !important; box-sizing: border-box !important; }
    .hscroll-inner { gap: 10px !important; padding: 6px 12px 12px !important; }

    .release-card,
    .grid-1-1.hscroll-inner .release-item-skeleton {
        width: 148px !important;
        min-width: 148px !important;
        flex: 0 0 148px !important;
    }
    .release-card-cover { width: 148px !important; height: 148px !important; }
    .release-card-title { font-size: 11px !important; }
    .release-card-artist { font-size: 10px !important; }

    .newcomer-card-new {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: none !important;
        box-sizing: border-box !important;
    }
    #newcomers-list,
    .nc-scroll-container {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ── В ТРЕНДЕ TOP 10 ── */
    .vscroll-top10 { max-height: none !important; overflow: visible !important; }

    .trend-track-row {
        padding: 10px 12px !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .trend-track-row .rank {
        font-size: 15px !important;
        min-width: 22px !important;
        width: 22px !important;
        margin-right: 8px !important;
    }

    .trend-cover {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        margin-right: 10px !important;
        border-radius: 8px !important;
    }

    .trend-track-meta {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        margin-right: 10px !important;
    }
    .t-name { font-size: 13px !important; font-weight: 800 !important; }
    .a-name { font-size: 11px !important; color: #888 !important; }

    .trend-track-meta .trend-progress-bar {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        min-width: unset !important;
        margin-top: 5px !important;
        background: rgba(255,255,255,0.08) !important;
        border-radius: 2px !important;
        cursor: pointer !important;
        overflow: visible !important;
    }
    .trend-progress-fill {
        height: 100% !important;
        background: linear-gradient(90deg, #ff4500, #ff8c00) !important;
        box-shadow: 0 0 6px rgba(255,69,0,0.6) !important;
    }

    .trend-time,
    .trend-duration { display: none !important; }

    .trend-player-controls {
        flex: 0 0 auto !important;
        gap: 6px !important;
        align-items: center !important;
    }
    .trend-play-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 13px !important;
        border-radius: 50% !important;
        background: #ff4500 !important;
        box-shadow: 0 2px 10px rgba(255,69,0,0.5) !important;
    }
    .trend-stop-btn {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 10px !important;
        border-radius: 50% !important;
        background: rgba(255,255,255,0.06) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        color: #888 !important;
    }

    .trend-indicators,
    .trend-actions { display: none !important; }

    /* ── РИНГТОНЫ ── */
    .ringtones-scroll { max-height: none !important; overflow: visible !important; }

    /* ── SECTION TITLE ── */
    .section-title {
        font-size: 12px !important;
        letter-spacing: 2px !important;
        padding: 5px 14px 5px 12px !important;
        margin-bottom: 14px !important;
    }
    .section-icon { width: 18px !important; height: 18px !important; }

    /* ── ARTIST CAROUSEL ── */
    .art-card {
        width: 170px !important;
        height: 260px !important;
    }
    .art-name-text { font-size: 14px !important; }

    /* ── VIP TOAST ── */
    .zarba-vote-toast { bottom: 80px !important; }

    /* ── ПИЛЮЛЯ ГОЛОСОВ ── */
    .art-vote-pill { font-size: 10px !important; padding: 4px 10px !important; }
}

/* ── 480px ── */
@media (max-width: 480px) {
    .main-header { padding: 0 12px !important; }
    .logo-container { gap: 8px !important; }
    .logo-icon-wrapper { width: 34px !important; height: 34px !important; }
    .logo-main { font-size: 20px !important; }

    .art-card { width: 150px !important; height: 230px !important; }
    .art-slider-track { height: 250px !important; }

    .art-vote-row { height: 68px !important; padding: 10px 12px !important; }
    .art-vr-avatar { width: 46px !important; height: 46px !important; }
    .art-vr-name { font-size: 12px !important; }

    .release-card,
    .grid-1-1.hscroll-inner .release-item-skeleton {
        width: 136px !important;
        min-width: 136px !important;
        flex: 0 0 136px !important;
    }
    .release-card-cover { width: 136px !important; height: 136px !important; }

    .trend-track-row { padding: 9px 10px !important; gap: 8px !important; }
    .trend-cover { width: 40px !important; height: 40px !important; min-width: 40px !important; }
    .trend-track-meta { min-width: 100px !important; }
}

/* ── 360px ── */
@media (max-width: 360px) {
    .art-vote-row { height: 62px !important; padding: 8px 10px !important; gap: 10px !important; }
    .art-vr-avatar { width: 42px !important; height: 42px !important; }
    .art-vr-icon { width: 34px !important; height: 34px !important; font-size: 15px !important; }
    .art-vote-title { font-size: 18px !important; }
}