:root {
    /* === PALETA MEDIEVAL CLÁSSICA (Yurotes) === */

    /* Fundos dos painéis - bege/creme medieval (como points.php) */
    --color-dark: #f1e0c6;
    --color-darker: #e8d4b0;
    --color-darkest: #f1e0c6;
    --color-dark-accent: #5a2800;

    /* Cores de texto - escuro medieval */
    --color-text: #3d1c00;
    --color-text-light: #ffffff;
    --color-text-muted: #7a5030;

    /* Destaque dourado medieval (de points.php) */
    --color-primary: #b18a4a;
    --color-primary-light: #d4a85a;
    --color-primary-lighter: #f0c060;
    --color-primary-dark: #8a6535;

    /* Cores de status */
    --color-success: #4CAF50;
    --color-success-dark: #2E7D32;
    --color-success-light: #66BB6A;
    --color-danger: #f44336;
    --color-danger-dark: #c62828;
    --color-danger-light: #ef5350;
    --color-info: #2f568a;
    --color-info-dark: #1c3352;
    --color-info-light: #4a86b9;
    --color-warning: #f39c12;

    /* Cores de fundo semitransparentes */
    --bg-dark: rgba(90, 40, 0, 0.08);
    --bg-darker: rgba(90, 40, 0, 0.15);
    --bg-primary: rgba(177, 138, 74, 0.20);
    --bg-primary-light: rgba(177, 138, 74, 0.35);

    /* Gradiente de header medieval (azul de points.php) */
    --header-gradient: linear-gradient(to bottom, #4a86b9 0%, #2f568a 100%);
    --header-border: #1c3352;
}

/* ===== CORREÇÕES DE LAYOUT ===== */
* {
    box-sizing: border-box;
}

html {
    background-color: #0c1d33; /* Fundo base escuro */
    margin: 0;
    padding: 0;
    height: 100%;
}

html, body {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    background-image: url('../images/bg_warfare_final.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}

.wrapper {
    width: 100%;
    max-width: 1286px;
    margin: 0 auto;
    padding: 0 15px;
    flex: 1; /* Empurra o footer para baixo */
}

/* Correções específicas para elementos problemáticos */
.header-banner {
    min-height: 400px; /* Ajustado de 3000px */
}

.main-logo {
    max-height: 200px; /* Ajustado de 1500px */
}

/* Normalização Global para Subpáginas (Resets RubinOT) */
#page_content table {
    width: 100% !important;
    background: rgba(0,0,0,0.03);
    border-collapse: separate;
    border-spacing: 1px;
    border-radius: 4px;
    margin: 15px 0;
    overflow: hidden;
    border: 1px solid rgba(177, 138, 74, 0.2);
}

#page_content tr:first-child td, 
#page_content .table-header,
#page_content th {
    background: linear-gradient(to bottom, #1d4d8c, #0a2444) !important;
    color: #e0cea3 !important;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
    text-align: center;
    border: 1px solid rgba(177, 138, 74, 0.3) !important;
}

#page_content td {
    padding: 8px 12px;
    color: #5a2800;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(177, 138, 74, 0.1);
}

#page_content .input, 
#page_content input[type="text"], 
#page_content input[type="password"],
#page_content select,
#page_content textarea {
    background: #fff;
    border: 1px solid #b18a4a !important;
    padding: 8px 12px;
    border-radius: 4px;
    color: #3d1c00;
    font-family: inherit;
}

/* Botões de formulário padrão */
#page_content input[type="submit"],
#page_content button {
    background: linear-gradient(to bottom, #4CAF50, #2E7D32);
    color: white;
    border: 1px solid #b18a4a;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

#page_content input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .wrapper {
        padding: 0 10px;
    }
    
    .header-top {
        flex-wrap: wrap;
    }
}

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
}


a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-primary-light);
    text-decoration: none;
}

.wrapper {
    max-width: 1286px;
    margin: 0 auto;
    /* Fundo transparente para mostrar o background da imagem */
    background: transparent;
}

/* HEADER LOGO CONTAINER */
.main-header {
    background: transparent;
    /* Removido borda, pois será apenas o container da logo */
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: #f1e0c6;
}

.server-status-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(90, 40, 0, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #5a2800;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: var(--color-success);
    box-shadow: 0 0 10px var(--color-success);
}

.players-count {
    font-weight: bold;
    color: #5a2800;
    font-size: 15px;
}

.header-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: #5a2800;
    font-size: 20px;
    transition: all 0.3s;
    background: rgba(90, 40, 0, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #5a2800;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.2);
    background: #5a2800;
}

.donate-button {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
    color: var(--color-dark);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--color-primary-lighter);
}

.donate-button:hover {
    background: linear-gradient(to bottom, var(--color-primary-lighter), var(--color-primary));
    box-shadow: 0 0 15px rgba(194, 170, 91, 0.5);
}

.logo-container {
    text-align: center;
    padding: 20px 0;
}

.main-logo {
    max-height: 1500px;
    transition: transform 0.3s;
}

.main-logo:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 20px 15px;
}

.nav-link {
    color: var(--color-primary);
    text-decoration: none;
    padding: 12px 20px;
    margin: 0 5px;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-dark);
    border: 1px solid var(--color-dark-accent);
}

