
    /* --- VARIÁVEIS E RESET --- */
    :root {
        --primary-color: #ffd700; /* Roxo vibrante */
        --primary-hover: #ffd700; /* Roxo mais escuro para hover */
        --dark-bg: #1d1d1d; /* Fundo principal escuro */
        --card-bg: #1d1d1d; /* Fundo dos cards */
        --border-color: #2c2c2c; /* Cor da borda sutil */
        --text-color: #ffffff; /* Cor principal do texto */
        --text-muted: #ecf0f1; /* Cor do texto secundário */
    
        --font-body: 'Roboto', sans-serif;
        --font-display: 'Bebas Neue', sans-serif;
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px; /* Espaço para o header fixo */
    }
    
    body {
        font-family: var(--font-body);
        background-color: var(--dark-bg);
        color: var(--text-color);
        line-height: 1.6;
    }
    
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    section {
        padding: 20px 0;
    }
    
    .section-title {
        font-family: var(--font-display);
        font-size: 3rem;
        text-align: center;
        margin-bottom: 50px;
        letter-spacing: 2px;
        color: var(--primary-color);
    }
    
    
    /* --- CABEÇALHO --- */
    .main-header {
        width: 100%;
        padding: 5px 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        background: rgba(18, 18, 18, 0.8);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        transition: background 0.3s;
    }
    
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        font-family: var(--font-display);
        font-size: 2rem;
        color: #fff;
        text-decoration: none;
        letter-spacing: 1px;
    }
    
    .main-nav a {
        color: var(--text-muted);
        text-decoration: none;
        margin: 0 15px;
        font-weight: 700;
        transition: color 0.3s;
    }
    
    .main-nav a:hover {
        color: var(--primary-color);
    }
    
    .main-nav .nav-button {
        background: var(--primary-color);
        color: #fff;
        padding: 10px 20px;
        border-radius: 5px;
    }
    .main-nav .nav-button:hover {
        background: var(--primary-hover);
        color: #fff;
    }
    
    /* --- SEÇÃO FEATURES --- */
    #features {
        height: 0;
        min-height: 500px;
        background-image: url('../assets/images/bg-features.jpg'); /* Imagem de fundo de exemplo */
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    #features .section-subtitle {
        text-align: center;
        max-width: 500px;
        margin: -30px auto 50px auto;
        color: var(--text-muted);
        font-size: 1.1rem;
    }
    
    .features-content {
        position: relative;
        z-index: 2;
    }
    
    .features-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(29, 29, 29,1) 0%, rgba(29,29,29,0.8) 50%, rgba(29,29,29,1) 100%);
    }
    
    /* --- SEÇÃO COUTDOWN --- */
	#countdown-section {
		/* height: 0; <-- REMOVIDO (Este era o causador da sobreposição) */
		min-height: 400px;
		background-image: url('../assets/images/bg-coutdown.jpg'); /* Você vai alterar esta linha no próximo passo */
		background-size: cover;
		background-position: center;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 80px 0; /* ALTERADO (Isso adiciona um respiro acima e abaixo do conteúdo) */
	}
    
    #countdown-section .section-subtitle {
        text-align: center;
        max-width: 500px;
        margin: -30px auto 50px auto;
        color: var(--text-muted);
        font-size: 1.1rem;
    }
    
    .countdown-content {
        position: relative;
        z-index: 2;
    }
    
    .countdown-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(29, 29, 29,1) 0%, rgba(29,29,29,0.8) 50%, rgba(18,18,18,1) 100%);
    }
    
    /* --- SEÇÃO HERO --- */
	#hero {
		height: 0;
		min-height: 800px;
		background-image: url('../assets/images/bg-top.png');
		background-size: cover;
		background-position: center;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding-top: 100px; /* ADICIONE ESTA LINHA: Espaço para o menu fixo */
	}
    
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(18, 18, 18,1) 0%, rgba(18,18,18,0.0) 50%, rgba(18,18,18,0) 100%);
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
    }
    
	.rampage {
		font-family: var(--font-display);
		font-size: 8rem;
		background-image: url('../assets/images/logo.png'); /* Imagem de fundo de exemplo */
		background-size: cover;
		background-position: center;
		width: 600px; /* Aumentado de 500px */
		height: 250px; /* Adicionamos uma altura para controlar. Ajuste se necessário. */
	}
    
	.hero-content p {
		font-family: var(--font-display); /* Muda a fonte para a de títulos (Bebas Neue) */
		font-size: 4.5rem; /* Aumenta o tamanho base do texto */
		color: #fff;
		line-height: 1; /* Diminui o espaço entre as linhas */
		text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Adiciona uma sombra mais suave */
		margin: 10px auto 30px auto;
		text-transform: uppercase; /* Garante que tudo fique em maiúsculas */
	}

	.hero-content p span {
		font-size: 6rem; /* Deixa o "20x" ainda maior */
		color: var(--primary-color); /* Aplica a cor de destaque (amarelo) */
	}
    
    /* --- ESTILOS PARA A SEÇÃO DE STREAMERS --- */
    
    #streamers .section-subtitle {
        text-align: center;
        max-width: 500px;
        margin: -30px auto 50px auto;
        color: var(--text-muted);
        font-size: 1.1rem;
    }
    
    .streamers-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
        justify-content: center;
    }
    
    .streamer-card {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 25px;
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .streamer-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    
    .streamer-link {
        text-decoration: none;
    }
    
    .streamer-avatar {
        position: relative;
        width: 130px;
        height: 130px;
        margin: 0 auto 20px auto;
    }
    
    .streamer-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 4px solid var(--border-color);
        transition: border-color 0.3s;
    }
    
    .streamer-card:hover .streamer-avatar img {
        border-color: var(--primary-hover);
    }
    
    .live-badge {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        background: #e74c3c; /* Vermelho para "LIVE" */
        color: #fff;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 5px;
        text-transform: uppercase;
        animation: pulse 1.5s infinite;
    }
    
    /* Animação para o badge "AO VIVO" */
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
        100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
    }
    
    .streamer-name {
        font-size: 1.5rem;
        color: var(--text-color);
        margin: 0;
        transition: color 0.3s;
    }
    
    .streamer-card:hover .streamer-name {
        color: var(--primary-color);
    }
    
    .watch-button {
        display: inline-block;
        width: 100%;
        margin-top: 20px;
        padding: 12px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.3s;
        background: var(--primary-color);
        color: #fff;
    }
    .watch-button:hover {
        background: var(--primary-hover);
    }
    
    .watch-button.offline {
        background: #34495e; /* Cinza azulado para offline */
    }
    .watch-button.offline:hover {
        background: #4a6582;
    }
    
    .watch-button i {
        margin-left: 8px;
    }
    
    .cta-button {
        display: inline-block;
        background: #000;
        color: #fff;
        text-decoration: none;
        font-family: var(--font-body);
        font-weight: 900;
        font-size: 1.1rem;
        padding: 20px 40px;
        border-radius: 5px;
        text-transform: uppercase;
        transition: all 0.3s;
        box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
    }
    
    /* --- ESTILOS PARA O MODAL DE STREAM --- */
    
    .stream-modal {
        display: none; /* Começa escondido */
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.8);
        backdrop-filter: blur(8px);
        animation: fadeIn 0.3s ease-out;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* --- ESTILOS PARA O MODAL DE LOGIN --- */
    
    .login-link {
        font-weight: 700;
        margin: 0 15px;
    }
    
    .login-modal {
        display: none; /* Começa escondido */
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.8);
        backdrop-filter: blur(8px);
        animation: fadeIn 0.3s ease-out;
        justify-content: center;
        align-items: center;
    }
    
    .login-modal-content {
        position: relative;
        background: var(--card-bg);
        padding: 40px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        width: 90%;
        max-width: 450px;
        animation: slideIn 0.4s ease-out;
    }
    
    .login-modal-close {
        color: #fff;
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 2.5rem;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.3s;
    }
    .login-modal-close:hover {
        color: var(--primary-color);
    }
    
    .login-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .login-header h3 {
        font-family: var(--font-display);
        font-size: 2.5rem;
        letter-spacing: 2px;
        color: var(--text-color);
        margin: 0 0 10px 0;
    }
    
    .login-header p {
        color: var(--text-muted);
        margin: 0;
    }
    
    .stream-modal-content {
        position: relative;
        margin: 5% auto;
        width: 90%;
        max-width: 720px;
        animation: slideIn 0.4s ease-out;
    }
    
    @keyframes slideIn {
        from { transform: translateY(-50px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .stream-modal-close {
        color: #fff;
        position: absolute;
        top: -40px;
        right: 0;
        font-size: 3rem;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.3s;
    }
    
    .stream-modal-close:hover {
        color: var(--primary-color);
    }
    
    .stream-modal-video-wrapper {
        position: relative;
        padding-bottom: 56.25%; /* Proporção 16:9 para o vídeo */
        height: 0;
        overflow: hidden;
        background: #000;
        border: 2px solid var(--border-color);
        border-radius: 8px;
    }
    
    .stream-modal-video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    /* O botão que abre o modal precisa ser um <button> */
    .streamer-card button.watch-button {
        border: none;
        cursor: pointer;
        font-family: var(--font-body);
    }
    
    .cta-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(155, 89, 182, 0.6);
    }
    
    
    /* --- CARDS DE INFORMAÇÃO --- */
    #info-cards .container {
        display: flex;
        justify-content: space-around;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .card {
        background: var(--card-bg);
        padding: 30px;
        border-radius: 8px;
        text-align: center;
        border: 1px solid var(--border-color);
        flex: 1;
        min-width: 250px;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    
    .card-icon {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 15px;
    }
    
    .card h3 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
    
    .card .status-online {
        color: #2ecc71; /* Verde */
        font-weight: 900;
        font-size: 1.2rem;
    }
    
    .card .player-count {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-color);
    }
    
    
    /* --- NOTÍCIAS --- */
    #news {
        background-color: var(--card-bg);
    }
    
    .news-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .news-item {
        background: var(--dark-bg);
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        transition: transform 0.3s;
    }
    .news-item:hover {
        transform: translateY(-0px);
    }
    
    .news-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .news-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .news-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .news-content p {
        color: var(--text-muted);
        flex-grow: 1;
    }
    
    .news-date {
        margin-top: 15px;
        font-size: 0.8rem;
        color: var(--primary-color);
        font-weight: 700;
    }
    
    /* --- FEATURES --- */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .feature-item {
        text-align: center;
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }
    
    .feature-item h4 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .feature-item p {
        color: var(--text-muted);
    }
    
    
    /* --- RODAPÉ --- */
    .main-footer-bottom {
        background: #000;
        padding: 30px 0;
        border-top: 1px solid var(--border-color);
    }
    .main-footer-bottom .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .social-links a {
        color: var(--text-muted);
        font-size: 1.5rem;
        margin-left: 20px;
        transition: color 0.3s;
    }
    .social-links a:hover {
        color: var(--primary-color);
    }
    
    /* Adicione este código no final do seu modern-style.css */
    
    /* --- ESTILOS PARA PÁGINAS INTERNAS --- */
    .page-content {
        padding-top: 120px; /* Espaço para o header fixo (80px) + margem */
        padding-bottom: 60px;
        min-height: 70vh; /* Garante uma altura mínima para o conteúdo */
    }
    
    /* --- ESTILOS PARA FORMULÁRIOS MODERNOS --- */
    
    .page-title {
        text-align: center;
        margin-bottom: 50px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 30px;
    }
    
    .page-title h1 {
        font-family: var(--font-display);
        font-size: 3rem;
        letter-spacing: 2px;
        color: var(--text-color);
        margin: 0;
    }
    
    .page-title p {
        font-size: 1.1rem;
        color: var(--text-muted);
        margin-top: 10px;
    }
    
    .modern-form {
        max-width: 600px;
        margin: 0 auto;
        background: var(--card-bg);
        padding: 40px;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }
    
    .modern-form .form-intro-text {
        text-align: center;
        color: var(--text-muted);
        margin-bottom: 30px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        display: block;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--text-color);
    }
    
    .form-control {
        width: 100%;
        padding: 12px 15px;
        background: var(--dark-bg);
        border: 1px solid #444;
        border-radius: 5px;
        color: var(--text-color);
        font-size: 1rem;
        transition: border-color 0.3s, box-shadow 0.3s;
    }
    
    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.25);
    }
    
    /* Estilo para o aviso do sufixo */
    .form-info-msg {
        background: rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: 5px;
        margin-top: -10px;
        margin-bottom: 20px;
        font-size: 0.9rem;
        color: var(--text-muted);
    }
    .suffix-checkbox {
        display: block;
        margin-top: 10px;
    }
    .suffix-checkbox input {
        margin-right: 5px;
    }
    
    /* Estilo para o CAPTCHA */
    .captcha-group {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .captcha-group .form-control {
        flex: 1;
    }
    .captchaImage {
        border-radius: 5px;
        height: 47px;
    }
    .captcha-refresh {
        font-size: 1.5rem;
        color: var(--text-muted);
        text-decoration: none;
    }
    .captcha-refresh:hover {
        color: var(--primary-color);
    }
    
    /* --- ESTILOS PARA MENSAGENS DE FEEDBACK DE FORMULÁRIO --- */
    
    .form-feedback-msg {
        padding: 15px 20px;
        margin-bottom: 30px;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        border-left: 5px solid;
    }
    
    .form-feedback-msg.error {
        background-color: rgba(231, 76, 60, 0.1); /* Vermelho claro */
        border-color: #e74c3c; /* Vermelho */
        color: #e74c3c;
    }
    
    .form-feedback-msg.success {
        background-color: rgba(46, 204, 113, 0.1); /* Verde claro */
        border-color: #2ecc71; /* Verde */
        color: #2ecc71;
    }
    
    /* --- ESTILOS PARA PÁGINA DE DOWNLOADS --- */
    
    .download-section {
        max-width: 900px;
        margin: 0 auto 50px auto;
        background: var(--card-bg);
        padding: 30px;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }
    
    .section-subtitle {
        font-family: var(--font-display);
        font-size: 2rem;
        letter-spacing: 1px;
        color: var(--text-color);
        padding-bottom: 15px;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .section-description {
        color: var(--text-muted);
        margin-bottom: 30px;
    }
    
    .download-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        background: var(--dark-bg);
        padding: 20px;
        border-radius: 5px;
        border: 1px solid #333;
        margin-bottom: 15px;
    }
    
    .download-info h4 {
        margin: 0 0 5px 0;
        font-size: 1.2rem;
        color: var(--text-color);
    }
    .download-info h4 i {
        color: var(--primary-color);
        margin-right: 10px;
    }
    
    .download-info span {
        font-size: 0.9rem;
        color: var(--text-muted);
    }
    
    /* Estilo secundário para o botão de "visitar site" */
    .cta-button.secondary {
        background: #34495e; /* Cinza azulado */
        box-shadow: 0 5px 15px rgba(52, 73, 94, 0.2);
    }
    .cta-button.secondary:hover {
        background: #4a6582;
        box-shadow: 0 10px 20px rgba(52, 73, 94, 0.3);
    }
    
    .instructions-list {
        padding-left: 20px;
        color: var(--text-muted);
    }
    
    .instructions-list li {
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    /* --- ESTILOS PARA PÁGINAS DE RANKING E TABELAS --- */
    
    .page-update-info {
        max-width: 900px;
        margin: -30px auto 30px auto;
        text-align: center;
        font-size: 0.9rem;
        color: var(--text-muted);
    }
    
    /* Barra de Filtros */
    .filter-bar {
        max-width: 900px;
        margin: 0 auto 30px auto;
        padding: 20px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        align-items: center;
    }
    .filter-bar label {
        font-weight: 700;
        margin-right: -10px;
    }
    .filter-bar select {
        padding: 10px;
        background: var(--dark-bg);
        border: 1px solid #444;
        border-radius: 5px;
        color: var(--text-color);
    }
    .filter-bar button {
        background: var(--primary-color);
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 700;
    }
    .filter-bar button:hover {
        background: var(--primary-hover);
    }
    
    /* Tabela Moderna */
    .modern-table {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        border-collapse: collapse;
        background-color: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden; /* Garante que o border-radius seja aplicado às bordas da tabela */
    }
    
    .modern-table thead tr {
        background-color: var(--primary-color);
        color: #ffffff;
        text-align: left;
        font-family: var(--font-display);
        letter-spacing: 1px;
    }
    
    .modern-table th, .modern-table td {
        padding: 12px 15px;
    }
    
    .modern-table tbody tr {
        border-bottom: 1px solid var(--border-color);
        transition: background-color 0.2s;
    }
    
    .modern-table tbody tr:nth-of-type(even) {
        background-color: rgba(255, 255, 255, 0.03);
    }
    
    .modern-table tbody tr:last-of-type {
        border-bottom: none;
    }
    
    .modern-table tbody tr:hover {
        background-color: var(--primary-hover);
        color: #fff;
    }
    
    /* Cores específicas para PvP/PK */
    .modern-table .pvp { color: #2ecc71; font-weight: 700; }
    .modern-table .pk { color: #e74c3c; font-weight: 700; }
    .modern-table .pos { text-align: center; font-weight: 700; }
    
    /* --- ESTILOS PARA O DROPDOWN DE OPÇÕES DE RANKING --- */
    
    /* O contêiner principal que aparece como um botão */
    .rankings_options {
        position: relative; /* Essencial para o posicionamento do menu dropdown */
        display: inline-block; /* Faz com que o contêiner se ajuste ao conteúdo */
        background: var(--card-bg);
        color: var(--text-muted);
        border: 1px solid var(--border-color);
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        margin-bottom: 20px;
        font-weight: 700;
        transition: all 0.3s ease;
    }
    
    .rankings_options:hover {
        border-color: var(--primary-color);
        color: #fff;
    }
    
    /* A setinha que indica um dropdown */
    .rankings_options .rankings_arrow {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 8px;
        vertical-align: middle;
        border-top: 5px solid;
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        transition: transform 0.3s ease;
    }
    
    /* O painel que aparece no hover */
    .rankings_options div {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 110%; /* Aparece um pouco abaixo do botão */
        left: 0;
        z-index: 100;
        background: var(--dark-bg);
        border: 1px solid var(--border-color);
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
        min-width: 200px;
        padding: 5px 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    /* Efeito de hover para mostrar o menu e girar a seta */
    .rankings_options:hover div {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .rankings_options:hover .rankings_arrow {
        transform: rotate(180deg);
    }
    
    /* Estilo dos links dentro do dropdown */
    .rankings_options div a {
        display: block;
        padding: 10px 20px;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }
    
    .rankings_options div a:hover {
        background-color: var(--primary-color);
        color: #fff;
        padding-left: 25px;
    }
    
    /* Estilo do link ativo (página atual) */
    .rankings_options div a.ativa {
        background-color: var(--primary-hover);
        color: #fff;
        font-weight: 700;
    }
    
    /* --- ESTILO PARA O CABEÇALHO DA ÁREA DE RANKING --- */
    
    .ranking-header {
        display: flex; /* Ativa o Flexbox para alinhar os itens */
        justify-content: space-between; /* Empurra um item para a esquerda e outro para a direita */
        align-items: center; /* Alinha os itens verticalmente no centro */
        gap: 20px;
        max-width: 900px; /* Mesma largura da tabela para alinhamento perfeito */
        margin: -30px auto 30px auto; /* Margens para posicionar corretamente */
    }
    
    /* Ajuste na margem do texto de info para que ele não tenha mais a margem superior */
    .ranking-header .page-update-info {
        margin: 0;
        text-align: left;
    }
    
    /* Ajuste na margem do botão de ranking */
    .ranking-header .rankings_options {
        margin: 0;
    }
    
    /* --- ESTILOS PARA PÁGINA DE BOSS STATUS --- */
    
    .boss-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .boss-card {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .boss-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    
    .boss-card-image {
        position: relative;
        height: 180px;
    }
    
    .boss-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .boss-card.status-dead .boss-card-image img {
        filter: grayscale(100%);
    }
    
    .boss-level {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        padding: 5px 10px;
        font-size: 0.8rem;
        font-weight: 700;
        border-radius: 5px;
    }
    
    .boss-card-content {
        padding: 20px;
        flex-grow: 1;
    }
    
    .boss-card-content h4 {
        font-size: 1.3rem;
        margin: 0 0 15px 0;
        color: var(--text-color);
    }
    
    .boss-card-status {
        border-top: 1px solid var(--border-color);
        padding-top: 15px;
    }
    
    .boss-card-status span {
        color: var(--text-muted);
        font-size: 0.9rem;
    }
    
    .boss-card-status strong {
        font-size: 1.1rem;
    }
    
    .boss-card-status .alive-text {
        color: #2ecc71; /* Verde */
    }
    
    .boss-card-status .dead-text {
        color: #e74c3c; /* Vermelho */
    }
    
    .respawn-time {
        display: block;
        font-size: 0.8rem;
        color: #f1c40f; /* Amarelo/Laranja para o respawn */
        margin-top: 5px;
    }
    
    /* --- ESTILOS PARA PÁGINA DE NOTÍCIAS (ARTIGO ÚNICO) --- */
    
    .news-article-container {
        max-width: 800px;
        margin: 0 auto;
        background: var(--card-bg);
        padding: 40px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
    }
    
    .article-header {
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    .article-header h1 {
        font-family: var(--font-display);
        font-size: 3rem;
        color: var(--text-color);
        margin: 0;
        line-height: 1.2;
    }
    
    .article-header .article-meta {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-top: 10px;
    }
    
    .article-featured-image {
        margin-bottom: 30px;
    }
    
    .article-featured-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .article-content {
        color: var(--text-muted);
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .article-content p {
        margin-bottom: 20px;
    }
    
    .back-button-container {
        text-align: center;
        margin-top: 40px;
    }
    
    
    /* --- ESTILOS PARA PAGINAÇÃO --- */
    
    .pagination-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }
    
    .paginate {
        display: flex;
        gap: 5px;
    }
    
    .paginate a {
        text-decoration: none;
        color: var(--text-muted);
        padding: 8px 15px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        transition: all 0.2s ease-in-out;
    }
    
    .paginate a:hover {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }
    
    .paginate a.atual {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
        cursor: default;
    }
    
    .paginate a.desatived {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .paginate a.desatived:hover {
        background: transparent;
        border-color: var(--border-color);
        color: var(--text-muted);
    }
    
    /* --- ESTILO PARA CAIXAS DE CONTEÚDO SIMPLES --- */
    .content-box {
        max-width: 900px;
        margin: 0 auto;
        background: var(--card-bg);
        padding: 30px 40px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--text-muted);
        line-height: 1.8;
    }
    
    /* --- ESTILOS PARA MENU DE SUBNAVEGAÇÃO (OLYMPIAD, ETC) --- */
    
    .sub-nav-menu {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 30px auto;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--border-color);
        max-width: 900px;
    }
    
    .sub-nav-menu a {
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 5px;
        font-weight: 700;
        color: var(--text-muted);
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        transition: all 0.2s ease-in-out;
    }
    
    .sub-nav-menu a:hover {
        background: var(--primary-hover);
        color: #fff;
        border-color: var(--primary-hover);
    }
    
    .sub-nav-menu a.act {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
        box-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
    }
    
    /* --- ESTILOS PARA O MENU DROPDOWN NA NAVEGAÇÃO PRINCIPAL --- */
    
    .nav-item.dropdown {
        position: relative; /* Necessário para posicionar o menu dropdown */
        display: inline-block;
    }
    
    .nav-item .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .nav-item .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    
    /* O painel do dropdown que fica escondido */
    .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 150%; /* Distância do topo */
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        z-index: 1000;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.5);
        min-width: 200px;
        padding: 10px 0;
        transition: all 0.3s ease;
    }
    
    /* Mostra o menu quando o mouse passa por cima do item de navegação */
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        top: 100%;
        transform: translateX(-50%) translateY(0);
    }
    
    /* Gira a setinha para baixo */
    .nav-item.dropdown:hover .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    /* Estilo dos links dentro do dropdown */
    .dropdown-menu a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        margin: 0; /* Reseta a margem dos links de navegação normais */
        color: var(--text-muted);
        white-space: nowrap; /* Evita que o texto quebre linha */
    }
    
    .dropdown-menu a:hover {
        background-color: var(--primary-color);
        color: #fff;
    }
    
    
    
    
    
    
    
    /* PAINEL DE USUÁRIO */
    .dropdown-menu-panel {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 140%; /* Distância do topo */
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        z-index: 1000;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.5);
        min-width: 200px;
        padding: 10px 0;
        transition: all 0.3s ease;
    }
    
    /* Mostra o menu quando o mouse passa por cima do item de navegação */
    .nav-item.dropdown:hover .dropdown-menu-panel {
        opacity: 1;
        visibility: visible;
        top: 100%;
        transform: translateX(-50%) translateY(0);
    }
    
    /* Estilo dos links dentro do dropdown */
    .dropdown-menu-panel a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        margin: 0; /* Reseta a margem dos links de navegação normais */
        color: var(--text-muted);
        white-space: nowrap; /* Evita que o texto quebre linha */
    }
    
    .dropdown-menu-panel a:hover {
        background-color: var(--primary-color);
        color: #fff;
    }
    
    
    
    
    
    
    
    /* --- ESTILOS PARA O TÍTULO DA SEÇÃO COM BOTÃO --- */
    
    .section-title-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 50px; /* Mantém o espaçamento original */
    }
    
    .section-title-wrapper .section-title {
        margin-bottom: 0; /* Remove a margem do título para alinhá-lo */
        text-align: center; /* Alinha o texto do título à esquerda */
        flex-grow: 1; /* Faz o título ocupar o espaço disponível */
    }
    
    .view-all-button {
        background: #000;
        color: #fff;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 700;
        transition: background 0.3s;
        white-space: nowrap; /* Impede que o texto do botão quebre */
    }
    
    .view-all-button:hover {
        background: var(--primary-hover);
    }
    
    /* --- ESTILOS PARA STATUS NA SEÇÃO HERO --- */
    
    .hero-status-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 40px; /* Espaçamento abaixo do botão principal */
    }
    
    .hero-status-item {
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 15px 30px;
        text-align: center;
        min-width: 220px;
    }
    
    .hero-status-item span {
        display: block;
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 5px;
        text-transform: uppercase;
        font-weight: 700;
    }
    
    .hero-status-item strong {
        display: block;
        font-family: var(--font-display);
        font-size: 2rem;
        letter-spacing: 2px;
        color: #fff;
    }
    
    /* Cores específicas para o status */
    .hero-status-item .status-online { color: #2ecc71; } /* Verde */
    .hero-status-item .status-offline { color: #e74c3c; } /* Vermelho */
	.hero-status-item .player-count { color: #e67e22; } /* Laranja */    
    /* --- ESTILOS PARA A NOVA SEÇÃO DE INFORMAÇÕES DO SERVIDOR --- */
    
    #server-info {
        background-color: var(--card-bg); /* Um fundo sutil para destacar a seção */
    }
    
    #server-info .section-subtitle {
        text-align: center;
        max-width: 700px;
        margin: -30px auto 50px auto;
        color: var(--text-muted);
        font-size: 1.1rem;
    }
    
    .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .info-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        background: var(--dark-bg);
        padding: 25px;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .info-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    }
    
    .info-icon {
        font-size: 2rem;
        color: var(--primary-color);
        padding-top: 5px; /* Alinha melhor com o texto */
    }
    
    .info-content h4 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin: 0 0 8px 0;
        color: var(--text-color);
    }
    
    .info-content p {
        margin: 0;
        color: var(--text-muted);
        line-height: 1.6;
    }
    
    /* --- MELHORIAS PARA A SEÇÃO DE NOTÍCIAS --- */
    
    .news-item {
        background: var(--dark-bg);
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        transition: box-shadow 0.3s;
    }
    .news-item:hover {
        /* Mantém o hover no card, mas com um efeito diferente */
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    .news-image-wrapper {
        position: relative;
        overflow: hidden; /* Essencial para o efeito de zoom */
        height: 200px;
    }
    
    .news-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease-out;
    }
    
    .news-item:hover .news-image-wrapper img {
        transform: scale(1.1); /* Efeito de zoom na imagem */
    }
    
    /* Overlay sutil sobre a imagem */
    .news-image-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
        opacity: 0.8;
        transition: opacity 0.3s;
    }
    
    .news-item:hover .news-image-wrapper::after {
        opacity: 1;
    }
    
    .news-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .news-content h3 a {
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .news-content h3 a:hover {
        color: var(--primary-color);
    }
    
    .news-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }
    
    .news-date {
        font-size: 0.8rem;
        color: var(--primary-color);
        font-weight: 700;
    }
    
    .news-read-more {
        color: var(--text-muted);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s;
        opacity: 0; /* Começa invisível */
        transform: translateX(-10px); /* Começa ligeiramente à esquerda */
    }
    
    .news-item:hover .news-read-more {
        opacity: 1; /* Aparece no hover */
        transform: translateX(0);
    }
    
    .news-read-more:hover {
        color: #fff;
        padding-right: 5px; /* Efeito sutil de empurrar para a direita */
    }
    
    /* --- ESTILOS PARA O MENU DE USUÁRIO LOGADO --- */
    
    .user-menu .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: rgba(255, 255, 255, 0.05);
        padding: 8px 15px;
        border-radius: 5px;
        transition: background-color 0.3s;
    }
    
    .user-menu .dropdown-toggle:hover {
        background-color: var(--primary-color);
    }
    
    .user-avatar {
        font-size: 1.4rem;
        color: var(--text-muted);
    }
    
    .user-menu .dropdown-toggle:hover .user-avatar {
        color: #fff;
    }
    
    /* Alinha o menu dropdown à direita */
    .user-menu .dropdown-menu {
        left: auto;
        right: 0;
        transform: translateX(0);
    }
    
    .dropdown-divider {
        height: 1px;
        background-color: var(--border-color);
        margin: 8px 0;
    }
    
    .logout-link {
        color: #e74c3c !important; /* Vermelho para destaque */
    }
    
    .logout-link:hover {
        color: #fff !important;
        background-color: #e74c3c !important;
    }
    
    .logout-link i {
        margin-left: 5px;
    }
    
    /* --- ESTILOS PARA O MENU DE USUÁRIO LOGADO --- */
    .user-menu .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: rgba(255, 255, 255, 0.05);
        padding: 8px 15px;
        border-radius: 5px;
        transition: background-color 0.3s;
    }
    .user-menu .dropdown-toggle:hover {
        background-color: var(--primary-color);
    }
    .user-avatar {
        font-size: 1.4rem;
    }
    .user-menu .dropdown-menu {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(-10px);
    }
    .user-menu:hover .dropdown-menu {
        transform: translateX(0) translateY(0);
    }
    .dropdown-divider {
        height: 1px;
        background-color: var(--border-color);
        margin: 8px 0;
    }
    .logout-link {
        color: #e74c3c !important; /* Vermelho para destaque */
    }
    .logout-link:hover {
        color: #fff !important;
        background-color: #e74c3c !important;
    }
    
    /* Estilo para o card criativo de "Ver Mais Informações" */
    .info-item-more {
        grid-column: 1 / -1; /* Faz o card ocupar a largura total do grid */
        text-align: center;
        border: 1px solid rgba(0, 170, 255, 0.1);
        background-color: rgba(0, 170, 255, 0.05);
        transition: all 0.3s ease-in-out;
        cursor: pointer;
    }
    
    .info-item-more:hover {
        transform: translateY(-5px);
        background-color: rgba(0, 170, 255, 0.1);
        box-shadow: 0 10px 25px rgba(0, 170, 255, 0.1);
    }
    
    .info-item-more .info-icon i {
        color: #00aaff;
    }
    
    .info-item-more h4 {
        color: #fff;
    }
    
    /* Estilo para o card criativo de "Ver Mais Informações" */
    .info-gallery-more {
        grid-column: 1 / -1; /* Faz o card ocupar a largura total do grid */
        text-align: center;
        border: 1px solid rgba(0, 170, 255, 0.1);
        background-color: rgba(0, 170, 255, 0.05);
        transition: all 0.3s ease-in-out;
        cursor: pointer;
    }
    
    .info-gallery-more:hover {
        transform: translateY(-5px);
        background-color: rgba(0, 170, 255, 0.1);
        box-shadow: 0 10px 25px rgba(0, 170, 255, 0.1);
    }
    
    .info-gallery-more .info-icon i {
        color: #00aaff;
    }
    
    .info-gallery-more h4 {
        color: #fff;
    }
    
    /* --- ESTILOS PARA PÁGINA DA GALERIA --- */
    
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .gallery-item {
        position: relative;
        cursor: pointer;
        overflow: hidden;
        border-radius: 8px;
        border: 2px solid var(--border-color);
        aspect-ratio: 16 / 9; /* Proporção de vídeo */
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .gallery-item:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0,0,0,0.5);
        border-color: var(--primary-color);
    }
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-item .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 4rem;
        color: #fff;
        background-color: rgba(255, 0, 0, 0.8);
        width: 80px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        pointer-events: none; /* Permite que o clique passe para o item pai */
        opacity: 0.8;
        transition: opacity 0.3s;
    }
    
    .gallery-item:hover .play-icon {
        opacity: 1;
    }
    
    
    /* --- ESTILOS PARA O LIGHTBOX (MODAL DA GALERIA) --- */
    
    .lightbox {
        display: none;
        position: fixed;
        z-index: 3000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        backdrop-filter: blur(5px);
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s;
    }
    
    .lightbox-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
        animation: slideIn 0.4s;
    }
    
    .lightbox-content img {
        max-width: 100%;
        max-height: 90vh; /* Limita a altura da imagem à altura da tela */
        display: block;
    }
    
    .lightbox-content iframe {
        width: 75vw;       /* Reduzido de 80 para 75 */
        height: 42.18vw;   /* Altura recalculada para manter proporção 16:9 */
        max-width: 1024px;   /* Reduzido de 1100px para um valor padrão */
        max-height: 576px;   /* Altura máxima recalculada */
        border: none;
    }
    
    .lightbox-close {
        position: absolute;
        top: 15px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.3s;
    }
    
    .lightbox-close:hover {
        color: #bbb;
    }
    
    /* --- ESTILOS PARA A PRÉ-VISUALIZAÇÃO DA GALERIA (VERSÃO CORRIGIDA) --- */
    
    #gallery-promo .section-subtitle {
        text-align: center;
        max-width: 700px;
        margin: -30px auto 50px auto;
        color: var(--text-muted);
        font-size: 1.1rem;
    }
    
    .gallery-preview-grid {
        display: grid;
        /* Define 4 colunas em telas grandes, 2 em médias, e 1 em pequenas */
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        margin-bottom: 50px;
    }
    
    @media (max-width: 992px) {
        .gallery-preview-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 576px) {
        .gallery-preview-grid {
            grid-template-columns: 1fr;
        }
    }
    
    
    .gallery-preview-item {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        border: 2px solid var(--border-color);
        aspect-ratio: 16 / 9; /* Proporção de vídeo, que se adapta à largura */
        cursor: pointer;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .gallery-preview-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.3);
        border-color: var(--primary-color);
    }
    
    .gallery-preview-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
        transition: transform 0.4s ease;
    }
    
    .gallery-preview-item:hover img {
        transform: scale(1.1);
    }
    
    .preview-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(155, 89, 182, 0.6);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3rem;
        color: #fff;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .gallery-preview-item:hover .preview-overlay {
        opacity: 1;
    }
    
    .gallery-promo-action {
        text-align: center;
    }
    
    /* --- ESTILOS PARA NAVEGAÇÃO DO LIGHTBOX --- */
    
    /* Wrapper para centralizar o conteúdo, se necessário */
    .lightbox-content-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    
    /* Botões de navegação (setas) */
    .lightbox-prev,
    .lightbox-next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        padding: 16px;
        color: white;
        font-weight: bold;
        font-size: 2rem;
        transition: 0.3s ease;
        user-select: none; /* Impede que o texto da seta seja selecionado */
        background-color: rgba(0,0,0,0.3);
    }
    
    .lightbox-prev {
        left: 10px;
        border-radius: 0 5px 5px 0;
    }
    
    .lightbox-next {
        right: 10px;
        border-radius: 5px 0 0 5px;
    }
    
    .lightbox-prev:hover,
    .lightbox-next:hover {
        background-color: rgba(0,0,0,0.8);
    }
    
    /* --- AJUSTE NO CONTAINER DE STATUS PARA MÚLTIPLAS LINHAS --- */
    .hero-status-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 40px;
        flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha */
    }
    
    /* --- ESTILOS PARA OS NOVOS CONTADORES DE ESTATÍSTICAS --- */
    .hero-status-item .stats-count {
        font-family: var(--font-display);
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .stats-count.accounts-count { color: #f1c40f; } /* Amarelo */
    .stats-count.chars-count { color: #3498db; }    /* Azul */
    .stats-count.clans-count { color: #e67e22; }     /* Laranja */
    
    .smoke {z-index: 1; position: absolute; left: 0; right: 0; top: 280px; height: 484px; width: 100%; background-image: url(../assets/images/smoke.png); background-position: left top; background-repeat: repeat-x; -webkit-animation: smoke 60s linear infinite; animation: smoke 60s linear infinite; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; }
    
    @-webkit-keyframes smoke { 0% { background-position: left -1920px top; }
      100% { background-position: left 1920px top; } }
    
    @keyframes smoke { 0% { background-position: left -1920px top; }
      100% { background-position: left 1920px top; } }
      
    /*********animation**********/
    .sparks {
      position: absolute;
      width: 100%;
      max-width: 1200px;
      left: 70%;
      bottom: 40%;
      transform: translateX(-50%);
      z-index: 1;
      pointer-events: none; /* opcional, se for decorativo */
    }
    .sparks > div { position: absolute; }
    .sparks .spark_1 { background: url(../assets/images/spark_1.png) no-repeat; width: 764px; height: 313px; right: 0; bottom: -320px; -webkit-transform: scale(0.6); transform: scale(0.6); -webkit-animation: spark-1 4s linear infinite; animation: spark-1 4s linear infinite; -webkit-animation-delay: 1s; animation-delay: 1s; }
    .sparks .spark_2 { background: url(../assets/images/spark_2.png) no-repeat; width: 179px; height: 335px; right: 230px; bottom: -320px; -webkit-transform: scale(0.6); transform: scale(0.6); -webkit-animation: spark-1 4s linear infinite; animation: spark-1 4s linear infinite; -webkit-animation-delay: 2s; animation-delay: 2s; }
    .sparks .spark_3 { background: url(../assets/images/spark_3.png) no-repeat; width: 128px; height: 165px; right: 280px; bottom: -140px; -webkit-transform: scale(0.6); transform: scale(0.6); -webkit-animation: spark-3 4s linear infinite; animation: spark-3 4s linear infinite; -webkit-animation-delay: 2s; animation-delay: 2s; }
    .sparks .spark-big { background: url(../assets/images/spark_4.png) no-repeat; width: 794px; height: 176px; right: 0; bottom: -180px; -webkit-transform: scale(0.6); transform: scale(0.6); -webkit-animation: spark-5 4s linear infinite; animation: spark-5 4s linear infinite; }
    .sparks .spark_5 { -webkit-animation-delay: 2s; animation-delay: 2s; right: 40px; }
    
    .sparks_2 .spark_1 { background: url(../assets/images/spark_1.png) no-repeat; -webkit-animation-delay: 2s; animation-delay: 2s; }
    .sparks_2 .spark_2 { background: url(../assets/images/spark_2.png) no-repeat; -webkit-animation-delay: 3s; animation-delay: 3s; }
    .sparks_2 .spark_3 { background: url(../assets/images/spark_3.png) no-repeat; -webkit-animation-delay: 3s; animation-delay: 3s; }
    .sparks_2 .spark-big { background: url(../assets/images/spark_4.png) no-repeat; }
    .sparks_2 .spark_5 { -webkit-animation-delay: 3s; animation-delay: 3s; }
    
    .sparks_2 { margin-left: -500px;}
    
    @-webkit-keyframes spark-1 { 0% { bottom: -320px; -webkit-transform: scale(0.6); transform: scale(0.6); opacity: 0; }
      25% { bottom: -240px; -webkit-transform: scale(0.7); transform: scale(0.7); opacity: 1; }
      50% { bottom: -160px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 1; }
      75% { bottom: -80px; -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 0.5; }
      100% { bottom: 0px; -webkit-transform: scale(1); transform: scale(1); opacity: 0; } }
    
    @keyframes spark-1 { 0% { bottom: -320px; -webkit-transform: scale(0.6); transform: scale(0.6); opacity: 0; }
      25% { bottom: -240px; -webkit-transform: scale(0.7); transform: scale(0.7); opacity: 1; }
      50% { bottom: -160px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 1; }
      75% { bottom: -80px; -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 0.5; }
      100% { bottom: 0px; -webkit-transform: scale(1); transform: scale(1); opacity: 0; } }
    @-webkit-keyframes spark-3 { 0% { bottom: -140px; -webkit-transform: scale(0.6); transform: scale(0.6); opacity: 0; }
      25% { bottom: -80px; -webkit-transform: scale(0.7); transform: scale(0.7); opacity: 1; }
      50% { bottom: -20px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 1; }
      75% { bottom: 40px; -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 0.5; }
      100% { bottom: 100px; -webkit-transform: scale(1); transform: scale(1); opacity: 0; } }
    @keyframes spark-3 { 0% { bottom: -140px; -webkit-transform: scale(0.6); transform: scale(0.6); opacity: 0; }
      25% { bottom: -80px; -webkit-transform: scale(0.7); transform: scale(0.7); opacity: 1; }
      50% { bottom: -20px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 1; }
      75% { bottom: 40px; -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 0.5; }
      100% { bottom: 100px; -webkit-transform: scale(1); transform: scale(1); opacity: 0; } }
    @-webkit-keyframes spark-5 { 0% { bottom: -180px; -webkit-transform: scale(0.6); transform: scale(0.6); opacity: 0; }
      25% { bottom: -120px; -webkit-transform: scale(0.7); transform: scale(0.7); opacity: 1; }
      50% { bottom: -60px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 1; }
      75% { bottom: 0px; -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 0.5; }
      100% { bottom: 60px; -webkit-transform: scale(1); transform: scale(1); opacity: 0; } }
    @keyframes spark-5 { 0% { bottom: -180px; -webkit-transform: scale(0.6); transform: scale(0.6); opacity: 0; }
      25% { bottom: -120px; -webkit-transform: scale(0.7); transform: scale(0.7); opacity: 1; }
      50% { bottom: -60px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 1; }
      75% { bottom: 0px; -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 0.5; }
      100% { bottom: 60px; -webkit-transform: scale(1); transform: scale(1); opacity: 0; } }
      
      /* --- NOVO RODAPÉ PROFISSIONAL --- */
    
    .main-footer {
        background-color: var(--card-bg);
        padding: 60px 0 0 0;
        border-top: 1px solid var(--border-color);
        font-size: 0.9rem;
    }
    
    .footer-grid {
        display: grid;
        /* Cria 3 colunas em telas grandes, e se ajusta para menos em telas menores */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 40px;
        padding-bottom: 40px;
    }
    
    .footer-col h4 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
        color: var(--text-color);
    }
    
    /* Coluna "Sobre" */
    .about-col .logo {
        display: inline-block;
        margin-bottom: 15px;
        font-size: 1.5rem;
    }
    
    .footer-about-text {
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .about-col .social-links a {
        font-size: 1.4rem;
        margin-right: 15px;
        margin-left: 0;
    }
    
    /* Colunas de Links */
    .links-col ul {
        list-style: none;
        padding: 0;
    }
    
    .links-col ul li {
        margin-bottom: 12px;
    }
    
    .links-col ul a {
        text-decoration: none;
        color: var(--text-muted);
        transition: all 0.2s ease-in-out;
    }
    
    .links-col ul a:hover {
        color: var(--primary-color);
        padding-left: 5px;
    }
    
    /* Barra Inferior do Rodapé */
    .footer-bottom {
        background-color: #000;
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid var(--border-color);
    }
    
    .footer-bottom p {
        color: var(--text-muted);
        font-size: 0.8rem;
        margin: 0;
    }
    
    /* Estilo para mensagem de ranking vazio */
    .ranking-empty-message {
        padding: 30px 20px;
        text-align: center;
        color: var(--text-muted);
        font-style: italic;
    }
    
    /* --- SEÇÃO DE RANKINGS (HOMEPAGE) --- */
    
    #top-rankings {
        background-color: var(--dark-bg);
    }
    
    .ranking-tabs-container {
        max-width: 800px;
        margin: 0 auto;
        background: var(--card-bg);
        border-radius: 8px;
        border: 1px solid var(--border-color);
        overflow: hidden;
    }
    
    .ranking-tabs {
        display: flex;
        background-color: rgba(0,0,0,0.2);
    }
    
    .ranking-tab-button {
        flex: 1;
        padding: 15px 10px;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-muted);
        background: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .ranking-tab-button:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: #fff;
    }
    
    .ranking-tab-button.active {
        color: #fff;
        border-bottom-color: var(--primary-color);
    }
    
    .ranking-tab-button i {
        margin-right: 8px;
    }
    
    .ranking-panels {
        padding: 20px;
    }
    
    .ranking-panel {
        display: none; /* Esconde todos os painéis por padrão */
        animation: fadeIn 0.5s;
    }
    
    .ranking-panel.active {
        display: block; /* Mostra apenas o painel ativo */
    }
    
    .ranking-list {
        list-style: none;
        padding: 0;
        counter-reset: ranking-counter; /* Inicia o contador para a lista ordenada */
    }
    
    .ranking-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 10px;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }
    
    .ranking-list li:last-child {
        border-bottom: none;
    }
    
    /* Adiciona o número da posição (1., 2., 3.) */
    .ranking-list li::before {
        counter-increment: ranking-counter;
        content: counter(ranking-counter) ".";
        font-weight: 700;
        color: var(--text-muted);
        margin-right: 15px;
    }
    
    .player-name {
        font-weight: 700;
        color: var(--text-color);
    }
    
    .player-score {
        font-weight: 700;
        font-size: 1rem;
    }
    
    .pvp-score { color: #2ecc71; }
    .pk-score { color: #e74c3c; }
    .clan-score { color: #3498db; }
    
    .ranking-promo-action {
        text-align: center;
        margin-top: 40px;
    }
    
    /* --- SEÇÃO MURAL DE RECADOS (CSS CORRIGIDO E FINAL) --- */
    
    #bulletin-board {
        background-color: var(--card-bg);
        padding: 60px 0;
    }
    
    .mural-grid {
        display: grid;
        /* Cria de 1 a 4 colunas dependendo do tamanho da tela */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .mural-empty-message {
        padding: 40px;
        text-align: center;
        color: var(--text-muted);
        font-style: italic;
        background: var(--dark-bg);
        border-radius: 8px;
        grid-column: 1 / -1;
    }
    
    .mural-card {
        background: var(--dark-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .mural-card-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .mural-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid var(--primary-color);
        flex-shrink: 0;
    }
    
    .mural-char-info {
        line-height: 1.3;
    }
    
    .mural-char-name {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-color);
        display: block;
    }
    
    .mural-char-class {
        font-size: 0.9rem;
        color: var(--text-muted);
    }
    
    .mural-char-date {
        font-size: 0.9rem;
        color: var(--text-muted);
        display: block;
    }
    
    .mural-card-body {
        flex-grow: 1;
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
        word-wrap: break-word;
    }
    
    /* Footer do card corrigido */
    .mural-card-footer {
        display: flex;
        justify-content: space-between; /* Alinha os itens nas extremidades */
        align-items: center;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--text-muted);
        flex-wrap: wrap; /* Permite quebrar linha em telas pequenas */
        gap: 10px;
    }
    
    .mural-stats {
        display: flex;
        gap: 15px; /* Espaço entre "Clan" e "PvP" */
        flex-wrap: wrap;
    }
    
    .mural-date {
    	
        white-space: nowrap; /* Impede que a data quebre linha */
    }
    
    .mural-card-footer span {
        display: flex;
        align-items: center;
    }
    
    .mural-card-footer i {
        color: var(--primary-color);
        margin-right: 5px;
    }
    
    .mural-promo-action {
        text-align: center;
    }
    
    /* --- ESTILOS PARA O PAINEL DE MODERAÇÃO DO MURAL --- */
    .admin-mural-container { max-width: 900px; margin: 0 auto; }
    .mural-section { background: var(--card-bg); padding: 20px; border-radius: 8px; margin-bottom: 30px; }
    .mural-section h3 { font-family: var(--font-display); letter-spacing: 1px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
    .admin-message-list { list-style: none; padding: 0; }
    .admin-message-list li { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border-color); gap: 15px; }
    .admin-message-list li:last-child { border-bottom: none; }
    .message-content p { margin: 5px 0 0 0; color: var(--text-muted); }
    .message-actions { display: flex; gap: 10px; flex-shrink: 0; }
    .message-actions button { border: none; padding: 8px 12px; border-radius: 5px; cursor: pointer; font-weight: 700; }
    .message-actions .approve-btn { background-color: #27ae60; color: #fff; }
    .message-actions .delete-btn { background-color: #c0392b; color: #fff; }
    
    .cta-button.disabled {
        background: #4a4a4a;
        color: #888;
        cursor: pointer; /* Alterado de 'not-allowed' para 'pointer' */
        box-shadow: none;
    }
    .cta-button.disabled:hover {
        background: #5a5a5a; /* Adiciona um leve efeito de hover */
        transform: none;
    }
    /* Ícones sociais na navegação principal */
    .nav-social-icons {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-left: 20px; /* Espaçamento dos outros links */
    }
    
    .nav-social-icons a {
        font-size: 1.4rem;
        color: var(--text-muted);
        transition: all 0.3s;
    }
    
    .nav-social-icons a:hover {
        color: #fff;
        transform: translateY(-2px);
    }
    
    /* Seção de Chamada para a Comunidade */
    #community-callout {
        background-color: var(--card-bg);
        text-align: center;
    }
    
    #community-callout h2 {
        font-family: var(--font-display);
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    #community-callout p {
        max-width: 600px;
        margin: 0 auto 30px auto;
        color: var(--text-muted);
    }
    
    .community-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .community-buttons .cta-button {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    /* Espaçamento para o Flag Counter no rodapé */
    .flag-counter {
        margin-top: 20px;
    }
    
    /* --- ESTILOS PARA A PÁGINA DE CASTLE & SIEGE --- */
    
    .siege-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        /* Cria de 1 a 2 colunas dependendo do tamanho da tela */
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 30px;
    }
    
    .castled {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .castled .ct {
        font-family: var(--font-display);
        font-size: 1.8rem;
        letter-spacing: 1px;
        padding: 15px 20px;
        background-color: rgba(0,0,0,0.2);
        border-bottom: 1px solid var(--border-color);
    }
    
    .castled > div:nth-of-type(1) {
        display: flex;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .imgc {
        width: 120px;
        height: 120px;
        border-radius: 8px;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
        border: 1px solid var(--border-color);
    }
    
    /* Imagens de fundo para cada castelo (adicione as imagens na sua pasta de imagens) */
    .imgc.aden { background-image: url('../imgs/castles/aden.jpg'); }
    .imgc.giran { background-image: url('../imgs/castles/giran.jpg'); }
    .imgc.dion { background-image: url('../imgs/castles/dion.jpg'); }
    .imgc.gludio { background-image: url('../imgs/castles/gludio.jpg'); }
    .imgc.goddard { background-image: url('../imgs/castles/goddard.jpg'); }
    .imgc.innadril { background-image: url('../imgs/castles/innadril.jpg'); }
    .imgc.oren { background-image: url('../imgs/castles/oren.jpg'); }
    .imgc.rune { background-image: url('../imgs/castles/rune.jpg'); }
    .imgc.schuttgart { background-image: url('../imgs/castles/schuttgart.jpg'); }
    
    
    .ci {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px 15px;
        align-content: center;
    }
    
    .ci .co {
        font-weight: 700;
        color: var(--text-muted);
        text-align: right;
    }
    
    .ci .cc {
        font-weight: 700;
        color: var(--text-color);
    }
    
    .nwar {
        padding: 20px;
        background-color: rgba(0,0,0,0.15);
        font-size: 0.9rem;
    }
    
    .nwar div {
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .nwar div:last-child {
        margin-bottom: 0;
    }
    
    .nwar b {
        color: var(--primary-color);
    }
    
    /* Pequeno ajuste para a página de Siege */
    .castle-main-info {
        display: flex;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* --- SEÇÃO DE STREAM AO VIVO EM DESTAQUE --- */
    #live-feature {
        background: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
        padding: 80px 0;
    }
    #live-feature .section-subtitle {
        text-align: center;
        max-width: 700px;
        margin: -30px auto 50px auto;
        color: var(--text-muted);
        font-size: 1.1rem;
    }
    .live-streamer-selector {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .streamer-tab {
        display: flex;
        align-items: center;
        gap: 10px;
        background: var(--dark-bg);
        padding: 8px 15px;
        border-radius: 8px;
        border: 2px solid var(--border-color);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .streamer-tab:hover {
        border-color: var(--primary-hover);
        background-color: var(--card-bg);
    }
    .streamer-tab.active {
        border-color: var(--primary-color);
        background-color: var(--card-bg);
        box-shadow: 0 0 15px rgba(155, 89, 182, 0.3);
        color: #fff;
    }
    .streamer-tab img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
    }
    .streamer-tab span {
        font-weight: 700;
    }
    .live-feature-grid {
        display: grid;
        grid-template-columns: 3fr 1fr;
        gap: 20px;
        height: 70vh;
        max-height: 600px;
    }
    .live-video-embed iframe,
    .live-chat-embed iframe {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }
    
    /* =================================================================== */
    /* BLOCO RESPONSIVO FINAL - SUBSTITUA OS BLOCOS ANTIGOS POR ESTE         */
    /* =================================================================== */
    
    @media (max-width: 992px) {
        .live-feature-grid { grid-template-columns: 1fr; height: auto; }
        .live-video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
        .live-video-embed iframe { position: absolute; top: 0; left: 0; }
        .live-chat-embed { height: 500px; }
        .gallery-preview-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
/* SUBSTITUA TODO O SEU BLOCO @media (max-width: 768px) POR ESTE BLOCO ABAIXO */

@media (max-width: 768px) {

    .smoke, .sparks {
        display: none;
    }

    .rampage {
        width: 90%;
        max-width: 550px;
        height: 220px;
        background-size: contain;
        background-repeat: no-repeat;
    }	
    
    section { /* Corrigido de #section para section */
        padding: 40px 0; /* Aumenta um pouco o respiro */
    }
    
    #features {
        min-height: auto; /* Remove a altura mínima exagerada */
    }
    
    #countdown-section {
        min-height: auto;
    }
    
    #countdown-section .inauguration-date {
        padding-bottom: 50px;
    }
    
    .hero-content {
        padding-top: 80px;
    }
    
    .hero-content p {
        font-size: 3.5rem;
        line-height: 1;
    }

    .hero-content p span {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }
    
    .main-nav .menu-container {
        flex-direction: column;
        position: absolute;
        top: 60px; /* Posição ajustada para o novo header */
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.98);
        border-top: 1px solid #2c2c2c;

        /* Propriedades para a animação de deslize */
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
    }
    
    .main-nav .menu-container.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav .menu-container > a,
    .main-nav .dropdown > .dropdown-toggle {
        padding: 15px 30px;
        margin: 0;
        text-align: left;
        border-bottom: 1px solid #2c2c2c;
        transition: background-color 0.2s ease-in-out;
    }

    .main-nav .menu-container > a:hover {
        background-color: var(--primary-color);
        color: var(--dark-bg);
    }
    
    .main-nav .dropdown-menu,
    .main-nav .dropdown-menu-panel {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
    }

    .main-nav .dropdown:hover .dropdown-menu,
    .main-nav .dropdown:hover .dropdown-menu-panel {
        display: none;
    }
    
    .user-menu .dropdown-toggle,
    .user-menu .dropdown-toggle:hover {
        background-color: transparent;
    }

    .hero-status-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-status-item {
        width: 100%;
        max-width: 350px;
    }
    
    .nomobile {
        display: none;
    }
    
    .hero-status-item strong {
        font-size: 2rem;
    }

    .info-grid, .mural-grid {
        grid-template-columns: 1fr;
    }

    .nav-social-icons {
        display: none;
    }
    
    .live-feature-grid { grid-template-columns: 1fr; height: auto; }
    .live-video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
    .live-video-embed iframe { position: absolute; top: 0; left: 0; }
    .live-chat-embed { height: 500px; }
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- ESTILOS DO MENU MOBILE - VERSÃO CORRIGIDA --- */

/* Por padrão, o botão do menu (hambúrguer) é escondido em telas grandes */
.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Regras que só se aplicam em telas de até 768px de largura */
@media (max-width: 768px) {

    /* 1. Mostra o botão do menu (hambúrguer) */
    .menu-toggle {
        display: flex; /* Altera para flex para aparecer */
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
    }

    .bar {
        width: 100%;
        height: 3px;
        background-color: #ffffff; /* Cor das barrinhas */
        border-radius: 2px;
    }

    /* 2. Esconde o menu de navegação normal */
    .main-nav .menu-container {
        display: none; /* Esconde o menu por padrão */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Altura do seu header, ajuste se necessário */
        left: 0;
        background: #121212;
        border-top: 1px solid var(--border-color);
    }

    /* 3. A classe 'active' (adicionada via JS) torna o menu visível */
    .main-nav .menu-container.active {
        display: block; /* Mostra o menu quando clicado */
    }
    
    /* 4. Estilo dos links dentro do menu aberto */
    .main-nav .menu-container a {
        display: block;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav .dropdown-menu,
    .main-nav .dropdown-menu-panel {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: #202020;
    }
}

/* ==========================================================================
   ESTILOS PÁGINA DE DOWNLOAD
   ========================================================================== */

.download-section {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid var(--border-color);
}

.download-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: center;
    letter-spacing: 1px;
}

.download-section-description {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.download-grid {
    display: grid;
    gap: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    background-color: rgba(10, 10, 10, 0.4);
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid var(--border-color-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.download-item:hover {
    background-color: rgba(20, 20, 20, 0.6);
    border-color: var(--primary-color-dark);
}

.download-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.download-info {
    flex-grow: 1;
}

.download-info h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-light);
}

.download-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.download-item .cta-button {
    min-width: 140px;
    text-align: center;
}

.cta-button.disabled {
    background-color: #555;
    border-color: #444;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.instructions-container {
    background-color: rgba(10, 10, 10, 0.4);
    padding: 25px 30px;
    border-radius: 6px;
    border: 1px solid var(--border-color-light);
    margin-top: 20px;
}

.instructions-list {
    list-style-type: none;
    padding-left: 0;
    counter-reset: instructions-counter;
}

.instructions-list li {
    color: var(--text-normal);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 45px;
    position: relative;
    line-height: 1.6;
}

.instructions-list li::before {
    counter-increment: instructions-counter;
    content: counter(instructions-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.instructions-list li:last-child {
    margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        text-align: center;
    }

    .download-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .download-info {
        margin-bottom: 15px;
    }

    .instructions-list li {
        padding-left: 0;
        padding-top: 45px;
    }

    .instructions-list li::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Correção de alinhamento para subtítulos de seção */
.section-subtitle {
    text-align: center;
    max-width: 700px; /* Opcional: limita a largura para melhor leitura */
    margin-left: auto;
    margin-right: auto;
}
/* ==========================================================================
   EFEITO PARALLAX CORRIGIDO PARA A HOMEPAGE
   ========================================================================== */

/* 1. Aplica o fundo fixo APENAS na homepage, usando a classe que criamos. */
body.homepage {
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.85)), url('/assets/images/Dion.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

/* 2. Garante que a primeira seção (Hero) tenha um fundo sólido para cobrir a imagem no início. */
#hero {
    background-color: #111; /* Você pode usar a cor de fundo escura que preferir aqui */
}

/* 3. Força TODAS as seções seguintes a terem o fundo transparente, revelando a imagem. */
#server-info,
#top-rankings,
#bulletin-board,
#gallery-promo,
#community-callout {
    background: transparent;
}

/* NOVA CLASSE - Apenas para a galeria de skills */
.skills-grid {
    display: grid;
    /* Define exatamente 3 colunas de tamanho igual */
    grid-template-columns: repeat(3, 1fr); 
    /* Aumenta o espaçamento entre as imagens */
    gap: 15px; 
    margin-top: 15px;
    background-color: var(--bg-primary);
    padding: 15px;
    border-radius: 8px;
}

.skills-grid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    background: #000;
}


    @media (max-width: 576px) {
        .gallery-preview-grid {
            grid-template-columns: 1fr;
        }
    }
    