/*
Theme Name: NerdProfessor Engine
Author: NerdProfessor
Version: 1.0
Description: Focado em Autoridade de Ads e 100% PageSpeed.
*/

/* Reset de Performance */
body { 
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; 
    line-height: 1.5; 
    margin: 0; 
    color: #1a1a1a;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }

/* Links e Grupos */
.nerd-dr-body { padding: 25px; overflow-y: auto; flex: 1; }
.nerd-dr-group { 
    font-size: 12px; text-transform: uppercase; color: #64748b; 
    margin: 20px 0 12px; display: block; font-weight: 800; letter-spacing: 1px;
}

.nerd-dr-link { 
    display: block; padding: 14px 18px; margin-bottom: 8px; border-radius: 12px; 
    text-decoration: none; color: #1e293b; font-size: 15px; font-weight: 600;
    background: #f8fafc; transition: 0.2s; border: 1px solid transparent;
}

.nerd-dr-link:hover { background: #eff6ff; color: #042c84; border-color: #bfdbfe; }
.nerd-dr-link.active { background: #042c84; color: #fff; box-shadow: 0 4px 12px rgba(4, 44, 132, 0.2); }

/* Rodapé */
.nerd-dr-footer { padding: 20px; border-top: 1px solid #f1f5f9; }
.nerd-dr-clean { 
    display: block; text-align: center; padding: 14px; color: #ef4444; 
    text-decoration: none; font-weight: 700; background: #fff1f2; border-radius: 10px;
}

/* Container e Botão */
.nerd-filter-wrap { 
    max-width: 1400px; margin: 25px auto; padding: 0 20px; 
    display: flex; align-items: center; gap: 12px; 
}

.nerd-logic-check { display: none !important; }

.nerd-btn-open { 
    display: inline-flex; align-items: center; gap: 10px; 
    background: linear-gradient(135deg, #042c84 0%, #0056b3 100%);
    color: white; padding: 12px 28px; border-radius: 12px; 
    cursor: pointer; font-weight: 700; font-size: 14px; 
    text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(4, 44, 132, 0.3); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nerd-btn-open:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(4, 44, 132, 0.4); }

.nerd-icon { font-size: 18px; color: #60a5fa; }

/* Badge Ativo Moderno */
.nerd-active-badge { 
    background: #f0f9ff; color: #0369a1; padding: 10px 20px; 
    border-radius: 12px; font-size: 13px; font-weight: 700; 
    border: 2px solid #bae6fd; display: flex; align-items: center; gap: 12px;
}
.nerd-active-badge a { 
    background: #ef4444; color: white; width: 20px; height: 20px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; text-decoration: none; font-size: 12px;
}

/* Drawer e Overlay */
.nerd-overlay-bg { 
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); 
    backdrop-filter: blur(5px); z-index: 9998; opacity: 0; visibility: hidden; transition: 0.4s;
}

.nerd-drawer-side { 
    position: fixed; top: 0; right: -350px; width: 320px; height: 100vh; 
    background: #ffffff; z-index: 9999; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    display: flex; flex-direction: column; border-radius: 20px 0 0 20px;
}

.nerd-logic-check:checked ~ .nerd-drawer-side { right: 0; }
.nerd-logic-check:checked ~ .nerd-overlay-bg { opacity: 1; visibility: visible; }

/* Cabeçalho do Drawer */
.nerd-dr-header { 
    padding: 30px 25px; border-bottom: 1px solid #f1f5f9; 
    display: flex; justify-content: space-between; align-items: flex-start;
}
.nerd-close-x { font-size: 32px; color: #94a3b8; cursor: pointer; line-height: 0.8; }