.nav-link:hover {
    background: var(--bg-primary);
    color: var(--color-primary-lighter);
    border-color: var(--color-primary);
}

/* CONTEÚDO PRINCIPAL */
.content-wrapper {
    display: flex;
    padding: 10px; /* Reduzido de 20px */
    gap: 10px; /* Reduzido de 20px */
}

.menu {
    width: 200px; /* Reduzido de 220px para dar mais espaço ao centro */
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0; /* Garante que as sidebars não espremam */
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; 
    overflow-x: auto; /* Permite rolagem se o conteúdo central for muito largo */
}

.content-pattern {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding-bottom: 20px;
    padding-top: 0 !important;
    margin-top: -15px !important;
    position: relative;
}

/* Ajuste específico para a moldura das subpáginas */
.subpage-frame {
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.subpage-frame .elite-frame-content {
    padding: 15px !important;
}

.subpage-frame .elite-frame-title {
    font-size: 14px;
    letter-spacing: 1px;
}

/* MENU BOXES */
.menu-box {
    background: var(--color-darkest);
    border: 2px solid #5a2800;
    border-radius: 3px;
    overflow: visible;
    position: relative;
    margin-bottom: 8px !important; /* Espaçamento reduzido conforme solicitado */
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.menu-box::before, .menu-box::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    z-index: 5;
}

.menu-box::before {
    top: -2px;
    left: -2px;
    border-top: 3px solid var(--color-primary);
    border-left: 3px solid var(--color-primary);
}

.menu-box::after {
    bottom: -2px;
    right: -2px;
    border-bottom: 3px solid var(--color-primary);
    border-right: 3px solid var(--color-primary);
}

.menu-box-header {
    background: linear-gradient(to bottom, #1d3f66, #0d2139);
    padding: 6px 12px; /* Diminuído de 8px para 6px */
    text-align: center;
    position: relative;
    cursor: pointer;
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* FORMATO HEXAGONAL (Lados cortados) */
    clip-path: polygon(
        8px 0%, 
        calc(100% - 8px) 0%, 
        100% 8px, 
        100% calc(100% - 8px), 
        calc(100% - 8px) 100%, 
        8px 100%, 
        0% calc(100% - 8px), 
        0% 8px
    );
    border: 1px solid #c9a86a; /* Fallback */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.menu-box-header.no-toggle {
    cursor: default; /* Remove o cursor de clique para menus fixos */
}

/* FORÇA ABERTURA DOS MENUS FIXOS (ENTRAR, BOOSTED, CLIENT, SHOP) */
.menu-box-header.no-toggle + .menu-box-content,
.menu-box-header.no-toggle + .menu-box-right-content {
    display: block !important;
}

/* Bordas Douradas Falsas (necessário pois clip-path corta bordas reais) */
.menu-box-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1.5px solid #c9a86a;
    pointer-events: none;
    clip-path: inherit;
    z-index: 2;
}

/* ORNAMENTO CENTRAL (TOPO) */
.menu-box-header::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 12px;
    background: url('data:image/svg+xml;utf8,<svg width="60" height="12" viewBox="0 0 60 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0L30 10L60 0V2L30 12L0 2V0Z" fill="%23c9a86a"/></svg>');
    background-repeat: no-repeat;
    z-index: 3;
}

/* ORNAMENTO CENTRAL (BASE - Criado com um span interno se necessário, ou duplicamos aqui) */
.menu-box-header-ornament-bottom {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 60px;
    height: 12px;
    background: url('data:image/svg+xml;utf8,<svg width="60" height="12" viewBox="0 0 60 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0L30 10L60 0V2L30 12L0 2V0Z" fill="%23c9a86a"/></svg>');
    background-repeat: no-repeat;
    z-index: 3;
}

.menu-box-header:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.menu-box-header h3 {
    color: #e0e0e0;
    font-family: 'MedievalSharp', cursive;
    font-size: 15px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px #000;
    flex-grow: 1;
    margin: 0;
    letter-spacing: 1px;
}

.menu-box-header .fa-chevron-down {
    color: #c9a86a;
    font-size: 10px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* Rotacionar seta quando aberto (será adicionado via JS se necessário, ou CSS simples) */
.menu-box-header.active .fa-chevron-down {
    transform: rotate(180deg);
}

.menu-box-content, .menu-box-right-content {
    padding: 10px;
    display: none; /* FECHADO POR PADRÃO */
}

.menu-box-content a {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    background: #e0cea3;
    border: 1px solid #d0be93;
    border-radius: 3px;
    transition: all 0.3s;
    color: #5a2800;
    gap: 10px;
    font-weight: 600;
}

.menu-box-content a:hover {
    background: #b18a4a;
    color: #ffffff;
    border-color: #8a6535;
}

.menu-box-content a i {
    width: 20px;
    text-align: center;
}

/* TOP PLAYERS */
.top-players {
    padding: 10px;
}

.top-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: #e0cea3;
    border: 1px solid #d0be93;
    border-radius: 3px;
    margin-bottom: 4px;
}

.top-player:last-child {
    margin-bottom: 0;
}

