/* =========================================
   1. VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================= */
:root {
    --primary-color: #FF007F; 
    --secondary-color: #00C853; 
    --dark-bg: #1A1A2E; 
    --card-bg: #2C2C4A; 
    --text-color: #E0E0E0; 
    --heading-color: #FFFFFF; 
    --font-poppins: 'Poppins', sans-serif;
    --font-open-sans: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-open-sans); color: var(--text-color); background-color: var(--dark-bg); line-height: 1.6; scroll-behavior: smooth; }
a { color: var(--primary-color); text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-poppins); color: var(--heading-color); }
h1 { font-size: 3.5em; margin-bottom: 0.5em; }
h2 { font-size: 2.5em; margin-bottom: 0.8em; text-align: center; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.mt-5 { margin-top: 50px; }

/* Subtítulos Padrão de Seções */
.section-subtitle { text-align: center; font-size: 1.1em; margin-bottom: 30px; color: rgba(255, 255, 255, 0.8); max-width: 800px; margin-left: auto; margin-right: auto; }

/* =========================================
   2. BOTÕES E ANIMAÇÕES
   ========================================= */
.btn-primary, .btn-secondary {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px; /* Mantém ícone e texto alinhados no meio */
    padding: 12px 25px; border-radius: 30px; font-weight: 600; text-transform: uppercase; text-align: center; transition: 0.3s; cursor: pointer; border: 2px solid var(--primary-color);
}
.btn-primary { background-color: var(--primary-color); color: var(--heading-color); }
.btn-secondary { background-color: transparent; color: var(--primary-color); }
.btn-large { padding: 15px 35px; font-size: 1.1em; }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

/* Efeito Pulsante Estilo Neon */
@keyframes neonPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 0, 127, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
}
.pulse-animation { animation: neonPulse 2s infinite; }

/* Efeito de toque ativo (mobile) nos cards */
.active-effect { transition: transform 0.2s ease, background-color 0.2s ease; }
.active-effect:active { transform: scale(0.96) !important; background-color: rgba(255, 0, 127, 0.1); border-color: var(--primary-color); }

/* =========================================
   3. CABEÇALHO (SMART HEADER)
   ========================================= */
.header { background-color: var(--dark-bg); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 25px; }
.nav-list a { color: var(--text-color); font-weight: 600; }
.header-social-icons { display: flex; gap: 15px; }

/* Botão LIVE Estilo TikTok */
.live-btn-header { display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,0.4); padding: 5px 12px; border-radius: 20px; text-decoration: none; border: 1px solid rgba(255,0,127,0.3); }
.live-icon-wrapper { position: relative; width: 24px; height: 24px; display: flex; justify-content: center; align-items: center; background: var(--primary-color); border-radius: 50%; }
.live-icon-wrapper i { color: white; font-size: 10px; margin-left: 2px; z-index: 2; }
.pulse-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--primary-color); animation: neonPulse 1.5s infinite; z-index: 1; }
.live-text { color: white; font-weight: 700; font-size: 0.85em; letter-spacing: 0.5px; }

/* =========================================
   4. SEÇÕES DO SITE (HERO, CARDS, PONTOS)
   ========================================= */
