/* --- DESIGN SYSTEM PREMIUM (Dark & Gold) --- */
:root {
    --bg-body: #050505;
    --bg-card: #121212;
    --gold: #D4AF37;
    --gold-hover: #b5952f;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Manrope', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: radial-gradient(circle at top, #1a1a1a 0%, #050505 60%);
}

.container {
    max-width: 500px;
    width: 100%;
    perspective: 1000px;
}

/* --- CARD PRINCIPAL --- */
.quiz-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: height 0.3s ease;
}

/* Detalhe Dourado no Topo */
.quiz-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

h1, h2 { color: var(--text-main); font-weight: 700; margin-bottom: 15px; }
p { color: var(--text-muted); line-height: 1.6; font-size: 15px; margin-bottom: 30px; }

/* --- INPUT DE NOME (A CORREÇÃO ESTÁ AQUI) --- */
#userNameInput, #userEmailInput {
    width: 100%;
    padding: 15px;
    background: #000000; /* Fundo preto */
    border: 1px solid #444;
    border-radius: 12px;
    color: #ffffff; /* Texto branco */
    font-size: 16px; /* Evita zoom no iPhone */
    text-align: center;
    margin-bottom: 10px;
    outline: none;
    transition: 0.3s;
}

#userNameInput:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); /* Brilho Dourado */
}

#userNameInput::placeholder {
    color: #666;
}

/* --- BOTÕES --- */
.btn-option {
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-option:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
}

.btn-primary {
    background: var(--gold);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    transition: 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* --- PROGRESSO --- */
.progress-container {
    width: 100%;
    background: #222;
    height: 6px;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
    display: none;
}

.progress-bar {
    height: 100%;
    background: var(--gold);
    width: 0%;
    transition: width 0.5s ease;
}

/* --- TELAS (STATES) --- */
.screen { display: none; animation: fadeIn 0.5s ease; }
.screen.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- LOADER DA ANÁLISE --- */
.loader-ring {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}
.loader-ring:after {
    content: " ";
    display: block;
    width: 44px;
    height: 44px;
    margin: 8px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    border-color: var(--gold) transparent var(--gold) transparent;
    animation: ring 1.2s linear infinite;
}
@keyframes ring { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- RESULTADO --- */
.result-tag {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.bonus-box {
    background: #1a1a1a;
    border: 1px dashed #444;
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: left;
}
.bonus-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #ccc;
}
.bonus-item span { color: var(--gold); margin-right: 8px; }

/* --- ANIMAÇÃO DO CORAÇÃO PULSANTE --- */
.pulsing-heart {
    font-size: 60px; /* Um pouco maior para destacar */
    margin-bottom: 15px;
    display: inline-block;
    /* Animação suave e infinita */
    animation: heartbeat 1.5s ease-in-out infinite both;
    /* Cor vermelha para garantir destaque, embora o emoji já tenha cor */
    color: #ff4444; 
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.3); /* Brilho vermelho suave */
}

/* Os frames da animação (batida dupla realista) */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.15);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.15);
  }
  70% {
    transform: scale(1);
  }
}

/* --- NOVA ÁREA DE OFERTA (TODOS PREMIUM) --- */
.offer-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 25px 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.offer-section-title::before, .offer-section-title::after {
    content: '';
    height: 1px;
    width: 30px;
    background: #333;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 25px;
    text-align: left;
}

/* CARD PREMIUM (PADRÃO PARA TODOS AGORA) */
.offer-card {
    /* Fundo com leve degradê dourado para todos */
    background: linear-gradient(90deg, rgba(212,175,55,0.06), rgba(0,0,0,0));
    /* Borda dourada suave para todos */
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efeito Hover (Fica mais forte ao passar o mouse) */
.offer-card:hover {
    background: linear-gradient(90deg, rgba(212,175,55,0.15), rgba(0,0,0,0));
    border-color: var(--gold);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.offer-icon-box {
    width: 50px;
    height: 50px;
    /* Ícone também dourado */
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(0,0,0,0));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.offer-content h3 {
    /* Título Dourado para todos */
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.offer-content p {
    color: #bbb; /* Texto um pouco mais claro para contraste */
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
}