.top-player-level {
    color: var(--color-primary);
    font-size: 12px;
}

/* MAIN CONTENT */
.content-pattern {
    padding: 20px;
}

.content-title {
    color: #5a2800;
    font-family: 'MedievalSharp', cursive;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5a2800;
}

/* FORMULÁRIOS */
.input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #5a2800;
    color: #3d1c00;
    border-radius: 4px;
    transition: all 0.3s;
}

.input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 5px rgba(194, 170, 91, 0.5);
}

.login-button, .register-button, .logout-button, .download-button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.login-button {
    background: linear-gradient(to bottom, var(--color-success), var(--color-success-dark));
    color: white;
    border: none;
}

.login-button:hover {
    background: linear-gradient(to bottom, var(--color-success-light), var(--color-success));
}

.menu-box-content .register-button {
    background: linear-gradient(to bottom, #1d4d8c, #0a2444) !important; /* Azul Metálico Premium */
    color: #e0cea3 !important; /* Texto em Ouro */
    border: 1px solid #b18a4a !important;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.5);
}

.menu-box-content .register-button:hover {
    background: linear-gradient(to bottom, #2563b0, #1d4d8c) !important;
    color: #fff !important;
    border-color: #b18a4a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.logout-button {
    background: linear-gradient(to bottom, var(--color-danger), var(--color-danger-dark));
    color: white;
    border: none;
}

.logout-button:hover {
    background: linear-gradient(to bottom, var(--color-danger-light), var(--color-danger));
}

/* PREMIUM DOWNLOAD BUTTON (GREEN) */
.download-sidebar-container {
    margin-bottom: 8px;
    text-align: center;
}

.download-premium-btn {
    display: block;
    background: linear-gradient(to bottom, #4CAF50, #2E7D32); /* Verde RubinOT */
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 12px;
    border: 2px solid #b18a4a;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 3px 6px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px #000;
}

.download-premium-btn:hover {
    background: linear-gradient(to bottom, #66bb6a, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.5), 0 0 10px rgba(177, 138, 74, 0.3);
}

/* WIKI BUTTON (GOLD) */
.wiki-button {
    display: block;
    background: linear-gradient(to bottom, #d0be93, #b18a4a); /* Bronze/Ouro RubinOT */
    color: #3d1c00 !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    padding: 10px;
    border: 1px solid #5a2800;
    border-radius: 4px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.wiki-button:hover {
    background: linear-gradient(to bottom, #e0cea3, #d0be93);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* FOOTER BAR (Estilo RubinOT) */
.main-footer-bar {
    background: linear-gradient(to bottom, #143e6c, #0a2444);
    border-top: 2px solid #b18a4a;
    border-bottom: 2px solid #b18a4a; /* Borda bonita na parte de baixo */
    padding: 12px 0;
    margin-top: auto; /* Empurra para o fim se flexbox estiver ativo */
    margin-bottom: 0 !important;
    color: #fff;
    font-size: 13px;
    width: 100%;
    position: relative;
    z-index: 100;
}

.footer-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-online {
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 8px #4caf50;
}

/* ==========================================================================
   CONTENT AREA - NEWS & TICKERS (Estilo RubinOT)
   ========================================================================== */

#content {
    padding: 10px 0;
}

/* ==========================================================================
   CONTENT AREA - ELITE MOLDURA SUPREME (Estilo Elite RubinOT)
   ========================================================================== */

/* Elite Frame Box (Recipiente externo) */
.elite-frame-box {
    margin-bottom: 35px;
    position: relative;
    border-radius: 4px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

/* Moldura Interna de Pergaminho Realista */
.elite-frame-inner {
    background: rgba(253, 241, 220, 0.95); /* Bege papel Tibetano */
    border: 2px solid #b18a4a;
    border-top: none;
    padding: 1px;
    position: relative;
}

/* Cantoneiras Ornamentais (V-Cap Ouro 3D) */
.elite-frame-box::before, .elite-frame-box::after,
.elite-frame-inner::after, .elite-frame-inner::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0 L40 0 L40 5 L5 5 L5 40 L0 40 Z' fill='%23f3e5ab'/%3E%3Cpath d='M2 2 L38 2 L38 3 L3 3 L3 38 L2 38 Z' fill='%23b18a4a'/%3E%3Cpath d='M0 0 L15 15 L0 15 Z' fill='%23b18a4a' opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    z-index: 110;
    pointer-events: none;
}

.elite-frame-box::before { top: -5px; left: -5px; }
.elite-frame-box::after { top: -5px; right: -5px; transform: rotate(90deg); }
.elite-frame-inner::before { bottom: -5px; left: -5px; transform: rotate(270deg); }
.elite-frame-inner::after { bottom: -5px; right: -5px; transform: rotate(180deg); }

/* Elite Header Bar (Design RubinOT) */
.elite-header-bar {
    background: linear-gradient(to bottom, #1d3f66 0%, #0d2139 100%);
    border-bottom: 2px solid #b18a4a;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

.elite-header-bar h2 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 1px 1px 2px #000;
}

.elite-header-icon {
    font-size: 14px;
    color: #f3e5ab;
}

/* Ticker/Update List Structure */
.ticker-list-elite {
    display: flex;
    flex-direction: column;
}

.ticker-row-elite {
    border-bottom: 1px solid rgba(177, 138, 74, 0.2);
}

.ticker-row-elite:last-child {
    border-bottom: none;
}

.ticker-header-elite {
    display: flex;
    align-items: flex-start; /* Alinhado pelo topo como na referência */
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    gap: 15px;
}

.ticker-header-elite:hover {
    background: rgba(255, 255, 255, 0.4);
}

.ticker-icon-elite {
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px; /* Pequeno ajuste para alinhar com o texto */
}

.ticker-date-elite {
    font-size: 11px;
    color: #8c6a4a;
    width: 110px;
    min-width: 110px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.ticker-title-elite {
    flex: 1;
    font-size: 12px;
    font-weight: normal; /* Removido negrito global */
    color: #3d1c00;
    line-height: 1.4;
}

/* Quando recolhido, limitamos a 1 linha */
.ticker-row-elite:not(.active) .ticker-title-elite {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quando ativo, permitimos quebrar linha */
.ticker-row-elite.active .ticker-title-elite {
    white-space: normal;
}

.ticker-arrow-elite {
    color: #b18a4a;
    font-size: 10px;
    opacity: 0.6;
    margin-top: 5px; /* Alinhado ao topo */
    transition: transform 0.3s;
}

.ticker-row-elite.active .ticker-arrow-elite {
    transform: rotate(90deg);
}

.ticker-content-elite {
    display: none;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 13px;
    line-height: 1.6;
    color: #3d1c00;
    border-top: 1px dashed rgba(177, 138, 74, 0.15);
}

/* News Article Supreme */
.news-article-elite {
    padding: 25px;
}

.article-meta-supreme {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(177, 138, 74, 0.2);
    font-size: 11px;
    color: #b18a4a;
    font-weight: 700;
}

.article-body-supreme {
    color: #3d1c00;
    font-size: 13px;
    line-height: 1.7;
}

.article-body-supreme b, .article-body-supreme strong {
    color: #5a2800;
}

.article-body-supreme img {
    max-width: 100%;
    margin: 20px 0;
    border: 1px solid #d4c0a1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* NEWS ARTICLE SPECIFIC */
.news-article-box {
    margin-bottom: 15px;
}

.news-content-area {
    font-size: 14px;
    line-height: 1.7;
    color: #3d1c00;
}

.news-content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.news-article-footer {
    border-top: 1px solid #d4c0a1;
    margin-top: 20px;
    padding-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.news-read-more-btn {
    color: #2f568a;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-read-more-btn:hover {
    color: #b18a4a;
}

/* Ornamental Divider */
.news-divider {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
    position: relative;
}

.news-divider img {
    max-width: 80%;
    margin: 0 auto;
    opacity: 0.8;
}

/* CENTRAL NAVIGATION BAR (Atmosférica & Premium) */
.main-content-nav-bar {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(13, 26, 43, 0.95) 20%, rgba(8, 15, 26, 1) 100%);
    border: 1px solid rgba(177, 138, 74, 0.4);
    border-top: 2px solid #b18a4a;
    border-radius: 6px 6px 4px 4px;
    padding: 8px 15px; /* Compactado de 10px 25px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 -15px 30px rgba(0,0,0,0.6), 0 5px 15px rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
}

/* Status Info */
.server-status-info {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(177, 138, 74, 0.5);
    border-radius: 20px;
    padding: 4px 10px; /* Reduzido de 15px */
    display: flex;
    align-items: center;
    gap: 8px; /* Reduzido de 10px */
}

.status-indicator.online {
    width: 8px; /* Reduzido de 10px */
    height: 8px;
    background-color: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 6px #4caf50;
    animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.online-label {
    color: #4caf50;
    font-weight: 700;
    font-size: 11px; /* Reduzido de 13px */
    text-shadow: 1px 1px 2px #000;
}

/* Central Buttons */
.central-nav {
    display: flex;
    gap: 8px; /* Compactado de 20px */
}

.nav-btn {
    color: #e0cea3;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px; /* Reduzido de 13px */
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    padding: 5px 12px; /* Reduzido de 6px 15px */
    background: linear-gradient(to bottom, #1a3a5a, #0d1a2b);
    border: 1px solid #b18a4a77;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.5);
    text-shadow: 0 1px 2px #000;
}

.nav-btn:hover {
    color: #fff;
    background: linear-gradient(to bottom, #254a6e, #1a3a5a);
    border-color: #b18a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.6), 0 0 10px rgba(177, 138, 74, 0.4);
}

.nav-btn i {
    color: #b18a4a;
}

/* Language selector */
.language-selector {
    display: flex;
    gap: 8px;
}

.flag-icon {
    width: 24px;
    height: 16px;
    border: 1px solid rgba(177, 138, 74, 0.6);
    border-radius: 2px;
    transition: transform 0.2s;
    cursor: pointer;
}

.flag-icon:hover {
    transform: scale(1.1);
    border-color: #b18a4a;
}

/* BOOSTED CREATURE (Estilo RubinOT) */
.boosted-creature-container {
    padding: 10px;
    text-align: center;
    background: #f1e0c6;
}

.boosted-creature-title {
    font-family: 'MedievalSharp', cursive;
    color: #143e6c;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.boosted-creature-item {
    position: relative;
    border: 2px solid #143e6c;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
    width: 120px;
}

.boosted-icon-type {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #143e6c;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #b18a4a;
}

.boosted-creature-info {
    margin-bottom: 10px;
}

.boosted-creature-footer {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #d0be93;
    padding-top: 10px;
    font-size: 12px;
}

.stat-val {
    color: #4caf50;
    font-weight: bold;
}

/* ANIMAÇÕES */
@keyframes pulse {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .menu {
        width: 100%;
        order: 2;
    }
    
    .content {
        margin: 0 0 20px 0;
    }
    
    .main-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .footer-section {
        flex: 100%;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .header-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .server-status-box, .header-social {
        width: 100%;
        justify-content: center;
    }
}

/* TOP PLAYERS STYLES */
.top-players {
    padding: 10px;
}

.top-player {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: #e0cea3;
    border: 1px solid #d0be93;
    border-radius: 3px;
    margin-bottom: 4px;
    font-size: 13px;
    gap: 5px;
}

.top-player:last-child {
    margin-bottom: 0;
}

.top-player-position {
    color: #b18a4a;
    font-weight: bold;
    min-width: 20px;
    text-align: right;
}

.top-player-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #5a2800;
    font-weight: 600;
    transition: color 0.3s;
}

.top-player-name:hover {
    color: #b18a4a;
    text-decoration: none;
}

.top-player-level {
    background: rgba(177, 138, 74, 0.25);
    color: #8a6535;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
    border: 1px solid #d0be93;
}

/* ========== NEWS SYSTEM STYLES ========== */
.news-container {
    background: var(--color-darkest);
    border: 1px solid var(--color-dark-accent);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.news-title {
    color: var(--color-primary-light);
    font-family: 'MedievalSharp', cursive;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-dark-accent);
    padding-bottom: 10px;
}

.news-content {
    line-height: 1.6;
    padding: 10px 0;
}

.news-date {
    color: var(--color-text-muted);
    font-size: 12px;
    margin-bottom: 10px;
}

.news-admin-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--color-dark-accent);
}

/* Adicione aqui todos os outros estilos que forneci anteriormente */

/* Estilos para as barras de habilidade */
.skill-bar {
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--color-info);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Indicador visual para habilidades sem progresso */
.skill-bar.empty {
    background: #f1f1f1;
}

.skill-bar.empty .skill-progress {
    background: #bdc3c7;
}


/* ========== CHARACTER STYLES ========== */
.character-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-darker);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.character-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-dark-accent);
}

.character-title {
    color: var(--color-primary-light);
    margin: 0;
    font-size: 2rem;
    font-family: 'MedievalSharp', cursive;
}

.edit-button {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
    color: var(--color-dark);
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 1px solid var(--color-primary-lighter);
}

.edit-button:hover {
    background: linear-gradient(to bottom, var(--color-primary-lighter), var(--color-primary));
    box-shadow: 0 0 10px rgba(194, 170, 91, 0.3);
}

/* Grid principal */
.character-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Seções */
.character-section {
    background: var(--color-darkest);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-dark-accent);
}

.section-title {
    color: var(--color-primary-light);
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-dark-accent);
    font-family: 'MedievalSharp', cursive;
    font-size: 1.3rem;
}

/* Grid de informações */
.info-grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px;
}

.info-label {
    font-weight: bold;
    color: var(--color-primary);
}

.info-value {
    word-break: break-word;
}

/* Status */
.status-online {
    color: var(--color-success);
    font-weight: bold;
}

.status-offline {
    color: var(--color-danger);
    font-weight: bold;
}

.account-status-premium {
    color: var(--color-primary-light);
    font-weight: bold;
}

.account-status-free {
    color: var(--color-text);
}

/* Habilidades */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.skill-item {
    margin-bottom: 10px;
}

.skill-name {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--color-text);
}

.skill-value {
    float: right;
    font-weight: bold;
    color: var(--color-primary-light);
}

.skill-bar {
    height: 8px;
    background: var(--color-dark-accent);
    border-radius: 4px;
    margin-top: 5px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
    border-radius: 4px;
}

/* Equipamentos */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.equipment-slot {
    border: 1px solid var(--color-dark-accent);
    background: var(--color-darkest);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.equipment-slot:hover {
    border-color: var(--color-primary);
    background: var(--bg-primary);
}

/* Listas de mortes e frags */
.deaths-list, .frags-list {
    display: grid;
    gap: 10px;
}

.death-item, .frag-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    padding: 10px;
    background: var(--color-darkest);
    border-radius: 4px;
    border: 1px solid var(--color-dark-accent);
}

.death-date, .frag-date {
    color: var(--color-text-muted);
    font-size: 0.9em;
}

.frag-status {
    font-size: 0.8em;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 10px;
}

.frag-status.justified {
    background: rgba(39, 174, 96, 0.2);
    color: var(--color-success);
}

.frag-status.unjustified {
    background: rgba(231, 76, 60, 0.2);
    color: var(--color-danger);
}

/* Assinatura */
.signature-container {
    text-align: center;
    background: var(--color-darkest);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--color-dark-accent);
}

.signature-image {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--color-dark-accent);
    margin-bottom: 15px;
}

.toggle-links-button {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
    color: var(--color-dark);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.toggle-links-button:hover {
    background: linear-gradient(to bottom, var(--color-primary-lighter), var(--color-primary));
}

.signature-links {
    display: none;
    text-align: left;
    background: var(--color-darkest);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid var(--color-dark-accent);
}

.link-group {
    margin-bottom: 10px;
}

.link-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--color-primary);
}

.link-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--color-dark-accent);
    border-radius: 4px;
    background: var(--color-darker);
    color: var(--color-text);
}

/* Tabela de personagens */
.characters-table {
    display: grid;
    border: 1px solid var(--color-dark-accent);
    border-radius: 8px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 80px;
    background: var(--header-gradient);
    color: var(--color-text-light);
    font-weight: bold;
    padding: 12px 15px;
    font-family: 'MedievalSharp', cursive;
    border-bottom: 2px solid var(--header-border);
}

.table-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 80px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-dark-accent);
    background: var(--color-darkest);
}

