
/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #0d1117;
    color: #c9d1d9;
}

/* Index Table Styles */
.top-songs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: #161b22;
    border-radius: 10px;
    overflow: hidden;
}

.top-songs-table thead {
    background: #1f6feb;
    color: white;
}

.top-songs-table th, .top-songs-table td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid #2d333b;
    font-size: 1rem;
}

.top-songs-table th {
    text-transform: uppercase;
    font-size: 0.9rem;
}

.top-songs-table tr:last-child td {
    border-bottom: none;
}

.song-row:hover {
    background: #21262d;
}

.position {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.details-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.small-cover {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.song-title {
    font-size: 1rem;
    margin: 0;
}

.song-artist {
    font-size: 0.85rem;
    color: #8b949e;
    margin: 0;
}

.play-button {
    background: #238636;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
}

.play-button:hover {
    background: #2ea043;
}

/* Popup Styles */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #1e293b;
    color: white;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.popup-content iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 10px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f56a79;
    color: white;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.close-popup:hover {
    background: #ff3b4f;
}
