:root {
    --bg: #000000;
    --card: #111111;
    --red-primary: #d60000;
    --red-dark: #8a0000;
    --red-glow: rgba(214, 0, 0, 0.3);
    --gold: #fbbf24;
    --text: #ffffff;
    --dim: #666666;
}

* { box-sizing: border-box; }
body { background: #050505; color: var(--text); font-family: 'Inter', sans-serif; margin: 0; display: flex; justify-content: center; }

#mobile-screen {
    width: 100%; max-width: 480px; background: var(--bg);
    min-height: 100vh; position: relative; padding-bottom: 90px;
}

.text-red { color: var(--red-primary); }
.text-gold { color: var(--gold); }
.text-dim { color: var(--dim); }
.text-white { color: white; }
.text-center { text-align: center; }
.hide { display: none !important; }

/* HEADER */
.app-header { padding: 20px; background: rgba(10, 10, 10, 0.95); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #222; }
.brand { font-size: 1.2rem; font-weight: 900; margin-bottom: 15px; }
.status-bar { background: #000; border-radius: 50px; padding: 4px; border: 1px solid #333; }
.status-info { display: flex; justify-content: space-between; font-size: 0.7rem; margin-bottom: 5px; color: var(--dim); }
.progress-track { height: 6px; background: #222; border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--red-primary); transition: width 0.5s ease; }

/* LISTA */
.scroll-container { padding: 20px; }
.phase-header { font-size: 0.75rem; color: var(--red-primary); font-weight: 800; margin: 20px 0; }

.lesson-card { background: var(--card); border-radius: 12px; padding: 15px; margin-bottom: 15px; border: 1px solid #222; transition: transform 0.2s; }
.lesson-card.unlocked { border-left: 3px solid var(--red-primary); cursor: pointer; }
.lesson-card.locked { opacity: 0.5; filter: grayscale(1); cursor: not-allowed; }
.lesson-card:active { transform: scale(0.98); }

/* ESTRUTURA INTERNA DO CARD */
.card-content-wrapper { display: flex; flex-direction: column; width: 100%; }
.card-main { display: flex; align-items: center; gap: 15px; }

.icon-box { width: 40px; height: 40px; background: rgba(214, 0, 0, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red-primary); flex-shrink: 0; }
.lesson-info { flex: 1; }
.lesson-info h4 { margin: 0 0 5px 0; font-size: 0.95rem; line-height: 1.3; }
.lesson-info p { margin: 0; font-size: 0.75rem; color: #888; line-height: 1.4; }
.status-icon { font-size: 1.2rem; }

/* BARRA DE PODER (VIDEO 2) */
.power-meter { margin-top: 12px; background: #1a1a1a; padding: 8px; border-radius: 6px; border: 1px solid #333; }
.power-label { display: block; font-size: 0.65rem; color: var(--gold); font-weight: 800; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.power-bar { height: 6px; background: #333; border-radius: 3px; overflow: hidden; }
.power-fill { height: 100%; width: 100%; background: linear-gradient(90deg, #d60000, #ff4d4d); box-shadow: 0 0 10px var(--red-primary); }

/* VIDEO PLAYER CONTAINER */
.video-placeholder { width: 100%; min-height: 200px; background: #000; border-radius: 10px; margin: 20px 0; overflow: hidden; border: 1px solid #333; display: flex; align-items: center; justify-content: center; }

/* BOTÕES E OVERLAY */
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 1000; padding: 20px; overflow-y: auto; }
.instruction-box { background: #111; padding: 15px; border-radius: 10px; border-left: 2px solid var(--red-primary); margin: 20px 0; }
.btn-red-large { background: var(--red-primary); color: #fff; border: none; padding: 15px; width: 100%; border-radius: 10px; font-weight: 800; margin-bottom: 50px; cursor: pointer; text-transform: uppercase; }
.close-btn { background: #222; color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; float: right; cursor: pointer; }

/* NAV */
.bottom-nav { position: fixed; bottom: 0; width: 100%; max-width: 480px; background: #0a0a0a; display: flex; padding: 10px 0; border-top: 1px solid #222; z-index: 20; }
.nav-item { flex: 1; text-align: center; color: #555; font-size: 0.7rem; cursor: pointer; }
.nav-item.active { color: var(--red-primary); }
.nav-item i { display: block; font-size: 1.2rem; margin-bottom: 3px; }
.highlight-hub { color: var(--gold) !important; }

/* AI TAB */
.ai-container { padding: 40px 20px; display: flex; flex-direction: column; align-items: center; }
.ai-avatar-glow { width: 100px; height: 100px; background: radial-gradient(circle, var(--red-primary) 0%, transparent 70%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.btn-gpt-red { background: #111; color: #fff; border: 1px solid var(--red-primary); padding: 12px 25px; border-radius: 50px; margin-top: 20px; font-weight: 600; cursor: pointer; }
.ai-features { margin-top: 20px; text-align: left; }
.feature { margin-bottom: 10px; color: #ccc; font-size: 0.9rem; }

/* STORE TAB */
.store-grid { padding: 20px; }
.store-card { background: #111; padding: 20px; border-radius: 10px; border: 1px solid #333; position: relative; }
.badge-free { position: absolute; top: -10px; right: 10px; background: var(--gold); color: #000; font-size: 0.6rem; padding: 4px 8px; border-radius: 4px; font-weight: bold; }
.btn-small { background: #333; color: #fff; border: none; padding: 8px 15px; border-radius: 5px; margin-top: 10px; font-size: 0.8rem; cursor: pointer; }