.table-row:nth-child(even) {
    background: var(--color-darker);
}

.table-cell {
    display: flex;
    align-items: center;
}

.character-index {
    color: var(--color-primary);
    margin-right: 8px;
}

.deleted-badge {
    background: var(--color-danger);
    color: white;
    font-size: 0.7em;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 8px;
}

.view-button {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
    color: var(--color-dark);
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
    border: 1px solid var(--color-primary-lighter);
}

.view-button:hover {
    background: linear-gradient(to bottom, var(--color-primary-lighter), var(--color-primary));
}

.outfit-image {
    width: 300px;  /* ou o tamanho que desejar */
    height: auto;
    transition: all 0.3s ease; /* opcional: efeito suave ao mudar de tamanho */
}

/* Se quiser que fique ainda maior em telas grandes */
@media (min-width: 992px) {
    .outfit-image {
        width: 200px;
    }
}

.equipment-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;  /* Reduzi o gap para ficar mais compacto */
    max-width: 300px;
    margin: 0 auto;
}

.equipment-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.equipment-slot {
    width: 60px;
    height: 60px;
    border: 2px solid #5a3d2b;
    background-color: #2d1f14;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/* Estilo para slots vazios (opcional) */
.equipment-slot:empty {
    background-color: transparent;
    border: 2px dashed #5a3d2b55;
}

/* Destaque para as botas */
.equipment-feet {
    background-color: #332013;
    margin-top: 5px; /* Espaço extra acima das botas */
}

.header-banner {
    background-image: url('../images/bg_epic.png');
}

@media (min-width: 768px) {
    .header-banner {
        background: transparent !important;
    }
}

@media (min-width: 1200px) {
    .header-banner {
        background: transparent !important;
    }
}

/* Banner 100% Transparente */
.header-banner {
    background: transparent !important;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 5;
}
.logo-container {
    padding: 40px;
}

.main-logo {
    max-width: 90%;  /* Aumente a porcentagem */
    height: auto;
    max-height: 250px;  /* Aumente a altura máxima */
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.8));  /* Sombra mais intensa */
}

