/* ================================================
   CSS UNIFICADO MINIMALISTA - TENEBRIS WORLD
   ================================================ */

/* Estilo de fundo padrão Tenebris */
.tenebris-bg {
    background: 
        linear-gradient(135deg, rgba(20,20,35,0.98) 0%, rgba(15,15,30,0.99) 100%),
        radial-gradient(circle at 50% 0%, rgba(243,179,76,0.08) 0%, transparent 70%);
    border: 1px solid rgba(243,179,76,0.25);
    border-radius: 10px;
    box-shadow: 
        inset 0 3px 8px rgba(0,0,0,0.4),
        inset 0 -1px 3px rgba(243,179,76,0.05),
        0 4px 15px rgba(0,0,0,0.3),
        0 1px 0 rgba(243,179,76,0.1);
    backdrop-filter: blur(5px);
}

/* Fontes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&display=swap');

/* Variáveis Globais */
:root {
    /* Cores Principais */
    --primary: #F39C12;
    --primary-hover: #E67E22;
    --dark: #1a1a2e;
    --dark-secondary: #252841;
    --dark-tertiary: #2f3349;
    
    /* Cores de Texto */
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    
    /* Aliases para compatibilidade */
    --gold-treasure: #F39C12;
    --gold-dark: #E67E22;
    --gold-shine: #FFD54F;
    --fire-orange: #FF6A00;
    --charcoal-void: #1a1a2e;
    --slate-shadow: #252841;
    --iron-gray: #4A5068;
    --bone-white: #e8e8e8;
    --ash-gray: #888888;
    --poison-green: #27ae60;
    
    /* Fontes */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Cinzel', serif;
    --font-modern: 'Inter', sans-serif;
    --font-medieval: 'Cinzel', serif;
    --font-fantasy: 'Cinzel', serif;
    
    /* Espaçamentos */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    
    /* Efeitos */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --radius-sm: 4px;
    --radius-md: 8px;
    --transition-fast: 200ms ease;
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background-image: url('../images/tenebris-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* Overlay escuro para melhor legibilidade */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(26, 26, 46, 0.85) 0%,
        rgba(26, 26, 46, 0.75) 50%,
        rgba(26, 26, 46, 0.85) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Container Principal */
#ArtworkHelper {
    width: 100%;
    min-height: 100vh;
    margin-top: 50px;
}

#Bodycontainer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#ContentRow {
    display: flex;
    gap: 20px;
    min-height: calc(100vh - 100px);
    padding-top: 20px;
}

/* Header com Login */
#topHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(243, 156, 18, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.login-form {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.download-btn-header {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
}

.login-input {
    padding: 6px 12px;
    background: 
        linear-gradient(135deg, rgba(20,20,35,0.98) 0%, rgba(15,15,30,0.99) 100%),
        radial-gradient(circle at 50% 0%, rgba(243,179,76,0.08) 0%, transparent 70%);
    border: 1px solid rgba(243,179,76,0.25);
    color: var(--text-primary);
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    width: 120px;
    transition: var(--transition-fast);
}

.login-input:focus {
    border-color: var(--primary);
    outline: none;
    background: var(--dark-secondary);
}

