:root {
    --bg-dark: #0f0c29;
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --primary: #ffd700; 
    --primary-hover: #ffaa00;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif; 
    color: var(--text);
    background: var(--bg-gradient);
    min-height: 100vh;
    overflow-x: hidden;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

h1, h2 { font-weight: 700; text-align: center; margin-bottom: 20px; line-height: 1.3; }

.quiz-container {
    width: 90%;
    max-width: 500px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 40px;
}

.step { display: none; animation: fadeIn 0.5s ease; }
.step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ELEMENTS */
.btn {
    display: block; width: 100%; padding: 15px; background: var(--primary); color: #000;
    border: none; border-radius: 50px; font-size: 18px; font-weight: bold; cursor: pointer;
    transition: 0.3s; text-transform: uppercase; margin-top: 20px;
}
.btn:hover { background: var(--primary-hover); transform: scale(1.02); }

.option-btn {
    width: 100%; padding: 14px; margin-bottom: 10px; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2); color: white; border-radius: 8px; cursor: pointer;
    text-align: left; transition: 0.2s; font-size: 16px; font-family: 'Roboto', sans-serif;
}
.option-btn:hover { background: rgba(255, 215, 0, 0.2); border-color: var(--primary); }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* INPUTS */
.input-field, .input-select {
    width: 100%; padding: 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.3); color: white; font-size: 16px; box-sizing: border-box; margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}
.date-selectors { display: flex; gap: 10px; margin-bottom: 15px; }
.input-select { flex: 1; padding: 12px; text-align: center; cursor: pointer; }
.input-select:focus { outline: none; border-color: var(--primary); background: rgba(0,0,0,0.5); }

/* CHECKBOX & LEGAL */
.checkbox-container {
    display: flex; align-items: flex-start; font-size: 12px; color: rgba(255,255,255,0.7);
    margin: 15px 0; text-align: left;
}
.checkbox-container input { margin-right: 10px; margin-top: 3px; transform: scale(1.2); cursor: pointer; }
.checkbox-container a { color: var(--primary); text-decoration: none; }

.legal-footer {
    width: 100%; text-align: center; padding: 30px 20px; font-size: 12px;
    color: rgba(255, 255, 255, 0.4); margin-top: auto;
}
.footer-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; margin: 0 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-copyright { margin-top: 15px; }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(15, 12, 41, 0.98);
    border-top: 1px solid rgba(255,255,255,0.1); padding: 15px 20px; display: flex;
    justify-content: center; align-items: center; gap: 20px; z-index: 9999;
    box-sizing: border-box; font-size: 13px; box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}
.cookie-banner a { color: var(--primary); }
.cookie-banner button { background: var(--primary); border: none; padding: 8px 20px; border-radius: 5px; cursor: pointer; font-weight: bold; }

/* ANIMATIONS & LOADER */
.progress-container { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: rgba(255,255,255,0.1); border-radius: 20px 20px 0 0; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); width: 0%; transition: width 0.3s ease; }
.loader-content { text-align: center; }
.spinner { width: 50px; height: 50px; border: 5px solid rgba(255,255,255,0.1); border-top: 5px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.pulse-btn { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); } }
.trust-icons { display: flex; justify-content: space-around; margin-top: 20px; font-size: 0.8em; opacity: 0.7; }