/* ARQUIVO: public/css/style.css */

/* --- IMPORTAÇÃO DE FONTES --- */
@font-face {
    font-family: 'Surgena';
    src: url('../font/Surgena-Regular.woff2') format('woff2');
    font-weight: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- VARIÁVEIS GLOBAIS --- */
:root {
    --bg-body: #050505;
    --bg-header: #0F0F0F;
    --bg-card: #141414;
    --ciano: #00FFFF;
    --roxo-hotmart: #ff4747;
    --amarelo-ml: #ffe600;
    --laranja-amazon: #ff9900;
    --branco: #FFFFFF;
    --cinza-texto: #B0B0B0;
    --cinza-input: #202020;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    color: var(--branco);
    font-family: 'Inter', sans-serif;
    padding-bottom: 20px;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER PRINCIPAL --- */
header {
    background-color: var(--bg-header);
    padding: 10px 5%;
    position: sticky; 
    top: 0; 
    z-index: 100;
    border-bottom: 1px solid rgba(0,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.header-container {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    gap: 15px; 
    max-width: 1200px; 
    margin: 0 auto;
    position: relative;
}

/* LOGO */
.logo img { 
    height: 40px; 
    width: auto; 
    display: block;
    transition: 0.3s;
}

/* --- SEARCH (BUSCA) --- */

/* Botão Gatilho (Lupa) */
.search-btn-trigger {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--cinza-texto);
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
}

.search-btn-trigger:hover, .search-btn-trigger.active {
    background: var(--ciano);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.search-btn-trigger i { font-size: 1.2rem; }

/* POSICIONAMENTO DO BALÃO */
.search-balloon-container {
    position: absolute;
    top: 75px; 
    right: 0; /* Alinha com a borda direita do container */
    width: 340px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--ciano);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    
    /* Estado Inicial: Escondido */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 200;
}

.search-balloon-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* SETA DO BALÃO (Ajustada para a Lupa) */
.search-balloon-container::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 235px; /* Aponta para o 3º item da direita */
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--ciano);
}

.search-form-balloon {
    display: flex;
    gap: 10px;
}

.search-form-balloon input {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    outline: none;
    font-size: 0.9rem;
}
.search-form-balloon input:focus { border-color: var(--ciano); }

.search-form-balloon button {
    background: var(--ciano);
    color: #000;
    border: none;
    width: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}
.search-form-balloon button:hover { background: #fff; }

/* --- AÇÕES E AUTH --- */
.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    flex-shrink: 0; 
}

.desktop-auth { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-left: 10px;
}

.auth-link { color: var(--cinza-texto); font-size: 0.9rem; }
.auth-btn { 
    background: var(--ciano); 
    color: #000; 
    padding: 6px 15px; 
    border-radius: 4px; 
    font-weight: bold; 
    font-size: 0.9rem; 
}

.icon-action { font-size: 1.5rem; color: var(--cinza-texto); cursor: pointer; }
.icon-action:hover { color: var(--ciano); }
.mobile-trigger { display: none; cursor: pointer; }

/* MENU DE USUÁRIO */
.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.header-avatar-container {
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 50%;
    border: 2px solid var(--ciano);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.user-welcome { font-size: 0.8rem; color: var(--branco); font-weight: 600; }
.user-level { font-size: 0.7rem; color: var(--cinza-texto); }

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    width: 200px;
    padding: 10px 0;
    margin-top: 10px;
    display: none; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1000; 
}
.user-dropdown.active { display: block; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--cinza-texto);
    font-size: 0.9rem;
    transition: 0.3s; 
}
.dropdown-item:hover { background: rgba(0,255,255,0.1); color: var(--ciano); }
.dropdown-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 5px 0; }

/* --- MENU MOBILE DRAWER --- */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    opacity: 0; visibility: hidden; transition: 0.3s; z-index: 900; 
}
.menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu-drawer {
    position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
    background: var(--bg-header); z-index: 1000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; 
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
}
.mobile-menu-drawer.active { right: 0; }

