/* =====================================================================
   NEW DARK THEME - GROOVELINE
   ===================================================================== */

:root {
    --primary-blue: #00A3FF;
    --secondary-pink: #FF00A3;
    --background-dark: #181816; /* Updated color */
    --container-dark: #282828; /* Slightly lighter for contrast */
    --text-light: #FFFFFF;
    --text-muted: #B3B3B3;
    --border-color: #333333;
    --glow-blue: 0 0 5px var(--primary-blue), 0 0 10px var(--primary-blue);
    --glow-pink: 0 0 5px var(--secondary-pink), 0 0 10px var(--secondary-pink);
}

/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    margin: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

header {
    margin-bottom: 2rem;
}

.logo {
    width: 250px;
    /* height is removed to allow the browser to scale it proportionally */
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABQAAAAEsCAYAAAD+s/99AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAEUASURBVHhe7d0JvFTV+v/x... (truncated) ...AAAABJRU5ErkJggg==');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: -2rem auto 1rem auto; /* Negative top margin to move it up */
    padding-top: 26.4%; /* This creates the correct aspect ratio (66 / 250 = 0.264) */
}

.hidden {
    display: none !important;
}

h2 {
    color: var(--text-light);
}

section {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--container-dark);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* --- Buttons --- */
.button-style,
button {
    background-color: var(--secondary-pink);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem;
    text-shadow: var(--glow-pink);
    text-decoration: none; /* For <a> tags styled as buttons */
    display: inline-block; /* For <a> tags */
}

.button-style:hover:not(:disabled),
button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--glow-pink);
}

button:disabled {
    background-color: #535353;
    cursor: not-allowed;
    text-shadow: none;
}

/* --- QR Reader --- */
#qr-reader {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden; /* Hides the corners of the video feed */
}

/* --- Song Info --- */
#song-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-shadow: var(--glow-blue);
}

#song-artist {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* --- Version Indicator --- */
.version-indicator { 
    position: fixed; 
    bottom: 5px; 
    right: 10px; 
    font-size: 10px; 
    color: var(--text-muted); 
    z-index: 1000; 
}
.help-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1.5rem; /* Adjusted padding */
    margin-top: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');
.created-by { position: fixed; bottom: 5px; left: 10px; font-family: 'Orbitron', sans-serif; font-size: 12px; color: var(--primary-blue); text-shadow: var(--glow-blue); z-index: 1000; }
.help-button { position: absolute; top: 1rem; right: 1rem; background-color: var(--container-dark); color: var(--text-light); border: 1px solid var(--border-color); padding: 0.5rem 1rem; font-size: 0.9rem; text-decoration: none; border-radius: 50px; margin-top: 0; text-shadow: none; }
.help-button:hover { border-color: var(--primary-blue); color: var(--primary-blue); text-shadow: var(--glow-blue); box-shadow: none; transform: none; }



.controls-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

