:root {
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --text-white: #ffffff;
    --glass-bg: rgba(26, 26, 26, 0.9);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--black);
    color: var(--text-white);
    overflow: hidden; 
    height: 100vh;
    height: 100svh; 
    display: flex;
    flex-direction: column;
}

/* Background Image Overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg.png') no-repeat center center;
    background-size: cover;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.9) 100%);
    z-index: -1;
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.progress-bar {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--gold), #f3cf65);
    box-shadow: 0 0 15px var(--gold-glow);
    transition: width 0.6s ease;
}

/* Layout Containers */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.quiz-section {
    display: none;
    width: 100%;
    max-width: 550px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.quiz-section.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

/* Card Style */
.content-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 32px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Typography */
.headline {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.highlight {
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
}

.subheadline {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.4;
}

/* Classe para subheadline vermelha com animação */
.highlight-red-anim {
    color: #ff3b3b;
    font-size: 0.95rem; 
    text-shadow: 0 0 15px rgba(255, 59, 59, 0.4);
    white-space: nowrap; 
    animation: pulseRed 2s infinite ease-in-out;
    font-weight: 600;
    letter-spacing: -0.2px; /* Reduzi um pouco o espaçamento para caber melhor */
}

@keyframes pulseRed {
    0% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); text-shadow: 0 0 25px rgba(255, 59, 59, 0.6); }
    100% { opacity: 0.7; transform: scale(1); }
}

.question {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.features {
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    padding: 15px 20px;
    border-radius: 16px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
}

.features p {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.features p span {
    font-size: 1.2rem;
}

.instruction {
    font-size: 0.9rem;
    color: #bbb;
}

/* Buttons and Inputs */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: #000;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.btn-gold:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

/* Quiz Options */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.option-card:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.option-card .icon {
    font-size: 2.2rem;
}

.option-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 25px;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
}

.option-item:hover {
    border-color: var(--gold);
    padding-left: 35px;
    background: rgba(212, 175, 55, 0.1);
}

/* Form Styles */
.form-group {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #ccc;
    margin-left: 5px;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px;
    border-radius: 14px;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Footer Notice */
.legal-notice {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: #999;
}

/* Responsive adjustments for tight mobile screens */
@media (max-height: 750px) {
    .content-card { padding: 30px 25px; gap: 12px; }
    .headline { font-size: 1.7rem; }
    .question { font-size: 1.5rem; }
    .btn-gold { padding: 12px; }
    .option-card { padding: 12px; }
    .option-item { padding: 12px; }
    .form-group input { padding: 10px; }
    .features { padding: 10px 15px; font-size: 0.85rem; }
    .highlight-red-anim { font-size: 0.75rem !important; }
}

@media (max-width: 480px) {
    .headline { font-size: 1.6rem; }
    .content-card { border-radius: 24px; padding: 25px 20px; }
    .options-grid { grid-template-columns: 1fr; gap: 10px; }
    .option-card { flex-direction: row; justify-content: flex-start; padding: 12px 25px; gap: 20px; }
    .option-card .icon { font-size: 1.6rem; }
    .option-card span { font-size: 1rem; }
    .highlight-red-anim { 
        font-size: 0.72rem !important; /* Tamanho reduzido para caber tudo em uma linha */
        letter-spacing: -0.5px;
    }
}
