/* Charts Page Styles - Иммерсивный минимализм */

/* Hero Section - Чуть крупнее */
.charts-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
}

.charts-icon {
    font-size: 1.5rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.charts-icon:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.charts-main-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.charts-subtitle {
    font-size: 0.813rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Hero Player Container */
.hero-player-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Полный редизайн кнопки "Воспроизвести плейлист" */
/* Используем более высокую специфичность для переопределения стилей .audio-play-btn */
.hero-play-all-btn.audio-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%) !important;
    color: white;
    border: none;
    border-radius: 8px !important;
    font-weight: 700;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35),
                0 2px 6px rgba(34, 197, 94, 0.2);
    white-space: nowrap;
    min-width: fit-content;
    width: auto !important;
    height: auto !important;
    position: relative;
}

/* Убираем овал внутри кнопки */
.hero-play-all-btn.audio-play-btn::before {
    display: none;
}

.hero-play-all-btn.audio-play-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45),
                0 3px 10px rgba(34, 197, 94, 0.3) !important;
}

.hero-play-all-btn.audio-play-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.4) !important;
}

/* Анимация при воспроизведении - зеленый pulse */
.hero-play-all-btn.audio-play-btn.playing {
    animation: heroPlayPulse 1.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite !important;
}

@keyframes heroPlayPulse {
    0% {
        box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35),
                    0 2px 6px rgba(34, 197, 94, 0.2);
    }
    50% {
        box-shadow: 0 8px 32px rgba(34, 197, 94, 0.65),
                    0 4px 18px rgba(34, 197, 94, 0.45),
                    0 0 0 12px rgba(34, 197, 94, 0.12);
        transform: translateY(-2px);
    }
    100% {
        box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35),
                    0 2px 6px rgba(34, 197, 94, 0.2);
    }
}

.hero-play-all-btn.audio-play-btn i {
    font-size: 1rem !important;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hero-play-all-btn.audio-play-btn span {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-player-container {
        justify-content: flex-start;
        margin-top: 0.75rem;
    }

    .hero-play-all-btn.audio-play-btn {
        width: 100% !important;
        justify-content: center;
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .hero-play-all-btn.audio-play-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-play-all-btn.audio-play-btn i {
        font-size: 0.938rem !important;
    }
}

/* Chart Navigation Tabs - Ультра-компактные */
.chart-nav-section {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chart-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.chart-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.813rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 100px;
}

.chart-tab i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.chart-tab:hover {
    color: #3b82f6;
    background: #f9fafb;
}

.chart-tab:hover i {
    transform: scale(1.1);
}

.chart-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: #f0f9ff;
}

/* Chart Content Section - Ультра-компактная */
.chart-content-section {
    padding: 0.75rem 0 1.5rem;
}

.chart-header-block {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.chart-info {
    flex: 1;
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.chart-description {
    font-size: 0.813rem;
    color: #6b7280;
}

.chart-stats {
    display: flex;
    gap: 0.75rem;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.stat-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.stat-badge i {
    font-size: 0.875rem;
}

/* Chart Play All Button */
.chart-play-all-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    position: relative;
    flex-shrink: 0;
}

.chart-play-all-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.chart-play-all-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
}

.chart-play-all-btn:active {
    transform: scale(1.0);
}

.chart-play-all-btn i {
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.chart-play-all-btn.playing {
    animation: chartPlayPulse 1.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes chartPlayPulse {
    0% {
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 6px 28px rgba(34, 197, 94, 0.6),
                    0 3px 14px rgba(34, 197, 94, 0.4),
                    0 0 0 8px rgba(34, 197, 94, 0.1);
    }
    100% {
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    }
}

/* Filters Section - Ультра-компактная */
.filters-section {
    background: white;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.filters-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Filter Block - Индивидуальное выделение для каждого фильтра */
.filter-block {
    background: white;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.filter-block:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    color: #334155;
    font-size: 0.75rem;
}

.filter-label i {
    color: #3b82f6;
    font-size: 0.875rem;
}

.genre-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.375rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.genre-filters::-webkit-scrollbar {
    height: 4px;
}

.genre-filters::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.genre-filters::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.genre-filters::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.genre-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.genre-badge:hover {
    background: #dbeafe;
    color: #3b82f6;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

.genre-badge.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.25);
}

/* Covers Chart List - Новый дизайн карточек */
.covers-chart-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    justify-items: stretch;
}

.chart-cover-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 0.5rem 0.625rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
                0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.chart-cover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-cover-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06),
                0 3px 12px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.chart-cover-card:hover::before {
    opacity: 1;
}

/* Rank Section */
.cover-rank {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
}

.rank-badge {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.813rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25),
                0 1px 4px rgba(59, 130, 246, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
}

.rank-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.chart-cover-card:hover .rank-badge {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.35),
                0 2px 6px rgba(59, 130, 246, 0.2);
}

/* Top 3 special styling - Яркие акцентные цвета */
.chart-cover-card[data-rank="1"] .rank-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    font-size: 0.938rem;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35),
                0 2px 6px rgba(251, 191, 36, 0.2);
}