.login-button {
    padding: 6px 20px;
    background: var(--primary);
    border: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.login-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Botão de login com imagem */
.login-button-img {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    line-height: 0;
}

.login-btn-image {
    height: 32px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.login-button-img:hover .login-btn-image {
    transform: scale(1.05);
}

.login-button-img:active .login-btn-image {
    transform: scale(0.98);
}

/* Botão de logout com imagem */
.logout-button-img {
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
    text-decoration: none;
}

.logout-btn-image {
    height: 32px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logout-button-img:hover .logout-btn-image {
    transform: scale(1.05);
}

.logout-button-img:active .logout-btn-image {
    transform: scale(0.98);
}

/* Account page buttons with images */
.account-btn-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.account-btn-img {
    height: 48px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.account-btn-img:hover {
    filter: brightness(1.15) contrast(1.05) saturate(1.2);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 179, 76, 0.3),
                0 3px 10px rgba(0, 0, 0, 0.5);
}

.account-btn-img:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* Recovery Key button styles */
.recovery-btn-submit {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
}

.recovery-btn-img {
    height: 52px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.recovery-btn-img:hover {
    filter: brightness(1.15) contrast(1.05) saturate(1.2);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 179, 76, 0.3),
                0 3px 10px rgba(0, 0, 0, 0.5);
}

.recovery-btn-img:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* Create Character button styles */
.create-char-btn-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.create-char-btn-img {
    height: 52px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.create-char-btn-img:hover {
    filter: brightness(1.15) contrast(1.05) saturate(1.2);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 179, 76, 0.3),
                0 3px 10px rgba(0, 0, 0, 0.5);
}

.create-char-btn-img:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* Create Character form button */
.create-char-form-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
}

.create-char-form-img {
    height: 52px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.create-char-form-img:hover {
    filter: brightness(1.15) contrast(1.05) saturate(1.2);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 179, 76, 0.3),
                0 3px 10px rgba(0, 0, 0, 0.5);
}

.create-char-form-img:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* Search button styles */
.search-btn-submit {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
}

.search-btn-img {
    height: 42px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.search-btn-img:hover {
    filter: brightness(1.15) contrast(1.05) saturate(1.2);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 179, 76, 0.3),
                0 3px 10px rgba(0, 0, 0, 0.5);
}

.search-btn-img:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* Menu lateral esquerdo - novos botões */
.menu-btn-new {
    width: 110px;
    height: auto;
    display: block;
    filter: brightness(1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-btn-new:hover {
    filter: brightness(1.08) contrast(1.05) saturate(1.1);
    transform: scale(1.02);
}

.menu-btn-new:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}

/* Estado ativo do menu */
.MenuButton.active .menu-btn-new {
    filter: brightness(1.05) contrast(1.02) saturate(1.08);
}

/* Estilos adicionais do header */
.login-error {
    color: #FF6B6B;
    font-size: 12px;
    margin-bottom: 5px;
    text-align: center;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--primary);
}

.welcome-text {
    color: var(--primary);
    font-weight: 500;
}

.points-badge {
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.points-badge i {
    margin-right: 5px;
}

.download-pulse {
    height: 40px;
    width: auto;
    cursor: pointer;
    transition: var(--transition-fast);
}

.download-pulse:hover {
    transform: scale(1.05);
}

/* Menu Lateral */
#MenuColumn {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 70px;
    height: fit-content;
}

#Menu {
    /* Aplicando o mesmo estilo dos submenus */
    background: 
        linear-gradient(135deg, rgba(20,20,35,0.98) 0%, rgba(15,15,30,0.99) 100%),
        radial-gradient(circle at 50% 0%, rgba(243,179,76,0.08) 0%, transparent 70%);
    border: 1px solid rgba(243,179,76,0.25);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 
        inset 0 3px 8px rgba(0,0,0,0.4),
        inset 0 -1px 3px rgba(243,179,76,0.05),
        0 4px 15px rgba(0,0,0,0.3),
        0 1px 0 rgba(243,179,76,0.1);
    backdrop-filter: blur(5px);
}

.MenuButton {
    display: block;
    padding: 10px;
    margin: 5px 0;
    /* background: var(--dark-tertiary); */
    /* border-radius: var(--radius-sm); */
    cursor: pointer;
    transition: var(--transition-fast);
}

.MenuButton:hover {
    /* background: rgba(243, 156, 18, 0.1); */
    /* transform: translateX(5px); */
}

.MenuButton .Label {
    color: var(--text-primary);
    font-weight: 500;
}

.MenuButton .Icon {
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    color: var(--primary);
}

.Submenu {
    display: none;
    margin: 15px 12px 20px 12px;
    background: 
        linear-gradient(135deg, rgba(20,20,35,0.98) 0%, rgba(15,15,30,0.99) 100%),
        radial-gradient(circle at 50% 0%, rgba(243,179,76,0.08) 0%, transparent 70%);
    border: 1px solid rgba(243,179,76,0.25);
    border-radius: 10px;
    padding: 12px 0;
    box-shadow: 
        inset 0 3px 8px rgba(0,0,0,0.4),
        inset 0 -1px 3px rgba(243,179,76,0.05),
        0 4px 15px rgba(0,0,0,0.3),
        0 1px 0 rgba(243,179,76,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

/* Decorative top border */
.Submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(243,179,76,0.5) 20%,
        var(--gold-treasure) 50%, 
        rgba(243,179,76,0.5) 80%,
        transparent 100%);
    animation: shimmer 3s infinite;
}

/* Bottom decorative element */
.Submenu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: rgba(243,179,76,0.3);
}

