body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    background: linear-gradient(to bottom, #1DB954, #191414);
    min-height: 100vh;
}

.float-right {
    float: right;
    margin-right: 15px;
}

h1 {
    margin: 20px 0 15px 10px;
    color: #fff;
}

.container {
    max-width: 600px;
    margin: auto;
    padding: 10px;
    margin-bottom: 60px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: black;
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
}

.card:hover, .card:focus {
    transform: scale(1.05);
}

.card-image {
    width: 100%;
    padding-top: 100%; /* Aspect ratio 1:1 */
    position: relative;
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 10px;
    text-align: center;
    word-wrap: break-word;
    background-color: #1c673c;
    color: #fff;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60px; /* Default height for Most played and All sections */
    box-sizing: border-box; /* Ensures padding is included in the height */
}

/* Specific height for Latest section */
.container .section:first-child .card-content {
    min-height: 78px; /* Increased height for Latest section */
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lowbar {
    position: fixed;
    bottom: 0;
    background-color: #282928;
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.lowbar .icons {
    margin-left: 10px;
}

.menu-btn {
    margin-left: 40px;
    color: #fff;
    text-decoration: none;
}

.bi-plus-lg {
    width: 25px;
    height: 25px;
}