.drawer-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.menu-title { font-family: 'Surgena'; color: var(--ciano); font-size: 1.2rem; letter-spacing: 1px; }
.close-btn { font-size: 1.5rem; color: #fff; cursor: pointer; }

.drawer-links { padding: 0 20px; overflow-y: auto; }
.drawer-links a {
    padding: 15px 0; display: flex; align-items: center; gap: 15px;
    color: var(--cinza-texto); border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.drawer-links a:hover { color: var(--branco); }
.drawer-links i { color: var(--ciano); font-size: 1.2rem; }

/* MENU MOBILE USER */
.drawer-label {
    font-size: 0.7rem; color: #666; font-weight: bold;
    margin: 15px 0 5px 0; display: block; letter-spacing: 1px;
}

.mobile-user-profile {
    display: flex; align-items: center; gap: 15px; padding: 25px 20px;
    background: linear-gradient(180deg, rgba(0,255,255,0.05) 0%, rgba(0,0,0,0) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-avatar-box { position: relative; width: 60px; height: 60px; }
.mobile-avatar-box img {
    width: 60px !important; height: 60px !important;
    border-radius: 50%; object-fit: cover; border: 2px solid var(--ciano);
    box-shadow: 0 0 10px rgba(0,255,255,0.2);
}
.online-dot {
    position: absolute; bottom: 2px; right: 2px; width: 12px; height: 12px;
    background: #00ff88; border: 2px solid #0F0F0F; border-radius: 50%;
}

.mobile-user-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-user-info strong { color: #fff; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.level-badge {
    display: inline-flex; align-items: center; gap: 5px; font-size: 0.75rem;
    color: var(--ciano); background: rgba(0,255,255,0.1);
    padding: 2px 8px; border-radius: 4px; width: fit-content;
}

.mobile-xp-bar {
    width: 100%; height: 4px; background: #333;
    border-radius: 2px; margin-top: 5px; overflow: hidden;
}
.mobile-xp-bar .xp-fill {
    height: 100%; background: var(--ciano); box-shadow: 0 0 5px var(--ciano);
}

.btn-mobile-login {
    background: rgba(255,255,255,0.1); border-radius: 8px !important;
    justify-content: center; margin-top: 10px; border: none !important;
}
.btn-mobile-register {
    background: var(--ciano); color: #000 !important; font-weight: bold;
    border-radius: 8px !important; justify-content: center; margin-top: 10px; border: none !important;
}
.btn-mobile-register i { color: #000 !important; }

/* --- SLIDER --- */
.slider-container { width: 100%; max-width: 1200px; margin: 20px auto; border-radius: 8px; overflow: hidden; position: relative; aspect-ratio: 16/5; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.slides { display: flex; width: 100%; height: 100%; transition: transform 0.5s ease-in-out; }
.slide { 
    min-width: 100%; width: 100%; height: 100%; 
    position: relative; display: flex; align-items: center; padding-left: 5%; 
    flex-shrink: 0; text-decoration: none;
}
.slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.slide-content { position: relative; z-index: 2; }
.slide-content h2 { font-family: 'Surgena'; font-size: 2.5rem; text-shadow: 0 0 10px var(--ciano); margin-bottom: 5px; color: var(--branco); }
.slide-content p { background: var(--ciano); color: #000; padding: 4px 10px; border-radius: 2px; display: inline-block; font-weight: bold; }

/* --- QUICK NAV --- */
.quick-nav {
    display: flex; gap: 25px; padding: 30px 5% 10px; 
    overflow-x: auto; max-width: 1200px; margin: 0 auto;
    justify-content: center; scrollbar-width: none;
}
.quick-nav::-webkit-scrollbar { display: none; }

.nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    min-width: 70px; cursor: pointer; text-decoration: none; text-align: center;
}
.icon-circle {
    width: 60px; height: 60px; background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--ciano); margin-bottom: 8px; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-item:hover .icon-circle {
    transform: translateY(-10px); border-color: var(--ciano);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4); background: var(--bg-card);
}
.nav-item span { font-size: 0.85rem; color: var(--cinza-texto); font-weight: 500; transition: 0.3s; display: block; }
.nav-item:hover span { color: var(--ciano); }

/* --- SEÇÕES & TITULOS --- */
.section-wrapper { max-width: 1200px; margin: 40px auto; padding: 0 5%; }
.section-header-flex {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}
.section-title { font-family: 'Surgena'; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; color: var(--branco); }
.section-title::after { content: ''; display: block; width: 80px; height: 2px; background: linear-gradient(90deg, var(--ciano), transparent); margin-left: 10px; }

.btn-ver-todos {
    font-size: 0.85rem; color: var(--cinza-texto); border: 1px solid rgba(255,255,255,0.15); 
    padding: 6px 20px; border-radius: 20px; background: rgba(0,0,0,0.3); transition: 0.3s; 
    display: flex; align-items: center; gap: 5px; white-space: nowrap; flex-shrink: 0;
    text-decoration: none;
}
.btn-ver-todos:hover { border-color: var(--ciano); color: var(--ciano); background: rgba(0,255,255,0.05); }

/* --- CARDS & CARROSSEL --- */
.product-carousel .product-card { 
    min-width: 180px; 
    max-width: 180px; 
    flex-shrink: 0; 
}

.product-card {
    background: var(--bg-card); border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
    position: relative; cursor: pointer; overflow: visible !important;
    display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--ciano); transform: translateY(-3px); z-index: 10; }

.card-img {
    height: 160px; background: #181818; display: flex; align-items: center; justify-content: center;
    border-top-left-radius: 7px; border-top-right-radius: 7px;
}
.origin-badge {
    position: absolute; top: -10px; right: 10px; padding: 4px 10px; border-radius: 4px;
    font-size: 0.65rem; font-weight: 800; color: #fff; letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5); z-index: 20;
}
.badge-amazon { background: linear-gradient(135deg, #FF9900 0%, #FF6600 100%); }
.badge-ml { background: linear-gradient(135deg, #FFE600 0%, #E6C200 100%); color: #333; }
.badge-hotmart { background: linear-gradient(135deg, #ff4747 0%, #bd0000 100%); }
.badge-nuuvem { background: linear-gradient(135deg, #00b6ff 0%, #0066ff 100%); }
.badge-hype { background: linear-gradient(135deg, #b400ff 0%, #6a00ff 100%); }

.card-info { padding: 12px; }
.card-price { font-size: 1.1rem; font-weight: 600; color: var(--branco); }
.card-title { 
    font-size: 0.8rem; color: #ccc; margin-top: 5px; 
    height: 34px; overflow: hidden; 
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; 
}

.vote-system {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.05);
}
.vote-btn { font-size: 0.8rem; color: #666; display: flex; align-items: center; gap: 4px; }
.vote-btn.hot { color: #ff4747; }
.vote-btn.cold { color: #00bfff; }

/* --- PÁGINA CATÁLOGO --- */
.page-header {
    position: relative; top: auto; z-index: 1; border: none; box-shadow: none;
    text-align: center; padding: 40px 20px 20px;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
}
.page-title { font-family: 'Surgena'; font-size: 2.5rem; color: #fff; text-shadow: 0 0 20px rgba(0, 255, 255, 0.3); margin-bottom: 10px; }
.page-subtitle { color: #888; font-size: 0.95rem; }

.filter-nav {
    display: flex; justify-content: center; gap: 35px; 
    margin: 20px auto 30px; max-width: 1000px;
    padding: 25px 20px 40px; 
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.filter-nav::-webkit-scrollbar { display: none; }

.filter-item {
    display: flex; flex-direction: column; align-items: center; 
    cursor: pointer; text-decoration: none; color: #666; transition: 0.3s;
    position: relative; min-width: 80px; flex-shrink: 0;
}
.filter-icon {
    width: 65px; height: 65px; border-radius: 50%; background: #0f0f0f; 
    border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 12px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.filter-item:hover .filter-icon { border-color: var(--ciano); color: var(--ciano); transform: translateY(-10px); box-shadow: 0 15px 25px rgba(0, 255, 255, 0.15); }
.filter-item.active .filter-icon { background: var(--ciano); color: #000; border-color: var(--ciano); transform: scale(1.05) translateY(-5px); box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3); }
.filter-item span { font-size: 0.85rem; font-weight: 500; transition: 0.3s; text-align: center; }
.filter-item.active span { color: var(--ciano); font-weight: 700; }

.filter-more-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 10px 14px;
    gap: 10px;
    min-width: auto;
}
.filter-more-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #cfd3d7;
    transition: 0.3s;
}
.filter-more-btn:hover .filter-more-icon { color: var(--ciano); border-color: var(--ciano); }
.filter-more-btn span { font-weight: 600; }

.catalog-filter-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: 0.25s;
    z-index: 2400;
}
.catalog-filter-modal.active { opacity: 1; visibility: visible; }
.catalog-filter-card {
    width: min(640px, 92vw);
    background: #0e0e0f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.catalog-filter-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px;
}
.catalog-filter-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex; align-items: center; gap: 8px;
}
.catalog-filter-close {
    border: none; background: transparent; color: #fff;
    font-size: 1.3rem; cursor: pointer;
}
.filter-section { margin-bottom: 18px; }
.filter-section h4 {
    margin: 0 0 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #9aa0a6;
}
.filter-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}
.filter-pill {
    display: flex; align-items: center; justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #cfd3d7;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    font-size: 0.9rem;
    transition: 0.2s;
}
.filter-pill:hover { border-color: var(--ciano); color: var(--ciano); }
.filter-pill.active {
    border-color: var(--ciano);
    color: #000;
    background: var(--ciano);
}

.catalog-toolbar {
    max-width: 1200px; margin: 0 auto 30px; padding: 15px 5%;
    border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02);
}
.result-count { color: #aaa; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.result-count i { color: var(--ciano); }
.clear-filter { 
    color: #ff4444; font-size: 0.85rem; text-decoration: none; 
    display: flex; align-items: center; gap: 5px; border: 1px solid rgba(255,68,68,0.3);
    padding: 5px 15px; border-radius: 20px; transition: 0.3s;
}
.clear-filter:hover { background: rgba(255,68,68,0.1); border-color: #ff4444; }

.catalog-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px; padding: 0 5%; max-width: 1200px; margin: 0 auto 80px;
}
.catalog-grid .product-card { height: 100%; min-width: auto; width: 100%; }
.catalog-grid .card-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

.empty-state {
    grid-column: 1 / -1; text-align: center; padding: 80px 20px;
    background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px dashed rgba(255,255,255,0.1);
}
.empty-icon { font-size: 4rem; color: #333; margin-bottom: 20px; display: block; }
.empty-title { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.empty-desc { color: #666; margin-bottom: 25px; font-size: 0.9rem; }

/* --- BLOG & RESTO --- */
.blog-header {
    position: relative; top: auto; z-index: 1; border: none; box-shadow: none;
    text-align: center; padding: 60px 20px 40px;
    background: radial-gradient(circle at center, rgba(0,255,255,0.05), transparent);
}
.blog-grid-page {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto 80px; padding: 0 5%;
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.blog-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px; overflow: hidden; transition: 0.3s;
}
.blog-card:hover { border-color: var(--ciano); transform: translateY(-5px); }
.blog-img { width: 100%; height: 180px; background-size: cover; background-position: center; position: relative; }
.blog-cat {
    position: absolute; bottom: 10px; left: 10px; background: var(--ciano); color: #000;
    font-size: 0.7rem; font-weight: bold; padding: 2px 8px; border-radius: 2px;
}
.blog-content { padding: 20px; }
.blog-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; color: var(--branco); }
.blog-excerpt { font-size: 0.9rem; color: var(--cinza-texto); margin-bottom: 15px; }
.read-more { color: var(--ciano); font-size: 0.85rem; font-weight: bold; display: flex; align-items: center; gap: 5px; }

/* Post Single */
.post-container { max-width: 800px; margin: 40px auto; padding: 0 5%; }
.post-cover {
    width: 100%; height: 400px; background-size: cover; background-position: center;
    border-radius: 12px; margin-bottom: 30px; border: 1px solid rgba(255,255,255,0.1);
}
.post-meta { display: flex; justify-content: space-between; color: #888; font-size: 0.9rem; margin-bottom: 20px; }
.post-title { font-family: 'Surgena'; font-size: 2.5rem; color: #fff; margin-bottom: 30px; line-height: 1.2; }
.post-content { color: #ccc; line-height: 1.8; font-size: 1.1rem; }
.post-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
.post-content iframe { width: 100%; aspect-ratio: 16/9; border-radius: 8px; margin: 20px 0; }

.interaction-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); 
    border-bottom: 1px solid rgba(255,255,255,0.1); margin: 40px 0;
}
.like-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: #fff; padding: 10px 20px; border-radius: 30px; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: 0.3s;
}
.like-btn:hover { border-color: #ff4747; color: #ff4747; background: rgba(255,71,71,0.1); }
@keyframes heart-burst { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.like-anim { animation: heart-burst 0.4s ease-in-out; background: rgba(255, 71, 71, 0.2) !important; border-color: #ff4747 !important; color: #ff4747 !important; }
.like-anim i { color: #ff4747 !important; }

/* Comentários */
.comments-section h3 { margin-bottom: 20px; color: #fff; }
.comment-form { display: flex; flex-direction: column; gap: 15px; margin-bottom: 40px; }
.comment-input { background: #1a1a1a; border: 1px solid rgba(255,255,255,0.1); padding: 15px; color: #fff; border-radius: 8px; outline: none; }
.comment-input:focus { border-color: var(--ciano); }
.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-item { background: #111; padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.comment-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
.comment-author { color: var(--ciano); font-weight: bold; }

/* --- SETUP & ADS (LAYOUT GRADE 2x2) --- */
.curation-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 220px 220px; 
    gap: 15px;
    background: #111;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0,255,255,0.1);
}

.setup-main-img {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
}

.setup-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.curation-grid .setup-card {
    width: 100%; height: 100%; min-width: 0;
    background: #1a1a1a; border-color: rgba(255,255,255,0.05);
}
.curation-grid .setup-card:hover { background: #222; border-color: var(--ciano); }

.ads-banner {
    width: 100%; max-width: 1200px; margin: 20px auto; height: 100px;
    background: #0a0a0a; border: 1px dashed rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: #333; font-size: 0.8rem;
}

.sales-popup {
    position: fixed; bottom: 20px; left: 20px; z-index: 9999;
    background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2); border-left: 4px solid #00ff00;
    border-radius: 8px; padding: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    display: flex; align-items: center; gap: 15px; max-width: 320px;
    opacity: 0; visibility: hidden; transform: translateX(-50px); transition: all 0.5s ease-in-out;
}
.sales-popup.active { opacity: 1; visibility: visible; transform: translateX(0); }
.popup-img { width: 40px; height: 40px; background: #222; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--ciano); flex-shrink: 0; }
.popup-content h4 { font-size: 0.85rem; color: var(--branco); margin-bottom: 2px; }
.popup-content p { font-size: 0.75rem; color: var(--cinza-texto); line-height: 1.2; }
.time-ago { font-size: 0.65rem; color: #00ff00; font-weight: bold; display: block; margin-top: 3px; }

footer { background: var(--bg-header); padding: 40px 5%; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }

/* --- RESPONSIVIDADE --- */
@media (min-width: 1024px) {
    .desktop-auth { display: flex; }
    .mobile-trigger { display: none; }
    .mobile-menu-drawer, .menu-overlay { display: none !important; }
}

@media (max-width: 1023px) {
    .desktop-auth { display: none; }
    .mobile-trigger { display: block; }
}

@media (max-width: 768px) {
    .header-container { padding: 0 5px; flex-wrap: nowrap; }
    .logo { flex-grow: 1; }
    .header-actions { order: 3; margin-left: 10px; }
    
    /* Balão de Busca Mobile (Ajustado) */
    .search-balloon-container {
        right: 5%; left: 5%; width: 90%; top: 70px;
    }
    .search-balloon-container::before {
        right: 50%; transform: translateX(50%); /* Centraliza a seta no mobile */
    }

    .slider-container { aspect-ratio: 16/9; width: 100vw; margin-left: -5%; border-radius: 0; }
    .quick-nav { justify-content: flex-start; padding-left: 20px; }
    
    .curation-grid { display: flex; flex-direction: column; height: auto; }
    .setup-main-img { grid-column: span 2; min-height: 250px; margin-bottom: 10px; }
    .curation-grid .setup-card { height: auto; }

    .blog-grid { grid-template-columns: 1fr; }
    .section-header-flex { flex-direction: row; align-items: center; }
    .sales-popup { bottom: 10px; left: 10px; max-width: 90%; }

    .filter-nav { justify-content: flex-start; padding-left: 5%; padding-right: 5%; margin-bottom: 30px; gap: 20px; }
    .page-header { padding-bottom: 10px; }
    .page-title { font-size: 2rem; }
    .catalog-toolbar { flex-direction: column; gap: 15px; align-items: flex-start; }
    .clear-filter { width: 100%; justify-content: center; padding: 10px; }
    .catalog-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    
    .post-title { font-size: 1.8rem; }
    .post-cover { height: 250px; }
    
    @media(max-width: 400px) {
        .catalog-grid { grid-template-columns: 1fr; }
    }
}

.product-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    width: 100%;
}
.product-carousel .product-card {
    min-width: 0; max-width: 100%; width: 100%; flex-shrink: 1;
}

@media (max-width: 768px) {
    .product-carousel {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 10px 5px 20px 5px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .product-carousel::-webkit-scrollbar { display: none; }
    .product-carousel .product-card {
        min-width: 180px;
        max-width: 180px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* --- SEÇÃO NEWSLETTER (NOVA) --- */
.newsletter-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
}

.newsletter-box {
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho no fundo */
.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,255,255,0.1) 0%, transparent 70%);
    z-index: 0;
}

.news-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.news-title {
    font-family: 'Surgena', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-desc {
    color: #888;
    font-size: 0.95rem;
    max-width: 500px;
}

.news-form {
    flex: 1;
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.news-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    outline: none;
    font-size: 1rem;
    transition: 0.3s;
}

.news-input:focus {
    border-color: var(--ciano);
    background: rgba(0, 255, 255, 0.05);
}

.news-btn {
    background: var(--ciano);
    color: #000;
    border: none;
    padding: 0 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    white-space: nowrap;
}

.news-btn:hover {
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* Responsividade Newsletter */
@media (max-width: 768px) {
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .news-title { justify-content: center; }
    
    .news-form {
        width: 100%;
        flex-direction: column;
    }
    
    .news-btn {
        width: 100%;
        padding: 12px;
    }
}
/* --- POPUP NEWSLETTER (NOVO) --- */
.newsletter-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    background: #111;
    border: 1px solid var(--ciano);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8) translateY(20px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.newsletter-overlay.active .popup-card {
    transform: scale(1) translateY(0);
}

/* Animação do Ícone */
.popup-icon-box {
    width: 80px; height: 80px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--ciano);
}

.popup-icon-box i {
    font-size: 3rem;
    color: var(--ciano);
    animation: check-pop 0.5s ease-out 0.4s backwards;
}

@keyframes check-pop {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

.popup-title {
    font-family: 'Surgena', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.popup-desc {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-popup-close {
    background: var(--ciano);
    color: #000;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-popup-close:hover {
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* --- BARRA DE PESQUISA CLEAN & MODERNA --- */
.search-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 25px 0; /* Espaçamento equilibrado */
    position: relative;
    z-index: 10;
}

.search-form {
    width: 100%;
    max-width: 550px; /* Largura um pouco menor para um visual mais contido */
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    /* Fundo escuro, sólido e limpo */
    background-color: #1a1a1a;
    /* Borda fina e sutil, sem neon piscante */
    border: 1px solid #333;
    border-radius: 8px; /* Bordas levemente arredondadas, mais modernas que o círculo total */
    padding: 12px 20px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Efeito Foco: Apenas muda a cor da borda de forma sutil */
.search-box:focus-within {
    border-color: var(--ciano, #00FFFF); /* Usa a cor da sua marca de forma discreta */
    background-color: #222; /* Leve clareamento do fundo para indicar foco */
}

/* Input de Texto */
.search-box input {
    flex: 1; /* Ocupa todo o espaço */
    background: transparent;
    border: none;
    color: #e0e0e0; /* Cor do texto quase branca, para bom contraste */
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Outfit', sans-serif;
    outline: none;
    padding-right: 15px;
}

/* Placeholder (Texto de dica) */
.search-box input::placeholder {
    color: #888; /* Cor mais apagada para não competir com o texto digitado */
    font-weight: 400;
    transition: color 0.3s;
}

.search-box:focus-within input::placeholder {
    color: #aaa; /* Fica ligeiramente mais visível ao focar */
}

/* Botão de Lupa */
.search-box button {
    background: transparent;
    border: none;
    color: #888; /* Cor inicial discreta */
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease; /* Transição suave apenas na cor */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Hover no Botão: Muda apenas a cor, sem brilho ou aumento */
.search-box button:hover {
    color: var(--ciano, #00FFFF); /* Fica da cor da marca ao passar o mouse */
}