.chart-cover-card[data-rank="2"] .rank-badge {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    font-size: 0.875rem;
    width: 54px;
    height: 54px;
    box-shadow: 0 3px 10px rgba(148, 163, 184, 0.35),
                0 2px 6px rgba(148, 163, 184, 0.2);
}

.chart-cover-card[data-rank="3"] .rank-badge {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    font-size: 0.875rem;
    width: 54px;
    height: 54px;
    box-shadow: 0 3px 10px rgba(251, 146, 60, 0.35),
                0 2px 6px rgba(251, 146, 60, 0.2);
}

/* Cover Info Section */
.cover-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 52px;
}

.cover-title-line {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cover-author {
    font-size: 0.813rem;
    color: #6b7280;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.cover-author:hover {
    color: #3b82f6;
}

.separator {
    color: #cbd5e1;
    font-weight: 400;
    flex-shrink: 0;
}

.cover-name {
    font-size: 0.813rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cover-name:hover {
    color: #3b82f6;
}

.cover-original {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.688rem;
    color: #94a3b8;
    padding: 0.25rem 0.5rem;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 4px;
    border-left: 2px solid #3b82f6;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cover-original:hover {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #2563eb;
}

.cover-original i {
    color: #3b82f6;
    font-size: 0.688rem;
    flex-shrink: 0;
}

.cover-original a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cover-original a:hover {
    color: #3b82f6;
}

/* Cover Controls - Voting & Player (Horizontal Layout) */
.cover-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
    height: 52px;
}

/* Audio Player Button */
.audio-play-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.25),
                0 1px 3px rgba(59, 130, 246, 0.15);
    position: relative;
    flex-shrink: 0;
}

.audio-play-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.audio-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.35),
                0 2px 6px rgba(59, 130, 246, 0.2);
}

.audio-play-btn:active {
    transform: scale(1.0);
}

.audio-play-btn i {
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

/* Playing Animation - Pulse effect */
@keyframes audioPulse {
    0% {
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35),
                    0 2px 8px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 6px 28px rgba(59, 130, 246, 0.6),
                    0 3px 14px rgba(59, 130, 246, 0.4),
                    0 0 0 8px rgba(59, 130, 246, 0.1);
    }
    100% {
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35),
                    0 2px 8px rgba(59, 130, 246, 0.2);
    }
}

.audio-play-btn.playing {
    animation: audioPulse 1.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

/* Переопределение анимации для hero-play-all-btn */
.hero-play-all-btn.audio-play-btn.playing {
    animation: heroPlayPulse 1.8s cubic-bezier(0.4, 0.0, 0.2, 1) infinite !important;
}

/* Voting Block */
.voting-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    height: 52px;
    width: auto;
    justify-content: center;
    transition: all 0.2s ease;
}

.vote-btn {
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    box-shadow: none;
    flex-shrink: 0;
}

.vote-btn:hover {
    transform: scale(1.1);
}

.vote-btn.vote-up {
    color: #22c55e;
}

.vote-btn.vote-up:hover {
    background: rgba(34, 197, 94, 0.1);
}

