* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #090909;
    color: white;
    min-height: 100vh;
}


.background {
    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(29, 185, 84, .18),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(124, 58, 237, .15),
            transparent 35%
        );

    pointer-events: none;
    z-index: -1;
}


/* ================= NAVBAR ================= */

nav {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 45px;

    background: rgba(0, 0, 0, .88);

    border-bottom: 1px solid rgba(255,255,255,.07);

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(15px);
}


.logo {
    font-size: 23px;
    font-weight: 800;

    color: #1ed760;

    white-space: nowrap;
}


.logo i {
    margin-right: 7px;
}


.logo span {
    color: white;
}


nav ul {
    display: flex;

    list-style: none;

    gap: 35px;
}


nav ul li a {
    color: #b3b3b3;

    text-decoration: none;

    font-size: 15px;

    transition: .25s;
}


nav ul li a:hover,
nav ul li a.active {
    color: white;
}


.nav-buttons {
    display: flex;
    gap: 10px;
}


.login-btn,
.signup-btn {
    text-decoration: none;

    padding: 9px 18px;

    border-radius: 25px;

    font-size: 14px;

    transition: .3s;
}


.login-btn {
    color: white;

    border: 1px solid #444;
}


.login-btn:hover {
    border-color: white;
}


.signup-btn {
    background: #1ed760;

    color: #000;

    font-weight: bold;
}


.signup-btn:hover {
    transform: scale(1.04);

    background: #27e66b;
}


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

.hero {
    min-height: 520px;

    display: flex;
    align-items: center;

    padding: 70px 8%;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.9),
            rgba(0,0,0,.35)
        ),
        radial-gradient(
            circle at 70% 40%,
            rgba(29,185,84,.35),
            transparent 40%
        );
}


.hero-content {
    max-width: 700px;
}


.small-title,
.section-small {
    color: #1ed760;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


.hero h1 {
    font-size: clamp(48px, 7vw, 85px);

    line-height: 1;

    margin-bottom: 25px;
}


.hero p:not(.small-title) {
    color: #cfcfcf;

    font-size: 18px;

    line-height: 1.6;

    margin-bottom: 30px;
}


.hero-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 28px;

    border-radius: 30px;

    background: #1ed760;

    color: #000;

    text-decoration: none;

    font-weight: bold;

    transition: .3s;
}


.hero-btn:hover {
    transform: scale(1.05);

    background: #27e66b;
}


/* ================= HOME ================= */

.home-content {
    width: 90%;

    max-width: 1400px;

    margin: 60px auto;
}


.section-title {
    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 28px;
}


.section-title h2 {
    font-size: 30px;
}


.section-title > a {
    color: #b3b3b3;

    text-decoration: none;

    font-size: 14px;
}


.section-title > a:hover {
    color: white;
}


.song-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(190px, 1fr)
        );

    gap: 22px;
}


.song-card {
    background: #151515;

    padding: 16px;

    border-radius: 12px;

    cursor: pointer;

    transition: .3s;

    overflow: hidden;
}


.song-card:hover {
    background: #242424;

    transform: translateY(-6px);
}


.card-image {
    position: relative;
}


.card-image img {
    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;

    border-radius: 9px;

    display: block;
}


.card-play {
    position: absolute;

    right: 10px;
    bottom: 10px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: #1ed760;

    color: black;

    font-size: 16px;

    cursor: pointer;

    opacity: 0;

    transform: translateY(10px);

    transition: .3s;

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


.song-card:hover .card-play {
    opacity: 1;

    transform: translateY(0);
}


.song-card h3 {
    font-size: 16px;

    margin-top: 15px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.song-card p {
    color: #a7a7a7;

    font-size: 14px;

    margin-top: 7px;
}


/* ================= SEARCH PAGE ================= */

.music-page {
    width: 92%;

    max-width: 1400px;

    margin: 50px auto 100px;
}


.search-section {
    margin-bottom: 35px;
}


.search-section h1 {
    font-size: 42px;

    margin-bottom: 25px;
}


.search-box {
    max-width: 600px;

    height: 52px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 18px;

    background: #242424;

    border-radius: 30px;

    border: 1px solid transparent;

    transition: .3s;
}


.search-box:focus-within {
    border-color: #1ed760;
}


.search-box i {
    color: #aaa;
}


.search-box input {
    flex: 1;

    background: transparent;

    border: none;

    outline: none;

    color: white;

    font-size: 16px;
}


.search-box input::placeholder {
    color: #999;
}


/* ================= PLAYER AREA ================= */

.player-layout {
    display: grid;

    grid-template-columns:
        370px
        1fr;

    gap: 30px;

    align-items: start;
}


.music-card {
    background:
        linear-gradient(
            145deg,
            #242424,
            #111
        );

    border-radius: 16px;

    padding: 25px;

    text-align: center;

    position: sticky;

    top: 95px;

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

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);
}


.now-playing {
    color: #1ed760;

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: bold;

    margin-bottom: 20px;
}


.cover {
    width: 270px;

    height: 270px;

    max-width: 100%;

    object-fit: cover;

    border-radius: 12px;

    display: block;

    margin: auto;

    box-shadow:
        0 15px 40px rgba(0,0,0,.55);

    transition: .4s;
}


.cover.playing {
    animation:
        albumFloat 4s ease-in-out infinite;
}


@keyframes albumFloat {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.025);
    }

}


