/* ==========================================================================
   PIXELBOOM - STYLE.CSS (OTIMIZADO)
   ========================================================================== 
   ÍNDICE:
   1. Variáveis e Reset (Root, Body)
   2. Tipografia, Cores e Utilidades (Helpers)
   3. Componentes Globais (Botões, Badges, Modais, Toasts)
   4. Layout Principal (Header, Footer, Page Containers)
   5. Landing Page (Visitante e Funil)
   6. Área de Jogo (Tabuleiro, HUD, Powerups, Radar)
   7. Painel Minha Conta, Loja e PIX
   8. Painel Admin
   9. Animações e Efeitos (@keyframes)
   10. Tela Cheia (Fullscreen Overrides)
   11. Responsividade (Mobile @media queries)
   12. Integrações de Plataformas (CrazyGames, Y8, etc.)
========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

/* ==========================================================================
   1. VARIÁVEIS E RESET (ROOT, BODY)
   ========================================================================== */
:root {
    --block-size: 20px; /* Tamanho Fixo dos blocos do mapa */
    --font-size: 14px;  
}

body { 
    background-color: #0a0a0a; 
    color: #f5f5f5; 
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    min-height: 100vh; 
    margin: 0; 
    padding-top: 115px; 
    overflow-x: hidden; 
    overflow-y: auto; 
}

/* ==========================================================================
   2. TIPOGRAFIA, CORES E UTILIDADES (HELPERS)
   ========================================================================== */