.vote-btn.vote-up.active {
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%);
    color: white;
    transform: scale(1.05);
}

.vote-btn.vote-down {
    color: #ef4444;
}

.vote-btn.vote-down:hover {
    background: rgba(239, 68, 68, 0.1);
}

.vote-btn.vote-down.active {
    background: #ef4444;
    color: white;
    transform: scale(1.05);
}

.vote-count {
    font-size: 0.813rem;
    font-weight: 700;
    color: #1f2937;
    min-width: 24px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Playlist Button Styles */
.playlist-btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.25),
                0 1px 3px rgba(34, 197, 94, 0.15);
    position: relative;
    flex-shrink: 0;
}

.playlist-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.playlist-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.35),
                0 2px 6px rgba(34, 197, 94, 0.2);
}

.playlist-btn:active {
    transform: scale(1.0);
}

.playlist-btn i {
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.playlist-btn.active {
    background: linear-gradient(135deg, #22c55e 0%, #9cc809 100%);
    color: white;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.35),
                0 2px 6px rgba(34, 197, 94, 0.2);
}

.playlist-btn.active:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.45),
                0 3px 10px rgba(34, 197, 94, 0.3);
}

.playlist-btn:active i {
    transform: scale(0.9);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    opacity: 0.7;
    display: block;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.empty-state .add-cover-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3),
                0 2px 6px rgba(59, 130, 246, 0.2);
}

.empty-state .add-cover-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4),
                0 3px 8px rgba(59, 130, 246, 0.25);
    color: white;
}

.empty-state .add-cover-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.35);
}

.empty-state .add-cover-btn i {
    font-size: 1rem;
    color: white;
    opacity: 1;
    display: inline;
    margin-bottom: 0;
}

/* Pagination - Ультра-компактная */
.pagination-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.375rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.625rem;
    background: white;
    color: #3b82f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-link:hover {
    background: #f0f9ff;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.12);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.25);
}

.page-item.disabled .page-link {
    color: #cbd5e1;
    cursor: not-allowed;
    background: #f8fafc;
}