/* Para telas grandes (opcional) */
@media (min-width: 1200px) {
    .main-logo {
        max-width: 800px;  /* Largura máxima fixa para desktops */
        max-height: 300px;
    }
}

/* Container da Notícia */
.news-article {
    background: var(--color-darkest);
    border: 1px solid var(--color-dark-accent);
    border-radius: 5px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.news-article:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(194, 170, 91, 0.2);
}

/* Cabeçalho */
.news-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--header-gradient);
    border-bottom: 2px solid var(--header-border);
}

.news-icon {
    margin-right: 15px;
}

.news-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--bg-primary));
}

.news-meta {
    flex: 1;
}

.news-date {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 500;
}

.news-day {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-primary);
    margin-right: 3px;
}

.news-separator {
    color: var(--color-primary-dark);
    margin: 0 3px;
}

.news-month, .news-year {
    color: var(--color-text-muted);
}

.news-title {
    margin: 0;
    line-height: 1.3;
}

.news-title-link {
    color: var(--color-primary-light);
    text-decoration: none;
    font-family: 'MedievalSharp', cursive;
    font-size: 18px;
    transition: all 0.2s ease;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.news-title-link:hover {
    color: var(--color-primary-lighter);
    text-decoration: underline;
}

/* Conteúdo */
.news-content {
    padding: 15px;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 14px;
    background: var(--color-darker);
}

.news-content p {
    margin-bottom: 15px;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    margin: 10px 0;
    border: 1px solid var(--color-dark-accent);
}

/* Rodapé */
.news-footer {
    padding: 12px 15px;
    text-align: right;
    background: rgba(47, 86, 138, 0.15);
    border-top: 1px solid var(--color-dark-accent);
}

.news-read-more {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-primary);
    color: var(--color-primary-light);
    border-radius: 3px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    border: 1px solid var(--color-primary-dark);
}

