/* =============================================
   MUSICS PAGE
   Dark gradient, minimal track list
   ============================================= */

body.musics-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #2d3540 0%, #252b33 50%, #1e2329 100%);
    color: #FBFBFB;
    font-family: 'Aeroport', system-ui, -apple-system, sans-serif;
}

/* ---------- Header ---------- */
.musics-page .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    padding-top: 50px;
    z-index: 100;
}

.musics-page .header .logo img {
    width: 50px;
    height: auto;
}

.musics-page .menu {
    font-size: 14px;
    font-weight: 500;
    color: #B8B8B8;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.musics-page .menu:hover {
    opacity: 0.8;
    color: #FBFBFB;
}

/* ---------- Main Layout ---------- */
main.musics-page {
    padding: 40px 85px;
    padding-top: 120px;
}

/* ---------- Hero / Title ---------- */
.musics-hero {
    padding-bottom: 50px;
}

.musics-title {
    color: #FBFBFB;
    font-size: 42px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.musics-subtitle {
    color: #A4A4A4;
    font-size: 20px;
    font-weight: 300;
    line-height: normal;
}

/* ---------- Track List ---------- */
.musics-track-list {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.musics-track {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(184, 184, 184, 0.25);
    text-decoration: none;
    color: inherit;
}

a.musics-track {
    cursor: pointer;
}

.musics-track:last-child {
    border-bottom: none;
}

/* Album cover on hover */
.musics-track__cover {
    position: absolute;
    top: 50%;
    right: 40px;
    width: 220px;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    transform: translateY(-50%) rotate(-12deg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.musics-track:hover .musics-track__cover {
    opacity: 1;
    visibility: visible;
}

.musics-track__num {
    color: #A4A4A4;
    font-size: 16px;
    font-weight: 400;
    min-width: 28px;
}

.musics-track__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    color: #A4A4A4;
    transition: color 0.25s ease;
    flex-shrink: 0;
}

.musics-track:hover .musics-track__play {
    color: #FBFBFB;
}

article.musics-track .musics-track__play {
    opacity: 0.6;
}

.musics-track__play svg {
    flex-shrink: 0;
}

.musics-track__title {
    flex: 1;
    color: #FBFBFB;
    font-size: 20px;
    font-weight: 500;
    transition: font-weight 0.25s ease;
}

.musics-track:hover .musics-track__title {
    font-weight: 700;
}

.musics-track__duration {
    color: #A4A4A4;
    font-size: 16px;
    font-weight: 400;
}

.musics-empty {
    color: #A4A4A4;
    font-size: 18px;
    padding: 40px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    main.musics-page {
        padding: 24px 16px;
        padding-top: 100px;
    }

    .musics-page .header {
        padding: 20px 16px;
    }

    .musics-page .header .logo img {
        width: 35px;
    }

    .musics-hero {
        padding-bottom: 32px;
    }

    .musics-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .musics-subtitle {
        font-size: 16px;
    }

    .musics-track {
        padding: 18px 0;
        gap: 16px;
    }

    .musics-track__num {
        font-size: 14px;
    }

    .musics-track__play {
        width: 28px;
        height: 28px;
    }

    .musics-track__play svg {
        width: 14px;
        height: 14px;
    }

    .musics-track__title {
        font-size: 16px;
    }

    .musics-track__duration {
        font-size: 14px;
    }

    /* No hover on touch devices – hide album cover */
    .musics-track__cover {
        display: none !important;
    }
}