.music-card h2 {
    font-size: 24px;

    margin-top: 22px;
}


.music-card > p {
    color: #aaa;

    margin-top: 7px;
}


.time-row {
    display: flex;

    justify-content: space-between;

    color: #999;

    font-size: 12px;

    margin-top: 20px;
}


#progress {
    width: 100%;

    accent-color: #1ed760;

    cursor: pointer;
}


.controls {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    margin-top: 20px;
}


.controls button {
    border: none;

    background: transparent;

    color: white;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    font-size: 18px;

    cursor: pointer;

    transition: .25s;
}


.controls button:hover {
    transform: scale(1.15);

    color: #1ed760;
}


.controls .main-play {
    width: 52px;
    height: 52px;

    background: white;

    color: black;

    font-size: 19px;
}


.controls .main-play:hover {
    background: #1ed760;

    color: black;
}


.volume {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 22px;

    color: #aaa;
}


.volume input {
    width: 100%;

    accent-color: #1ed760;
}


/* ================= PLAYLIST ================= */

.playlist-container {
    min-width: 0;
}


.playlist-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 15px;
}


.playlist-heading h2 {
    font-size: 30px;
}


#playlist {
    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 7px;

    padding: 0;

    margin: 0;
}


#playlist li {
    min-height: 72px;

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 9px 14px;

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

    border-radius: 8px;

    cursor: pointer;

    transition: .25s;
}


#playlist li:hover {
    background: #252525;
}


#playlist li.playing {
    background: #1f2d24;

    color: #1ed760;
}


#playlist li img {
    width: 54px;
    height: 54px;

    object-fit: cover;

    border-radius: 5px;

    flex-shrink: 0;
}


#playlist li div {
    flex: 1;

    min-width: 0;
}


#playlist li strong {
    display: block;

    color: white;

    font-size: 15px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


#playlist li.playing strong {
    color: #1ed760;
}


#playlist li span {
    display: block;

    color: #999;

    font-size: 13px;

    margin-top: 5px;
}


#playlist li > i {
    color: #aaa;

    width: 30px;

    text-align: center;
}


#playlist li:hover > i,
#playlist li.playing > i {
    color: #1ed760;
}


/* ================= FOOTER ================= */

footer {
    text-align: center;

    color: #777;

    padding: 35px;

    border-top: 1px solid #222;

    margin-top: 60px;

    font-size: 13px;
}


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

@media (max-width: 900px) {

    nav {
        padding: 15px 20px;

        height: auto;

        gap: 15px;

        flex-wrap: wrap;
    }


    nav ul {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 20px;
    }


    .nav-buttons {
        margin-left: auto;
    }


    .hero {
        min-height: 430px;

        padding: 60px 25px;
    }


    .hero h1 {
        font-size: 50px;
    }


    .player-layout {
        grid-template-columns: 1fr;
    }


    .music-card {
        position: relative;

        top: auto;

        max-width: 500px;

        width: 100%;

        margin: auto;
    }


    .cover {
        width: min(280px, 75vw);

        height: min(280px, 75vw);
    }

}


@media (max-width: 600px) {

    .logo {
        font-size: 19px;
    }


    .login-btn,
    .signup-btn {
        padding: 7px 11px;

        font-size: 12px;
    }


    nav ul {
        gap: 14px;
    }


    nav ul li a {
        font-size: 13px;
    }


    .hero h1 {
        font-size: 42px;
    }


    .hero p:not(.small-title) {
        font-size: 16px;
    }


    .home-content,
    .music-page {
        width: 94%;
    }


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

        gap: 12px;
    }


    .song-card {
        padding: 10px;
    }


    .search-section h1 {
        font-size: 34px;
    }


    .playlist-heading h2 {
        font-size: 25px;
    }

}/* =========================================
   AKSHAT MUSICFY - LIBRARY
========================================= */

.library-body {
    margin: 0;
    padding: 0;
    background: #090909;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.library-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 320px;
    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(30, 215, 96, .10),
            transparent 30%
        ),
        #090909;
}


/* SIDEBAR */