.Submenu.active {
    display: block;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-15px) scaleY(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-5px) scaleY(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.Submenuitem {
    padding: 12px 15px 12px 35px;
    margin: 5px 8px;
    color: var(--bone-white);
    font-family: var(--font-modern);
    font-size: 0.93rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
    background: 
        linear-gradient(90deg, rgba(243,179,76,0.03) 0%, transparent 70%),
        rgba(0,0,0,0.2);
    border-left: 3px solid transparent;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    line-height: 1.3;
    white-space: nowrap;
}

.Submenuitem:hover {
    color: var(--gold-shine);
    background: 
        linear-gradient(90deg, rgba(243,179,76,0.15) 0%, rgba(243,179,76,0.05) 100%),
        rgba(243,179,76,0.02);
    border-left-color: var(--gold-treasure);
    padding-left: 40px;
    transform: translateX(3px);
    box-shadow: 
        inset 0 1px 3px rgba(243,179,76,0.1),
        0 2px 5px rgba(0,0,0,0.2);
    text-shadow: 0 0 8px rgba(243,179,76,0.3);
}

.Submenuitem::before {
    content: '⬡';
    position: absolute;
    left: 12px;
    color: rgba(243,179,76,0.3);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.Submenuitem:hover::before {
    color: var(--gold-treasure);
    left: 17px;
    transform: rotate(90deg);
    text-shadow: 0 0 5px rgba(243,179,76,0.5);
}

/* Active/Current page indicator */
.Submenuitem.active {
    background: linear-gradient(90deg, rgba(243,179,76,0.2) 0%, rgba(243,179,76,0.05) 100%);
    border-left-color: var(--gold-shine);
    color: var(--gold-shine);
}

/* Separator between menu sections */
.Submenu .menu-separator {
    height: 1px;
    margin: 8px 20px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(243,179,76,0.1) 50%, 
        transparent 100%);
}

/* Conteúdo Central */
#ContentColumn {
    flex: 1;
    min-width: 0;
}

#mainContent {
    background: var(--dark-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    min-height: 500px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Sidebar Direita */
#ThemeboxesColumn {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 70px;
    height: fit-content;
}

.Themebox {
    background: 
        linear-gradient(135deg, rgba(20,20,35,0.98) 0%, rgba(15,15,30,0.99) 100%),
        radial-gradient(circle at 50% 0%, rgba(243,179,76,0.08) 0%, transparent 70%);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(243,179,76,0.25);
    box-shadow: 
        inset 0 3px 8px rgba(0,0,0,0.4),
        inset 0 -1px 3px rgba(243,179,76,0.05),
        0 4px 15px rgba(0,0,0,0.3),
        0 1px 0 rgba(243,179,76,0.1);
    backdrop-filter: blur(5px);
    transition: var(--transition-fast);
}

