/*==================================================
    ALBUM LIST PAGE
==================================================*/

.albums-page{

    max-width:1500px;

    margin:auto;

    padding:40px;

}

/*==================================================
    HERO
==================================================*/

.albums-hero{

    position:relative;

    overflow:hidden;

    border-radius:28px;

    padding:55px 50px;

    margin-bottom:35px;

    background: 
linear-gradient(
135deg,
#7C3AED 0%,
#5B21B6 40%,
#2A1B45 70%,
#151515 100%
);

}


.albums-hero::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    right:-120px;

    top:-180px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    filter:blur(20px);

}

.albums-hero-content{

    position:relative;

    z-index:2;

}

.albums-hero h1{

    font-size:68px;

    font-weight:900;

    color:#fff;

    margin:10px 0;

}

.albums-hero p{

    color:rgba(255,255,255,.85);

    font-size:20px;

}

.albums-badge{

    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 16px;
    border-radius:50px;
    background:rgba(139,92,246,.18);
    color:#8B5CF6;
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;

}

.albums-hero h1{

    font-size:54px;
    font-weight:800;
    color:#fff;
    margin:0;

}

.albums-hero p{

    margin-top:10px;
    color:#999;
    font-size:18px;

}

/*==================================================
    TOOLBAR
==================================================*/

.albums-toolbar{

    display:flex;
    align-items:center;
    gap:15px;
    margin:30px 0;
    flex-wrap:wrap;

}

.albums-search{

    flex:1;
    min-width:260px;
    position:relative;

}

.albums-search i{

    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:#888;

}

.albums-search input{

    width:100%;
    height:58px;
    padding:0 18px 0 50px;
    border:none;
    border-radius:16px;
    background:#181818;
    color:#fff;

}

.albums-toolbar select{

    height:52px;
    padding:0 18px;
    border:none;
    border-radius:16px;
    background:#181818;
    color:#fff;

}

/*==================================================
    GRID
==================================================*/

.albums-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));

    gap:28px;

    margin-top:35px;

}

.album-card{

    background:#181818;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.35);

}

.album-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(0,0,0,.5);

}

.album-cover{

    position:relative;
    aspect-ratio:1;
    overflow:hidden;

}

.album-cover img{

    width:100%;
    height:100%;
    object-fit:cover;
    transition:.3s;

}

.album-card:hover img{

    transform:scale(1.05);

}

.album-overlay{

    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.45);
    opacity:0;
    transition:.3s;

}

.album-card:hover .album-overlay{

    opacity:1;

}

.album-overlay i{

    width:60px;
    height:60px;
    border-radius:50%;
    background:#8B5CF6;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;

}

.album-info{

    padding:22px;

}

.album-info h3{

    margin:0;
    color:#fff;
    font-size:20px;
    font-weight:700;

}

.album-info p{

    margin:8px 0;
    color:#999;

}

.album-info span{

    color:#8B5CF6;
    font-size:14px;

}

.album-overlay{

    pointer-events:none;

}

.album-overlay i{

    pointer-events:none;

}

/*==================================================
    MOBILE
==================================================*/

@media (max-width:768px){

/* PAGE */

.albums-page{

    width:100%;

    max-width:100%;

    overflow:hidden;

    padding:16px 16px 170px;

    box-sizing:border-box;

}

/* HERO */

.albums-hero{

    padding:35px 24px;

    border-radius:24px;

    text-align:center;

    margin-bottom:24px;

}

.albums-hero::before{

    width:280px;

    height:280px;

    right:-80px;

    top:-100px;

}

.albums-badge{

    margin:0 auto 18px;

    font-size:13px;

    padding:8px 16px;

}

.albums-hero h1{

    font-size:46px;

    line-height:1.1;

    margin-bottom:10px;

}

.albums-hero p{

    font-size:18px;

    color:rgba(255,255,255,.8);

}

/* TOOLBAR */

.albums-toolbar{

    display:flex;

    flex-direction:column;

    gap:14px;

    margin:24px 0 30px;

}

.albums-search{

    width:100%;

}

.albums-search input{

    height:56px;

    font-size:16px;

    border-radius:18px;

}

.albums-toolbar select{

    width:100%;

    height:56px;

    font-size:16px;

    border-radius:18px;

}

/* GRID */

.albums-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(140px,1fr));

    gap:12px;

}

