/**
 * Файл: assets/css/album.css
 * Стили для страницы отдельного альбома
 */

:root {
    --gold: #FFD700;
    --dark-gold: #DAA520;
    --card-bg: rgba(15, 15, 25, 0.9);
}

/* === БАННЕР === */
.album-page-banner {
    position: relative;
    height: 50vh;
    background: linear-gradient(135deg, #000 0%, #1a1a2e 50%, #000 100%),
                url('https://images.unsplash.com/photo-1470225620780-dba8ba36b745?w=1400&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.banner-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.banner-content {
    position: relative;
    z-index: 2;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3rem;
    color: var(--gold);
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(255,215,0,0.6);
}

.banner-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin: 0;
    letter-spacing: 1px;
}

/* === СТРАНИЦА АЛЬБОМА === */
.album-page {
    background: linear-gradient(to bottom, 
        rgba(15,15,25,0.9) 0%,
        rgba(20,20,35,0.9) 50%,
        rgba(15,15,25,0.9) 100%);
}

/* === ЗАГОЛОВОК АЛЬБОМА === */
.album-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: start;
}

.album-cover {
    position: relative;
}

.album-cover-image {
    width: 100%;
    border: 4px solid var(--gold);
    box-shadow: 0 0 30px rgba(255,215,0,0.3);
    border-radius: 8px;
    transition: all 0.4s;
}

.album-cover:hover .album-cover-image {
    box-shadow: 0 0 50px rgba(255,215,0,0.5);
    transform: scale(1.02);
}

.album-info-section {
    display: flex;
    flex-direction: column;
}

.album-title-main {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.album-release-date {
    color: #aaa;
    font-size: 1rem;
    margin: 0 0 20px;
}

.album-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.album-description {
    background: rgba(255,215,0,0.05);
    border-left: 4px solid var(--gold);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.album-description h3 {
    color: var(--gold);
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.album-description p {
    color: #ddd;
    line-height: 1.7;
    margin: 0;
}

.back-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.back-link:hover {
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
    transform: translateX(-5px);
}

/* === ТРЕКЛИСТ === */
.album-tracklist {
    margin-bottom: 80px;
}

.tracklist-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: var(--gold);
    margin: 0 0 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.empty-tracklist {
    text-align: center;
    color: #888;
    font-size: 1.2rem;
    padding: 40px;
    background: rgba(255,215,0,0.05);
    border-radius: 8px;
}

/* === ЭЛЕМЕНТ ТРЕКА === */
.tracks-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.track-item {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(25,25,40,0.9) 100%);
    border: 2px solid rgba(255,215,0,0.2);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.track-item:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(255,215,0,0.3);
    transform: translateY(-8px);
}

.track-number {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: rgba(255,215,0,0.3);
    font-weight: bold;
    margin-bottom: 15px;
}

.track-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.track-item:hover .track-cover img {
    transform: scale(1.05);
}

.track-info {
    margin-bottom: 15px;
    flex: 1;
}

.track-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    color: var(--gold);
    margin: 0 0 8px;
    line-height: 1.3;
}

.track-description {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* === ПЛЕЕР === */
.track-player {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.track-player audio {
    width: 100%;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
}

audio::-webkit-media-controls-panel {
    background-color: rgba(255,215,0,0.1);
}

audio::-webkit-media-controls-play-button {
    background-color: var(--gold);
    border-radius: 50%;
}

/* === ФУТЕР === */
.album-footer {
    text-align: center;
    padding: 40px 0;
}

.footer-link {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid var(--gold);
    transition: all 0.3s;
}

.footer-link:hover {
    box-shadow: 0 0 25px rgba(255,215,0,0.6);
    transform: translateY(-3px);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
    .album-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .album-cover {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .banner-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .album-page-banner {
        height: 40vh;
    }
    
    .banner-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .album-title-main {
        font-size: 1.8rem;
    }
    
    .album-header {
        margin-bottom: 60px;
    }
    
    .tracks-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tracklist-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .album-page-banner {
        height: 35vh;
        margin-bottom: 40px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-subtitle {
        font-size: 0.9rem;
    }
    
    .album-title-main {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .album-header {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .album-stats {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .stat {
        font-size: 1rem;
    }
    
    .album-description {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .album-description h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .album-description p {
        font-size: 0.9rem;
    }
    
    .tracklist-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .track-item {
        padding: 15px;
    }
    
    .track-number {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .track-title {
        font-size: 1rem;
    }
    
    .track-description {
        font-size: 0.85rem;
    }
    
    .track-player audio {
        height: 35px;
    }
    
    .footer-link {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}