/* ==========================================================
   1. RESET E CONFIGURAÇÕES BÁSICAS
========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: #0a0a0a; color: #fff; overflow: hidden; }
a { text-decoration: none; color: #fff; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }

/* ==========================================================
   2. HEADER (NAVBAR)
========================================================== */
.main-header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.95); color: #333; }
.main-header a { color: #333; font-weight: 600; }
.top-bar { display: flex; justify-content: space-between; padding: 10px 50px; border-bottom: 1px solid #ddd; }
.top-bar .left-links a, .top-bar .right-links a { margin-right: 20px; }
.bottom-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 50px; }
.main-menu a { margin-right: 30px; color: #888; }
.main-menu a.active { color: #000; }
.btn-install { background-color: #fca311; color: #000 !important; padding: 10px 20px; border-radius: 3px; font-weight: 800; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; }
.btn-install:hover { background-color: #e59400; }
.icon-windows {
    font-size: 28px; /* <-- É AQUI QUE VOCÊ MUDA O TAMANHO. Teste 32px, 40px, etc. */
    vertical-align: middle; /* Mantém o ícone alinhado no meio do texto */
    margin-right: 10px; /* Dá um espacinho para não colar na palavra "Install" */
    line-height: 1; /* Evita que o botão fique deformado na altura */
}

/* ==========================================================
   3. FULLPAGE SCROLL (ESTRUTURA)
========================================================== */
.fullpage-container { height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.section { height: 100vh; width: 100%; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 100px; }
.side-nav { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 1000; }
.nav-item { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 15px; cursor: pointer; opacity: 0.5; }
.nav-item.active, .nav-item:hover { opacity: 1; }
.nav-item .label { margin-right: 10px; font-size: 12px; text-transform: uppercase; display: none; }
.nav-item:hover .label { display: block; }
.nav-item .dot { width: 8px; height: 8px; background: #fff; transform: rotate(45deg); display: block; }
.nav-item.active .dot { background: transparent; border: 2px solid #fca311; width: 12px; height: 12px; }

/* ==========================================================
   4. SEÇÃO 1: HERO
========================================================== */
#hero { background: url('../img/fundo.png') no-repeat center center; background-size: cover; position: relative; overflow: hidden; }
.hero-char { position: absolute; top: 0; width: 35%; height: 100%; background-size: contain; background-repeat: no-repeat; z-index: 1; pointer-events: none; }
.left-char { left: 0; background-image: url('../img/imagem2ladoesquerdo.png'); background-position: left bottom; }
.right-char { right: 0; background-image: url('../img/imagem1ladodireito.png'); background-position: right bottom; }
.hero-content { position: relative; z-index: 2; padding: 40px; width: 100%; max-width: 700px; margin: 0 auto; text-shadow: 0px 2px 10px rgba(0,0,0,0.8); }
.logo-area { margin-bottom: 20px; }
.main-logo { max-width: 100%; height: auto; width: 450px; display: block; margin: 0 auto; filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.6)); }
.status-badge { border: 1px solid #00f0ff; display: inline-block; padding: 10px 40px; border-radius: 50px; margin: 30px 0; background: rgba(0, 240, 255, 0.05); box-shadow: 0 0 15px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2); }
.status-badge h3 { color: #00f0ff; font-size: 2.5rem; }
.features-grid { display: flex; justify-content: center; align-items: flex-start; gap: 60px; margin-top: 50px; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 230px; color: #fff; font-size: 0.95rem; line-height: 1.4; }
.feature-icon { height: 45px; width: auto; margin-bottom: 20px; display: block; }

/* ==========================================================
   5. SEÇÃO 2: RAÇAS
========================================================== */
#races { background-size: cover; background-position: center; background-repeat: no-repeat; transition: background-image 0.5s ease-in-out; position: relative; justify-content: flex-start; padding-top: 150px; }
.races-header { text-align: center; margin-bottom: 20px; z-index: 10; }
.races-header h2 { font-size: 2.5rem; letter-spacing: 2px; }
.races-header hr { width: 50px; border: 1px solid #fca311; margin: 15px auto; }
.races-header p { font-size: 0.9rem; color: #ddd; max-width: 700px; margin: 0 auto; line-height: 1.5; }
.races-slider { width: 100%; position: relative; display: flex; justify-content: center; }
.race-slide { display: none; width: 100%; }
.race-slide.active { display: flex; flex-direction: row; justify-content: center; align-items: center; animation: fadeIn 0.5s ease; width: 100%; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.race-nav { cursor: pointer; text-align: center; color: #fff; font-size: 0.8rem; letter-spacing: 2px; opacity: 0.6; transition: 0.3s; z-index: 20; padding: 0 20px; }
.race-nav:hover { opacity: 1; color: #fca311; }
.race-nav .arrow { font-size: 2.5rem; display: block; margin-bottom: 5px; }
.race-content { display: flex; justify-content: space-between; align-items: center; gap: 40px; width: 85%; max-width: 1300px; }
.race-text { width: 35%; text-align: left; }
.sub-faction { font-size: 1rem; letter-spacing: 4px; color: #ccc; margin-bottom: 5px; text-transform: uppercase; }
.race-title-group { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.race-title-group h1 { font-size: 3.5rem; letter-spacing: 2px; margin: 0; text-transform: uppercase; }
.race-logo { height: 50px; width: auto; }
.race-desc { font-size: 0.9rem; line-height: 1.6; color: #bbb; }
.classes-box { width: 25%; text-align: left; margin-top: 40px; }
.classes-box h3 { font-size: 1.1rem; margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; }
.classes-box h3 span { font-weight: normal; color: #888; font-size: 0.8rem; }
.classes-box ul { list-style: none; padding: 0; }
.classes-box li { border: 1px solid rgba(255,255,255,0.2); padding: 8px 15px; margin-bottom: 8px; width: 100%; display: flex; align-items: center; background: rgba(0,0,0,0.3); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; transition: 0.3s; }
.classes-box li:hover { border-color: #fca311; background: rgba(252, 163, 17, 0.1); }
.class-icon { width: 35px; height: 35px; border-radius: 50%; margin-right: 15px; object-fit: cover; background: #111; border: 1px solid rgba(255,255,255,0.2); }
.race-render { width: 40%; display: flex; justify-content: flex-end; }
.race-render img { max-height: 60vh; max-width: 100%; object-fit: contain; filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.8)); }

/* ==========================================================
   6. SEÇÃO 3: PATRIARCHS (BANNERS CORRIGIDOS)
========================================================== */
#patriarchs {
    background: url('../img/fundofinaldosite.png') no-repeat center center/cover !important;
    justify-content: flex-start; 
    padding-top: 120px;
    position: relative;
}

.section-title { text-align: center; margin-bottom: 20px; z-index: 10; position: relative; }
.section-title h2 { font-size: 2.5rem; letter-spacing: 2px; color: #111; font-weight: 900; }
.section-title hr { width: 50px; border: 1px solid #fca311; margin: 15px auto; }
.section-title p { font-size: 1rem; color: #333; max-width: 700px; margin: 0 auto; line-height: 1.5; font-weight: 600; }

.patriarchs-content { 
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    gap: 40px; margin-top: 30px; text-align: center; max-width: 1000px; margin-left: auto; margin-right: auto; 
    position: relative; z-index: 2; 
}

/* Fundo translúcido elegante atrás do texto */
.pat-text { max-width: 800px; background: rgba(255, 255, 255, 0.4); padding: 15px 30px; border-radius: 10px; backdrop-filter: blur(3px); }
.pat-text h3 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 800; color: #111; }
.pat-text p { font-size: 0.95rem; color: #222; line-height: 1.6; font-weight: 600; }

.pat-icons { display: flex; gap: 60px; text-align: center; align-items: flex-end; justify-content: center; width: 100%;}
.icon-group { display: flex; flex-direction: column; align-items: center; }
.icon-group h4 { font-size: 0.85rem; color: #111; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.symbols { display: flex; gap: 15px; justify-content: center; align-items: center; }

/* Estilo das imagens Leader1 e Leader2 */
.leader-banners { 
    height: 90px; /* Ajusta a altura da imagem para alinhar com a coroa */
    width: auto; 
    object-fit: contain; 
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3)); 
}

/* Imagem da Coroa do Patriarca */
.crown-img {
    width: 45px; /* Tamanho da coroa, você pode aumentar ou diminuir se precisar */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5)); /* Dá uma leve sombra para destacar */
}

/* FOOTER */
.site-footer { position: absolute; bottom: 0; width: 100%; padding: 20px; background: rgba(0,0,0,0.8); z-index: 10; text-align: center; }
.footer-links { margin-bottom: 10px; font-size: 0.8rem; text-transform: uppercase; font-weight: bold;}
.footer-links a { color: #fca311; margin: 0 10px; }
.site-footer p { font-size: 0.75rem; color: #aaa; }

/* ==================================
   JANELA MODAL (RESUMO DE CLASSES)
================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 2000; display: none; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-overlay.active { display: flex; animation: fadeInModal 0.3s ease; }
@keyframes fadeInModal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-box { background: #ffffff; color: #1a1a1a; width: 90%; max-width: 1100px; height: 85vh; border-radius: 15px; position: relative; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.modal-close { position: absolute; top: 20px; right: 30px; background: none; border: none; font-size: 2rem; color: #555; cursor: pointer; transition: 0.3s; z-index: 10; }
.modal-close:hover { color: #fca311; }
.modal-header { display: flex; align-items: center; gap: 20px; padding: 40px 50px 20px; border-bottom: 1px solid #eee; }
.modal-logo { filter: invert(1); height: 70px; }
.modal-title h5 { font-size: 0.9rem; color: #888; letter-spacing: 2px; margin-bottom: 5px; }
.modal-title h2 { font-size: 2.5rem; letter-spacing: 1px; margin: 0; }
.modal-body { display: flex; flex: 1; position: relative; overflow: hidden; }
.modal-side-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 80px; display: flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; color: #1a1a1a; font-weight: bold; opacity: 0.6; transition: 0.3s; z-index: 10; }
.modal-side-nav:hover { opacity: 1; color: #fca311; }
.modal-side-nav.left { left: 0; }
.modal-side-nav.right { right: 0; }
.modal-side-nav .arrow { font-size: 2.5rem; font-weight: 300; }
.modal-side-nav small { font-size: 0.7rem; letter-spacing: 1px; margin-top: 5px; }
.modal-scroll-area { flex: 1; padding: 30px 100px; overflow-y: auto; width: 100%; }
.modal-scroll-area::-webkit-scrollbar { width: 8px; }
.modal-scroll-area::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 10px; }
.lv-section { margin-bottom: 50px; }
.lv-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 20px; color: #111; }
.subclass-grid { display: grid; gap: 40px; }
.subclass-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.subclass-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.subclass-card { display: flex; flex-direction: column; text-align: left; }
.sub-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 2px solid #eee;}
.subclass-card h3 { font-size: 1.2rem; margin-bottom: 15px; color: #222; }
.sub-desc { font-size: 0.85rem; color: #666; line-height: 1.6; margin-bottom: 20px; min-height: 80px; }
.skill-title { font-size: 0.9rem; font-weight: bold; margin-bottom: 15px; color: #111; }
.skill-list { display: flex; flex-direction: column; gap: 15px; }
.skill-item { display: flex; gap: 15px; align-items: flex-start; }
.skill-item img { width: 35px; height: 35px; border-radius: 5px; background: #333; }
.skill-item p { font-size: 0.8rem; color: #666; line-height: 1.4; margin: 0; }
.skill-item p strong { color: #333; }

@media (max-width: 900px) {
    .subclass-grid.cols-2, .subclass-grid.cols-3 { grid-template-columns: 1fr; }
    .modal-side-nav { display: none; }
    .modal-box { width: 95%; height: 90vh; }
    .modal-header { padding: 20px; }
    .modal-scroll-area { padding: 20px; }
}

/* ==========================================================
   7. REGRAS DE RESPONSIVIDADE
========================================================== */
@media (max-width: 1200px), (max-height: 800px) {
    body { overflow-y: auto; overflow-x: hidden; }
    .fullpage-container { height: auto; overflow-y: visible; scroll-snap-type: none; }
    .section { height: auto; min-height: 100vh; scroll-snap-align: none; padding-top: 120px; padding-bottom: 50px; }
    .side-nav { display: none; }
    .race-content { width: 95%; max-width: 1000px; gap: 20px; }
    .race-title-group h1 { font-size: 2.5rem; }
    .race-render img { max-height: 450px; }
    #races { margin-top: -75px; position: relative; z-index: 5; }
}

@media (max-width: 992px) {
    .race-content { flex-direction: column; text-align: center; gap: 20px; margin-top: 30px; }
    .race-text, .classes-box, .race-render { width: 100%; text-align: center; }
    .race-title-group { justify-content: center; }
    .classes-box { display: flex; flex-direction: column; align-items: center; margin-top: 10px; }
    .classes-box li { width: 80%; max-width: 300px; }
    .race-render { justify-content: center; margin-top: 20px; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .bottom-bar { flex-direction: column; gap: 15px; padding: 15px; }
    .main-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .main-menu a { margin: 0; font-size: 10px; }
    .hero-char { display: none; }
    .main-logo { width: 90%; max-width: 300px; }
    .hero-text h2 { font-size: 1.3rem; }
    .hero-text h3 { font-size: 1.1rem; }
    .features-grid { flex-direction: column; align-items: center; gap: 30px; margin-top: 40px; }
    .races-header h2 { font-size: 1.5rem; }
    .race-slide.active { flex-direction: column; }
    .race-nav { padding: 20px 0; width: 100%; }
    .race-nav .arrow { font-size: 2rem; margin-bottom: 0; }
    .race-title-group h1 { font-size: 2rem; }
    .race-logo { height: 40px; }
    .patriarchs-content { flex-direction: column; align-items: center; text-align: center; gap: 40px; }
    .pat-icons { flex-direction: column; gap: 30px; }
    .site-footer { position: relative; margin-top: 50px; }
}