* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0b0b;
    color: #ffffff;
    min-height: 100vh;
}

/* --- NAVBAR --- */
.navbar {
    background-color: #0b0b0b;
    border-bottom: 1px solid #1a1a1a;
    padding: 1rem 2.5rem;
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    text-decoration: none;
    color: #b3b3b3;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links li a.active {
    background-color: #212121;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
}

.btn-login {
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    padding: 0.5rem 1.3rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-login:hover {
    background-color: #d1d1d1;
}

/* --- SEÇÃO PRINCIPAL (HERO) --- */
.hero-section {
    padding: 6rem 3rem 4rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-container {
    max-width: 1450px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-logo-box {
    width: 90px;
    height: 90px;
    background: #141414;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #2a2a2a;
    color: #fff;
    font-weight: bold;
}

.hero-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-right {
    display: flex;
    justify-content: center;
}

.carousel-frame {
    position: relative;
    width: 100%;
    max-width: 700px;
    border: 2px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.carousel-image-container {
    width: 100%;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.carousel-btn.prev {
    left: 18px;
}

.carousel-btn.next {
    right: 18px;
}

/* --- SEÇÃO DE DESTAQUES E PESQUISA MILITAR --- */
.search-highlight-section {
    padding: 0 3rem 4rem 3rem;
    display: flex;
    justify-content: center;
}

.sh-container {
    max-width: 1450px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 2rem;
}

.sh-card {
    background-color: #141414;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.sh-badge {
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.sh-badge.green {
    background-color: #28a745;
}

.sh-badge.blue {
    background-color: #007bff;
}

.sh-avatar {
    margin: 1rem 0;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sh-avatar img {
    image-rendering: pixelated;
}

.sh-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.sh-info p {
    font-size: 0.9rem;
    color: #888888;
}

.search-card {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
}

.search-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.search-card p {
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 1.5rem;
}

.search-form {
    width: 100%;
}

.search-form input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-form input::placeholder {
    color: #666666;
}

.search-form input:focus {
    border-color: #d4af37;
}

/* --- SEÇÃO DE NOTÍCIAS, PROMOVIDOS E EVENTOS --- */
.news-events-section {
    padding: 0 3rem 6rem 3rem;
    display: flex;
    justify-content: center;
}

.ne-container {
    max-width: 1450px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ne-card {
    background-color: #141414;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.ne-header {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.ne-header.news-color {
    color: #ff9800;
}

.ne-header.gold-color {
    color: #ffc107;
}

.ne-header.event-color {
    color: #3b82f6;
}

.ne-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ne-item {
    background-color: #1a1a1a;
    border: 1px solid #262626;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    transition: border-color 0.2s;
}

.ne-item:hover {
    border-color: #333;
}

.ne-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.ne-item-top strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.ne-date {
    font-size: 0.8rem;
    color: #888888;
}

.ne-item p {
    font-size: 0.85rem;
    color: #888888;
}

.promo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
}

.promo-avatar {
    width: 36px;
    height: 36px;
    background: #111;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.promo-avatar img {
    image-rendering: pixelated;
    max-width: 140%;
}

.promo-details {
    flex: 1;
}

.promo-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
}

.promo-top strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.promo-rank {
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 600;
}

.promo-details p {
    font-size: 0.8rem;
    color: #888888;
}

/* --- ESTILOS DA TELA DE LOGIN --- */
.login-body {
    background-color: #0b0b0b;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background-color: #141414;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.login-card h2 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: #b3b3b3;
    margin-bottom: 0.4rem;
}

.input-group input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input::placeholder {
    color: #666666;
}

.input-group input:focus {
    border-color: #f59e0b;
}

.btn-entrar {
    width: 100%;
    background-color: #f59e0b;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.btn-entrar:hover {
    background-color: #d9820b;
}

.login-footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

.login-footer-links a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.2s;
}

.login-footer-links a:last-child {
    color: #888888;
}

.login-footer-links a:hover {
    color: #ffffff;
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-left {
        flex-direction: column;
        justify-content: center;
    }
    .sh-container, .ne-container {
        grid-template-columns: 1fr;
    }
    .search-card {
        text-align: center;
        align-items: center;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.4rem;
    }
}

/* --- LAYOUT DO PAINEL (DASHBOARD) --- */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background-color: #0b0b0b;
}

/* Sidebar Esquerda */
.dashboard-sidebar {
    width: 280px;
    background-color: #121212;
    border-right: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1.5rem;
}

.sidebar-profile {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1f1f1f;
}

.sidebar-avatar {
    width: 70px;
    height: 70px;
    background: #181818;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #2a2a2a;
}

.sidebar-avatar img {
    image-rendering: pixelated;
    max-width: 150%;
}

.sidebar-profile h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.sidebar-profile .rank {
    font-size: 0.85rem;
    color: #38bdf8;
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
}

.sidebar-profile .coins {
    font-size: 0.85rem;
    color: #f59e0b;
    font-weight: 600;
}

/* Menu da Sidebar */
.sidebar-menu {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.sidebar-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: #a3a3a3;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background-color: #1a1a1a;
    color: #ffffff;
}

.sidebar-menu a.active {
    color: #f59e0b;
    font-weight: 600;
}

/* Botão Sair da Conta */
.btn-logout-sidebar {
    background-color: #dc2626;
    color: #ffffff;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s;
    display: block;
}

.btn-logout-sidebar:hover {
    background-color: #b91c1c;
}

/* Conteúdo Principal do Painel */
.dashboard-main {
    flex-grow: 1;
    padding: 3rem;
    overflow-y: auto;
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.dashboard-header p {
    color: #888888;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

/* Grid de Cards do Painel */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dashboard-card {
    background-color: #141414;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.dashboard-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Estatística Interna */
.stat-box {
    background-color: #0f0f0f;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.stat-box span {
    font-size: 0.9rem;
    color: #a3a3a3;
    font-weight: 600;
}

.stat-box h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #22c55e;
    margin-top: 0.5rem;
}

/* Formulário de Senha no Painel */
.dash-form .input-group {
    margin-bottom: 1.2rem;
}

.dash-form label {
    display: block;
    font-size: 0.85rem;
    color: #a3a3a3;
    margin-bottom: 0.4rem;
}

.dash-form input {
    width: 100%;
    background-color: #0f0f0f;
    border: 1px solid #222222;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.dash-form input:focus {
    border-color: #f59e0b;
}

.dash-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-update-pass {
    width: 100%;
    background-color: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.btn-update-pass:hover {
    background-color: #b91c1c;
}

/* Responsivo para telas menores */
@media (max-width: 1024px) {
    .dashboard-layout {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.hero-logo-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}