/* Reset Básico */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', Arial, sans-serif; }

body {
    background: radial-gradient(circle at top, #0f172a 0%, #020617 100%);
    color: #f8fafc;
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh; padding: 20px;
    overflow-x: hidden; position: relative;
}

/* Fundo Estrelado Sutil */
.stars-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px; z-index: -1; opacity: 0.5;
}

/* Glassmorphism Premium */
.app-container {
    width: 100%; max-width: 420px; min-height: 85vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px; padding: 35px 25px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Controle de Telas */
.screen { display: flex; flex-direction: column; align-items: center; text-align: center; animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.hidden { display: none !important; }

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

/* Tipografia */
.glitch-title {
    color: #00f2fe; font-family: 'Courier New', monospace; font-size: 0.85rem;
    letter-spacing: 4px; margin-bottom: 25px; font-weight: bold; text-transform: uppercase;
}

h1 { font-size: 1.6rem; margin-bottom: 15px; font-weight: 800; line-height: 1.3; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
h2 { font-size: 1.3rem; margin-bottom: 25px; font-weight: 600; line-height: 1.4; }
p { color: #94a3b8; line-height: 1.6; margin-bottom: 25px; font-size: 1rem; }

/* Placeholder Hero */
.hero-image-container { width: 100%; margin-bottom: 25px; }
.placeholder-box {
    width: 100%; height: 200px; background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; font-size: 0.8rem; color: #64748b; font-family: monospace;
}

/* Botões */
.btn-premium {
    width: 100%; background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #020617; border: none; padding: 18px; font-size: 1.05rem; font-weight: 800;
    border-radius: 12px; cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 10px 20px -5px rgba(0, 242, 254, 0.4); transition: transform 0.2s, box-shadow 0.2s;
}
.btn-premium:active { transform: scale(0.97); }

.option-btn {
    width: 100%; background: rgba(255, 255, 255, 0.03); color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 18px;
    font-size: 1rem; border-radius: 12px; cursor: pointer;
    margin-bottom: 12px; text-align: left; line-height: 1.4; transition: all 0.2s;
}
.option-btn:active { background: rgba(0, 242, 254, 0.1); border-color: #00f2fe; }

/* Progresso */
.progress-container { width: 100%; margin-bottom: 30px; }
.progress-bar { width: 100%; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; margin-bottom: 12px; overflow: hidden; }
#progress-fill { height: 100%; background: #00f2fe; width: 0%; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 10px #00f2fe; }
#question-counter { font-family: monospace; font-size: 0.85rem; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin: 0;}

/* Loader */
.radar-spinner {
    width: 60px; height: 60px; border: 2px solid rgba(0, 242, 254, 0.2);
    border-top: 2px solid #00f2fe; border-radius: 50%;
    animation: spin 1s linear infinite; margin: 60px auto 30px auto;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Resultado - Imagem Principal */
.result-header { margin-bottom: 20px; }
#result-subtitle { color: #00f2fe; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.alien-profile { width: 100%; margin-bottom: 20px; }
.alien-profile img { 
    width: 100%; max-width: 280px; height: auto; border-radius: 16px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05);
}
.profile-desc { font-size: 0.95rem; text-align: left; }

.divider { border: 0; height: 1px; background: rgba(255, 255, 255, 0.1); margin: 30px 0; width: 100%; }

/* Área da Loja */
.store-section { width: 100%; background: rgba(0,0,0,0.3); border-radius: 16px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.05); margin-bottom: 20px; }
.store-title { font-size: 0.8rem; color: #64748b; letter-spacing: 2px; margin-bottom: 15px; }
.store-card { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.mockup-wrapper { width: 100%; max-width: 200px; }
.mockup-wrapper img { width: 100%; height: auto; border-radius: 8px; mix-blend-mode: lighten; }
.store-info { display: flex; flex-direction: column; width: 100%; align-items: center; }
.product-name { font-weight: bold; color: #e2e8f0; margin-bottom: 5px; font-size: 1.1rem;}
.product-price { color: #00f2fe; font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; }

.btn-buy {
    width: 100%; background: #ffffff; color: #020617; text-decoration: none;
    padding: 15px; font-weight: bold; border-radius: 10px; display: inline-block;
    transition: background 0.2s; font-size: 0.95rem;
}
.btn-buy:hover { background: #e2e8f0; }

.btn-ghost { background: none; border: none; color: #64748b; font-size: 0.9rem; padding: 15px; cursor: pointer; transition: color 0.2s; }
.btn-ghost:hover { color: #fff; }