.news-read-more:hover {
    background: var(--bg-primary-light);
    color: var(--color-text-light);
    transform: translateX(3px);
}

/* Responsividade */
@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        text-align: center;
    }
    
    .news-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .news-date {
        justify-content: center;
    }
    
    .news-footer {
        text-align: center;
    }
    
    .news-read-more {
        display: block;
    }
}
/* Adicione isso no seu <style> existente */
table.table {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
}

.vdarkborder, .darkborder {
    background-color: #252525 !important;
}

.white {
    color: #e0e0e0 !important; /* Mude de branco puro para cinza claro */
    background-color: transparent !important;
}

/* Garantir que todas as células da tabela herdem a cor correta */
table td, table th {
    color: inherit !important;
}

/* Task System Styles */
.tasks-progress {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.task-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #444;
    transition: all 0.3s ease;
}

.task-item.completed {
    border-left-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.task-item.active {
    border-left-color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}

.task-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.task-name {
    font-weight: bold;
    font-size: 1.1em;
}

.task-status .success {
    color: #4CAF50;
}

.task-status .active {
    color: #2196F3;
}

.task-status .inactive {
    color: #9E9E9E;
}

.task-progress-bar {
    height: 20px;
    background: #333;
    border-radius: 10px;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9800, #FF5722);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.task-item.completed .progress-fill {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.task-monsters {
    font-size: 0.9em;
    color: #BBB;
    margin-bottom: 5px;
}

.task-rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.reward-exp, .reward-item {
    background: rgba(0,0,0,0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.final-reward {
    grid-column: 1 / -1;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 20px;
    border: 2px solid #444;
    margin-top: 10px;
}

.final-reward.unlocked {
    border-color: #FFC107;
    background: rgba(255, 193, 7, 0.1);
}

.reward-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reward-header h3 {
    margin: 0;
    color: #FFC107;
}

.reward-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.claim-button-container {
    text-align: center;
}

.claim-button {
    background: linear-gradient(135deg, #FFC107, #FF9800);
    border: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.claim-button:hover {
    background: linear-gradient(135deg, #FFD54F, #FFA000);
    transform: translateY(-2px);
}

.already-claimed {
    text-align: center;
    color: #4CAF50;
    font-weight: bold;
}

/* ========== ACCOUNT CREATION STYLES ========== */
.account-creation-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.account-creation-card {
    background: var(--color-darkest);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid var(--color-dark-accent);
}

.account-creation-header {
    padding: 25px;
    text-align: center;
    background: var(--header-gradient);
    border-bottom: 2px solid var(--header-border);
}

.account-creation-header h2 {
    color: var(--color-primary-light);
    font-family: 'MedievalSharp', cursive;
    margin-bottom: 10px;
    font-size: 28px;
}

.account-creation-header p {
    color: var(--color-text-muted);
    font-size: 16px;
    margin: 0;
}

.account-creation-form {
    padding: 25px;
}

.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-dark-accent);
    padding-bottom: 20px;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--color-primary-light);
}

.section-header i {
    margin-right: 10px;
    font-size: 20px;
}

.section-header h3 {
    margin: 0;
    font-size: 20px;
    font-family: 'MedievalSharp', cursive;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.error-label {
    color: var(--color-danger) !important;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--color-darker);
    border: 1px solid var(--color-dark-accent);
    border-radius: 4px;
    color: var(--color-text);
    font-size: 16px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(194, 170, 91, 0.3);
}

.input-error {
    border-color: var(--color-danger);
}

.input-error:focus {
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.3);
}

.input-with-feedback {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-success);
}

.valid-icon {
    color: var(--color-success);
}

.invalid-icon {
    color: var(--color-danger);
}

.error-message {
    color: var(--color-danger);
    font-size: 14px;
    margin-top: 5px;
    min-height: 18px;
}

.form-hint {
    background: rgba(194, 170, 91, 0.1);
    border-left: 3px solid var(--color-primary);
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-text-muted);
    border-radius: 0 4px 4px 0;
}

