/*==================================================*
 * PLAYMUSICFX — ARTISTS PAGE
 *==================================================*/

.acts-page {
    width: 100%;
    min-height: 100%;

    padding: 36px;

    display: flex;
    flex-direction: column;

    gap: 42px;

    color: #fff;

    box-sizing: border-box;
}


/*==================================================*
 * ARTISTS HERO
 * Designed to match the ALBUMS hero
 *==================================================*/

.acts-hero {
    position: relative;

    width: 100%;

    min-height: 245px;

    padding: 46px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 82% 35%,
            rgba(124, 58, 237, 0.30),
            transparent 34%
        ),
        linear-gradient(
            110deg,
            #7c3aed 0%,
            #6326c9 30%,
            #34244a 62%,
            #28232f 100%
        );

    border: 1px solid rgba(
        255,
        255,
        255,
        0.05
    );

    box-shadow:
        0 20px 55px
        rgba(0, 0, 0, 0.28);

    box-sizing: border-box;
}


/*==================================================*
 * HERO LIGHT EFFECT
 *==================================================*/

.acts-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    top: -210px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.07);

    filter: blur(35px);

    pointer-events: none;
}


/*==================================================*
 * HERO SECOND GLOW
 *==================================================*/

.acts-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: 35%;
    bottom: -250px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.04);

    filter: blur(40px);

    pointer-events: none;
}


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

.acts-hero h1,
.acts-hero p,
.acts-hero #artistSearch {
    position: relative;

    z-index: 2;
}


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

.acts-hero h1 {
    margin: 0 0 8px;

    color: #fff;

    font-size: clamp(
        42px,
        5vw,
        54px
    );

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.5px;
}


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

.acts-hero p {
    margin: 0 0 28px;

    max-width: 600px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 16px;

    line-height: 1.6;
}


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

#artistSearch {
    width: 100%;

    max-width: 500px;

    height: 52px;

    padding:
        0 20px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    outline: none;

    border-radius: 999px;

    background:
        rgba(20, 20, 20, 0.55);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    color: #fff;

    font-size: 15px;

    box-sizing: border-box;

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


#artistSearch::placeholder {
    color:
        rgba(255, 255, 255, 0.45);
}


#artistSearch:focus {
    background:
        rgba(20, 20, 20, 0.70);

    border-color:
        rgba(255, 255, 255, 0.16);

    box-shadow:
        0 0 0 3px
        rgba(255, 255, 255, 0.05);
}


/*==================================================*
 * SECTIONS
 *==================================================*/

.acts-section {
    width: 100%;

    min-width: 0;
}


/*
 * IMPORTANT:
 * Give Trending Artists more space
 * below the search / previous section.
 */

.acts-section + .acts-section {
    margin-top: 8px;
}


.acts-section h2 {
    margin: 0 0 24px;

    color: #fff;

    font-size: 28px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.5px;
}


/*==================================================*
 * TRENDING ARTISTS
 *==================================================*/

.trending-artists {
    width: 100%;

    display: flex;

    gap: 24px;

    overflow-x: auto;

    padding:
        6px
        6px
        18px;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    box-sizing: border-box;
}


.trending-artists::-webkit-scrollbar {
    display: none;
}


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

.trending-artist {
    flex: 0 0 auto;

    width: 130px;

    display: block;

    text-decoration: none;

    color: #fff;

    text-align: center;

    cursor: pointer;
}


/*==================================================*
 * TRENDING IMAGE
 *==================================================*/

.trending-artist img {
    width: 110px;

    height: 110px;

    display: block;

    margin: 0 auto;

    border-radius: 50%;

    object-fit: cover;

    background: #222;

    border:
        3px solid
        rgba(255, 255, 255, 0.06);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.trending-artist:hover img {
    transform:
        scale(1.06);

    border-color:
        rgba(124, 58, 237, 0.65);

    box-shadow:
        0 8px 25px
        rgba(124, 58, 237, 0.22);
}


/*==================================================*
 * TRENDING NAME
 *==================================================*/

.trending-artist span {
    display: block;

    margin-top: 12px;

    color: #eee;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


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

.artists-grid {
    width: 100%;

    display: grid;

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

    gap: 24px;

    box-sizing: border-box;
}


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

.artist-card {
    position: relative;

    min-width: 0;

    padding: 22px;

    background:
        linear-gradient(
            145deg,
            #1b1b1b,
            #151515
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.05);

    border-radius: 22px;

    box-sizing: border-box;

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.artist-card:hover {
    transform:
        translateY(-5px);

    background:
        linear-gradient(
            145deg,
            #222,
            #181818
        );

    border-color:
        rgba(124, 58, 237, 0.25);

    box-shadow:
        0 18px 35px
        rgba(0, 0, 0, 0.28);
}


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

.artist-card-link {
    display: block;

    width: 100%;

    text-decoration: none;

    color: #fff;
}


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

.artist-card-link img {
    width: 140px;

    height: 140px;

    display: block;

    margin: 0 auto;

    border-radius: 50%;

    object-fit: cover;

    background: #252525;

    border:
        3px solid
        rgba(255, 255, 255, 0.05);

    transition:
        transform .3s ease,
        border-color .3s ease;
}


.artist-card:hover
.artist-card-link img {
    transform:
        scale(1.03);

    border-color:
        rgba(124, 58, 237, 0.35);
}


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

.artist-card-link h3 {
    width: 100%;

    margin:
        18px 0 0;

    text-align: center;

    color: #fff;

    font-size: 20px;

    font-weight: 700;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


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

.artist-card-meta {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

    margin:
        17px 0
        20px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 13px;
}


/*==================================================*
 * FOLLOW BUTTON
 *==================================================*/

.acts-follow {
    width: 100%;

    min-height: 44px;

    padding:
        11px 16px;

    border: none;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #6d28d9
        );

    color: #fff;

    cursor: pointer;

    font-size: 14px;

    font-weight: 700;

    transition:
        background .25s ease,
        transform .2s ease,
        box-shadow .25s ease;
}


.acts-follow:hover {
    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #7c3aed
        );

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(124, 58, 237, 0.25);
}


.acts-follow.following {
    background: #303030;
}


/*==================================================*
 * PLAY BUTTON
 *==================================================*/

.artist-play {
    position: absolute;

    top: 16px;

    right: 16px;

    width: 46px;

    height: 46px;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #6d28d9
        );

    color: #fff;

    cursor: pointer;

    font-size: 15px;

    z-index: 20;

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.35);

    transition:
        transform .2s ease,
        background .2s ease;
}


