/* 
 * ===================================================================
 * ARQUIVO: css/css_home.css
 * ===================================================================
 */

/* Menu Superior (Fixação e Correção de Z-index) */
#main-nav {
    position: sticky;   /* Fica fixo no topo ao rolar a página */
    top: 0;             /* Gruda no topo da tela */
    width: 100%;
    z-index: 9999;      /* O número mais alto, para ficar na frente de TUDO */
    background: rgba(5, 5, 5, 0.8); /* Fundo semi-transparente para combinar */
    backdrop-filter: blur(10px);    /* Efeito de vidro fosco */
}

/* --- 1. FONTES E VARIÁVEIS GLOBAIS --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;600&display=swap');

:root {
    --pt-gold: #ffb700;
    --pt-gold-grad: linear-gradient(180deg, #fffbe6 0%, #ffcc00 40%, #e6a800 100%);
    --bg-dark: #050505;
    --text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

main.body_main { 
    margin: 0; 
    padding: 0; 
    background: var(--bg-dark); 
    font-family: 'Inter', sans-serif; 
    color: #eee; 
    overflow-x: hidden; 
}

h1, h2, h3, .pt-font { 
    font-family: 'Cinzel', serif; 
    text-transform: uppercase; 
    margin: 0; 
}

/* --- 2. HERO SECTION --- */
.hero-ultimate { 
    position: relative; 
    height: 100vh; 
    min-height: 700px; 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    border-bottom: 2px solid #222; 
    background: #000; 
}

.bg-image { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center top; 
    z-index: 1; 
    opacity: 0.6; 
    animation: kenBurns 25s infinite alternate ease-in-out; 
    background-color: #111; 
}

@keyframes kenBurns { 
    0% { transform: scale(1); } 
    100% { transform: scale(1.15); } 
}

.bg-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 2; 
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%); 
    pointer-events: none; 
}

.particles-container { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 3; 
    pointer-events: none; 
}

/* --- 3. CONTEÚDO CENTRAL (LOGO E TEXTO) --- */
.hero-content { 
    position: relative; 
    z-index: 10; 
    text-align: center; 
    max-width: 900px; 
    padding: 0 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-top: -40px; 
}

.logo-composition { 
    position: relative; 
    margin-bottom: 0; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.logo-backlight { 
    position: absolute; 
    width: 400px; 
    height: 400px; 
    background: radial-gradient(circle, rgba(255, 180, 0, 0.15) 0%, transparent 70%); 
    filter: blur(30px); 
    z-index: -1; 
    animation: pulseLight 5s infinite alternate ease-in-out; 
}

@keyframes pulseLight { 
    0% { opacity: 0.4; transform: scale(0.9); } 
    100% { opacity: 0.8; transform: scale(1.1); } 
}

.logo-img { 
    max-width: 450px; 
    width: 90%; 
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.8)); 
    animation: floatLogo 4s ease-in-out infinite; 
}

@keyframes floatLogo { 
    0%,100% { transform: translateY(0); } 
    50% { transform: translateY(-10px); } 
}

.hero-text-group { 
    margin-bottom: 40px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.hero-slogan { 
    margin-bottom: 10px; 
    line-height: 1.1; 
}

.slogan-pre { 
    display: block; 
    font-family: 'Cinzel', serif; 
    font-size: 0.9rem; 
    color: #aaa; 
    letter-spacing: 6px; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
    font-weight: 600; 
    text-shadow: var(--text-shadow); 
}

.slogan-main { 
    display: block; 
    font-family: 'Cinzel', serif; 
    font-size: 3.5rem; 
    font-weight: 900; 
    letter-spacing: 2px; 
    background: var(--pt-gold-grad); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.9)); 
}

.hero-separator { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin: 15px 0 20px 0; 
    opacity: 0.7; 
}