/* Hero Section (Banner principal) */
.hero-section { background: linear-gradient(135deg, var(--dark-bg) 0%, #3A1C71 100%); padding: 100px 0; }
.hero-section .container { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; }
.hero-content h1 { font-size: 4.5em; line-height: 1.1; margin-bottom: 0.2em; background: linear-gradient(to right, var(--primary-color), #FF8C00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content .subtitle { font-size: 1.3em; margin-bottom: 40px; color: rgba(255, 255, 255, 0.9); }
.hero-image video { max-width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-buttons { display: flex; gap: 20px; }

/* Grid de Cards Genérico (Usado em Como Funciona e Contato) */
.steps-grid, .contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.step-card, .contact-item { background-color: var(--card-bg); padding: 30px; border-radius: 15px; text-align: center; }
.step-card i, .contact-item i { font-size: 3em; color: var(--primary-color); margin-bottom: 15px; }

/* Grade de Pontos Online (Estilo Sanfona) */
.pontos-grid { display: none; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; max-width: 1000px; margin: 0 auto; animation: fadeDown 0.4s ease-out; }
.pontos-grid.open { display: grid; }
.ponto-link { background-color: var(--card-bg); color: var(--heading-color); padding: 15px; border-radius: 10px; text-align: center; font-weight: 600; border: 1px solid transparent; display: flex; justify-content: center; align-items: center; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Botões Sociais VIP Específicos */
.btn-social-whatsapp, .btn-social-telegram { padding: 10px 15px; border-radius: 8px; font-weight: bold; color: white !important; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-social-whatsapp { background-color: #25D366; }
.btn-social-telegram { background-color: #0088cc; }

/* =========================================
   5. CHAMADA FINAL (CTA) - DESTAQUE WEB
   ========================================= */
/* Oculta no mobile (usando a classe .desktop-only mais abaixo), e brilha no Desktop */
.cta-section { background: linear-gradient(90deg, var(--primary-color) 0%, #FF8C00 100%); padding: 100px 0; }
.cta-section h2 { color: #FFFFFF; font-size: 3.2em; margin-bottom: 0.2em; }
.cta-subtitle { color: rgba(255, 255, 255, 0.95); font-size: 1.2em; max-width: 700px; margin: 0 auto 40px auto; }

/* =========================================
   6. RODAPÉ (FOOTER) E REDES SOCIAIS
   ========================================= */
.footer { background-color: #111122; color: rgba(255,255,255,0.7); padding: 60px 0 20px 0; font-size: 0.95em; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-col h3 { color: var(--heading-color); font-size: 1.3em; margin-bottom: 20px; font-family: var(--font-poppins); }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,0.7); }
.footer-links li a:hover { color: var(--primary-color); }
.footer-social-icons { display: flex; gap: 20px; }
.footer-social-icons a { color: rgba(255,255,255,0.7); font-size: 1.4em; }
.footer-social-icons a:hover { color: var(--primary-color); }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }

/* =========================================
   7. NAVEGAÇÃO INFERIOR MOBILE (BOTTOM BAR)
   ========================================= */
/* Fica escondida por padrão, aparece apenas no mobile via media query */
.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background-color: #111122; box-shadow: 0 -2px 15px rgba(0,0,0,0.5); z-index: 9998; padding-bottom: env(safe-area-inset-bottom); justify-content: space-around; align-items: flex-end; }
.bottom-nav-item { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px 0; color: #888; text-decoration: none; }
.bottom-nav-item i { font-size: 1.4em; margin-bottom: 6px; transition: color 0.3s; }
.bottom-nav-item span { font-size: 0.7em; text-align: center; line-height: 1.1; }
.bottom-nav-item:active i, .bottom-nav-item:active span { color: var(--heading-color); }

/* O Botão de Ouro "JOGAR" no centro da barra */
.btn-jogar-bottom { position: relative; top: -15px; flex: 1.1; margin: 0 -10px; }
.btn-jogar-inner { background: var(--primary-color); border-radius: 50%; width: 58px; height: 58px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 4px solid var(--dark-bg); color: white; }
.btn-jogar-inner i { font-size: 1.5em; margin-bottom: 4px; }
.btn-jogar-inner span { font-weight: bold; font-size: 0.8em; margin-bottom: 0; }

/* =========================================
   8. POP-UP DE INSTALAÇÃO (PWA)
   ========================================= */
.pwa-prompt { position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 9999; display: flex; justify-content: center; align-items: flex-end; backdrop-filter: blur(5px); }
.pwa-content { background-color: var(--card-bg); width: 100%; max-width: 500px; padding: 25px 20px 30px; border-radius: 20px 20px 0 0; text-align: center; position: relative; animation: slideUpPwa 0.5s ease-out; }
.pwa-close { position: absolute; top: 10px; right: 20px; font-size: 28px; cursor: pointer; color: #888; }
.pwa-icon { width: 65px; height: 65px; border-radius: 15px; margin-bottom: 10px; }
@keyframes slideUpPwa { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* =========================================
   9. RESPONSIVIDADE (A MÁGICA DO APP)
   ========================================= */
/* Ajustes para Telas Médias e Celulares Grandes (Até 992px) */
@media (max-width: 992px) {
    body { padding-bottom: 85px; } /* Evita que a Bottom Bar cubra o site */
    
    /* Liga/Desliga Elementos Baseados no Aparelho */
    .desktop-only { display: none !important; } /* Esconde Menus Superiores e Seção CTA */
    .mobile-bottom-bar { display: flex; }       /* Aciona a Barra Inferior */
    
    /* Ajustes Gerais Hero */
    .hero-section { padding: 50px 0; } 
    .hero-section .container { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 3em; } /* Trava de segurança para Tablets */
    .hero-buttons { justify-content: center; flex-direction: column; gap: 15px; }
    .btn-secondary { margin-left: 0; }
    
    /* Pontos Online (Força 3 Coluninhas) */
    .pontos-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ponto-link { padding: 10px 5px; font-size: 0.75em; white-space: normal; line-height: 1.2; }

    /* Footer Mobile Alinhado à Esquerda */
    .footer { padding-top: 40px; padding-bottom: 100px; } 
    .text-center-mobile { text-align: left; display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 25px; padding-left: 10px; }
    .footer-links { text-align: left; display: flex; flex-direction: column; align-items: flex-start; padding-left: 0; }
    .footer-links li { font-size: 1.1em; margin-bottom: 12px; }
    .footer-social-icons { justify-content: flex-start; margin-top: 10px; }
    .footer-bottom { text-align: left; padding-left: 10px; }
}

/* Ajustes Finos e Estritos para Celulares (Até 600px) */
@media (max-width: 600px) {
    /* Trava absoluta de fonte (Impede que a fonte de desktop esmague a tela) */
    .hero-content h1 { font-size: 2.3em; line-height: 1.2; padding-bottom: 5px; margin-bottom: 0.2em; } 
    
    h2 { font-size: 1.8em; }
    .hero-content .subtitle { font-size: 1.05em; margin-bottom: 30px; } 
    
    /* Força os botões de ação a terem 100% da largura máxima para não ficarem tortos */
    .btn-primary, .btn-secondary { width: 100%; max-width: 300px; margin: 0 auto; } 
}