/* Mantém boxes da sidebar direita com fundo transparente para as imagens decorativas */
.Themebox.server-status-box,
.Themebox.top-warriors-box,
.Themebox.community-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.Themebox:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ThemeboxTop {
    background: 
        linear-gradient(135deg, rgba(20,20,35,0.95) 0%, rgba(15,15,30,0.98) 100%),
        radial-gradient(circle at 50% 0%, rgba(243,179,76,0.05) 0%, transparent 70%);
    padding: 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ThemeboxContent {
    padding: 15px;
}

/* Box Container - Estilo principal para boxes de conteúdo */
.Box {
    background: 
        linear-gradient(135deg, rgba(20,20,35,0.98) 0%, rgba(15,15,30,0.99) 100%),
        radial-gradient(circle at 50% 0%, rgba(243,179,76,0.08) 0%, transparent 70%);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(243,179,76,0.25);
    box-shadow: 
        inset 0 3px 8px rgba(0,0,0,0.4),
        inset 0 -1px 3px rgba(243,179,76,0.05),
        0 4px 15px rgba(0,0,0,0.3),
        0 1px 0 rgba(243,179,76,0.1);
    backdrop-filter: blur(5px);
}

.BorderTitleText {
    background: 
        linear-gradient(135deg, rgba(20,20,35,0.95) 0%, rgba(15,15,30,0.98) 100%),
        radial-gradient(circle at 50% 0%, rgba(243,179,76,0.05) 0%, transparent 70%);
    padding: 12px 15px;
    border-bottom: 1px solid rgba(243,179,76,0.15);
    color: var(--gold-treasure);
}

.BoxContent {
    padding: 15px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Componentes Gerais */
.card {
    background: var(--dark-secondary);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    transition: var(--transition-fast);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn:hover {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Server Status Widget - Professional Design */
.server-status-widget {
    padding: 0;
}

/* Status Line - Centralizado */
.status-line {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--dark-tertiary);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    position: relative;
}

.status-dot.online {
    background: #27ae60;
}

.status-dot.online::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #27ae60;
    animation: statusPulse 2s infinite;
}

.status-dot.offline {
    background: #c0392b;
}

@keyframes statusPulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

.status-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-line .online + .status-text {
    color: #27ae60;
}

.status-line .offline + .status-text {
    color: #c0392b;
}

/* Status Stats - Grid Layout Organizado */
.status-stat {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.status-stat:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.stat-value.highlight {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-value.timer {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Footer */
#Footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 50px;
}

/* Responsividade */
@media (max-width: 1024px) {
    #ContentRow {
        flex-direction: column;
    }
    
    #MenuColumn,
    #ThemeboxesColumn {
        width: 100%;
        position: static;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Top Players Sidebar */
.TopPlayer {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 3px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.TopPlayer:hover {
    background: rgba(243, 156, 18, 0.1);
    transform: translateX(3px);
}

.TopPlayerRank {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    width: 25px;
    flex-shrink: 0;
}

.TopPlayerInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    min-width: 0;
}

.TopPlayerName {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.TopPlayerName:hover {
    color: var(--primary);
}

.TopPlayerDetails {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 2px;
}

.ViewAllLink {
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 8px;
}

.ViewAllLink a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.ViewAllLink a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Image Menu Button Styles */
.menu-image-button {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    display: block;
    width: 100%;
    cursor: pointer;
    margin-bottom: 5px;
}

.menu-image-button img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

.menu-image-button:hover img {
    transform: scale(1.05);
}

.menu-image-button + .Submenu {
    margin-top: 0;
    margin-bottom: 10px;
}
/* Server Status Box with Image */
.server-status-box {
    position: relative;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    overflow: visible;
    margin-bottom: -15px; /* Negativo para sobrepor levemente */
    width: 220px;
    min-height: 150px;
}

/* Conteúdo das informações */
.server-status-content {
    position: relative;
    width: 100%;
    padding-top: 50px; /* Espaço para a imagem header */
    z-index: 1;
}

/* Frame/header decorativo no topo */
.server-status-frame {
    position: absolute;
    top: 35px; /* Ajustado para imagem gold */
    left: 50%;
    transform: translateX(-50%);
    width: 150px; /* Reduzido de 185px */
    height: auto;
    max-height: none; /* Remove limite de altura */
    z-index: 3;
    pointer-events: none;
    object-fit: contain; /* Mantém proporção original */
    object-position: center top;
}

/* Box unificada para as informações */
.server-status-content .status-info-box {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(243, 156, 18, 0.4);
    border-radius: 10px;
    padding: 70px 10px 10px; /* Padding ajustado para nova imagem gold */
    box-shadow: 0 8px 25px rgba(0,0,0,0.7), 
                inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    width: 183px; /* Largura ajustada para alinhar com nova imagem */
    margin: 0 auto; /* Centraliza a box */
}

/* Status Line (Server Online/Offline) */
.server-status-content .status-line {
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #FFD54F;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(243, 156, 18, 0.2);
}

.server-status-content .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px currentColor;
}

.server-status-content .status-dot.online {
    background: #27ae60;
    animation: pulse-glow 2s infinite;
}

.server-status-content .status-dot.offline {
    background: #e74c3c;
}

/* Stats Row */
.server-status-content .status-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.server-status-content .status-stat {
    flex: 1;
    text-align: center;
    padding: 5px;
}

.server-status-content .stat-label {
    font-size: 0.7rem;
    color: #a8a8a8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.server-status-content .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F39C12;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    font-family: 'Cinzel', serif;
}

.server-status-content .stat-value.highlight {
    color: #FFD54F;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Top Warriors Box with Image - Mesmo estilo do Server Status */
.top-warriors-box {
    position: relative;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    overflow: visible;
    margin-bottom: -15px; /* Negativo para sobrepor levemente */
    width: 220px;
    min-height: 150px;
}

/* Conteúdo das informações dos Top Warriors */
.top-warriors-content {
    position: relative;
    width: 100%;
    padding-top: 50px;
    z-index: 1;
}

/* Frame/header decorativo no topo */
.top-warriors-frame {
    position: absolute;
    top: 35px; /* Ajustado para imagem gold */
    left: 50%;
    transform: translateX(-50%);
    width: 150px; /* Reduzido de 185px */
    height: auto;
    max-height: none;
    z-index: 3;
    pointer-events: none;
    object-fit: contain;
    object-position: center top;
}

/* Box unificada para as informações dos warriors */
.top-warriors-content .warriors-info-box {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(243, 156, 18, 0.4);
    border-radius: 10px;
    padding: 70px 10px 10px; /* Padding ajustado para nova imagem gold */
    box-shadow: 0 8px 25px rgba(0,0,0,0.7), 
                inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    width: 183px; /* Largura ajustada para alinhar com nova imagem */
    margin: 0 auto;
}

/* Ajuste para o link View All dentro da nova estrutura */
.top-warriors-content .ViewAllLink {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(243, 156, 18, 0.2);
    text-align: center;
}

.top-warriors-content .ViewAllLink a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.top-warriors-content .ViewAllLink a:hover {
    color: var(--primary-hover);
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* Community Box with Image - Mesmo estilo dos anteriores */
.community-box {
    position: relative;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    overflow: visible;
    margin-bottom: 10px; /* Um pouco mais para o último */
    width: 220px;
    min-height: 150px;
}

/* Conteúdo das informações do Community */
.community-content {
    position: relative;
    width: 100%;
    padding-top: 50px;
    z-index: 1;
}

/* Frame/header decorativo no topo */
.community-frame {
    position: absolute;
    top: 35px; /* Ajustado para imagem gold */
    left: 50%;
    transform: translateX(-50%);
    width: 150px; /* Reduzido de 185px */
    height: auto;
    max-height: none;
    z-index: 3;
    pointer-events: none;
    object-fit: contain;
    object-position: center top;
}

/* Box unificada para as informações do Community */
.community-content .community-info-box {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(243, 156, 18, 0.4);
    border-radius: 10px;
    padding: 70px 10px 10px; /* Padding ajustado para nova imagem gold */
    box-shadow: 0 8px 25px rgba(0,0,0,0.7), 
                inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    width: 183px; /* Largura ajustada para alinhar com nova imagem */
    margin: 0 auto;
}

/* Ajuste para o Discord Box dentro da nova estrutura */
.community-content .DiscordBox {
    text-align: center;
}

.community-content .DiscordButton {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.community-content .DiscordButton:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}