/* Textos e Cores */
.text-red { color: #ef4444 !important; }
.text-green { color: #10b981 !important; }
.text-blue { color: #3b82f6 !important; }
.text-yellow { color: #facc15 !important; }
.text-orange { color: #f97316 !important; }
.text-gold { color: #fbbf24 !important; text-transform: uppercase; margin: 0 0 10px 0; }
.text-muted { color: #64748b; }

/* Bordas */
.border-red { border-color: #ef4444 !important; }
.border-green { border-color: #10b981 !important; }
.border-red-soft { border-color: rgba(239, 68, 68, 0.3) !important; }
.border-green-soft { border-color: rgba(16, 185, 129, 0.3) !important; }

/* Alinhamento e Dimensões */
.text-center { text-align: center; }
.text-left { text-align: left; }
.w-100 { width: 100%; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

/* Margens (Spacing) */
.m-0 { margin: 0; }
.mt-5 { margin-top: 5px; }
.mt-15 { margin-top: 15px; }
.mt-25 { margin-top: 25px; }
.mb-20 { margin-bottom: 20px; }

/* Flexbox Helpers (Para evitar repetição de código no HTML) */
.flex-col-full { display: flex; flex-direction: column; width: 100%; }
.flex-col-gap15 { display: flex; flex-direction: column; gap: 15px; }
.flex-row-gap10 { display: flex; gap: 10px; }
.flex-center-gap8 { display: flex; align-items: center; justify-content: center; gap: 8px; }
.flex-col-center-gap10 { display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* Esconder elementos */
.hidden { display: none !important; }

/* ==========================================================================
   3. COMPONENTES GLOBAIS (BOTÕES, INPUTS, MODAIS, TOASTS)
   ========================================================================== */
/* --- Botões Base --- */
.btn-clear { padding: 12px; background: transparent; color: #a3a3a3; border: 1px dashed #404040; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.2s; text-transform: uppercase; }
.btn-clear:hover { background: #262626; color: white; }

.btn-play { padding: 12px; background: #10b981; color: white; border: none; border-radius: 8px; font-weight: 800; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3); text-transform: uppercase; }
.btn-play:hover { background: #059669; transform: translateY(-2px); }
.btn-play.btn-inactive { background: #262626; color: #a3a3a3; box-shadow: none; cursor: not-allowed; transform: none; }

.btn-action { background: #3b82f6; color: white; padding: 12px; border-radius: 8px; font-weight: bold; border: none; cursor: pointer; transition: 0.2s; text-transform: uppercase; }
.btn-action:hover { background: #2563eb; }

.btn-admin-action { background: #1e293b; border: 1px solid #334155; color: #fff; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: bold; transition: 0.2s; }
.btn-admin-action:hover { background: #ef4444; border-color: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }

/* Botão Tela Cheia / Ícones Soltos */
.btn-icon-only { background: #1e293b; border: 1px solid #475569; color: #fff; font-size: 18px; width: 40px; height: 40px; border-radius: 6px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.2s ease; }
.btn-icon-only:hover { background: #334155; transform: scale(1.1); border-color: #94a3b8; }

.btn-full { width: 100%; }
.btn-back-custom { background: #0a0a0a; border: 1px solid #404040; color: #fff; padding: 10px 20px; font-size: 12px; margin: 10px 0; }
.btn-pulse { animation: pulseGreen 2s infinite; font-size: 18px !important; padding: 18px 20px !important; }

/* Botões Temáticos */
.btn-gold { width: 100%; background: #fbbf24; color: #000; }
.btn-gold:hover { background: #f59e0b; }
.btn-gold-solid { background: #f59e0b; border-color: #f59e0b; color: #000; }
.btn-gold-solid:hover { background: #d97706; }
.btn-outline-red { border-color: #ef4444; color: #ef4444; font-size: 12px; }
.btn-outline-blue { border-color: #3b82f6; color: #3b82f6; font-size: 14px; }

/* --- Inputs e Formulários --- */
.login-input { 
    width: 100%; 
    background: #0f172a; 
    border: 1px solid #334155; 
    color: #fff; 
    padding: 12px 15px; 
    border-radius: 8px; 
    font-size: 14px; 
    margin-bottom: 12px; 
    outline: none; 
    box-sizing: border-box; 
    display: block; 

    /* 🔴 A MÁGICA: Força o calendário a usar o tema escuro nativo do navegador */
    color-scheme: dark; 
}

.login-input { width: 100%; background: #0f172a; border: 1px solid #334155; color: #fff; padding: 12px 15px; border-radius: 8px; font-size: 14px; margin-bottom: 12px; outline: none; box-sizing: border-box; display: block; }
.login-input:focus { border-color: #3b82f6; }

.acc-input { width: 100%; background: #0f172a; border: 1px solid #334155; color: #fff; padding: 12px 15px; border-radius: 8px; font-size: 16px; font-weight: bold; outline: none; box-sizing: border-box; transition: border-color 0.2s ease; }
.acc-input:focus { border-color: #3b82f6; box-shadow: 0 0 10px rgba(59, 130, 246, 0.2); }

/* Remove setinhas nativas dos inputs de número */
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* --- Toasts (Notificações Flutuantes) --- */
.toast-container { position: fixed; top: 90px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: #171717; color: white; padding: 15px 20px; border-radius: 8px; border-left: 5px solid #3b82f6; box-shadow: 0 10px 30px rgba(0,0,0,0.5); min-width: 250px; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; animation: slideInRight 0.3s ease forwards; pointer-events: auto; }
.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }
.toast.fade-out { animation: slideOutRight 0.3s ease forwards !important; }

/* --- Botão WhatsApp Flutuante --- */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; font-size: 30px; box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5); z-index: 100000; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background-color 0.3s ease; text-decoration: none; }
.whatsapp-float:hover { background-color: #1ebe5d; transform: scale(1.1); }
.is-archived .whatsapp-float { display: flex; }

/* --- Modais (Janelas Pop-up) --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 9999; }
.modal-content { background: linear-gradient(145deg, #1e293b, #0f172a); border: 1px solid #334155; border-radius: 16px; padding: 30px; width: 90%; max-width: 380px; box-sizing: border-box; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,0.7); text-align: center; position: relative; animation: modalFadeIn 0.3s ease-out; color: #fff; }

.modal-isolation-layer { z-index: 100000; background: rgba(0,0,0,0.9); }
.modal-isolation-content { border: 2px solid #fbbf24; background: linear-gradient(145deg, #1e293b, #0f172a); text-align: center; }

/* 🔴 MODO MODAL PARA OS TERMOS DE USO (ACESSO PELO CADASTRO) */
.terms-modal-mode {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 100000 !important;
    overflow-y: auto !important;
    padding: 40px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-start !important; /* Permite scroll natural */
    justify-content: center !important;
}

/* Variantes de Modal */
.modal-sm { max-width: 350px; }
.modal-md { max-width: 400px; padding: 30px; }
.modal-lg { max-width: 450px; padding: 30px; }

/* Estilização Interna de Modais */
.modal-border-blue { border-color: #3b82f6; }
.modal-border-red { border-color: #ef4444; }
.modal-border-lightblue { border-color: #60a5fa; }
.modal-title-blue { color: #3b82f6; margin-top: 0; }
.modal-title-red { color: #ef4444; margin-top: 0; }
.modal-title-lightblue { color: #60a5fa; margin-top: 0; }
.modal-desc { color: #cbd5e1; font-size: 14px; margin-bottom: 25px; line-height: 1.4; }
.modal-desc-sm { font-size: 13px; margin-bottom: 15px; }
.modal-icon-lg { font-size: 40px; margin-bottom: 10px; }
.modal-icon-xl { font-size: 50px; margin-bottom: 10px; }

/* --- Caixinha de Recompensa das Modais (Respiro e Espaçamento) --- */
.isolation-reward-box {
    padding: 20px; 
    margin-bottom: 25px; /* Empurra o botão de "COLETAR" para baixo */
    border-radius: 12px;
    border-width: 1px;
    border-style: solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Dá um respiro entre os Pontos e a mensagem da Vida */
}

.reward-points {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.reward-lives {
    font-size: 14px;
    font-weight: 600;
}

/* Tabelas Genéricas */
.dark-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.dark-table th { background: #0a0a0a; color: #a3a3a3; padding: 14px 12px; border-bottom: 2px solid #262626; text-transform: uppercase; font-size: 11px; }
.dark-table td { padding: 12px; border-bottom: 1px solid #262626; color: #d4d4d4; }
.dark-table tbody tr:hover { background: #262626; }
.table-responsive { width: 100%; overflow-x: auto; }


/* ==========================================================================
   4. LAYOUT PRINCIPAL (HEADER, FOOTER, CONTAINERS)
   ========================================================================== */
/* --- Header --- */
.main-header { flex-shrink: 0; position: fixed; top: 0; left: 0; width: 100%; height: 90px; background: #171717; border-bottom: 1px solid #262626; z-index: 9000; display: flex; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.header-container { position: relative; width: 100%; max-width: 1828px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; box-sizing: border-box; height: 100%; }

/* Logo e Marca */
.logo-area { cursor: pointer; flex: 1; display: flex; justify-content: flex-start; align-items: center; gap: 12px; }
.header-img-logo { max-height: 90px; max-width: 250px; width: auto; object-fit: contain; transition: transform 0.2s ease; }
.brand-text { font-family: 'Russo One', 'Impact', sans-serif; font-size: 26px; margin: 0; letter-spacing: 1px; text-transform: uppercase; text-shadow: 2px 2px 0px rgba(0,0,0,0.8); transition: transform 0.2s ease; }
.pixel-text { color: #10b981; } 
.boom-text { color: #ef4444; }  
.logo-area:hover .header-img-logo, .logo-area:hover .brand-text { transform: scale(1.05); }

/* Menu Central */
.main-nav { flex: 0 0 auto; display: flex; gap: 30px; justify-content: center; align-items: center; height: 90px; }
.nav-link { color: #94a3b8; text-decoration: none; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s, border-bottom 0.2s; padding: 34px 0; border-bottom: 3px solid transparent; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #10b981 !important; border-bottom: 3px solid #10b981; font-weight: 800; }
.logout-menu-btn { color: #ef4444 !important; font-weight: 800 !important; }

/* Perfil e Ferramentas do Usuário */
.user-area { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.header-btn-mute { font-size: 16px; padding: 0 !important; width: 34px; height: 34px; border: 1px solid #404040 !important; background: transparent; cursor: pointer; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.header-btn-mute:hover { background: #262626; }
.user-profile-stack { background: #0a0a0a; border: 1px solid #262626; border-radius: 8px; padding: 6px 12px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-width: 220px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); }
.header-user-info { display: flex; align-items: center; justify-content: space-between; width: 100%; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); margin-bottom: 4px; }
.header-username { color: #3b82f6; text-transform: uppercase; font-weight: 800; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
#header-vip-badge { background: #1a1a1a; border: 1px solid #404040; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 800; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.5); letter-spacing: 0.5px; margin: 0; }
.user-wallet-header { display: flex; gap: 8px; width: 100%; justify-content: space-between; }
.wallet-pill { background: #171717; padding: 4px 0; border-radius: 6px; font-size: 12px; border: 1px solid #262626; display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }

/* --- Estrutura de Páginas (Containers) --- */
.content-wrapper { width: 100%; max-width: 1828px; display: flex; flex-direction: column; align-items: center; flex: 1; padding: 0 20px; box-sizing: border-box; }
.view-section { width: 100%; display: flex; flex-direction: column; align-items: center; animation: fadeIn 0.3s ease; }
.page-container { width: 100%; max-width: 900px; margin: 40px auto; background: #171717; padding: 40px; border-radius: 16px; border: 1px solid #262626; box-shadow: 0 10px 30px rgba(0,0,0,0.5); box-sizing: border-box; position: relative; }
.page-title { color: #fff; font-size: 26px; margin: 0 0 10px 0; border-left: 6px solid #3b82f6; padding-left: 15px; text-transform: uppercase; }
.page-subtitle { color: #a3a3a3; font-size: 16px; margin-bottom: 40px; }
.btn-close-page { position: absolute; top: 30px; right: 40px; background: transparent; border: 1px solid #404040; color: #a3a3a3; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-weight: 700; transition: 0.2s; }
.btn-close-page:hover { background: #ef4444; color: #fff; border-color: #ef4444; }
.btn-close-corner { top: 15px; right: 15px; font-size: 14px; }
#hall-view h2, #hall-view h3, #hall-view .category-title { font-size: 26px !important; }

/* Cards Genéricos de Informação */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { background: #0a0a0a; padding: 25px; border-radius: 12px; border: 1px solid #262626; }
.info-card h4 { color: #fff; font-size: 18px; margin: 0 0 15px 0; }
.info-card p { color: #a3a3a3; font-size: 14px; line-height: 1.6; margin: 0; }

/* --- Cards do Manual de Sobrevivência (Tutorial) --- */
.radar-tutorial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.tutorial-box { background: #171717; padding: 15px 10px; border-radius: 8px; }

/* Cores das Bordas do Tutorial */
.box-green { border: 1px solid #10b981; }
.box-yellow { border: 1px solid #facc15; }
.box-orange { border: 1px solid #f97316; }
.box-red { border: 1px solid #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }

/* Textos e Ícones do Tutorial */
.tut-icon { font-size: 24px; margin-bottom: 5px; }
.tut-title { font-weight: bold; color: #fff; margin-bottom: 5px; display: block; }
.tut-desc { font-size: 11px; color: #a3a3a3; margin: 0; }

/* Letreiro Informativo (Marquee) */
.news-ticker-container { width: 100%; max-width: 1208px; margin: 25px auto 25px auto; background: #171717; border: 1px solid #262626; border-radius: 8px; padding: 12px 15px; box-sizing: border-box; overflow: hidden; display: flex; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.marquee-content { display: flex; white-space: nowrap; width: max-content; animation: marquee 25s linear infinite; font-size: 13px; }

/* --- Galeria de Mapas --- */
#gallery-container { width: 100%; display: flex; flex-direction: column; gap: 40px; }
.category-row { width: 100%; }
.category-title { color: #fff; font-size: 26px; margin: 0 0 20px 0; border-left: 6px solid #3b82f6; padding-left: 15px; font-weight: 700; text-transform: uppercase; }
.thumbnail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.thumb-card { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 16/9; transition: all 0.3s ease; background: #171717; border: 1px solid #262626; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.thumb-card:hover { transform: translateY(-5px); }
.thumb-card.cat-Universo:hover  { border-color: #a78bfa; box-shadow: 0 10px 25px rgba(167, 139, 250, 0.4); }
.thumb-card.cat-Paisagens:hover { border-color: #34d399; box-shadow: 0 10px 25px rgba(52, 211, 153, 0.4); }
.thumb-card.cat-Carros:hover    { border-color: #f87171; box-shadow: 0 10px 25px rgba(248, 113, 113, 0.4); }
.thumb-card.cat-Motos:hover     { border-color: #60a5fa; box-shadow: 0 10px 25px rgba(96, 165, 250, 0.4); }
.thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.thumb-percentage { position: absolute; bottom: 8px; right: 8px; font-size: 11px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, 0.6); padding: 2px 6px; border-radius: 4px; z-index: 10; pointer-events: none; }
.thumb-players { position: absolute; bottom: 8px; left: 8px; font-size: 11px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, 0.6); padding: 2px 6px; border-radius: 4px; z-index: 10; pointer-events: none; display: flex; align-items: center; gap: 4px; }
.thumb-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 5; transition: opacity 0.3s ease; background-color: rgba(38, 38, 38, 0.98); }
.thumb-card.cat-Universo .thumb-overlay { background-color: rgba(139, 92, 246, 0.98); } 
.thumb-card.cat-Carros .thumb-overlay   { background-color: rgba(239, 68, 68, 0.98); } 
.thumb-card.cat-Paisagens .thumb-overlay{ background-color: rgba(16, 185, 129, 0.98); } 
.thumb-card.cat-Motos .thumb-overlay    { background-color: rgba(59, 130, 246, 0.98); } 
.thumb-card:hover .thumb-overlay { opacity: 0.98; }
.category-title.cat-Universo { color: #a78bfa; }
.thumb-card.cat-Universo.is-archived { border: 3px solid #a78bfa; box-shadow: 0 0 20px rgba(167, 139, 250, 0.4); }
.thumb-card.cat-Universo .thumb-percentage, .thumb-card.cat-Universo .thumb-players { color: #a78bfa; border-bottom: 3px solid #a78bfa; }
.category-title.cat-Paisagens { color: #34d399; }
.thumb-card.cat-Paisagens.is-archived { border: 3px solid #34d399; box-shadow: 0 0 20px rgba(52, 211, 153, 0.4); }
.thumb-card.cat-Paisagens .thumb-percentage, .thumb-card.cat-Paisagens .thumb-players { color: #34d399; border-bottom: 3px solid #34d399; }
.category-title.cat-Carros { color: #f87171; }
.thumb-card.cat-Carros.is-archived { border: 3px solid #f87171; box-shadow: 0 0 20px rgba(248, 113, 113, 0.4); }
.thumb-card.cat-Carros .thumb-percentage, .thumb-card.cat-Carros .thumb-players { color: #f87171; border-bottom: 3px solid #f87171; }
.category-title.cat-Motos { color: #60a5fa; }
.thumb-card.cat-Motos.is-archived { border: 3px solid #60a5fa; box-shadow: 0 0 20px rgba(96, 165, 250, 0.4); }
.thumb-card.cat-Motos .thumb-percentage, .thumb-card.cat-Motos .thumb-players { color: #60a5fa; border-bottom: 3px solid #60a5fa; }
.thumb-card.is-archived .thumb-overlay { background-color: rgba(0, 0, 0, 0.3) !important; }
.gallery-emoji { font-size: 50px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }

/* --- Footer --- */
.main-footer { flex-shrink: 0; width: 100%; text-align: center; padding-bottom: 20px; margin-top: 90px; color: #525252; font-size: 12px; border-top: 1px solid #262626; }
.footer-links { display: flex; justify-content: center; gap: 25px; margin-bottom: 15px; flex-wrap: wrap; }
.footer-link { color: #94a3b8; text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s; }
.footer-link:hover { color: #3b82f6; }

/* ==========================================================================
   5. LANDING PAGE (VISITANTE E FUNIL DE CONVERSÃO)
   ========================================================================== */
/* --- Container Principal e Títulos --- */
.landing-container { width: 100%; max-width: 1200px; margin: 20px auto; padding: 20px; text-align: center; animation: fadeIn 0.5s ease-out; box-sizing: border-box !important; }
.landing-title { font-size: 42px; color: #fff; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; letter-spacing: -1px; line-height: 1.1; }
.landing-subtitle { color: #a3a3a3; font-size: 16px; margin-bottom: 40px; line-height: 1.5; padding: 0 20px; }

/* --- Vídeo de Demonstração --- */
.video-showcase { position: relative; width: 100%; max-width: 1200px; margin: 0 auto 40px auto; aspect-ratio: 16/9; background: #0a0a0a; border: 2px solid #262626; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; box-sizing: border-box !important; }
.video-showcase video { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.video-overlay-text { position: absolute; color: #404040; font-size: 20px; font-weight: 900; letter-spacing: 2px; z-index: -1; text-align: center; padding: 20px; }
.btn-video-sound { position: absolute; bottom: 15px; right: 15px; background: rgba(0, 0, 0, 0.6); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; width: 45px; height: 45px; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: all 0.2s ease; backdrop-filter: blur(4px); }
.btn-video-sound:hover { background: rgba(16, 185, 129, 0.8); border-color: #10b981; transform: scale(1.1); }

/* --- Ações e Botões Duplos --- */
.landing-actions { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 50px; }
.landing-actions button { width: 100%; max-width: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.landing-actions button span { font-size: 11px; font-weight: normal; color: rgba(255,255,255,0.7); text-transform: none; }
.landing-actions-group { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; width: 100%; max-width: 450px; margin-left: auto; margin-right: auto; box-sizing: border-box !important; }

.btn-green { background: #10b981; color: #fff; border: 1px solid #059669; }
.btn-green:hover { background: #059669; }
.btn-blue { background: transparent; color: #3b82f6; border: 2px solid #3b82f6; }
.btn-blue:hover { background: rgba(59, 130, 246, 0.1); }

/* --- Badges de Confiança --- */
.landing-features { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid #262626; padding-top: 30px; }
.feat-item { background: #171717; padding: 10px 20px; border-radius: 30px; border: 1px solid #334155; font-size: 13px; font-weight: bold; color: #d4d4d4; display: flex; align-items: center; gap: 8px; }

/* --- Seções Expansivas e Imagens Duplas --- */
.landing-section { padding: 50px 20px; border-top: 1px solid #262626; margin-top: 40px; box-sizing: border-box !important; }
.landing-section.bg-darker { background: rgba(0,0,0,0.3); border-radius: 12px; border-top: none; padding: 40px 20px; }
.section-title { font-size: 28px; color: #fff; margin: 0 0 15px 0; text-transform: uppercase; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.section-desc { color: #a3a3a3; font-size: 15px; margin-bottom: 30px; line-height: 1.6; }
.showcase-dual { display: flex; gap: 20px; justify-content: center; }
.dual-img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.dual-img-placeholder { flex: 1; aspect-ratio: 4/3; background: #0a0a0a; border: 2px dashed #404040; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #525252; font-weight: bold; text-align: center; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }

/* --- Grid de Powerups (Amostra na Landing) --- */
.powerup-showcase { display: grid; gap: 20px; }
.two-cols { grid-template-columns: repeat(2, 1fr); }
.three-cols { grid-template-columns: repeat(3, 1fr); }
.landing-powerup-card { background: #171717; border: 1px solid #334155; border-radius: 12px; padding: 20px; text-align: center; transition: transform 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.3); box-sizing: border-box !important; }
.landing-powerup-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.landing-powerup-card .icon { font-size: 40px; margin-bottom: 10px; }
.landing-powerup-card h4 { color: #f8fafc; font-size: 18px; margin: 0 0 10px 0; text-transform: uppercase; }
.landing-powerup-card p { color: #94a3b8; font-size: 13px; margin: 0; line-height: 1.5; }
.landing-powerup-card.border-blue { border-top: 4px solid #3b82f6; }
.landing-powerup-card.border-green { border-top: 4px solid #10b981; }
.landing-powerup-card.border-yellow { border-top: 4px solid #f59e0b; }
.landing-powerup-card.border-red { border-top: 4px solid #ef4444; }
.landing-powerup-card.border-purple { border-top: 4px solid #a855f7; }

/* --- Modificadores de UI da Landing Page no Header (Blindagem) --- */
body.is-landing-page .header-container > *:not(.logo-area):not(.header-veteran-login),
body.is-landing-page #mobile-menu-btn,
body.is-landing-page .user-area { display: none !important; }
body.is-landing-page .logo-area { justify-content: center !important; width: 100% !important; flex: 1 1 100% !important; }

.header-veteran-login { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: none; align-items: center; gap: 8px; color: #94a3b8; text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s, transform 0.2s; z-index: 100; }
body.is-landing-page .header-veteran-login { display: flex !important; }
.header-veteran-login:hover { color: #fff; transform: translateY(-50%) scale(1.05); }

/* --- PWA Banner (App Install) --- */
.pwa-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #1e293b; border: 2px solid #3b82f6; border-radius: 12px; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 100000; box-shadow: 0 10px 30px rgba(0,0,0,0.8); width: 90%; max-width: 450px; box-sizing: border-box; animation: slideUpPwa 0.5s ease-out forwards; }
.pwa-info { display: flex; align-items: center; gap: 12px; text-align: left; }
.pwa-icon { font-size: 32px; }
.pwa-text { display: flex; flex-direction: column; }
.pwa-text strong { color: #fff; font-size: 15px; text-transform: uppercase; }
.pwa-text span { color: #94a3b8; font-size: 12px; line-height: 1.3; margin-top: 2px; }
.pwa-actions { display: flex; align-items: center; gap: 10px; }
.pwa-btn-install { padding: 10px 15px !important; font-size: 13px !important; text-align: center; justify-content: center; }
.pwa-btn-close { padding: 8px 12px !important; font-size: 14px !important; border: none !important; display: flex; align-items: center; justify-content: center; }

/* --- FAQ (Sanfona) --- */
.faq-title { color: #a855f7; border-bottom: 2px solid #262626; padding-bottom: 10px; margin-top: 40px; text-align: left; }
.faq-container { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.faq-item { background: rgba(0,0,0,0.4); border: 1px solid #262626; border-radius: 8px; transition: all 0.3s ease; text-align: left; }
.faq-summary { cursor: pointer; padding: 15px; font-weight: bold; color: #e2e8f0; list-style: none; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon { color: #60a5fa; transition: transform 0.3s ease; font-size: 12px; }
details[open] .faq-icon { transform: rotate(180deg); }
.faq-content { padding: 0 15px; color: #94a3b8; font-size: 14px; border-top: 1px solid transparent; line-height: 1.6; text-align: left; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease; }
details[open] .faq-content { border-top-color: #262626; max-height: 800px; opacity: 1; padding-top: 10px; padding-bottom: 15px; }

/* --- Logo Rodapé --- */
.landing-footer-logo { padding: 20px 0; display: flex; justify-content: center; }
.logo-placeholder { width: 220px; height: 80px; background: transparent; border: 1px dashed #404040; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #525252; font-weight: bold; font-size: 12px; text-align: center; }
.pixelboom-logo { width: 100%; max-width: 200px; height: auto; transition: 0.2s ease; }
.pixelboom-logo:hover { opacity: 1; filter: grayscale(0%); }

/* ==========================================================================
   6. ÁREA DE JOGO (TABULEIRO, HUD, POWERUPS, RADAR)
   ========================================================================== */

/* --- 6.1 Containers e Estrutura do Mapa --- */
.board-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; margin: 0 auto; }

.game-area {
    width: 100%;
    max-width: 1208px;
    background-color: #0d1117;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 4px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #404040 #0a0a0a;
}

/* Customização do Scrollbar do Tabuleiro */
.game-area::-webkit-scrollbar { width: 12px; height: 12px; }
.game-area::-webkit-scrollbar-track { background: #0a0a0a; border-radius: 8px; border: 1px solid #262626; }
.game-area::-webkit-scrollbar-thumb { background: #404040; border-radius: 8px; border: 2px solid #0a0a0a; }
.game-area::-webkit-scrollbar-thumb:hover { background: #3b82f6; }

/* Container do Zoom com preparo de Placa de Vídeo */
#scale-wrapper { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    transition: filter 0.5s ease-out, opacity 0.5s ease-out; 
    will-change: transform, filter, opacity; /* Força o navegador a usar a GPU */
}

/* O que acontece ENQUANTO o jogador roda a bolinha do mouse ou faz pinça */
#scale-wrapper.is-zooming {
    filter: blur(4px) brightness(1.2); /* Borrão de movimento e leve brilho */
    opacity: 0.6; /* Translúcido como você pediu! */
    transition: none !important; /* Entra instantaneamente sem esperar */
    pointer-events: none; /* SEGREDO DE PERFORMANCE: Impede o navegador de calcular os 11 mil blocos durante o movimento! */
}

#container { 
    display: grid; 
    grid-template-columns: repeat(150, var(--block-size)); 
    grid-template-rows: repeat(75, var(--block-size)); 
    width: 3000px; 
    height: 1500px; 
    background-color: #1a1a1a; 
    background-size: cover; 
    background-position: center; 
    image-rendering: pixelated; 
    border: 4px solid #262626; 
    flex-shrink: 0; 
    transform-origin: 0 0;
    will-change: transform;
}

/* --- 6.2 Os Blocos e Números --- */
.block { 
    width: var(--block-size); 
    height: var(--block-size); 
    background-color: #171717; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    box-sizing: border-box; 
    cursor: crosshair; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
    z-index: 1; 
    transition: transform 0.05s ease-out;
    contain: strict;
    user-select: none;
}

.block:hover:not(.revelado) { background-color: #525252; border-color: #fff; transform: scale(1.4); z-index: 100; box-shadow: 0 0 5px rgba(0,0,0,0.8); border-radius: 2px; }
.block.processando { background-color: #fff !important; transform: scale(1.2); z-index: 50; }
.block.revelado { border: none !important; cursor: default; background-color: transparent !important; }

.block-number {
    font-size: calc(var(--block-size) * 0.7); 
    font-weight: 900;
    pointer-events: none;
    z-index: 2;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Cores dos Números (Perigo) */
.danger-color-1 .block-number { color: #3b82f6; } 
.danger-color-2 .block-number { color: #10b981; } 
.danger-color-3 .block-number { color: #ef4444; } 
.danger-color-4 .block-number { color: #8b5cf6; } 

/* --- 6.3 Estados e Powerups (Visuais no Mapa) --- */
/* Minas e Explosões */
.block[data-is-mine="true"]::after { content: '💣'; font-size: calc(var(--block-size) * 0.8); position: absolute; z-index: 5; animation: popFlag 0.3s ease-out; }
.block.mine-hit { background-color: rgba(239, 68, 68, 0.2) !important; border: 1px solid #ef4444 !important; }

/* Kit de Desarme (Azul) */
.block.defused { background-color: rgba(59, 130, 246, 0.2) !important; border: 1px solid #3b82f6 !important; box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }
.block.defused::after { content: '🔧'; font-size: calc(var(--block-size) * 0.8); position: absolute; z-index: 5; }

/* Drone Radar (Verde) */
.block.radar-scanned { background-color: rgba(16, 185, 129, 0.2) !important; border: 1px solid #10b981 !important; }

/* Escudo Magnético (Amarelo) */
.block.shield-saved { background-color: rgba(245, 158, 11, 0.2) !important; border: 1px solid #f59e0b !important; }
.block.shield-saved::after { content: '🛡️'; font-size: calc(var(--block-size) * 0.8); position: absolute; z-index: 5; }

/* Multi-Desarme Raio-X (Roxo) */
.block.xray-defused { background-color: rgba(168, 85, 247, 0.2) !important; border: 1px solid #a855f7 !important; }
.block.xray-defused::after { content: '👁️‍🗨️'; font-size: calc(var(--block-size) * 0.8); position: absolute; z-index: 5; }

/* Ataque Aéreo (Vermelho/Explosão) */
.block.airstrike-hit { background-color: rgba(239, 68, 68, 0.2) !important; border: 1px solid #ef4444 !important; }
.block.airstrike-hit::after { content: '💥'; font-size: calc(var(--block-size) * 0.8); position: absolute; z-index: 5; }

/* --- Limpeza de Fantasmas (Derretimento Geral) --- */
/* 1. Apaga os fundos e bordas (Minas e Powerups) */
.block.fully-cleared.mine-hit, 
.block.fully-cleared.card-golden,
.block.fully-cleared.defused,
.block.fully-cleared.radar-scanned,
.block.fully-cleared.shield-saved,
.block.fully-cleared.xray-defused,
.block.fully-cleared.airstrike-hit { 
    background-color: transparent !important; 
    border-color: transparent !important; 
    box-shadow: none !important;
    transition: all 0.8s ease; 
}

/* 2. Derrete os Emojis (💣, 🔧, 🛡️, 👁️‍🗨️, 💥) */
.block.fully-cleared[data-is-mine="true"]::after,
.block.fully-cleared.defused::after,
.block.fully-cleared.radar-scanned::after,
.block.fully-cleared.shield-saved::after,
.block.fully-cleared.xray-defused::after,
.block.fully-cleared.airstrike-hit::after { 
    opacity: 0; 
    transition: opacity 0.8s ease; 
}

/* --- 6.4 Feedback Visual e Destaques --- */
.block.flagged { background-color: rgba(239, 68, 68, 0.15) !important; border: 1px solid #ef4444 !important; z-index: 5; animation: popFlag 0.2s ease-out; }
.block.flagged::after { content: '🚩'; font-size: calc(var(--block-size) * 0.8); position: absolute; }

.highlight-line { background-color: rgba(59, 130, 246, 0.7) !important; border-color: rgba(59, 130, 246, 1) !important; z-index: 10; }
.highlight-target { background-color: #3b82f6 !important; box-shadow: 0 0 15px #3b82f6, 0 0 5px #fff; z-index: 2000; transform: scale(1.5); border: 1px solid #fff !important; animation: pulseTarget 1s infinite; }
.last-played-pulse { animation: pulseLastPlayed 2s infinite ease-in-out !important; z-index: 15 !important; }
.flash-warning { background-color: rgba(255, 255, 255, 0.4) !important; transition: background-color 0.1s; }
.isolated-pulse { animation: pulseIsolated 0.6s ease-in-out 3 !important; pointer-events: none; }

/* --- 6.5 HUD (Barra de Status e Controles) --- */
.game-stats-bar { width: 100%; max-width: 1200px; display: flex; justify-content: space-between; margin-bottom: 15px; gap: 15px; }
.stat-pill { background: #171717; border: 1px solid #404040; padding: 12px 20px; border-radius: 6px; color: #d4d4d4; font-size: 15px; display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }

.top-action-bar { width: 100%; max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; background: #171717; padding: 12px 20px; border-radius: 12px; border: 1px solid #262626; box-shadow: 0 4px 10px rgba(0,0,0,0.5); margin-bottom: 20px; box-sizing: border-box; gap: 15px; }
.zoom-controls { flex: 0 0 auto; display: flex; gap: 5px; align-items: center; background: #0a0a0a; padding: 5px 15px; border-radius: 8px; border: 1px solid #262626; }
.zoom-label { color: #a3a3a3; font-size: 12px; font-weight: bold; margin-right: 5px; }
.zoom-value { color: #10b981; font-weight: bold; font-size: 13px; min-width: 45px; text-align: center; }

/* --- Dica do Mouse (Alinhamento na mesma linha) --- */
.game-hint {
    display: flex !important;
    flex-direction: row !important; /* Força o ícone e o texto a ficarem na mesma linha */
    align-items: center; /* Centraliza o ícone com o texto verticalmente */
    justify-content: flex-start; /* Mantém o alinhamento à esquerda */
    gap: 8px; /* Dá um espacinho elegante entre o ícone e a primeira letra */
}

/* Opcional: Garante que o ícone fique com um tamanho bom e não amasse */
.game-hint .icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

/* --- 6.6 Barra de Powerups (Action Bar Inferior) --- */
.game-action-bar {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1208px; margin: 0 auto 10px; padding: 12px 15px;
    background: #0f172a; border: 1px solid #334155; border-radius: 12px;
    box-sizing: border-box; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.powerups-container { display: flex; gap: 15px; justify-content: center; flex: 0 0 auto !important; }
.btn-powerup {
    background: #1e293b; color: #fff; padding: 10px 18px; border-radius: 10px;
    cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: all 0.2s ease; border: 2px solid transparent;
}
/* Base Ativa (Apenas animação de crescimento) */
.btn-powerup.active { transform: scale(1.1); color: #fff; }

/* --- Cores, Hovers e Brilhos Específicos --- */

/* 1. Kit de Desarme (Azul) */
.btn-powerup.active-powerup { border-color: #3b82f6; }
.btn-powerup.active-powerup:hover:not(.active) { background: rgba(59, 130, 246, 0.2); }
.btn-powerup.active-powerup.active { background: #3b82f6; border-color: #3b82f6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.8); }

/* 2. Drone Radar (Verde) */
.btn-powerup.p-radar { border-color: #10b981; }
.btn-powerup.p-radar:hover:not(.active) { background: rgba(16, 185, 129, 0.2); }
.btn-powerup.p-radar.active { background: #10b981; border-color: #10b981; box-shadow: 0 0 20px rgba(16, 185, 129, 0.8); }

/* 3. Escudo Magnético (Amarelo/Laranja) */
.btn-powerup.p-escudo { border-color: #f59e0b; }
.btn-powerup.p-escudo:hover:not(.active) { background: rgba(245, 158, 11, 0.2); }
.btn-powerup.p-escudo.active { background: #f59e0b; border-color: #f59e0b; box-shadow: 0 0 20px rgba(245, 158, 11, 0.8); }

/* 4. Raio-X (Roxo) */
.btn-powerup.p-raiox { border-color: #a855f7; }
.btn-powerup.p-raiox:hover:not(.active) { background: rgba(168, 85, 247, 0.2); }
.btn-powerup.p-raiox.active { background: #a855f7; border-color: #a855f7; box-shadow: 0 0 20px rgba(168, 85, 247, 0.8); }

/* 5. Míssil / Airstrike (Vermelho) */
.btn-powerup.p-airstrike { border-color: #ef4444; }
.btn-powerup.p-airstrike:hover:not(.active) { background: rgba(239, 68, 68, 0.2); }
.btn-powerup.p-airstrike.active { background: #ef4444; border-color: #ef4444; box-shadow: 0 0 20px rgba(239, 68, 68, 0.8); }

/*CONTADORES DOS POWERUPS (Caixinhas Azuis Escuras)*/

.game-action-bar button span[id^="display-"] {
    background: #0f172a; 
    color: #fff; 
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    margin-left: 8px; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); 
    display: inline-block;
    min-width: 32px; 
    text-align: center;
}

.game-action-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 6.7 Dashboard e Carrossel --- */
.bottom-dashboard { width: 100%; max-width: 1200px; display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.dash-title { margin: 0 0 15px 0; font-size: 16px; color: #fff; border-bottom: 1px solid #262626; padding-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.history-carousel-container { background: #171717; padding: 20px; border-radius: 12px; box-shadow: 0 4px 8px rgba(0,0,0,0.5); border: 1px solid #262626; }
.history-carousel { display: flex; overflow-x: auto; gap: 15px; padding-bottom: 10px; scroll-behavior: smooth; }
.history-carousel::-webkit-scrollbar { height: 8px; }
.history-carousel::-webkit-scrollbar-track { background: #0a0a0a; border-radius: 4px; }
.history-carousel::-webkit-scrollbar-thumb { background: #404040; border-radius: 4px; }

.result-card { min-width: 130px; height: 100px; padding: 12px; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: #0a0a0a; box-shadow: 0 4px 10px rgba(0,0,0,0.6); flex-shrink: 0; animation: slideInLeft 0.3s ease-out; }
.rc-prize { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.rc-coords { font-size: 11px; font-weight: 700; background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 4px; margin-bottom: 5px; color: #d4d4d4; }
.rc-player { font-size: 10px; text-transform: uppercase; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-card.card-golden { background: linear-gradient(145deg, #422006, #171717) !important; border-top: 3px solid #fbbf24 !important; box-shadow: 0 0 15px rgba(251, 191, 36, 0.2); }

/* --- 6.8 Modo Museu (Heróis do Mapa e Limpeza Visual) --- */
/* Some com a etiqueta feia do meio da tela de forma irreversível */
.archived-badge { display: none !important; }

/* Quadro de Heróis (MVP e Último Clique) */
.archived-heroes-box { background: rgba(0,0,0,0.4); border: 1px solid #fbbf24; border-radius: 12px; padding: 20px; margin-bottom: 20px; text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; }
.heroes-box-title { color: #fbbf24; margin-top: 0; font-size: 20px; }
.heroes-cards-wrapper { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 15px; margin-top: 15px; }

.hero-card { padding: 15px; border-radius: 8px; flex: 1; min-width: 200px; }
.hero-card-blue { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); }
.hero-card-green { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); }

.hero-label { color: #94a3b8; font-size: 13px; text-transform: uppercase; }
.hero-name { color: #fff; font-size: 22px; display: block; margin-top: 5px; }
.mvp-color { color: #34d399; display: inline-block; }
.hero-defuses { color: #a3a3a3; font-size: 14px; margin-left: 5px; }

/* --- Controles do Dashboard (Abaixo do Tabuleiro) --- */
.dashboard-controls { display: flex; gap: 20px; width: 100%; } /* Container principal que segura os dois cartões */

/* Cartões Base (Ex: "Meu Perfil Atual" e "Ações Rápidas") */
.dash-card { flex: 1; background: #171717; padding: 20px; border-radius: 12px; border: 1px solid #262626; display: flex; flex-direction: column; justify-content: space-between; }

/* Linha das Caixinhas de Status (Vidas e Pontos) */
.dash-info-row { display: flex; gap: 15px; height: 100%; }
.info-box { flex: 1; background: #0a0a0a; padding: 15px; border-radius: 8px; text-align: center; display: flex; flex-direction: column; justify-content: center; border: 1px solid #262626; }
.info-box .label { font-size: 11px; color: #a3a3a3; text-transform: uppercase; font-weight: 600; margin-bottom: 5px; }
.info-box .value { font-size: 24px; font-weight: 800; }

/* Linha dos Botões de Ação (Arsenal e Trocar Mapa) */
.dash-actions-row { display: flex; flex-direction: row; gap: 15px; height: 100%; }
.menu-btn { background: #0a0a0a; border: 1px solid #404040; color: #d4d4d4; padding: 12px; border-radius: 8px; cursor: pointer; transition: all 0.2s; font-weight: 700; font-size: 13px; flex: 1; display: flex; justify-content: center; align-items: center; }
.menu-btn:hover { background: #262626; color: #fff; }

/* ==========================================================================
   7. PAINEL MINHA CONTA, LOJA (ARSENAL) E PIX
   ========================================================================== */

/* --- 7.1 Layout Geral da Conta --- */
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; }
.account-sidebar { display: flex; flex-direction: column; gap: 20px; }
.account-card { background: #0a0a0a; padding: 25px; border-radius: 12px; border: 1px solid #262626; }
.acc-balance { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; color: #a3a3a3; font-weight: 600; text-transform: uppercase; }
.acc-balance strong { font-size: 20px; }

/* Abas de Navegação (Inventário / Loja / Recarga) */
.acc-tabs { display: flex; gap: 8px; border-bottom: 2px solid #262626; margin-bottom: 25px; padding-bottom: 12px; }
.acc-tab-btn { background: #1a1a1a; border: 1px solid #262626; color: #a3a3a3; font-weight: bold; padding: 10px 15px; border-radius: 6px; cursor: pointer; flex: 1; text-align: center; text-transform: uppercase; }
.acc-tab-btn.active { background: #3b82f6; color: #fff; border-color: #3b82f6; }

/* --- 7.2 Header do Arsenal e Inventário --- */
.arsenal-header { text-align: center; margin-bottom: 30px; padding: 20px; background: rgba(15, 23, 42, 0.6); border-radius: 12px; border: 1px solid #334155; }
.arsenal-header h2 { margin: 0 0 10px 0; color: #f8fafc; font-size: 24px; }
.arsenal-header p { color: #94a3b8; margin: 0 0 15px 0; font-size: 14px; }
.arsenal-wallet { display: inline-block; background: #1e293b; padding: 10px 20px; border-radius: 8px; font-size: 18px; border: 1px solid #4ade80; }
.highlight-cr { color: #4ade80; font-weight: bold; margin-left: 10px; }
.arsenal-section-title { color: #cbd5e1; border-bottom: 2px solid #334155; padding-bottom: 10px; margin-bottom: 20px; font-size: 18px; }

.arsenal-inventory { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 15px; }
.inv-item { background: #0f172a; border: 1px solid #334155; padding: 6px 14px; border-radius: 20px; font-size: 14px; font-weight: bold; color: #f8fafc; display: flex; align-items: center; gap: 6px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); }

/* --- 7.3 Cards da Loja (Pacotes e Combos) --- */
.arsenal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.combos-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.arsenal-card { background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 20px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; justify-content: space-between; }
.arsenal-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); border-color: #4ade80; }
.card-icon { font-size: 40px; margin-bottom: 10px; }
.arsenal-card h4 { margin: 0 0 5px 0; color: #f8fafc; font-size: 16px; }
.card-desc { color: #94a3b8; font-size: 13px; margin: 0 0 15px 0; }

.combo-list { list-style: none; padding: 0; margin: 0 0 15px 0; text-align: left; font-size: 13px; color: #cbd5e1; }
.combo-list li { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.combo-list li:last-child { border-bottom: none; }

.btn-buy { width: 100%; background: #334155; color: white; border: none; padding: 12px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: background 0.2s; margin-top: auto; }
.btn-buy:hover { background: #475569; }
.btn-buy.premium { background: #3b82f6; }
.btn-buy.premium:hover { background: #2563eb; }

/* --- 7.4 Etiquetas Visuais (Ribbons) --- */
.highlight-card { border-color: #3b82f6; position: relative; overflow: hidden; }
.golden-card { border-color: #fbbf24; }
.golden-card .btn-buy.premium { background: #fbbf24; color: #000; }
.golden-card .btn-buy.premium:hover { background: #f59e0b; }

.ribbon { position: absolute; top: 22px; right: -45px; width: 160px; text-align: center; font-size: 10px; font-weight: 900; letter-spacing: 1px; padding: 6px 0; transform: rotate(45deg); z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.5); background: #3b82f6; color: #fff; }
.recommended-card { border-color: #10b981 !important; }
.recommended-card .ribbon { background: #10b981; color: #000; }
.recommended-card .btn-buy.premium { background: #10b981 !important; color: #000 !important; }
.recommended-card .btn-buy.premium:hover { background: #059669 !important; }

.mythic-card { border-color: #ef4444 !important; box-shadow: 0 0 15px rgba(239, 68, 68, 0.1) !important; }
.mythic-card .ribbon { background: #ef4444; color: #fff; }
.mythic-card .btn-buy.premium { background: #ef4444 !important; color: #fff !important; }
.mythic-card .btn-buy.premium:hover { background: #b91c1c !important; }

.god-card { border-color: #a855f7 !important; box-shadow: 0 0 20px rgba(168, 85, 247, 0.2) !important; }
.god-card .ribbon { background: #a855f7; color: #fff; }
.god-card .btn-buy.premium { background: #a855f7 !important; color: #fff !important; }
.god-card .btn-buy.premium:hover { background: #7e22ce !important; }

/* --- 7.5 Recarga PIX (Checkout) --- */
.pix-desc { margin-bottom: 20px; font-size: 14px; color: #d4d4d4; }
.pix-bonus-alert { color: #34d399; font-weight: bold; display: inline-block; margin-top: 8px; }
.acc-form-group { margin-bottom: 15px; text-align: left; }
.acc-form-group label { display: block; margin-bottom: 12px; color: #cbd5e1; font-size: 14px; font-weight: 600; }

.pix-payment-card { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 16px; padding: 25px; margin-top: 20px; text-align: center; }
.pix-header { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.pix-header h3 { margin: 0; font-size: 18px; }
.pix-qr-container { display: flex; justify-content: center; margin-bottom: 20px; }
.qr-bg { background: #fff; padding: 12px; border-radius: 12px; }
.qr-bg img { width: 180px; height: 180px; display: block; }
.pix-copy-label { color: #94a3b8; font-size: 13px; margin-bottom: 10px; }
.pix-copy-group { display: flex; flex-direction: column; gap: 10px; }
.input-center { font-size: 10px; text-align: center; }
.btn-tall { height: 45px; }
.pix-waiting { color: #facc15; font-size: 13px; margin-top: 15px; }
.btn-cancel-link { background: transparent; border: none; color: #64748b; font-size: 12px; cursor: pointer; text-decoration: underline; margin-top: 20px; }

/* --- 7.6 Sistema de Indicação (Referral) --- */
.referral-card { border-color: #fbbf24; background: linear-gradient(145deg, rgba(251, 191, 36, 0.1), #0a0a0a); }
.referral-title { color: #fbbf24; margin-top: 0; margin-bottom: 10px; font-size: 16px; }
.referral-desc { font-size: 12px; color: #cbd5e1; margin-bottom: 15px; line-height: 1.4; }
.referral-input { font-size: 11px; text-align: center; margin-bottom: 10px; color: #fbbf24; border-color: #fbbf24; background: rgba(0, 0, 0, 0.5); }
.referral-input:focus { border-color: #f59e0b; box-shadow: 0 0 8px rgba(251, 191, 36, 0.3); }
.btn-referral { background: #fbbf24; color: #000; font-size: 12px; font-weight: 800; }
.btn-referral:hover { background: #f59e0b; color: #000; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3); }

/* ==========================================================================
   8. PAINEL ADMIN (GESTÃO E MÉTRICAS)
   ========================================================================== */
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.admin-stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #a3a3a3; }
.admin-stat-value { margin: 10px 0 0; font-size: 24px; color: #fff; }

.admin-card-green { border-bottom: 4px solid #10b981; }
.admin-card-green .admin-stat-value { color: #10b981; }
.admin-card-purple { border-bottom: 4px solid #a855f7; }
.admin-card-purple .admin-stat-value { color: #a855f7; }
.admin-card-orange { border-bottom: 4px solid #f97316; }
.admin-card-orange .admin-stat-value { color: #f97316; }
.admin-card-blue { border-bottom: 4px solid #3b82f6; }
.admin-card-blue .admin-stat-value { color: #3b82f6; }
.admin-card-yellow { border-bottom: 4px solid #facc15; }
.admin-card-yellow .admin-stat-value { color: #facc15; }

.admin-section-title { color: #cbd5e1; font-size: 18px; font-weight: bold; border-bottom: 2px solid #334155; padding-bottom: 10px; margin-bottom: 15px; text-transform: uppercase; }

.admin-inject-card { margin-bottom: 20px; border-color: #3b82f6; }
.admin-inject-card h3 { border-bottom-color: rgba(59, 130, 246, 0.3); }
.admin-inject-group { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-inject-group .login-input { margin: 0; flex: 1; min-width: 200px; }
.input-short { width: 120px !important; flex: none !important; }

/* ==========================================================================
   9. ANIMAÇÕES E EFEITOS GLOBAIS (@KEYFRAMES)
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(-20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
@keyframes pulseTarget { 0% { transform: scale(1.5); box-shadow: 0 0 15px #3b82f6; } 50% { transform: scale(1.8); box-shadow: 0 0 25px #3b82f6; } 100% { transform: scale(1.5); box-shadow: 0 0 15px #3b82f6; } }
@keyframes pulseLastPlayed { 0% { box-shadow: 0 0 2px rgba(16, 185, 129, 0.5); border: 1px solid rgba(16, 185, 129, 0.4) !important; } 50% { box-shadow: 0 0 12px rgba(16, 185, 129, 1), 0 0 5px #fff; border: 1px solid rgba(255, 255, 255, 0.9) !important; } 100% { box-shadow: 0 0 2px rgba(16, 185, 129, 0.5); border: 1px solid rgba(16, 185, 129, 0.4) !important; } }
@keyframes pulseIsolated { 0% { background-color: #171717; transform: scale(1); box-shadow: 0 0 0 transparent; } 50% { background-color: #ef4444; transform: scale(1.3); box-shadow: 0 0 20px #ef4444; z-index: 100; border-color: #fff !important; } 100% { background-color: #171717; transform: scale(1); box-shadow: 0 0 0 transparent; } }

@keyframes flash-remote { 0% { background-color: #fff; transform: scale(1.5); box-shadow: 0 0 15px #fff; z-index: 50; } 100% { transform: scale(1); box-shadow: none; z-index: 1; } }
@keyframes shakeEffect { 10%, 90% { transform: translate3d(-2px, 0, 0); } 20%, 80% { transform: translate3d(3px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-5px, 0, 0); } 40%, 60% { transform: translate3d(5px, 0, 0); } }
@keyframes popFlag { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes shieldFlash { 0% { box-shadow: inset 0 0 0 0 transparent; } 50% { box-shadow: inset 0 0 50px 10px rgba(245, 158, 11, 0.5); } 100% { box-shadow: inset 0 0 0 0 transparent; } }
@keyframes slideUpPwa { from { bottom: -100px; opacity: 0; } to { bottom: 20px; opacity: 1; } }

/* ==========================================================================
   10. TELA CHEIA (FULLSCREEN OVERRIDES)
   ========================================================================== */
.btn-fullscreen-custom { background: rgba(59, 130, 246, 0.1); border: 1px solid #3b82f6; color: #3b82f6; padding: 10px 30px; border-radius: 8px; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: all 0.2s ease; text-transform: uppercase; }
.btn-fullscreen-custom:hover { background: #3b82f6; color: #fff; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5); }

.board-wrapper:fullscreen, .board-wrapper:-webkit-full-screen { background-color: #0a0a0a !important; padding: 20px 15px 30px 15px !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; width: 100vw !important; height: 100vh !important; margin: 0 !important; overflow: hidden !important; }
.board-wrapper:fullscreen .game-area, .board-wrapper:-webkit-full-screen .game-area { flex: 1 1 0% !important; width: 100% !important; max-width: 100% !important; min-height: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 1px solid #262626 !important; border-radius: 8px !important; display: block !important; overflow: hidden !important; background: transparent !important; }
.board-wrapper:fullscreen .game-action-bar, .board-wrapper:-webkit-full-screen .game-action-bar { flex: 0 0 auto !important; width: 100% !important; max-width: 1208px !important; margin: 15px auto 0 auto !important; box-sizing: border-box !important; }

/* ==========================================================================
   11. RESPONSIVIDADE (MOBILE E DESKTOP EXCLUSIVO)
   ========================================================================== */

/* --- TABLETS E CELULARES (ATÉ 768px) --- */
@media (max-width: 768px) {
    /* --- 1. Header (Empilhado em 3 Linhas) --- */
    .main-header { position: fixed; top: 0; left: 0; width: 100%; height: auto !important; padding: 15px 0; background: #0f172a; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.6); display: block; }
    
    /* 🔴 A MÁGICA 1: Empurra todo o site mais para baixo (de 190px para 220px) */
    body { padding-top: 220px !important; } 
    
    .header-container { display: flex; flex-direction: column; align-items: center; width: 100%; box-sizing: border-box; padding: 0 15px; gap: 12px; }
    .logo-area { width: 100%; display: flex; justify-content: center; align-items: center; margin: 0; order: 1 !important; }
    
    /* 🔴 A MÁGICA 2: Reduz a logo nas áreas internas para o header não virar um gigante */
    .header-img-logo { max-height: 55px !important; }
    
    #mobile-menu-btn { position: static !important; display: flex !important; align-items: center; justify-content: center; width: 100%; height: 45px; background: #1e293b !important; border: 1px solid #334155 !important; border-radius: 8px; color: #fff !important; font-size: 26px !important; margin: 0; transform: none !important; order: 2 !important; }
    .header-btn-mute { display: none !important; }

    .user-area { width: 100%; display: flex !important; justify-content: center; order: 3 !important; position: static !important; margin: 0 !important; }
    .user-profile-stack { width: 100%; max-width: 100%; box-sizing: border-box; flex-direction: row; justify-content: space-between; align-items: center; padding: 8px !important; gap: 5px; flex-wrap: wrap; }
    .header-user-info { width: auto; border-bottom: none; padding-bottom: 0; margin-bottom: 0; gap: 6px; }
    .header-username { font-size: 13px; max-width: 100px; }
    #header-vip-badge { padding: 2px 6px; font-size: 10px; margin: 0; }
    .user-wallet-header { width: auto; gap: 6px; }
    .wallet-pill { font-size: 12px; padding: 4px 8px; flex: 0 0 auto; }

    /* Cabeçalho no Jogo (some ao rolar) */
    body.in-game .main-header { position: absolute !important; }

    /* --- 2. Menu Lateral Mobile --- */
    .main-nav { position: fixed; top: 0; left: -100%; width: 250px; height: 100%; background: #1e293b; display: block; padding-top: 80px; padding-bottom: 50px; transition: left 0.3s ease; box-shadow: 2px 0 10px rgba(0,0,0,0.5); z-index: 10000; overflow-y: auto; }
    .main-nav.open { left: 0; }
    .nav-link { width: 100%; padding: 15px 20px; border-bottom: 1px solid #334155; box-sizing: border-box; display: block; }
    .logout-menu-btn, #nav-mobile-logout { width: calc(100% - 30px) !important; box-sizing: border-box !important; margin: 20px 15px !important; padding: 12px !important; background: rgba(239, 68, 68, 0.1) !important; border: 1px solid #ef4444 !important; color: #ef4444 !important; border-radius: 8px !important; font-weight: bold !important; text-align: center !important; display: block !important; }

    /* --- 3. Telas e Grids (Páginas e Galeria) --- */
    .page-title, .category-title { font-size: 22px !important; }
    .content-wrapper, .view-section { padding: 0 10px; box-sizing: border-box; overflow-x: hidden; }
    #gallery-container, .category-row, .thumbnail-grid { padding: 0 !important; margin: 0 !important; width: 100%; box-sizing: border-box; }
    .thumbnail-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .page-container { padding: 20px 15px; margin: 10px 0; }
    .btn-close-page { display: none !important; }
    
    .info-grid { grid-template-columns: 1fr !important; width: 100% !important; box-sizing: border-box !important; margin-left: 0 !important; margin-right: 0 !important; }
    .info-card { width: 100% !important; padding: 15px !important; box-sizing: border-box !important; }
    #how-to-play-view div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; box-sizing: border-box !important; width: 100% !important; }
    .radar-tutorial-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

    .game-stats-bar { flex-direction: column; height: auto; width: 100%; box-sizing: border-box; }
    .stat-pill { width: 100%; white-space: normal; text-align: center; height: auto; padding: 12px; box-sizing: border-box; }
    .vip-banner { padding: 12px; box-sizing: border-box !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

    .dashboard-controls, .dash-info-row, .dash-actions-row { flex-direction: column; gap: 10px; }
    .account-grid { grid-template-columns: 1fr !important; gap: 20px; }

    /* --- 4. Área de Jogo (Zoom, Tabuleiro e Action Bar) --- */
    .board-wrapper { display: block !important; width: 100% !important; max-width: 100vw !important; margin: 0 !important; padding: 0 !important; }
    .game-area { display: block !important; width: 100% !important; height: 55vh !important; min-height: 350px !important; overflow: auto !important; margin: 0 !important; box-sizing: border-box !important; }
    #container { margin: 0 !important; transform-origin: top left !important; }
    #scale-wrapper { margin: 0 !important; transform-origin: top left !important; }

    .top-action-bar { display: flex !important; flex-direction: column !important; padding: 15px !important; gap: 15px !important; height: auto !important; }
    .game-hint { flex-direction: row !important; justify-content: center !important; text-align: center !important; }
    .zoom-controls { width: 100% !important; box-sizing: border-box !important; flex-wrap: wrap !important; justify-content: center !important; padding: 8px 10px !important; }
    
    .game-action-bar { flex-direction: column !important; height: auto !important; gap: 15px !important; padding: 15px 10px !important; margin-top: 10px; }
    .right-side, #btn-fullscreen { display: none !important; }
    .left-side { width: 100%; justify-content: center !important; }
    .lives-indicator { width: 100%; justify-content: center; padding: 10px; }
    .powerups-container { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; width: 100% !important; order: 3; }
    .btn-powerup { width: 100%; justify-content: center; padding: 10px 5px !important; }

    /* Botão Flutuante Mobile (Ferramentas) */
    .mobile-tool-fab { position: fixed; bottom: 85px; right: 20px; width: 65px; height: 65px; border-radius: 50%; border: 4px solid #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 15px rgba(0,0,0,0.5); z-index: 10000; transition: transform 0.1s, background-color 0.2s; -webkit-tap-highlight-color: transparent; }
    .mobile-tool-fab:active { transform: scale(0.92); }
    .mobile-tool-fab.dig-mode { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
    .mobile-tool-fab.flag-mode { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }

    /* Botão de Arquivo Mobile */
    .view-section:has(#container.is-archived) button.btn-back-custom { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; display: block !important; margin: 20px 0 !important; padding: 15px !important; font-size: 14px !important; text-align: center !important; }

    /* --- 5. Landing Page Mobile --- */
    body.is-landing-page { padding-top: 100px !important; overflow-x: hidden !important; }
    
    /* Grid Elástico (1fr auto 1fr) */
    body.is-landing-page .header-container { 
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important; 
        align-items: center !important; /* Alinhamento vertical global */
        padding: 0 15px !important;
        width: 100% !important;
        height: 100% !important; 
        box-sizing: border-box !important;
    }
    
    body.is-landing-page .header-container > *:not(.logo-area):not(.header-veteran-login), 
    body.is-landing-page #mobile-menu-btn, 
    body.is-landing-page .user-area { display: none !important; }
    
    /* Logo trancada no centro e limpa de margens fantasmas */
    body.is-landing-page .logo-area { 
        grid-column: 2 !important;
        display: flex !important;
        align-items: center !important; /* Força alinhamento da imagem com o texto */
        justify-content: center !important; 
        width: 100% !important; 
        margin: 0 !important;
        padding: 0 !important;
        gap: 8px !important; 
    }
    
    body.is-landing-page .logo-area .header-img-logo { max-height: 45px !important; margin: 0 !important; display: block !important; }
    body.is-landing-page .logo-area .brand-text { font-size: 22px !important; margin: 0 !important; line-height: 1 !important; display: block !important; }
    
    /* Login (Direita) - Reduzido e alinhamento corrigido */
    /* --- Login (Direita) - Escondido por padrão, visível só na Landing --- */
    .header-veteran-login { display: none !important; }
    
    body.is-landing-page .header-veteran-login { 
        grid-column: 3 !important;
        justify-self: end !important; 
        align-self: center !important; 
        position: static !important; 
        transform: none !important;
        display: flex !important; /* Só acende na Landing Page! */
        flex-direction: column; 
        gap: 2px; 
        justify-content: center; 
        align-items: center;
        margin: 0 !important;
        padding: 0 !important;
        text-decoration: none !important;
    }
    
    body.is-landing-page .header-veteran-login .text { display: none !important; }
    
    body.is-landing-page .header-veteran-login::after { 
        content: 'LOGIN'; 
        font-size: 8px; 
        font-weight: 800; 
        letter-spacing: 0.5px; 
        color: inherit; 
        line-height: 1 !important; 
        display: block !important;
    }
    
    body.is-landing-page .header-veteran-login .icon { 
        font-size: 18px; 
        line-height: 1 !important; 
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .landing-container { padding: 15px !important; margin: 10px auto 0 auto !important; width: 100% !important; }
    .landing-section { padding: 30px 15px !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
    .landing-title { font-size: 28px; }
    .landing-subtitle { font-size: 14px; margin-bottom: 30px; padding: 0; }
    .landing-features { gap: 10px; }
    .feat-item { padding: 8px 15px; font-size: 11px; }

    .video-showcase { width: 100% !important; margin: 0 auto 30px auto !important; border-width: 1px !important; }
    .showcase-dual { flex-direction: column; align-items: center; width: 100%; gap: 15px; }
    .dual-img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
    .two-cols, .three-cols { grid-template-columns: 1fr; }

    .pwa-banner { flex-direction: column; align-items: flex-start; gap: 15px; }
    .pwa-actions { width: 100%; flex-direction: column; justify-content: center; gap: 10px; }
    .pwa-btn-install { width: 100%; flex: none; }
    .pwa-btn-close { width: 100%; color: #94a3b8 !important; padding: 10px !important; }

    /* --- 6. Admin Panel Mobile --- */
    .admin-stats-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .admin-card-featured { display: none !important; }
    #lab-images-body td { white-space: nowrap !important; }
    #lab-images-body td button { display: inline-block !important; margin: 0 4px !important; }

    /* --- 7. Modais e Toasts (Correções de Estouro) --- */
    .modal-content { width: calc(100% - 40px) !important; padding: 25px 20px !important; box-sizing: border-box !important; }
    #modal-welcome .modal-content { width: 90% !important; padding: 20px 15px !important; box-sizing: border-box !important; }
    #modal-welcome .info-box .label { white-space: normal !important; word-wrap: break-word !important; font-size: 11px !important; line-height: 1.2 !important; }
    
    .toast-container { top: 100px !important; right: 15px !important; left: 15px !important; width: auto !important; transform: none !important; }
    .toast { width: 100% !important; box-sizing: border-box !important; min-width: 0 !important; justify-content: space-between !important; animation: slideInRight 0.3s ease forwards !important; }

    /* --- 8. Status de Visitante --- */
    body.is-visitor #nav-home, body.is-visitor #nav-hall { display: none !important; }
    body.is-visitor #game-controls-bottom .dash-card:last-child { display: flex !important; }
    body.is-visitor #btn-open-arsenal, body.is-visitor #btn-back-gallery { opacity: 0.4; filter: grayscale(100%); border-color: #ef4444 !important; cursor: pointer; }

    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    .game-area:has(#container.is-archived) { display: none !important; }
}

/* --- SMARTPHONES PEQUENOS (ATÉ 400px) --- */
@media (max-width: 400px) {
    .thumbnail-grid { grid-template-columns: 1fr; }
    .radar-tutorial-grid { grid-template-columns: 1fr; } 
    .user-profile-stack { padding: 8px 5px; }
    .header-username { max-width: 60px; }
}

/* --- MONITORES (PC E LAPTOPS) --- */
@media (min-width: 769px) {
    #mobile-menu-btn { display: none !important; }
    .main-nav { position: static !important; transform: none !important; display: flex !important; flex-direction: row !important; background: transparent !important; height: auto !important; width: auto !important; box-shadow: none !important; padding: 0 !important; }
    #mobile-tool-toggle { display: none !important; }
    
    /* TRAVA ABSOLUTA DE TAMANHO (PC) */
    #board-wrapper { width: 1210px !important; max-width: 100% !important; display: block !important; margin: 0 auto !important; }
    .game-area { width: 1210px !important; height: 610px !important; display: block !important; margin: 0 !important; box-sizing: border-box !important; }
    .game-action-bar { width: 1210px !important; max-width: 1210px !important; margin: 15px 0 0 0 !important; }
    #container { margin: 0 !important; }

    /* MODO MUSEU (MAPAS CONCLUÍDOS) - PC */
    .game-area:has(#container.is-archived) { height: auto !important; max-height: none !important; overflow: visible !important; border: none !important; background: transparent !important; padding: 0 !important; margin-bottom: 30px !important; }
    #scale-wrapper:has(#container.is-archived) { width: 100% !important; height: auto !important; transform: none !important; display: flex !important; justify-content: center !important; }
    #container.is-archived { display: block !important; position: relative !important; width: 100% !important; max-width: 1200px !important; height: 600px !important; margin: 0 auto !important; box-sizing: border-box !important; background-size: cover !important; background-position: center !important; border: 2px solid #fbbf24 !important; border-radius: 12px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.8); transform: none !important; } 
}

/* ==========================================================================
    12. INTEGRAÇÕES DE PLATAFORMAS (CRAZYGAMES, Y8, ETC.)
   ========================================================================== */

/* --- CrazyGames: Oculta loja, PWA, carteira própria e textos Premium --- */
body.is-crazygames #nav-account,           
body.is-crazygames #btn-open-arsenal,      
body.is-crazygames .referral-card,         
body.is-crazygames #intl-deposit-container,
body.is-crazygames #br-deposit-container,
body.is-crazygames #pwa-install-banner,    
body.is-crazygames .faq-premium-only,
body.is-crazygames .premium-policy-item,   /* 🔴 NOVO: Esconde a regra de Reembolso/PIX */
body.is-crazygames .rank-table th:nth-child(3),
body.is-crazygames .rank-table td:nth-child(3),
body.is-crazygames .rank-bonus-note,
body.is-crazygames #vip-promo-banner,      /* 🔴 NOVO: Esconde o Banner VIP */
body.is-crazygames #btn-fullscreen {       /* 🔴 NOVO: Esconde o Botão Tela Cheia */
    display: none !important;
}

body.is-crazygames #btn-back-gallery {
    width: 100% !important;
    flex: none !important;
}