/* Саундтреки */
/*.soundtracks-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.soundtracks-list {
    flex: 1;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.soundtrack-item {
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 5px;
}

.soundtrack-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.soundtrack-item.active {
    background: var(--primary);
    color: white;
}

.soundtrack-player {
    flex: 2;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.soundtrack-iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}*/

/* ===== САУНДТРЕКИ - НОВЫЙ ДИЗАЙН ===== */
.soundtracks-albums {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.album-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.album-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.album-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.album-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-card:hover .album-image img {
    transform: scale(1.1);
}

.album-info {
    text-align: center;
}

.album-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--light);
}

.album-author {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.album-year {
    color: var(--gray);
    font-size: 0.9rem;
}

.album-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== ПОПАП АЛЬБОМА ===== */
.album-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}
.album-popup.active {
    display: flex;
}
.album-popup-content {
    background: var(--dark);
    border-radius: 20px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}
.popup-close-btn:hover {
    background: var(--secondary);
    transform: rotate(90deg);
}
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px;
    background: rgba(108, 99, 255, 0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}
.popup-header-left {
    display: flex;
    gap: 25px;
    flex: 1;
}
.popup-album-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}
.popup-album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popup-album-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popup-album-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
}
.popup-album-author {
    color: var(--primary);
    font-size: 1.1rem;
}
.popup-album-genre {
    color: var(--gray);
    font-size: 0.9rem;
}
.popup-album-year {
    color: var(--gray);
    font-size: 0.9rem;
}
.popup-toggle-header {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 10px;
    transition: 0.3s;
    display: none; /* скрыто на десктопе, показывается на мобильных */
}
.popup-songs {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    max-height: 300px;
}
.song-item {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: 0.2s;
}
.song-item:hover {
    background: rgba(255,255,255,0.05);
}
.song-item.active {
    background: rgba(108,99,255,0.15);
    border-left: 4px solid var(--primary);
}
.song-number {
    width: 30px;
    color: var(--gray);
    font-weight: 600;
}
.song-info {
    flex: 1;
}
.song-title {
    font-weight: 500;
    color: var(--light);
}
.song-duration {
    font-size: 0.8rem;
    color: var(--gray);
}
.song-play-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.song-play-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

/* ===== ПЛЕЕР В ПОПАПЕ ===== */
.popup-player {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 30px;
}
.player-container {
    margin-bottom: 15px;
}
.player-container iframe,
.player-container audio {
    width: 100%;
    border-radius: 8px;
}
.player-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.player-track-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
}
.player-track-info span:first-child {
    color: var(--light);
    font-weight: 500;
}
.player-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    width: 0%;
}
.progress-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray);
}
.player-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.player-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}
.player-btn:hover {
    background: var(--primary);
}
.player-btn-play {
    width: 50px;
    height: 50px;
    background: var(--primary);
    font-size: 1.5rem;
}
.player-btn-play:hover {
    background: var(--secondary);
}
.player-volume {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 100px;
}
.volume-icon {
    color: var(--gray);
}
.volume-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}
.volume-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}
.player-platform-selector {
    display: flex;
    gap: 5px;
    margin-left: auto;
}
.platform-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid transparent;
    color: var(--gray);
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.8rem;
}
.platform-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.platform-btn:hover:not(.active) {
    background: rgba(255,255,255,0.2);
}