.artist-play:hover {
    background:
        linear-gradient(
            135deg,
            #9155ff,
            #7c3aed
        );

    transform:
        scale(1.1);
}


.artist-play:disabled {
    cursor: wait;

    opacity: .65;
}


/*==================================================*
 * TEMP PLAYER ELEMENTS
 *==================================================*/

.acts-temp-song {
    display: none !important;

    visibility: hidden !important;

    pointer-events: none !important;
}


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

@media (max-width: 1000px) {

    .acts-page {
        padding: 25px;

        gap: 35px;
    }


    .acts-hero {
        min-height: 230px;

        padding: 38px;
    }


    .artists-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 18px;
    }


    .artist-card {
        padding: 18px;
    }


    .artist-card-link img {
        width: 120px;

        height: 120px;
    }

}


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

@media (max-width: 768px) {

    .acts-page {
        padding: 20px;

        gap: 30px;
    }


    .acts-hero {
        min-height: 215px;

        padding:
            32px 22px;

        border-radius: 22px;
    }


    .acts-hero h1 {
        font-size: 36px;
    }


    .acts-hero p {
        margin-bottom: 22px;

        font-size: 14px;
    }


    #artistSearch {
        max-width: 100%;

        height: 48px;
    }


    /*
     * Extra separation between
     * hero/search and Trending.
     */

    .acts-section {
        margin-top: 5px;
    }


    .acts-section h2 {
        margin-bottom: 20px;

        font-size: 24px;
    }


    .trending-artists {
        gap: 17px;

        padding-bottom: 14px;
    }


    .trending-artist {
        width: 100px;
    }


    .trending-artist img {
        width: 84px;

        height: 84px;
    }


    .trending-artist span {
        margin-top: 9px;

        font-size: 13px;
    }


    .artists-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 15px;
    }


    .artist-card {
        padding: 15px;

        border-radius: 18px;
    }


    .artist-card-link img {
        width: 105px;

        height: 105px;
    }


    .artist-card-link h3 {
        font-size: 17px;
    }


    .artist-card-meta {
        margin:
            14px 0
            17px;

        font-size: 11px;
    }


    .acts-follow {
        min-height: 40px;

        padding: 9px 10px;

        font-size: 12px;
    }


    .artist-play {
        top: 9px;

        right: 9px;

        width: 40px;

        height: 40px;

        font-size: 13px;
    }

}


/*==================================================*
 * SMALL PHONES
 *==================================================*/

@media (max-width: 450px) {

    .acts-page {
        padding: 15px;

        gap: 25px;
    }


    .acts-hero {
        min-height: 200px;

        padding:
            28px 18px;
    }


    .acts-hero h1 {
        font-size: 32px;
    }


    .acts-hero p {
        font-size: 13px;
    }


    .acts-section h2 {
        margin-bottom: 18px;

        font-size: 21px;
    }


    .trending-artists {
        gap: 13px;
    }


    .trending-artist {
        width: 88px;
    }


    .trending-artist img {
        width: 72px;

        height: 72px;
    }


    .trending-artist span {
        font-size: 12px;
    }


    .artists-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 11px;
    }


    .artist-card {
        padding: 12px;
    }


    .artist-card-link img {
        width: 82px;

        height: 82px;
    }


    .artist-card-link h3 {
        font-size: 15px;
    }


    .artist-card-meta {
        font-size: 10px;
    }


    .acts-follow {
        min-height: 37px;

        padding: 8px;

        font-size: 11px;
    }


    .artist-play {
        top: 7px;

        right: 7px;

        width: 35px;

        height: 35px;

        font-size: 12px;
    }

}