:root {
    --bg-color: #05060a;
    --card-bg: #12141c;
    --card-hover: #1c2030;
    --text-color: #ffffff;
    --subtitle-color: #a0a3b5;
    
    /* Cores do Tema DaVinci */
    --primary-blue: #00a8ff;
    --highlight-gold: #d4af37;
    --success-green: #00ff9d;
    --border-color: #2a2e45;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding-bottom: 90px;
    overflow-x: hidden;
}

.app-container {
    width: 100%; max-width: 500px; padding: 20px;
    display: flex; flex-direction: column; position: relative;
    padding-top: 100px;
}

/* --- Barra Topo --- */
.top-progress-bar {
    position: fixed; top: 0; left: 0; height: 4px;
    background-color: var(--primary-blue); width: 0%;
    z-index: 100; transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--primary-blue);
}

/* --- Header --- */
.quiz-header {
    position: fixed; top: 0; width: 100%; max-width: 500px;
    background: rgba(5, 6, 10, 0.95); z-index: 90;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; 
    height: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.header-side { width: 40px; } 
#header-left { font-size: 1.2rem; cursor: pointer; color: var(--subtitle-color); }
#header-right { font-size: 0.9rem; font-weight: 600; text-align: right; color: var(--primary-blue); }

.header-center { flex-grow: 1; text-align: center; }
.app-name { 
    font-weight: 700; font-size: 0.9rem; letter-spacing: 2px; 
    text-transform: uppercase; background: linear-gradient(90deg, #fff, #a0a3b5);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* --- Títulos --- */
#main-title { 
    font-size: 1.6rem; font-weight: 700; text-align: center; 
    margin-bottom: 10px; line-height: 1.2; margin-top: 10px;
    color: #fff;
}
#sub-title { 
    font-size: 0.95rem; color: var(--subtitle-color); text-align: center; 
    margin-bottom: 30px; line-height: 1.5;
}

/* --- Cards --- */
.option-card {
    background-color: var(--card-bg); 
    border: 1px solid var(--border-color);
    border-radius: 12px; 
    margin-bottom: 12px; 
    padding: 20px; 
    display: flex; align-items: center; justify-content: flex-start;
    cursor: pointer; transition: all 0.2s;
    position: relative; overflow: hidden;
}
.option-card:hover { background-color: var(--card-hover); border-color: var(--primary-blue); }
.option-card:active { transform: scale(0.98); }

.option-text { font-size: 1rem; font-weight: 500; color: #fff; }

/* --- Grid Imagens 1:1 --- */
.grid-images-container {
    display: grid;
    grid-template-columns: 1fr 1fr; gap: 15px; width: 100%;
}

.image-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; flex-direction: column; align-items: center;
}
.image-card:hover { border-color: var(--primary-blue); transform: translateY(-3px); }

.img-option-display {
    width: 100%; 
    aspect-ratio: 1 / 1; 
    object-fit: cover;   
    margin-bottom: 10px; 
    border-radius: 8px;
    background: #000;    
}

.img-label { font-size: 0.85rem; color: #ccc; font-weight: 500; line-height: 1.3;}

/* --- Botões Sim/Não --- */
.grid-yes-no { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.big-btn {
    background-color: var(--card-bg); border-radius: 16px; height: 120px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    cursor: pointer; border: 1px solid var(--border-color);
}
.big-btn:hover { border-color: var(--primary-blue); background: var(--card-hover); }
.big-btn i { font-size: 2rem; margin-bottom: 10px; }
.btn-red i { color: #ff4b4b; }
.btn-green i { color: var(--success-green); }

/* --- Loading --- */
#loading-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #05060a; z-index: 200;
    display: flex; align-items: center; justify-content: center;
}
.loader-content { text-align: center; max-width: 350px; }

.spinner-tech {
    width: 60px; height: 60px; 
    border: 3px solid rgba(0, 168, 255, 0.1);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.2);
}
@keyframes spin { to { transform: rotate(360deg); } }

.check-list { margin-top: 30px; text-align: left; background: #111; padding: 20px; border-radius: 10px; border: 1px solid #222; }
.check-item { margin-bottom: 10px; color: #666; font-size: 0.9rem; display: flex; gap: 10px; align-items: center;}
.check-item.active { color: var(--primary-blue); font-weight: 600; }
.check-item i { width: 20px; text-align: center; }

/* --- Popup Presente --- */
#gift-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92); z-index: 300;
    display: flex; align-items: center; justify-content: center;
    padding: 15px;
    backdrop-filter: blur(8px);
}
.gift-card {
    background: #0f1116; border: 1px solid var(--highlight-gold);
    border-radius: 20px; padding: 25px 20px; text-align: center;
    max-width: 360px; width: 100%;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    position: relative; overflow: hidden;
}
.gift-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #aa8c2c, #ffd700, #aa8c2c);
}
.gift-title { 
    color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.gift-subtitle { color: #aaa; font-size: 0.85rem; margin-bottom: 15px; line-height: 1.4; }
.gift-video-wrapper {
    width: 100%; height: 160px; border-radius: 12px;
    overflow: hidden; margin-bottom: 15px; position: relative;
    border: 2px solid #2a2e45; box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.gift-mini-video { width: 100%; height: 100%; object-fit: cover; }
.play-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; background: rgba(0,0,0,0.6);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff; color: #fff; font-size: 14px;
    animation: pulse 2s infinite;
}
.gift-content-box {
    background: rgba(255,255,255,0.05); padding: 12px; border-radius: 10px;
    margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.1);
}
.gift-text-small { color: #ccc; font-size: 0.85rem; line-height: 1.5; }
.btn-claim {
    background: linear-gradient(90deg, #d4af37 0%, #aa8c2c 100%);
    color: #05060a; border: none; padding: 16px; font-size: 1rem;
    font-weight: 800; border-radius: 50px; cursor: pointer; width: 100%;
    text-transform: uppercase; box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s;
}
.btn-claim:hover { transform: scale(1.03); box-shadow: 0 0 30px rgba(212, 175, 55, 0.5); }

/* --- ÁREA DE CONVERSÃO / VSL --- */
.smartplayer-hide { display: none !important; }

/* Estilo do Box de Resultado (NOVO) */
.result-blue-box {
    background: rgba(0, 168, 255, 0.08);
    border: 1px solid var(--primary-blue);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.1);
}

.conversion-box {
    margin-top: 30px;
    background: linear-gradient(180deg, rgba(5,6,10,0) 0%, rgba(42, 46, 69, 0.3) 100%);
    padding: 20px; border-radius: 12px; border: 1px solid var(--primary-blue);
    text-align: center;
}
.sales-headline { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 5px; text-transform: uppercase; }
.discount-tag { color: var(--success-green); font-weight: 800; font-size: 1.3rem; margin-bottom: 15px; display: block; }
.cta-button-vsl {
    background: linear-gradient(90deg, #00ff9d 0%, #00cc7a 100%);
    color: #000; text-decoration: none; display: block;
    width: 100%; padding: 18px; font-size: 1.2rem; font-weight: 800; 
    border-radius: 50px; cursor: pointer; 
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
    text-transform: uppercase; margin-bottom: 10px;
    animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen { 0% { transform: scale(1); } 50% { transform: scale(1.02); box-shadow: 0 0 30px rgba(0, 255, 157, 0.6); } 100% { transform: scale(1); } }
.secure-payment { font-size: 0.75rem; color: #888; display: flex; align-items: center; justify-content: center; gap: 5px;}

/* Helpers */
.hide { display: none !important; }
.highlight-gold { color: var(--highlight-gold); font-weight: 700; }
.blink-bar {
    background: rgba(212, 175, 55, 0.15); border: 1px solid var(--highlight-gold);
    color: var(--highlight-gold); padding: 10px; text-align: center;
    font-size: 0.85rem; font-weight: 700; border-radius: 8px;
    margin-bottom: 20px; animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }