:root {
    --primary: #741892; /* Twitch Purple */
    --dark: #0e0411;
    --light: #5dd1ff;
    --card-bg: #000000;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    margin: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 1rem 5%;
    background: #18181b;
    align-items: center;
}

.logo span { 
    color: var(--primary); 
    font-weight: bold; 
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
}

.nav-links a { 
    text-decoration: none; 
    color: white; 
    transition: 0.3s; 
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.hero { 
    height: 60vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    margin-bottom: 0vh; 
}

h1 { 
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 30px;
}

h2 {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 20px;
}

.container { 
    padding: 50px 5%; 
}

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

.card { background: var(--card-bg); padding: 20px; border-radius: 8px; border-left: 4px solid var(--primary); }

.btn { background: var(--primary); color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; display: inline-block; }

/* Styling the search input */
#song-search {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #1d0027; /* Darker background to make the purple pop */
    border: 2px solid #5a007a;
    color: white;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

/* The glow effect using your purple color */
#song-search:focus {
    border-color: #5a007a;
    box-shadow: 0 0 10px rgba(90, 0, 122, 0.6);
}

/* Update your buttons to match this purple too */
button {
    background-color: #5a007a;
    transition: filter 0.2s;
}

button:hover {
    filter: brightness(1.2); /* Makes it slightly lighter when hovering */
}