/* CARD */

.album-card{

    width:100%;

    min-width:0;

    overflow:hidden;

    border-radius:20px;

}

.album-cover{

    width:100%;

    aspect-ratio:1;

}

.album-cover img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

.album-overlay{

    display:none;

}



/* INFO */

.album-info{

    padding:14px;

}

.album-info h3{

    font-size:16px;

    line-height:1.3;

    margin-bottom:6px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

.album-info p{

    font-size:13px;

    margin-bottom:8px;

    color:#aaa;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

.album-info span{

    font-size:12px;

    color:#8B5CF6;

}

/* SMALL PHONES */

@media (max-width:480px){

.albums-page{

    padding:14px 14px 170px;

}

.albums-grid{

    gap:12px;

}

.album-info{

    padding:12px;

}

.album-info h3{

    font-size:15px;

}

.album-info p{

    font-size:12px;

}

.album-info span{

    font-size:11px;

}

}

}

*,
*::before,
*::after{

    box-sizing:border-box;

}

/*==================================================
    ALBUM DETAILS
==================================================*/

.album-details{

    max-width:1450px;

    margin:0 auto;

    padding:40px 35px 180px;

}


/*==================================================
    HERO
==================================================*/

.album-hero{

    position:relative;

    overflow:hidden;

    display:flex;

    align-items:flex-end;

    gap:45px;

    padding:50px;

    border-radius:30px;

    background:#181818;

    margin-bottom:40px;

}


/*==================================================
    BLURRED BACKGROUND
==================================================*/

.album-hero-bg{

    position:absolute;

    inset:0;

    overflow:hidden;

    z-index:0;

}

.album-hero-bg img{

    width:100%;

    height:100%;

    object-fit:cover;

    transform:scale(1.4);

    filter:blur(75px);

    opacity:.30;

}

.album-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        to top,

        rgba(10,10,10,.98),

        rgba(10,10,10,.70),

        rgba(10,10,10,.35)

    );

    z-index:1;

}


/*==================================================
    HERO CONTENT
==================================================*/

.album-cover-large,

.album-info-large{

    position:relative;

    z-index:2;

}


/*==================================================
    COVER
==================================================*/

.album-cover-large{

    width:280px;

    height:280px;

    flex-shrink:0;

}

.album-cover-large img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:24px;

    box-shadow:

    0 25px 70px rgba(0,0,0,.55);

}


/*==================================================
    ALBUM INFO
==================================================*/

.album-info-large{

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    gap:12px;

    flex:1;

}


/*==================================================
    BADGE
==================================================*/

.album-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    width:max-content;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(139,92,246,.18);

    color:#8B5CF6;

    font-size:14px;

    font-weight:600;

}


/*==================================================
    TITLE
==================================================*/

.album-info-large h1{

    margin:0;

    font-size:58px;

    font-weight:800;

    line-height:1.05;

    color:#fff;

}


/*==================================================
    ARTIST
==================================================*/

.album-info-large h3{

    margin:0;

    font-size:28px;

    font-weight:600;

}

.album-info-large h3 a{

    color:#fff;

    text-decoration:none;

    transition:.25s;

}

.album-info-large h3 a:hover{

    color:#8B5CF6;

}


/*==================================================
    META
==================================================*/

.album-info-large p{

    margin:0;

    font-size:18px;

    color:#b7b7b7;

}


/*==================================================
    SECTION HEADERS
==================================================*/

.section-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin:40px 0 20px;

}

.section-header h2{

    margin:0;

    font-size:28px;

    color:#fff;

    font-weight:700;

}

/*==================================================
    ACTION BUTTONS
==================================================*/

.album-actions{

    display:flex;

    align-items:center;

    gap:16px;

    margin:35px 0 45px;

    flex-wrap:wrap;

}

.play-album{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    background:linear-gradient(135deg,#8B5CF6,#A855F7);

    color:#fff;

    border:none;

    border-radius:60px;

    padding:16px 34px;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

    box-shadow:0 15px 35px rgba(139,92,246,.35);

}

.play-album:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 45px rgba(139,92,246,.45);

}

.play-album i{

    font-size:18px;

}

