@font-face {
    font-family: "Spotify";
    src: url("./bold.woff2");
}

:root {
    --sp-green: #1DB954;
    --sp-black: #121212;
    --sp-card: #181818;
    --sp-hover: #2b2a2a;
    --sp-grey: #b3b3b3;
}

body {
    font-family: "Spotify", sans-serif;
    background-color: var(--sp-black);
    color: white;
    font-size: 12px;
}

/* --- Original Table Styles --- */
img {
    width: 30px;
    vertical-align: middle;
    margin-right: 5px;
}

th {
    text-align: left;
    color: var(--sp-grey);
    font-size: 12px;
    text-transform: uppercase;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Professional Hover State */
tr[tabindex="0"] {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

tr[tabindex="0"]:hover,
tr[tabindex="0"]:focus {
    background-color: var(--sp-hover) !important;
    outline: none;
}

td {
    padding: 12px 16px;
    font-size: 14px;
}

/* Row Counter */
table { counter-reset: track-rank; }
td:first-child::before {
    counter-increment: track-rank;
    content: counter(track-rank);
    color: var(--sp-grey);
}

/* Links & Images inside table */
td a {
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

td img {
    width: 40px;
    height: 40px;
    border-radius: 2px;
}

table {
    border-collapse: collapse;
    counter-reset: track-counter; 
}

table tbody tr {
    counter-increment: track-counter;
}

table tbody tr td:first-child::before {
    content: counter(track-counter);
    font-variant-numeric: tabular-nums;
}

/* --- Original Link Styles --- */
a {
    color: #03f730;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Original Button Styles --- */
button {
    margin-top: 10px;
    border: none;
    border-radius: 20px;
    text-align: center; 
    background-color: #028b1b;
    font: 12px Verdana, sans-serif;
    font-weight: bold;
    line-height: 30px;
    color: white;
    margin-bottom: 20px;
    padding: 0 15px;
    font-family: "Spotify";
}

button:hover {
    background-color: white;
    cursor: pointer;
    color: black;
}

/* --- Updated Artist Dropdown (Classic Aesthetic) --- */

.artist_dropdown::after {
    content: " ▾"; /* Small arrow indicator */
}

/* This is the container for the list of artists inside the dropdown */
.artist_dropdown .dropdown_content {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border: 1px solid #002080;
}

/* Reveal when hovering the main button */
.artist_dropdown:hover .dropdown_content {
    display: block;
}

/* Individual Artist Items */
.artist_container {
    padding: 10px;
    text-decoration: none;
}

.artist_container img {
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Circles for artists */
    margin-right: 10px;
    vertical-align: middle;
}

.artist_container span {
    font-size: 11px;
    font-weight: normal;
    color: grey;
}

.artist_container span:first-of-type {
    font-weight: bold;
    font-size: 20px;
    color: white;
}

.artist_container span:first-of-type a {
    color: inherit;
}

.main-nav {
    position: relative;
    height: 50px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    /* Replace 'kesha.jpg' with your actual image path */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('SpotifyIcon.png') center/contain no-repeat;
}

.nav-content {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    z-index: 2; /* Keeps text above the background */
}

.logo {
    font-size: 24px;
    font-weight: normal;
    display: flex;
    align-items: center;
}

.momentum {
    font-style: italic;
    margin-right: 8px;
}

.surge-icon {
    width: 20px;
    height: 20px;
}

.browse-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid white;
    padding: 8px 15px;
    border-radius: 4px;
    transition: 0.3s;
}

.browse-link:hover {
    background: white;
    color: black;
}