.line { 
    height: 1px; 
    width: 60px; 
    background: linear-gradient(90deg, transparent, #ffaa00); 
}

.line.right { 
    background: linear-gradient(90deg, #ffaa00, transparent); 
}

.diamond { 
    color: #ffaa00; 
    font-size: 0.8rem; 
    animation: spin 12s infinite linear; 
}

@keyframes spin { 
    100% { transform: rotate(360deg); } 
}

.hero-desc { 
    font-size: 1.1rem; 
    color: #dcdcdc; 
    max-width: 600px; 
    line-height: 1.6; 
    text-shadow: 0 2px 5px #000; 
    margin: 0; 
}

/* --- 4. BARRA DE STATUS E BOTÕES --- */
.cta-group { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.btn-epic { 
    position: relative; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 12px 35px; 
    background: rgba(15, 15, 15, 0.85); 
    border: 1px solid rgba(255,255,255,0.1); 
    color: #fff; 
    text-decoration: none; 
    backdrop-filter: blur(8px); 
    border-radius: 4px; 
    overflow: hidden; 
    transition: all 0.3s; 
    min-width: 200px; 
}

.btn-epic:hover { 
    transform: translateY(-4px); 
    background: #000; 
    border-color: var(--pt-gold); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.6); 
}

.btn-download { border-bottom: 3px solid #b91d1d; }
.btn-discord { border-bottom: 3px solid #5865F2; }

.btn-col { display: flex; flex-direction: column; text-align: left; }
.btn-col .lbl { font-weight: 800; font-size: 1rem; font-family: 'Cinzel', serif; letter-spacing: 1px;}
.btn-col .sub { font-size: 0.7rem; color: #aaa; text-transform: uppercase; margin-top: 2px;}

.icon { font-size: 1.6rem; }

.server-status-bar { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 90px; 
    background: linear-gradient(to top, #050505 10%, rgba(5,5,5,0.7) 100%); 
    border-top: 1px solid rgba(255,255,255,0.05); 
    z-index: 5; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 60px; 
    backdrop-filter: blur(5px); 
}

.status-item { display: flex; flex-direction: column; align-items: center; }
.s-val { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 900; line-height: 1; color: var(--pt-gold); text-shadow: 0 0 15px rgba(255, 170, 0, 0.3); }
.s-lbl { font-size: 0.75rem; color: #888; letter-spacing: 2px; margin-top: 5px; font-weight: 600; text-transform: uppercase; }

/* --- 5. INFO SECTION (BLESS & NEWS & TOP CLAN) --- */
.info-section { 
    position: relative; 
    padding: 60px 20px; 
    background: #080808; 
    /* ATENÇÃO: Ajuste o caminho da imagem de fundo abaixo caso sua pasta css não esteja no mesmo nível da pasta img */
    background-image: url('../img/pattern_dark.png'); 
    border-top: 1px solid #1a1a1a; 
}

.container-split { 
    max-width: 1400px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.glass-card { 
    background: #0e0e0e; 
    border: 1px solid #1f1f1f; 
    border-radius: 6px; 
    padding: 25px; 
    position: relative; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

.glass-card::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 2px; 
    background: var(--pt-gold-grad); 
}

.card-head { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    padding-bottom: 10px; 
    border-bottom: 1px solid #1a1a1a;
}
.card-head h3 { font-size: 1.2rem; color: #fff; letter-spacing: 1px; }

/* BLESS CASTLE STYLES */
.bless-owner-info { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 15px; 
    background: rgba(255, 183, 0, 0.05); 
    border-radius: 4px; 
    border: 1px solid rgba(255, 183, 0, 0.1); 
    margin-bottom: 15px; 
}

.clan-crest { 
    width: 70px; 
    height: 70px; 
    min-width: 70px; 
    border: 3px solid var(--pt-gold); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%); 
    font-size: 1.8rem; 
    color: var(--pt-gold); 
    font-weight: bold; 
    box-shadow: 0 0 15px rgba(255, 183, 0, 0.3); 
    position: relative; 
}

.clan-crest::after { 
    content: ''; 
    position: absolute; 
    inset: -3px; 
    border-radius: 50%; 
    background: var(--pt-gold-grad); 
    z-index: -1; 
    opacity: 0.3; 
    animation: pulseGold 2s infinite; 
}

@keyframes pulseGold { 
    0%, 100% { opacity: 0.3; transform: scale(1); } 
    50% { opacity: 0.6; transform: scale(1.05); } 
}

.crest-placeholder { font-size: 2rem; }

.clan-info { flex: 1; }
.clan-info small { color: #888; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.clan-info h2 { font-family: 'Cinzel', serif; font-size: 1.6rem; color: #fff; margin: 0 0 8px 0; background: var(--pt-gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.clan-info p { margin: 0; color: #aaa; font-size: 0.85rem; }

.bless-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bless-stat-item { background: #0a0a0a; border: 1px solid #1a1a1a; padding: 12px; border-radius: 4px; text-align: center; }
.bless-stat-item .stat-value { display: block; font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: bold; color: var(--pt-gold); margin-bottom: 4px; }
.bless-stat-item .stat-label { display: block; font-size: 0.65rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }

.bless-podium { display: flex; justify-content: space-around; align-items: flex-end; margin-top: 15px; padding-top: 15px; border-top: 1px solid #1a1a1a; }
.podium-item { text-align: center; flex: 1; }
.podium-item.gold .medal { color: #FFD700; font-size: 2rem; }
.podium-item.silver .medal { color: #C0C0C0; font-size: 1.6rem; }
.podium-item.bronze .medal { color: #CD7F32; font-size: 1.6rem; }
.podium-item .clan-name { font-size: 0.8rem; color: #aaa; margin-top: 5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.live-badge { background: #0f0; color: #000; padding: 2px 8px; border-radius: 3px; font-size: 0.65rem; font-weight: bold; text-transform: uppercase; animation: pulse 2s infinite; }
.live-badge.waiting { background: #888; }

@keyframes pulse { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.6; } 
}

.link-all { color: var(--pt-gold); font-size: 0.75rem; text-decoration: none; transition: opacity 0.3s; }
.link-all:hover { opacity: 0.7; }

/* TOP CLAN WIDGET */
.top-clan-widget { background: linear-gradient(135deg, #1a1200 0%, #0e0e0e 100%); }
.top-clan-header { display: flex; align-items: center; gap: 15px; padding: 20px; background: rgba(255, 183, 0, 0.05); border-radius: 4px; margin-bottom: 15px; border: 1px solid rgba(255, 183, 0, 0.2); }
.top-clan-badge { width: 80px; height: 80px; min-width: 80px; border: 3px solid var(--pt-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a1a 0%, #000 100%); font-size: 2rem; color: var(--pt-gold); font-weight: bold; box-shadow: 0 0 20px rgba(255, 183, 0, 0.4); position: relative; }
.top-clan-badge::before { content: '👑'; position: absolute; top: -10px; right: -5px; font-size: 1.5rem; }

.top-clan-info { flex: 1; }
.top-clan-info .rank-label { color: var(--pt-gold); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; display: block; font-weight: bold; }
.top-clan-info .clan-name { font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 900; color: #fff; margin: 0 0 5px 0; background: var(--pt-gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.top-clan-info .clan-score { color: #aaa; font-size: 0.9rem; }
.top-clan-info .clan-score strong { color: var(--pt-gold); font-family: 'Cinzel', serif; font-size: 1.2rem; }

.top-clan-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.top-clan-stat { background: #0a0a0a; border: 1px solid #1a1a1a; padding: 10px; border-radius: 4px; text-align: center; }
.top-clan-stat .value { display: block; font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: bold; color: var(--pt-gold); margin-bottom: 3px; }
.top-clan-stat .label { display: block; font-size: 0.65rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }

.news-row { display: flex; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid #1a1a1a; text-decoration: none; color: #ccc; transition: all 0.2s; }
.news-row:hover { padding-left: 8px; color: #fff; background: rgba(255,255,255,0.02); }

.n-cat { font-size: 0.6rem; padding: 3px 8px; border-radius: 2px; font-weight: bold; width: 60px; text-align: center; color: #fff; }
.n-cat.update { background: #0056b3; } 
.n-cat.event { background: #b30000; } 
.n-cat.shop { background: #d68b00; color: #000; }

.n-title { flex-grow: 1; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-date { font-size: 0.75rem; color: #555; }

/* --- 6. CTA SECTION --- */
.cta-section { 
    padding: 40px 20px; 
    background: #111 url('../img/pattern_dark.png'); 
    border-top: 1px solid #222; 
    border-bottom: 1px solid #222; 
    text-align: center; 
}

.cta-container { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-text { font-family: 'Cinzel', serif; font-size: 1.5rem; color: #fff; text-shadow: 0 2px 4px #000; margin: 0; }
.cta-text span { background: var(--pt-gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.cta-buttons { display: flex; gap: 20px; }

.btn-cta { 
    display: block; 
    padding: 10px 30px; 
    border: 2px solid var(--pt-gold); 
    color: var(--pt-gold); 
    text-decoration: none; 
    font-weight: bold; 
    text-transform: uppercase; 
    border-radius: 4px; 
    transition: all 0.3s; 
}
.btn-cta:hover { background: var(--pt-gold); color: #000; box-shadow: 0 0 20px rgba(255, 183, 0, 0.4); }

/* --- 7. FEATURES SECTION --- */
.features-section { padding: 80px 20px; text-align: center; }
.section-title { font-family: 'Cinzel', serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; color: #fff; }
.section-subtitle { color: #888; max-width: 600px; margin: 0 auto 50px auto; line-height: 1.5; }

.features-grid { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
}

.feature-card { 
    background: #0e0e0e; 
    border: 1px solid #1f1f1f; 
    padding: 30px; 
    border-radius: 6px; 
    transition: transform 0.3s, border-color 0.3s; 
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--pt-gold); }

.feature-icon { font-size: 2.5rem; margin-bottom: 15px; }
.feature-card h3 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.feature-card p { color: #888; font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* --- NAVEGAÇÃO LATERAL (DOTS) --- */
.page_navSection__o8pJR { 
    position: fixed; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 1000; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.nav-dot { 
    width: 8px; 
    height: 8px; 
    background: rgba(255,255,255,0.2); 
    border-radius: 50%; 
    display: block; 
    margin: 15px 0; 
    transition: all 0.3s; 
    cursor: pointer; 
    border: 2px solid transparent;
}
.page_navSection__o8pJR li.active .nav-dot { background: var(--pt-gold); box-shadow: 0 0 10px var(--pt-gold); transform: scale(1.4); }

.fade-in-up { animation: fadeInUp 1s ease-out forwards; opacity: 0; transform: translateY(30px); }
.delay-200 { animation-delay: 0.3s; }

@keyframes fadeInUp { 
    to { opacity: 1; transform: translateY(0); } 
}

/* Responsividade */
@media (max-width: 1200px) {
    .container-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .slogan-main { font-size: 2.2rem; }
    .server-status-bar { display: none; }
    .bg-image { animation: none; transform: scale(1); }
    .hero-separator, .cta-text { display: none; }
    .bless-stats { grid-template-columns: 1fr; }
    .top-clan-stats { grid-template-columns: 1fr; }
}
.ranking-table th,
.ranking-table td {
padding:6px;
}

.top-3 {
animation: glow 2s infinite alternate;
font-weight:bold;
}

@keyframes glow {
from { background: rgba(255,215,0,0.05); }
to   { background: rgba(255,215,0,0.2); }
}