.favorite-album,
.album-menu,
.share-album{

    width:54px;

    height:54px;

    border:none;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#1f1f1f;

    color:#ddd;

    cursor:pointer;

    font-size:18px;

    transition:.3s;

}

.favorite-album:hover,
.album-menu:hover,
.share-album:hover{

    background:#8B5CF6;

    color:#fff;

    transform:translateY(-2px);

}


/*==================================================
    INFORMATION CARDS
==================================================*/

.album-information{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-bottom:50px;

}

.info-card{

    background:#181818;

    border-radius:22px;

    padding:24px;

    transition:.3s;

}

.info-card:hover{

    background:#202020;

    transform:translateY(-4px);

}

.info-card small{

    display:block;

    color:#888;

    font-size:13px;

    margin-bottom:10px;

    text-transform:uppercase;

    letter-spacing:1px;

}

.info-card strong{

    color:#fff;

    font-size:20px;

    font-weight:700;

}

.info-card a{

    color:#fff;

    text-decoration:none;

    transition:.25s;

}

.info-card a:hover{

    color:#8B5CF6;

}


/*==================================================
    TRACK SECTION
==================================================*/

.album-tracks{

    margin-top:45px;

}

.tracks-list{

    display:flex;

    flex-direction:column;

    gap:10px;

}


/*==================================================
    TRACK ROW
==================================================*/

.track-row{

    display:grid;

    grid-template-columns:

    45px

    45px

    1fr

    80px

    55px

    55px;

    align-items:center;

    gap:18px;

    padding:18px 22px;

    border-radius:18px;

    background:#181818;

    transition:.3s;

    cursor:pointer;

}

.track-row:hover{

    background:#242424;

}


/*==================================================
    TRACK NUMBER
==================================================*/

.track-number{

    color:#888;

    font-weight:700;

    text-align:center;

}


/*==================================================
    PLAY ICON
==================================================*/

.track-play{

    width:38px;

    height:38px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#8B5CF6;

    color:#fff;

    font-size:14px;

}


/*==================================================
    SONG INFO
==================================================*/

.track-info{

    overflow:hidden;

}

.track-info h4{

    margin:0;

    color:#fff;

    font-size:17px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

.track-info p{

    margin-top:5px;

    color:#999;

    font-size:14px;

}


/*==================================================
    DURATION
==================================================*/

.song-duration{

    text-align:center;

    color:#b0b0b0;

    font-size:15px;

}


/*==================================================
    SONG BUTTONS
==================================================*/

.track-row button{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#222;

    color:#999;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.25s;

}

.track-row button:hover{

    background:#8B5CF6;

    color:#fff;

}


/*==================================================
    EMPTY STATE
==================================================*/

.empty-state{

    padding:80px 30px;

    text-align:center;

    background:#181818;

    border-radius:24px;

}

.empty-state i{

    font-size:55px;

    color:#8B5CF6;

    margin-bottom:20px;

}

.empty-state h3{

    margin-bottom:10px;

    color:#fff;

}

.empty-state p{

    color:#888;

}

/*==================================================
    RELATED ALBUMS
==================================================*/

.related-albums{

    margin-top:60px;

}

.albums-grid-small{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));

    gap:22px;

}

.mini-album{

    background:#181818;

    border-radius:20px;

    overflow:hidden;

    cursor:pointer;

    transition:.3s;

}

.mini-album:hover{

    transform:translateY(-8px);

    background:#222;

}

.mini-album img{

    width:100%;

    aspect-ratio:1;

    object-fit:cover;

    display:block;

}