.library-sidebar {
    background: #101010;
    border-right: 1px solid #242424;
    padding: 24px 18px;
    min-height: 100vh;
}

.library-logo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 35px;
}

.library-logo i {
    color: #1ed760;
    margin-right: 8px;
}

.sidebar-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-title-row h3 {
    font-size: 16px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #282828;
    color: white;
    cursor: pointer;
    font-size: 17px;
}

.icon-btn:hover {
    background: #333;
}

.sidebar-filters {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.filter {
    border: none;
    background: #292929;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
}

.filter.active {
    background: white;
    color: #111;
}

.sidebar-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #202020;
    padding: 10px 13px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sidebar-search i {
    color: #aaa;
}

.sidebar-search input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: white;
}

.library-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.library-menu a {
    color: #b8b8b8;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
}

.library-menu a:hover,
.library-menu a.active {
    background: #252525;
    color: white;
}

.library-menu i {
    width: 25px;
}

.sidebar-playlist {
    margin-top: 35px;
}

.sidebar-playlist > p {
    font-size: 11px;
    color: #777;
    letter-spacing: 2px;
}

.mini-playlist {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 5px;
    cursor: pointer;
}

.mini-cover {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(
        135deg,
        #7c3aed,
        #1ed760
    );
    display: flex;
    justify-content: center;
    align-items: center;
}

.mini-cover.second {
    background: linear-gradient(
        135deg,
        #333,
        #111
    );
}

.mini-playlist strong {
    display: block;
    font-size: 14px;
}

.mini-playlist span {
    color: #888;
    font-size: 12px;
}


/* MAIN */

.library-main {
    min-width: 0;
    padding-bottom: 50px;
}

