:root {
    --primary: #6366f1; /* Indigo */
    --bg: #0f172a;      /* Dark Navy */
    --card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body {
    background-color: var(--bg);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.voting-container {
    background: var(--card);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 420px;
}

h2 { 
    font-family: 'Montserrat', sans-serif;
    text-align: center; 
    color: var(--text-main); 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

h2 span {
    color: var(--primary);
    font-size: 0.85em;
}

fieldset {
    border: none;
    margin-bottom: 24px;
    padding: 0;
}

legend {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

input[type="radio"] { display: none; }

label {
    display: block;
    background: #f8fafc;
    padding: 14px 20px;
    margin-bottom: 8px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    color: var(--text-main);
}

label:hover {
    border-color: var(--primary);
    background: #f5f3ff;
}

/* Selected State */
label:has(input:checked) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

button {
    width: 100%;
    padding: 18px;
    background: var(--text-main);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.1s, background 0.2s;
}

button:hover { background: #000; }
button:active { transform: scale(0.98); }
/* ... keep your previous root and body styles ... */

button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: var(--text-main);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

/* Spinner Styles */
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* ... keep your previous site-footer styles ... */