.mini-album h4{

    padding:15px;

    margin:0;

    font-size:16px;

    font-weight:600;

    color:#fff;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

/*==================================================
    ALBUM MENU
==================================================*/

.album-popup-menu{

    position:fixed;

    right:18px;

    bottom:100px;

    width:220px;

    background:#181818;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.5);

    display:none;

    z-index:99999;

}

.album-popup-menu.show{

    display:block;

    animation:albumMenu .2s ease;

}

.album-popup-menu button{

    width:100%;

    background:none;

    border:none;

    color:#fff;

    padding:16px 18px;

    display:flex;

    align-items:center;

    gap:15px;

    cursor:pointer;

    transition:.2s;

}

.album-popup-menu button:hover{

    background:#252525;

}

.album-popup-menu i{

    width:22px;

    text-align:center;

    color:#8B5CF6;

}

@keyframes albumMenu{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==================================================
    SCROLL ANIMATION
==================================================*/

.album-hero,
.album-actions,
.album-information,
.album-tracks,
.related-albums{

    animation:fadeUp .45s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(18px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:768px){

    .album-details{

        padding:18px 18px 170px;

    }

    .album-hero{

        flex-direction:column;

        align-items:center;

        justify-content:center;

        text-align:center;

        padding:30px 20px;

        gap:22px;

    }

    .album-cover-large{

        width:180px;

        height:180px;

    }

    .album-info-large{

        align-items:center;

    }

    .album-badge{

        margin-bottom:5px;

    }

    .album-info-large h1{

        font-size:32px;

        line-height:1.15;

    }

    .album-info-large h3{

        font-size:20px;

    }

    .album-info-large p{

        font-size:15px;

    }

    @media (max-width:768px){

.album-actions{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    flex-wrap:nowrap;

}

.play-album{

    flex:1;

    max-width:220px;

    padding:14px 20px;

    font-size:16px;

}

.play-album span{

    white-space:nowrap;

}

.favorite-album,
.album-menu,
.share-album{

    width:54px;

    height:54px;

    min-width:54px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

}
    .album-information{

        grid-template-columns:repeat(2,1fr);

        gap:14px;

    }

    .info-card{

        padding:18px;

    }

    .info-card strong{

        font-size:16px;

    }

/*==================================================
    TRACK LIST - MOBILE
==================================================*/

@media (max-width:768px){

.track-row{

    display:grid;

    grid-template-columns:40px 50px 1fr 44px 44px;

    align-items:center;

    gap:12px;

    padding:18px;

}

.track-number{

    font-size:20px;

}

.track-play{

    width:42px;
    height:42px;

}

.track-info{

    min-width:0;

}

.track-info h4{

    font-size:18px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;

}

.track-info p{

    font-size:15px;

}

.song-duration{

    display:none;

}

.favorite-btn,
.song-menu{

    width:42px;
    height:42px;

} 

.song-menu{

    display:flex;

    width:36px;

    height:36px;

    align-items:center;

    justify-content:center;

}
    .albums-grid-small{

        grid-template-columns:repeat(2,1fr);

        gap:15px;

    }

}


/*==================================================
    TABLET
==================================================*/

@media(min-width:769px) and (max-width:1100px){

    .album-cover-large{

        width:220px;

        height:220px;

    }

    .album-info-large h1{

        font-size:42px;

    }

    .album-information{

        grid-template-columns:repeat(2,1fr);

    }

}


/*==================================================
    LARGE DESKTOP
==================================================*/

@media(min-width:1500px){

    .album-details{

        max-width:1600px;

    }

    .album-cover-large{

        width:320px;

        height:320px;

    }

    .album-info-large h1{

        font-size:64px;

    }

}

/*=========================================
    TRACK PLAY
=========================================*/

.track-play{

    position:relative;

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:transparent;

    overflow:hidden;

}

.track-play{

    background:transparent;

    transition:.25s;

}

.track-row:hover .track-play{

    background:#8B5CF6;

}

.play-icon{

    color:#fff;

    font-size:15px;

}

.eq{

    display:none;

    position:absolute;

    align-items:flex-end;

    gap:3px;

    height:18px;

}

.eq span{

    width:3px;

    background:#fff;

    border-radius:50px;

    animation:eq .8s infinite ease-in-out;

}

.eq span:nth-child(1){

    height:8px;

    animation-delay:0s;

}

.eq span:nth-child(2){

    height:16px;

    animation-delay:.15s;

}

.eq span:nth-child(3){

    height:11px;

    animation-delay:.3s;

}

.track-row.playing .play-icon{

    display:none;

}

.track-row.playing .eq{

    display:flex;

}

@keyframes eq{

    0%{

        transform:scaleY(.3);

    }

    50%{

        transform:scaleY(1);

    }

    100%{

        transform:scaleY(.3);

    }

}

.song-featured{

    color:#bdbdbd;

    font-size:.9em;

    font-weight:500;

}
