:root {
    --bg-color: #050507;
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.4);
    --primary-hover: #c084fc;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --box-bg: rgba(18, 18, 24, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Inter', sans-serif; overflow-x: hidden; min-height: 100vh; }

#starfield { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2; }
.mouse-glow { position: fixed; top: 0; left: 0; width: 450px; height: 450px; background: radial-gradient(circle, rgba(168, 85, 247, 0.20) 0%, transparent 60%); border-radius: 50%; pointer-events: none; z-index: -1; transform: translate(-50%, -50%); filter: blur(50px); will-change: transform; }

.navbar { position: fixed; top: 0; width: 100%; background: rgba(5, 5, 7, 0.6); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); z-index: 100; }
.nav-content { max-width: 1200px; margin: 0 auto; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; }
a.logo { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; text-decoration: none; color: var(--text-main); transition: transform 0.2s; }
a.logo:hover { transform: scale(1.05); }
a.logo span { color: var(--primary); text-shadow: 0 0 15px var(--primary-glow); }
.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 30px; font-weight: 500; font-size: 1.05rem; transition: all 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.conteudo { padding: 130px 5% 60px; max-width: 1200px; margin: 0 auto; text-align: center; }
.section-title { font-size: 2.2rem; font-weight: 600; margin-bottom: 50px; }

.grid-scripts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; }
.script-card { background: var(--box-bg); backdrop-filter: blur(25px); border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.4); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: all 0.4s ease; overflow: hidden; }
.script-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%; background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(168, 85, 247, 0.1), transparent 40%); z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.script-card:hover { transform: translateY(-8px); border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 15px 40px -10px var(--primary-glow); }
.script-card:hover::before { opacity: 1; }

.card-header { position: relative; z-index: 1; margin-bottom: 25px; }
.card-labels { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: 0.7rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; }
.tag-key { color: #fcd34d; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(251, 191, 36, 0.4); }
.tag-nokey { color: #c4b5fd; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(167, 139, 250, 0.4); }

.card-info { position: relative; z-index: 1; }
.card-info h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 25px; color: var(--text-main); }
.script-detalhes { display: none; }
.card-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.botao-info, .botao-acao { padding: 12px; border-radius: 10px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-align: center; }
.botao-info { background: transparent; color: var(--text-muted); border: 1px solid var(--border-color); }
.botao-info:hover { color: var(--text-main); border-color: var(--text-muted); background: rgba(255,255,255,0.05); }
.botao-acao { background: rgba(168, 85, 247, 0.1); color: #f8fafc; border: 1px solid rgba(168, 85, 247, 0.3); }
.botao-acao:hover { background: var(--primary); border-color: var(--primary-hover); box-shadow: 0 0 20px var(--primary-glow); }
.full-width { width: 100%; margin-top: 10px; }

/* Modais Base */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); z-index: 999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: rgba(12, 12, 16, 0.95); border: 1px solid var(--border-color); box-shadow: 0 0 50px rgba(0,0,0,0.8); border-radius: 16px; width: 90%; max-width: 500px; padding: 30px; position: relative; transform: translateY(30px); transition: transform 0.3s ease; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 20px; right: 25px; font-size: 1.8rem; color: var(--text-muted); cursor: pointer; transition: color 0.3s; z-index: 10; }
.close-modal:hover { color: #ff4d4d; }

/* NOVO: Layout do Modal de Configs (Estilo Imagem 2) */
.config-layout { max-width: 750px; padding: 40px; background: #0a0a0d; border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); }
.config-header { text-align: center; margin-bottom: 30px; }
.config-header h2 { font-size: 2rem; color: var(--text-main); margin-bottom: 5px; }
.config-header p { color: var(--text-muted); font-size: 0.95rem; }
.config-scroll { max-height: 65vh; overflow-y: auto; padding-right: 10px; }
.config-scroll::-webkit-scrollbar { width: 6px; }
.config-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

/* Caixas Internas (Estilo Account Manager / API) */
.config-box { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 16px; margin-bottom: 25px; overflow: hidden; }
.box-header { display: flex; align-items: center; gap: 15px; padding: 20px 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); background: rgba(0,0,0,0.2); }
.icon-circle { width: 40px; height: 40px; border-radius: 10px; background: rgba(168, 85, 247, 0.1); color: var(--primary); display: flex; justify-content: center; align-items: center; font-size: 1.2rem; border: 1px solid rgba(168, 85, 247, 0.2); }
.box-header h4 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 3px; }
.box-header p { font-size: 0.85rem; color: var(--text-muted); }
.box-content { padding: 20px 25px; }

/* Linhas de Informação */
.config-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.config-row:last-child { border-bottom: none; padding-bottom: 0; }
.row-label { color: var(--text-muted); font-size: 0.95rem; }
.row-value { text-align: right; }
.username-text { font-weight: 500; color: #e2e8f0; }

/* Badges de Status */
.badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 5px; }
.badge-admin { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-premium { background: rgba(168, 85, 247, 0.15); color: #c4b5fd; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-normal { background: rgba(255, 255, 255, 0.1); color: #a1a1aa; border: 1px solid rgba(255, 255, 255, 0.1); }
.status-desc { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* Inputs e Alertas da API */
.info-alert { background: rgba(168, 85, 247, 0.05); border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 10px; padding: 15px; margin-bottom: 20px; }
.info-alert strong { color: var(--primary); font-size: 0.9rem; display: block; margin-bottom: 5px; }
.info-alert p { font-size: 0.85rem; color: var(--text-muted); }
.input-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.input-group label { font-size: 0.9rem; color: var(--text-muted); }
.input-estilizado { padding: 14px; border-radius: 10px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-family: 'Inter', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.3s; }
.input-estilizado:focus { border-color: var(--primary); }
.codigo-gerado { display: block; background: rgba(0,0,0,0.6); padding: 15px; border-radius: 10px; color: #e879f9; font-size: 0.9rem; word-break: break-all; border: 1px solid rgba(168, 85, 247, 0.3); margin-top: 15px; }

@media (max-width: 1024px) { .grid-scripts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-scripts { grid-template-columns: 1fr; } .config-row { flex-direction: column; align-items: flex-start; gap: 10px; } .row-value { text-align: left; } }
/* Estilo Botão Google Login */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background-color: #ffffff;
    color: #3c4043;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px;
    border: 1px solid #dadce0;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
}
.btn-google:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}