.form-hint i {
    margin-right: 5px;
    color: var(--color-primary);
}

/* Radio and Checkbox Styles */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option input:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-option input:checked ~ .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    color: var(--color-primary);
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.terms-group {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 4px;
    border-left: 3px solid var(--color-primary);
}

/* Vocation and Town Selection */
.vocation-grid, .town-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.vocation-option, .town-option {
    cursor: pointer;
}

.vocation-option input, .town-option input {
    position: absolute;
    opacity: 0;
}

.vocation-card, .town-card {
    background: var(--color-darker);
    border: 2px solid var(--color-dark-accent);
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s;
}

.vocation-card:hover, .town-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.vocation-option input:checked + .vocation-card,
.town-option input:checked + .town-card {
    border-color: var(--color-primary);
    background: rgba(194, 170, 91, 0.1);
    box-shadow: 0 0 10px rgba(194, 170, 91, 0.2);
}

.vocation-icon, .town-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
}

.vocation-icon img, .town-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vocation-name, .town-name {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
    color: var(--color-dark);
    flex: 1;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, var(--color-primary-light), var(--color-primary));
    box-shadow: 0 5px 15px rgba(194, 170, 91, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-darker);
    color: var(--color-text);
    border: 1px solid var(--color-dark-accent);
    flex: 1;
}