.page-item.disabled .page-link:hover {
    background: #f8fafc;
    border-color: #e5e7eb;
    transform: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Плавные анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chart-cover-card {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    animation-fill-mode: both;
}

.chart-cover-card:nth-child(1) { animation-delay: 0.05s; }
.chart-cover-card:nth-child(2) { animation-delay: 0.08s; }
.chart-cover-card:nth-child(3) { animation-delay: 0.11s; }
.chart-cover-card:nth-child(4) { animation-delay: 0.14s; }
.chart-cover-card:nth-child(5) { animation-delay: 0.17s; }

/* Responsive Design - Адаптивность для всех устройств */
@media (max-width: 1200px) {
    .covers-chart-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .covers-chart-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-main-title {
        font-size: 1rem;
    }

    .chart-title {
        font-size: 1rem;
    }

    .chart-cover-card {
        padding: 0.5rem 0.625rem;
        gap: 0.5rem;
    }

    .rank-badge {
        width: 48px;
        height: 48px;
        font-size: 0.75rem;
    }

    .chart-cover-card[data-rank="1"] .rank-badge {
        width: 52px;
        height: 52px;
        font-size: 0.875rem;
    }

    .chart-cover-card[data-rank="2"] .rank-badge,
    .chart-cover-card[data-rank="3"] .rank-badge {
        width: 50px;
        height: 50px;
        font-size: 0.813rem;
    }

    .cover-info {
        height: 48px;
    }

    .cover-controls {
        height: 48px;
        gap: 0.375rem;
    }

    .audio-play-btn {
        width: 48px;
        height: 48px;
        padding: 0;
    }

    .playlist-btn {
        width: 48px;
        height: 48px;
    }

    .playlist-btn i {
        font-size: 1.125rem;
    }

    .voting-block {
        width: auto;
        height: 48px;
        padding: 0 0.625rem;
        gap: 0.375rem;
    }

    .vote-btn {
        font-size: 0.938rem;
        padding: 0.3rem;
    }

    .vote-count {
        font-size: 0.75rem;
        min-width: 20px;
    }

    .audio-play-btn i {
        font-size: 1.125rem;
    }

    .cover-name {
        font-size: 0.75rem;
    }

    .cover-author {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .charts-hero {
        padding: 0.75rem 0;
    }

    .charts-icon {
        font-size: 1.25rem;
        width: 32px;
        height: 32px;
    }

    .charts-main-title {
        font-size: 0.938rem;
    }

    .charts-subtitle {
        font-size: 0.75rem;
    }

    .chart-tab {
        padding: 0.45rem 0.75rem;
        min-width: 85px;
        font-size: 0.75rem;
    }

    .chart-title {
        font-size: 0.938rem;
    }

    /* Одноколоночная раскладка для мобильных устройств */
    .covers-chart-list {
        grid-template-columns: 1fr;
    }

    .chart-cover-card {
        padding: 0.5rem;
        gap: 0.5rem;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .cover-rank {
        grid-row: 1 / 3;
    }

    .cover-info {
        grid-column: 2;
        grid-row: 1;
    }

    .cover-controls {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
        align-items: center;
    }

    .rank-badge {
        width: 46px;
        height: 46px;
        font-size: 0.688rem;
    }

    .chart-cover-card[data-rank="1"] .rank-badge {
        width: 50px;
        height: 50px;
        font-size: 0.813rem;
    }

    .chart-cover-card[data-rank="2"] .rank-badge,
    .chart-cover-card[data-rank="3"] .rank-badge {
        width: 48px;
        height: 48px;
        font-size: 0.75rem;
    }

    .cover-info {
        height: 46px;
    }

    .cover-controls {
        height: 46px;
        gap: 0.375rem;
    }

    .audio-play-btn {
        width: 46px;
        height: 46px;
        padding: 0;
    }

    .playlist-btn {
        width: 46px;
        height: 46px;
    }

    .playlist-btn i {
        font-size: 1rem;
    }

    .voting-block {
        width: auto;
        height: 46px;
        padding: 0 0.5rem;
        gap: 0.375rem;
    }

    .vote-btn {
        font-size: 0.875rem;
        padding: 0.25rem;
    }

    .vote-count {
        font-size: 0.75rem;
        min-width: 18px;
    }

    .audio-play-btn i {
        font-size: 1rem;
    }

    .cover-name {
        font-size: 0.75rem;
    }

    .cover-author {
        font-size: 0.75rem;
    }

    .cover-original {
        font-size: 0.625rem;
        padding: 0.25rem 0.4rem;
    }
}

@media (max-width: 576px) {
    .chart-cover-card {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .rank-badge {
        width: 44px;
        height: 44px;
        font-size: 0.625rem;
        border-radius: 50%;
    }

    .chart-cover-card[data-rank="1"] .rank-badge {
        width: 48px;
        height: 48px;
        font-size: 0.75rem;
    }

    .chart-cover-card[data-rank="2"] .rank-badge,
    .chart-cover-card[data-rank="3"] .rank-badge {
        width: 46px;
        height: 46px;
        font-size: 0.688rem;
    }

    .cover-info {
        height: 44px;
    }

    .cover-controls {
        height: 44px;
        gap: 0.25rem;
    }

    .audio-play-btn {
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .playlist-btn {
        width: 44px;
        height: 44px;
    }

    .playlist-btn i {
        font-size: 0.938rem;
    }

    .voting-block {
        width: auto;
        height: 44px;
        padding: 0 0.5rem;
        gap: 0.25rem;
    }

    .vote-btn {
        font-size: 0.813rem;
        padding: 0.25rem;
    }

    .vote-count {
        font-size: 0.688rem;
        min-width: 16px;
    }

    .audio-play-btn i {
        font-size: 0.938rem;
    }

    .cover-name {
        font-size: 0.688rem;
    }

    .cover-author {
        font-size: 0.688rem;
    }

    .cover-original {
        font-size: 0.625rem;
        padding: 0.25rem 0.375rem;
    }

    .cover-original i {
        font-size: 0.625rem;
    }
}
