 body {
            font-family: Arial, Helvetica, sans-serif;
            background: linear-gradient(-45deg, rgb(64, 33, 69), rgb(157, 100, 171), rgb(151, 56, 219), rgb(225, 122, 225)) 0% 0% / 400% 400%;
            animation: 15s ease 0s infinite normal none running gradient;
            padding: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }

       
        .grid-container {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr)); 
            gap: 1.5rem;
            max-width: 72rem;
            margin-left: auto;
            margin-right: auto;
        }

        
        
        @media (min-width: 640px) { 
            .grid-container {
                grid-template-columns: repeat(2, minmax(0, 1fr)); 
            }
        }
        @media (min-width: 768px) { 
            .grid-container {
                grid-template-columns: repeat(3, minmax(0, 1fr)); 
            }
        }
        @media (min-width: 1024px) { 
            .grid-container {
                grid-template-columns: repeat(4, minmax(0, 1fr)); 
            }
        }


        

        .music-box-container {
            width: 100%;
            max-width: 320px;
            background-color: #000000;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
            border: 1px solid #080a0c;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
        }

        /* Hover effect: moves the card up slightly */
        .music-box-container:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

       

        .cover-area {
            padding: 0.75rem;
        }
        
        .cover-image {
            width: 100%;
            height: auto;
            aspect-ratio: 1 / 1; 
            object-fit: cover;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        }

       

        .details-and-price-area {
            padding: 1rem;
            padding-top: 0.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .text-details {
            margin-bottom: 0.75rem;
        }

        .song-title {
            font-size: 1.25rem;
            font-weight: 800;
            color: #7a3dbb;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .artist-name {
            font-size: 0.875rem;
            font-weight: 500;
            color: #797979;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

       
        .buy-area {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
        }

        .price-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
        }

        .buy-button {
            padding: 0.5rem 1rem;
            background-color: #4f46e5;
            color: white;
            font-weight: 600;
            border-radius: 9999px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            border: none;
            cursor: pointer;
            transition: all 0.15s ease-in-out;
        }

       
        .buy-button:hover {
            background-color: #474371;
            transform: scale(1.05); 
        }
        
        
        .buy-button:focus {
            outline: none;
            box-shadow: 0 0 0 4px rgba(44, 42, 74, 0.5), 0 0 0 2px #ffffff; 
        }