.btn-secondary:hover {
    background: var(--color-dark-accent);
    color: var(--color-primary-light);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .account-creation-card {
        padding: 15px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .vocation-grid, .town-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .vocation-grid, .town-grid {
        grid-template-columns: 1fr;
    }
    
    .account-creation-header h2 {
        font-size: 24px;
    }
    
    .account-creation-header p {
        font-size: 14px;
    }
}

/* Gender Icons */
.radio-option .fa-mars {
    color: #3498db;
    margin-right: 5px;
}

.radio-option .fa-venus {
    color: #e91e63;
    margin-right: 5px;
}

/* Terms Links */
.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: all 0.2s;
}

.checkbox-label a:hover {
    color: var(--color-primary-light);
}

/* Character Creation Specific Styles (Parchment Standard) */
.character-creation-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.character-creation-card {
    background: #f4e4bc; /* Pergaminho Real */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid #b18a4a;
}

.character-creation-header {
    padding: 25px;
    text-align: center;
    background: linear-gradient(to bottom, #f9f0d7, #f4e4bc);
    border-bottom: 2px solid #b18a4a;
}

.character-creation-header h2 {
    color: #3d1c00; /* Marrom Profundo */
    font-family: 'MedievalSharp', cursive;
    margin-bottom: 10px;
    font-size: 28px;
    text-shadow: none;
}

.character-creation-header p {
    color: #5a2800;
    font-size: 16px;
    margin: 5px 0;
}

.character-creation-form {
    padding: 25px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEVMaXGncHOteHuwfH+1hIC7iYe/jYvCkY6fKsvvAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAV0lEQVQ4y2NgAAMXByCIBREAIuLgAQKxiREBkYkRAdGIEQGRiREBUYkRAVGLAQRiiUAgFgkEQiFKBECFKBECFaJECFSIDhCIGR0gEDM6QCAGdQBAjOoAAK7vK608o5U7AAAAAElFTkSuQmCC') repeat;
}

.form-group label {
    color: #3d1c00;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.character-creation-form .input {
    background: #fff;
    border: 1px solid #b18a4a;
    color: #3d1c00;
    padding: 10px;
    border-radius: 3px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .character-creation-card {
        padding: 15px;
    }
    
    .character-creation-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .vocation-grid, .town-grid {
        grid-template-columns: 1fr;
    }
}

/* ELITE SUPREME FRAME SYSTEM (RubinOT Style) - PIXEL PERFECT EDITION */
.elite-frame-box {
    background: #f4e4bc url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEVMaXGncHOteHuwfH+1hIC7iYe/jYvCkY6fKsvvAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAV0lEQVQ4y2NgAAMXByCIBREAIuLgAQKxiREBkYkRAdGIEQGRiREBUYkRAVGLAQRiiUAgFgkEQiFKBECFKBECFaJECFSIDhCIGR0gEDM6QCAGdQBAjOoAAK7vK608o5U7AAAAAElFTkSuQmCC') repeat;
    /* Borda Simulada via Shadow (Evita Gaps de 1px) */
    box-shadow: 0 0 0 1px #1a1a1a, 0 10px 40px rgba(0,0,0,0.8);
    position: relative;
    margin-bottom: 25px;
    border-radius: 0;
    box-sizing: border-box;
}

/* UNIFICAÇÃO FINAL: News/Tickers e Subpages */
.elite-header-bar,
.elite-frame-header {
    background: linear-gradient(to bottom, #1d4d8c 0%, #0a2444 100%);
    border-bottom: 2px solid #b18a4a;
    padding: 12px 20px;
    position: relative;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); 
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    z-index: 5;
}

.elite-frame-header-ornament-center {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 10px;
    background: url('data:image/svg+xml;utf8,<svg width="120" height="10" viewBox="0 0 120 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0L60 8L120 0V2L60 10L0 2V0Z" fill="%23b18a4a"/></svg>');
    background-repeat: no-repeat;
    z-index: 5;
}

.elite-frame-title {
    color: #e0cea3;
    font-family: 'MedievalSharp', cursive;
    font-size: 16px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px #000;
    margin: 0;
    letter-spacing: 2px;
}

.elite-frame-content {
    padding: 20px;
    background: transparent;
    color: #3d1c00;
    position: relative;
    box-sizing: border-box;
}

/* Força pergaminho opaco em subpáginas (ex: Account) */
.subpage-frame .elite-frame-content {
    background: rgba(244, 228, 188, 0.98);
}

.elite-frame-footer {
    height: 8px;
    background: #0a2444;
    position: relative;
    border-top: 1px solid #1a1a1a;
}

/* Quinas Ornamentadas RubinOT - Rebites de Ouro Premium */
.elite-frame-box::before, .elite-frame-box::after,
.elite-frame-footer::before, .elite-frame-footer::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, #e0cea3 0%, #b18a4a 70%, #6d4b1a 100%);
    border: 1px solid #1a1a1a;
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.elite-frame-box::before { top: -6px; left: -6px; }
.elite-frame-box::after { top: -6px; right: -6px; }
.elite-frame-footer::before { bottom: -6px; left: -6px; }
.elite-frame-footer::after { bottom: -6px; right: -6px; }