/* ================= VARIÁVEIS ================= */
:root {
    --bg-main: #030407;
    --bg-secondary: #080b12;
    --neon-blue: #00d2ff;
    --neon-blue-dark: #005a9e;
    --neon-yellow: #ffea00;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(10, 15, 30, 0.55);
    --glass-border: rgba(0, 210, 255, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-neon: 0 0 20px rgba(0, 210, 255, 0.2);
}

/* ================= RESET & GERAL ================= */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, .ls, .creator, .logo-text { font-family: 'Orbitron', sans-serif; }

a { text-decoration: none; color: inherit; }

.highlight { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }

.container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }

/* Ocultar elementos para a animação de Scroll */
.hidden { opacity: 0; transform: translateY(40px); transition: var(--transition); }
.show { opacity: 1; transform: translateY(0); }

/* ================= COMPONENTES VISUAIS ================= */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.premium-border {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.premium-border::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.5;
}

.premium-border:hover {
    border-color: var(--neon-blue);
    box-shadow: var(--shadow-neon), inset 0 0 15px rgba(0, 210, 255, 0.1);
    transform: translateY(-5px);
}

/* ================= BOTÕES PREMIUM ================= */
.btn-premium {
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}

.btn-premium.primary {
    background: linear-gradient(45deg, var(--neon-blue-dark), var(--neon-blue));
    color: var(--bg-main);
    border: none;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-premium.primary:hover { box-shadow: 0 0 30px rgba(0, 210, 255, 0.7); transform: scale(1.05); }

.btn-premium.secondary {
    background: transparent;
    border: 2px solid var(--neon-yellow);
    color: var(--neon-yellow);
}

.btn-premium.secondary:hover { background: var(--neon-yellow); color: var(--bg-main); box-shadow: 0 0 20px var(--neon-yellow); }

.full-width { width: 100%; }

/* ================= LOADER PREMIUM ================= */
.loader-wrapper {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-main);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content { text-align: center; }

.ls-glow {
    font-family: 'Orbitron'; font-size: 4rem; font-weight: 900;
    color: #fff; text-shadow: 0 0 20px #fff, 0 0 40px var(--neon-blue);
    animation: pulseLoader 1.5s infinite;
}

.progress-bar { width: 200px; height: 4px; background: #222; margin: 20px auto; border-radius: 2px; overflow: hidden;}
.progress { width: 0%; height: 100%; background: var(--neon-blue); animation: loadBar 2s ease forwards; }

@keyframes pulseLoader { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
@keyframes loadBar { 100% { width: 100%; } }

/* ================= NAVEGAÇÃO ================= */
.navbar {
    position: fixed; top: 0; width: 100%;
    padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo .ls { color: #fff; }
.logo .creator { color: var(--neon-yellow); }
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: 2px; }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: var(--transition); padding: 5px 10px;}
.nav-links a:hover, .nav-links a.active { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }

/* ================= SEPARAÇÃO DE SEÇÕES ================= */
.page-section { padding: 120px 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.divider-top { border-top: 1px solid rgba(255,255,255,0.05); background: linear-gradient(180deg, rgba(0,210,255,0.02) 0%, transparent 100%); }
.section-title { font-size: 3.5rem; text-align: center; margin-bottom: 60px; letter-spacing: 2px; }

/* ================= INÍCIO ================= */
.hero { text-align: center; margin-bottom: 60px; }
.glitch-title { font-size: 7rem; -webkit-text-stroke: 2px var(--neon-blue); color: transparent; margin-bottom: 20px; animation: glowPulse 3s infinite alternate; }
.hero-subtitle { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 40px; }
.hero-actions { display: flex; justify-content: center; gap: 20px; }

/* Stats */
.stats-container { display: flex; justify-content: center; gap: 30px; margin-bottom: 80px; padding: 0 5%; flex-wrap: wrap; }
.stat-box { padding: 30px; text-align: center; width: 250px; }
.stat-icon { font-size: 2.5rem; color: var(--neon-yellow); margin-bottom: 15px; }
.stat-number { font-size: 3rem; color: var(--neon-blue); margin-bottom: 5px; }

/* Grid Mapas */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.card { height: 350px; cursor: pointer; }
.card-img { height: 100%; display: flex; justify-content: center; align-items: center; background: #111; position: relative; overflow: hidden; transition: transform 0.6s ease; }
.card-img h3 { position: relative; z-index: 1; }
.status-badge { position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.8); padding: 5px 15px; border-radius: 20px; border: 1px solid var(--neon-blue); font-size: 0.8rem; font-weight: bold; color: var(--neon-blue); z-index: 1; }

/* Imagem de Capa (Mapas e Equipe) */
.cover-img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; position: absolute; top: 0; left: 0; z-index: 0; transition: transform 0.6s ease; }

.card-overlay {
    position: absolute; bottom: 0; width: 100%; height: 55%;
    padding: 30px; display: flex; flex-direction: column; justify-content: space-between;
    transform: translateY(100%); border-radius: 0 0 16px 16px; border-top: 1px solid var(--neon-blue);
}
.card:hover .card-img { transform: scale(1.05); }
.card:hover .card-overlay { transform: translateY(0); }

.btn-copy {
    background: transparent; border: 1px solid var(--neon-blue); color: #fff; padding: 12px; border-radius: 6px; cursor: pointer; font-family: 'Orbitron'; font-weight: bold; transition: var(--transition); width: 100%; margin-top: 10px;
}
.btn-copy:hover { background: var(--neon-blue); color: var(--bg-main); }

/* News Panel */
.news-section { margin-top: 80px; }
.news-panel { display: flex; align-items: center; justify-content: space-between; padding: 30px 40px; gap: 30px; border-left: 4px solid var(--neon-yellow); }
.news-icon { font-size: 3rem; color: var(--neon-yellow); }
.news-text h3 { margin-bottom: 10px; color: var(--neon-yellow); }

/* ================= EQUIPE ================= */
.team-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.team-card { padding: 30px; text-align: center; }
.team-img { height: 300px; background: #1a1a24; border-radius: 12px; margin-bottom: 20px; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: flex-end; }
.rank-badge { position: absolute; top: 15px; left: 15px; background: var(--neon-yellow); color: var(--bg-main); padding: 5px 10px; font-weight: bold; border-radius: 5px; z-index: 1; }
.team-info h3 { font-size: 2rem; color: var(--neon-blue); margin-bottom: 5px; }
.role { color: var(--neon-yellow); font-weight: 600; display: block; margin-bottom: 15px; }
.social-mini { display: flex; justify-content: center; gap: 15px; font-size: 1.5rem; }
.social-mini a:hover { color: var(--neon-blue); }

.team-details { padding: 40px; display: flex; flex-direction: column; gap: 30px; }
.detail-block h4 { font-size: 1.5rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 10px; margin-bottom: 15px; color: var(--neon-blue); display: flex; align-items: center; gap: 10px;}
.achievement-list { list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--text-secondary); }
.achievement-list i { color: #00ff88; margin-right: 10px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tags span { background: rgba(0, 210, 255, 0.1); border: 1px solid var(--neon-blue); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; }

/* ================= SOBRE ================= */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.about-card { padding: 40px 30px; text-align: center; }
.icon-large { font-size: 4rem; color: var(--neon-blue); margin-bottom: 25px; filter: drop-shadow(0 0 10px var(--neon-blue)); }
.about-card h3 { font-size: 1.8rem; margin-bottom: 15px; color: #fff; }
.about-card p { color: var(--text-secondary); line-height: 1.7; }

/* ================= FOOTER ================= */
.footer { background: #020204; padding: 80px 5% 30px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-secondary); margin-top: 15px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 15px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--neon-blue); }
.footer-grid h3 { font-family: 'Orbitron', sans-serif; color: var(--neon-blue); margin-bottom: 15px; }

/* Botão Portfólio no Footer */
.btn-portfolio {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #fff;
    color: var(--bg-main);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    text-align: center;
    border-radius: 8px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
.btn-portfolio:hover {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 20px #fff, 0 0 40px var(--neon-blue);
    border: 2px solid #fff;
}

.footer-bottom { border-top: 1px solid #111; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: #666; font-size: 0.9rem; }
.social-links { display: flex; gap: 20px; font-size: 1.5rem; }
.social-icon { color: #888; transition: var(--transition); }
.social-icon:hover { color: var(--neon-yellow); transform: translateY(-5px); }

/* ================= MODAIS & TOAST ================= */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; justify-content: center; align-items: center; }
.modal-content { padding: 50px; max-width: 500px; text-align: center; position: relative; }
.close-modal { position: absolute; top: 20px; right: 20px; background: transparent; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; transition: color 0.3s; }
.close-modal:hover { color: red; }
.modal-icon { font-size: 5rem; color: #5865F2; margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.5)); }
.modal-text { margin: 20px 0 30px; line-height: 1.6; color: var(--text-secondary); }

.toast { position: fixed; bottom: -100px; right: 30px; padding: 15px 25px; border-left: 4px solid #00ff88; display: flex; align-items: center; gap: 15px; z-index: 3000; transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); border-radius: 8px; font-weight: bold; }
.toast.show { bottom: 30px; }
.toast i { color: #00ff88; font-size: 1.5rem; }

/* --- BOTÃO APOIAR CRIADOR (LIVEPIX) --- */
.btn-support {
    display: inline-block;
    margin-top: 15px;
    padding: 15px 30px;
    width: 100%;
    max-width: 232px;
    background: transparent;
    border: 2px solid var(--neon-yellow);
    color: var(--neon-yellow);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    text-align: center;
    border-radius: 8px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(255, 234, 0, 0.1);
}

.btn-support:hover {
    background: var(--neon-yellow);
    color: var(--bg-main);
    box-shadow: 0 0 25px var(--neon-yellow), 0 0 40px rgba(255, 234, 0, 0.4);
    transform: scale(1.02);
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 992px) {
    .team-layout { grid-template-columns: 1fr; gap: 30px; }
    .news-panel { flex-direction: column; text-align: center; border-left: none; border-top: 4px solid var(--neon-yellow); padding: 25px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 768px) {
    /* Ajustes Gerais de Tipografia e Elementos */
    .glitch-title { font-size: 3.5rem; }
    .section-title { font-size: 2.3rem; margin-bottom: 40px; }
    .hero-subtitle { font-size: 1.2rem; margin-bottom: 30px; }
    
    /* Ajuste da Navbar e Layout Superior */
    .navbar { flex-direction: column; gap: 12px; padding: 15px; position: absolute; }
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 1rem; padding: 4px 8px; }
    
    /* Espaçamentos e Botões de Ação */
    .page-section { padding: 140px 0 40px; }
    .hero-actions { flex-direction: column; gap: 12px; align-items: center; width: 100%; }
    .btn-premium { width: 100%; max-width: 280px; padding: 12px 24px; font-size: 0.9rem; }
    
    /* Painéis de Informações Menores */
    .stat-number { font-size: 2.3rem; }
    .stat-box { padding: 20px; width: 220px; }
    .cards-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
    .team-details { padding: 25px; gap: 20px; }
    .modal-content { padding: 35px 20px; width: 90%; }
}

@media (max-width: 480px) {
    /* Otimização Crítica para Telas Pequenas (Celulares) */
    .glitch-title { font-size: 2.6rem; -webkit-text-stroke: 1px var(--neon-blue); }
    .section-title { font-size: 1.9rem; }
    .logo { font-size: 1.2rem; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 0.9rem; padding: 3px 6px; }
    
    .stat-box { width: 100%; padding: 15px; }
    .card { height: 320px; }
    .card-overlay { padding: 20px; height: 60%; }
    
    .btn-portfolio, .btn-support { max-width: 100%; width: 100%; }
}

/* Keyframes Background (Fortnite Feel) */
.fortnite-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; background: radial-gradient(circle at top, #0a0f1c 0%, var(--bg-main) 100%); overflow: hidden; }
.particle { position: absolute; opacity: 0.1; animation: floatParticle 15s linear infinite; }
.shield-bar { width: 50px; height: 10px; background: var(--neon-blue); box-shadow: 0 0 10px var(--neon-blue); border-radius: 5px; bottom: -50px; left: 10%; }
.brick { width: 40px; height: 20px; border: 2px solid #555; background: transparent; bottom: -50px; left: 50%; animation-duration: 20s; }
.llama-glow { width: 8px; height: 8px; background: #b142ff; box-shadow: 0 0 20px 10px #b142ff; border-radius: 50%; bottom: -50px; left: 80%; animation-duration: 12s; }
.delay-1 { animation-delay: 5s; left: 30%; }
.delay-2 { animation-delay: 8s; left: 70%; }

@keyframes floatParticle { 0% { transform: translateY(0) rotate(0deg); opacity: 0; } 20% { opacity: 0.15; } 80% { opacity: 0.15; } 100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; } }
@keyframes glowPulse { from { text-shadow: 0 0 10px var(--neon-blue-dark); } to { text-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue); } }