.library-header {
    height: 70px;
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-arrows {
    display: flex;
    gap: 10px;
}

.header-arrows button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #202020;
    color: white;
    cursor: pointer;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.header-buttons a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.header-buttons a:last-child {
    background: #fff;
    color: #000;
    padding: 9px 18px;
    border-radius: 20px;
    font-weight: bold;
}

.top-filters {
    display: flex;
    gap: 8px;
    padding: 0 35px 25px;
}

.top-filter {
    border: none;
    background: #292929;
    color: white;
    padding: 9px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.top-filter.active {
    background: white;
    color: #000;
}


/* SECTIONS */

.library-section,
.getting-started {
    padding: 0 35px;
    margin-bottom: 40px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 18px;
}

.section-heading p {
    color: #1ed760;
    font-size: 10px;
    letter-spacing: 2px;
    margin: 0 0 5px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-size: 26px;
}

.section-heading a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
}

.section-heading a:hover {
    color: white;
}


/* SONG GRID */

.library-song-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.library-song {
    background: #252525;
    border-radius: 6px;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: .25s;
}

.library-song:hover {
    background: #353535;
    transform: translateY(-2px);
}

.library-song-image {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.library-song-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.library-song-image button {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #1ed760;
    color: #000;
    opacity: 0;
    cursor: pointer;
}

.library-song:hover .library-song-image button {
    opacity: 1;
}

.library-song-info {
    padding: 0 12px;
    min-width: 0;
}

.library-song-info h3 {
    margin: 0 0 5px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.library-song-info p {
    margin: 0;
    color: #999;
    font-size: 12px;
}


/* GETTING STARTED */

.getting-card {
    height: 220px;
    border-radius: 10px;
    padding: 28px;
    background:
        linear-gradient(
            135deg,
            #806a00,
            #3b2b00
        );
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.getting-content {
    display: flex;
    gap: 12px;
}

.getting-content > span {
    font-size: 38px;
    font-weight: 800;
}

.getting-content h2 {
    margin: 5px 0 10px;
    font-size: 28px;
}

.getting-content p {
    color: #ddd;
    max-width: 320px;
    line-height: 1.5;
}

.getting-content a {
    display: inline-block;
    margin-top: 15px;
    background: #1ed760;
    color: #000;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
}

.getting-art {
    position: relative;
    width: 230px;
}

.art-box {
    position: absolute;
    width: 115px;
    height: 75px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.art-one {
    background: #ff4d88;
    right: 70px;
    top: 10px;
}

.art-two {
    background: #48b7ff;
    right: 0;
    top: 55px;
}

.art-three {
    background: #d8a5ff;
    right: 35px;
    bottom: 0;
}


/* RECOMMENDED */

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.recommended-card {
    cursor: pointer;
    min-width: 0;
}

.recommended-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #222;
}

.recommended-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s;
}

.recommended-card:hover img {
    transform: scale(1.05);
}

.recommended-image button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #1ed760;
    color: #000;
    font-size: 17px;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s;
}

.recommended-card:hover button {
    opacity: 1;
    transform: translateY(0);
}

.recommended-card h3 {
    margin: 10px 0 5px;
    font-size: 14px;
}

.recommended-card p {
    margin: 0;
    color: #999;
    font-size: 12px;
}


/* RIGHT PLAYER - COMPACT */

.now-playing {
    background: #111;
    border-left: 1px solid #242424;
    padding: 16px;
    height: fit-content;
    min-height: 0;
    align-self: start;
    border-radius: 0 0 0 14px;
}

.now-playing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.now-playing-header span {
    color: #1ed760;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.now-playing-header button {
    background: transparent;
    border: none;
    color: #777;
}

.now-cover-box {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #222;
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.now-cover-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.now-cover-box img.library-playing {
    animation: libraryAlbumPulse 2.8s ease-in-out infinite;
}

@keyframes libraryAlbumPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.now-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.now-info h2 {
    font-size: 14px;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-info p {
    color: #999;
    margin: 0;
    font-size: 11px;
}

.heart-button {
    border: none;
    background: transparent;
    color: #1ed760;
    font-size: 18px;
    cursor: pointer;
}

.library-progress {
    margin-top: 14px;
}

.progress-line {
    height: 3px;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
}

.progress-line span {
    display: block;
    width: 0;
    height: 100%;
    background: #1ed760;
}

.progress-time {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 9px;
    margin-top: 5px;
}

.library-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 13px;
}

.library-controls button {
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.library-main-play {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: white !important;
    color: black !important;
    font-size: 15px !important;
}

.library-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #777;
}

.library-volume input {
    width: 100%;
    accent-color: #1ed760;
}

/* RESPONSIVE */

@media (max-width: 1100px) {

    .library-app {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .now-playing {
        display: none;
    }

}

@media (max-width: 750px) {

    .library-app {
        grid-template-columns: 1fr;
    }

    .library-sidebar {
        min-height: auto;
    }

    .library-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .library-song-grid {
        grid-template-columns: 1fr;
    }

    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 500px) {

    .library-header {
        padding: 0 18px;
    }

    .library-section,
    .getting-started {
        padding: 0 18px;
    }

    .top-filters {
        padding-left: 18px;
    }

    .getting-card {
        height: auto;
        min-height: 230px;
    }

    .getting-art {
        display: none;
    }

}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #090909;
    color: white;
}

nav {
    height: 72px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #1ed760;
}

.logo i {
    margin-right: 8px;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav a {
    color: #ddd;
    text-decoration: none;
    transition: .3s;
}

nav a:hover {
    color: #1ed760;
}

.nav-buttons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-buttons a:last-child {
    background: white;
    color: black;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
}

.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 20%, rgba(30,215,96,.45), transparent 35%),
        linear-gradient(135deg,#101010,#050505);
}

.hero-content {
    max-width: 800px;
    padding: 40px 20px;
}

.small-title,
.section-small {
    color: #1ed760;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
}

.hero h1 {
    font-size: clamp(45px,8vw,85px);
    margin: 20px 0;
}

.hero p:not(.small-title) {
    color: #bbb;
    font-size: 19px;
    margin-bottom: 35px;
}

.hero-btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    background: #1ed760;
    color: black;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: bold;
    transition: .3s;
}

.hero-btn:hover {
    transform: scale(1.06);
}

.trending {
    padding: 60px 5%;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    margin-top: 7px;
}

.section-title a {
    color: #aaa;
    text-decoration: none;
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
    gap: 22px;
}

.song-card {
    background: #181818;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: .3s;
}

.song-card:hover {
    background: #282828;
    transform: translateY(-6px);
}

.card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 9px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.song-card:hover img {
    transform: scale(1.05);
}

.card-play {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #1ed760;
    color: #000;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: .3s;
}

.song-card:hover .card-play {
    opacity: 1;
    transform: translateY(0);
}

.song-card h3 {
    margin-top: 15px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card p {
    margin-top: 7px;
    color: #999;
    font-size: 13px;
}

footer {
    padding: 35px;
    text-align: center;
    color: #666;
    border-top: 1px solid #222;
}

@media(max-width:700px) {

    nav {
        height: auto;
        padding: 15px 20px;
        gap: 15px;
        flex-wrap: wrap;
    }

    nav ul {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .nav-buttons a:first-child {
        display: none;
    }

    .hero {
        min-height: 430px;
    }

    .trending {
        padding: 40px 20px;
    }

    .song-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 12px;
    }
}

/* ================= EXTRA STABILITY ================= */

.song-card .card-play {
    pointer-events: none;
}

@media (max-width: 700px) {
    .player-layout {
        gap: 18px;
    }

    .music-card {
        padding: 18px;
    }

    #playlist li {
        padding: 8px 10px;
    }
}
