/**
 * MU BRASA - CORE DESIGN SYSTEM & STYLESHEET
 * Dark Gothic Fantasy Aesthetic • Season 6 Episode 20 Portal
 */

/* ==========================================================================
   1. DESIGN TOKENS & VARIÁVEIS
   ========================================================================== */
:root {
    /* Cores de Fundo - Escuro Profundo com Toque Vulcânico */
    --bg-darkest: #050508;
    --bg-main: #090a0f;
    --bg-surface: #141018;
    --bg-surface-elevated: #1e1422;
    --bg-card: rgba(19, 14, 24, 0.82);
    --bg-card-hover: rgba(30, 18, 34, 0.94);
    --bg-overlay: rgba(5, 5, 8, 0.92);

    /* Cores Temáticas Brasa & Chamas (Vermelho Incandescente, Carmesim e Magma) */
    --gold-100: #fee2e2;
    --gold-300: #ff6e6e;
    --gold-500: #ef4444;
    --gold-600: #dc2626;
    --gold-700: #b91c1c;
    --gold-glow: rgba(239, 68, 68, 0.55);
    --gold-gradient: linear-gradient(135deg, #ff4d4d 0%, #e11d48 35%, #b91c1c 70%, #500724 100%);
    --gold-gradient-hover: linear-gradient(135deg, #ff6b6b 0%, #f43f5e 35%, #dc2626 70%, #7f1d1d 100%);

    /* Acentos Místicos & Magma */
    --magma-orange: #f97316;
    --arcane-blue: #38bdf8;
    --arcane-glow: rgba(56, 189, 248, 0.45);
    --blood-red: #ef4444;
    --blood-glow: rgba(239, 68, 68, 0.55);
    --chaos-green: #10b981;
    --chaos-glow: rgba(16, 185, 129, 0.45);
    --wings-purple: #c084fc;
    --wings-glow: rgba(192, 132, 252, 0.45);

    /* Textos & Bordas em Brasa */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-gold: #ff6e6e;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(239, 68, 68, 0.42);
    --border-gold-bright: rgba(255, 60, 60, 0.85);

    /* Tipografia */
    --font-heading: 'Cinzel', 'Cinzel Decorative', Georgia, serif;
    --font-numbers: 'Rajdhani', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Sombras & Transições */
    --shadow-epic: 0 20px 40px -15px rgba(0, 0, 0, 0.85), 0 0 35px -5px rgba(239, 68, 68, 0.35);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-darkest);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 12% 40%, rgba(225, 29, 72, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 88% 65%, rgba(249, 115, 22, 0.10) 0%, transparent 45%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ef4444, #7f1d1d);
    border-radius: 5px;
    border: 2px solid var(--bg-darkest);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff5757, #991b1b);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Ornate Border Box */
.ornate-box {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 6px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ornate-box::before, .ornate-box::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold-300);
    pointer-events: none;
}
.ornate-box::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}
.ornate-box::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* ==========================================================================
   3. TOP BAR (STATUS & RAPIDEZ)
   ========================================================================== */
.top-bar {
    background: rgba(5, 7, 10, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    position: relative;
    z-index: 50;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.server-status-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-weight: 600;
    color: var(--chaos-green);
    font-family: var(--font-numbers);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.server-status-pill.pill-offline {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}
.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--chaos-green);
    display: inline-block;
    transition: background-color 0.3s ease;
}
.status-indicator-dot.dot-offline {
    background-color: #ef4444 !important;
    box-shadow: none !important;
    animation: none !important;
}
.server-time {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-numbers);
    font-weight: 500;
}
.server-time strong {
    color: var(--gold-300);
}
.top-social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.top-social-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}
.top-social-link:hover {
    color: var(--gold-300);
    background: rgba(255, 255, 255, 0.05);
}
.audio-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.78rem;
}
.audio-toggle-btn:hover {
    color: var(--gold-300);
    border-color: var(--border-gold);
}

/* ==========================================================================
   4. NAVIGATION / HEADER (LOGO 3X CONSTANTE + BARRA STICKY SUAVE)
   ========================================================================== */

/* Linha Superior: Logo Oficial 3x e Ações de Conta (Rola naturalmente com a página) */
.header-brand-row {
    background: rgba(8, 11, 18, 0.96);
    border-bottom: 1px solid rgba(255, 215, 0, 0.12);
    position: relative;
    z-index: 60;
}
.header-top-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0.75rem 1.25rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

/* Brand Logo (3x Maior - MU-logosite.png na raiz do site - TAMANHO CONSTANTE, SEM REDUÇÃO NO SCROLL) */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo-img {
    height: 145px;
    max-height: 155px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.55)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.85));
    transition: transform 0.25s ease, filter 0.25s ease;
}
.brand-logo:hover .brand-logo-img {
    transform: scale(1.025);
    filter: drop-shadow(0 0 24px rgba(239, 68, 68, 0.95)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.45));
}
.brand-logo-footer {
    height: 52px;
    max-height: 56px;
}

.brand-icon-shield {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff4d4d 0%, #dc2626 50%, #7f1d1d 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.7);
    font-size: 1.35rem;
    border: 1px solid #ff9999;
    flex-shrink: 0;
}
.brand-text-wrap {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #ff7b54 0%, #ff3333 45%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    white-space: nowrap;
}
.brand-subtitle {
    font-size: 0.62rem;
    color: var(--text-secondary);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: var(--font-numbers);
    font-weight: 600;
    white-space: nowrap;
}

/* Barra de Navegação: Fixa no Topo (Sticky), Começa diretamente embaixo do logo */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 8, 14, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 215, 0, 0.14);
    border-bottom: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
}
.header-nav-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #cbd5e1;
    padding: 0.65rem 1rem;
    border-radius: 4px;
    position: relative;
    transition: var(--transition-smooth);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.12);
    text-shadow: 0 0 12px rgba(255, 60, 60, 0.85);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--gold-500);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 82%;
}

/* Mini Logo na barra fixa (Apenas mobile) */
.mobile-brand-mini {
    display: none;
    align-items: center;
    margin-right: auto;
}
.mobile-brand-mini img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.6));
}

/* Nav Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}
.btn-gold {
    background: var(--gold-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.55rem 1.05rem;
    border-radius: 4px;
    border: 1px solid #ff7878;
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}
.btn-gold:hover {
    background: var(--gold-gradient-hover);
    box-shadow: 0 6px 28px rgba(239, 68, 68, 0.85), inset 0 1px 2px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}
.btn-secondary-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.55rem 0.95rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}
.btn-secondary-dark:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--gold-300);
    color: var(--gold-300);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gold-300);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   SPA TAB SYSTEM - NAVEGAÇÃO ENTRE ABAS DINÂMICA & RÁPIDA
   ========================================================================== */
.tab-section {
    display: none !important;
    opacity: 0;
    min-height: calc(100vh - 280px);
}

.tab-section.tab-active {
    display: block !important;
    opacity: 1;
    animation: tabViewFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-section.tab-section.tab-active {
    display: flex !important;
}

@keyframes tabViewFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   5. HERO SECTION (ATMOSFERA ÉPICA & CANVAS PARTICLES)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    padding: 3.5rem 0 5rem;
    overflow: hidden;
}
.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../images/hero_banner.jpg');
    background-size: cover;
    background-position: center top;
    filter: brightness(0.65) contrast(1.1);
    transform: scale(1.02);
    transition: transform 0.5s ease-out;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: 
        linear-gradient(180deg, rgba(9, 10, 15, 0.45) 0%, rgba(9, 10, 15, 0.85) 75%, var(--bg-main) 100%),
        radial-gradient(circle at 75% 35%, rgba(239, 68, 68, 0.22) 0%, rgba(5, 5, 8, 0.92) 80%);
}
#emberCanvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    width: 100%;
    height: 100%;
}
.hero-section .container {
    position: relative;
    z-index: 10;
}
.hero-section .container {
    max-width: 1440px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.96fr 0.92fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* Hero Content Left */
.hero-tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--border-gold-bright);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    color: #ff8585;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.3vw, 2.45rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: #fff;
    margin-bottom: 0.85rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}
.hero-title span.text-gold {
    background: linear-gradient(135deg, #ff8066 0%, #ff3333 45%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(239, 68, 68, 0.75));
}
.hero-description {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 1.15rem;
    line-height: 1.5;
}

/* Rates Grid Badges */
.rates-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.35rem;
}
.rate-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
}
.rate-pill {
    background: rgba(16, 22, 35, 0.85);
    border: 1px solid var(--border-gold);
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
}
.rate-pill-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.rate-pill-val {
    font-family: var(--font-numbers);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold-300);
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn-hero-primary {
    padding: 0.95rem 2rem;
    font-size: 1rem;
}
.btn-hero-secondary {
    padding: 0.95rem 1.6rem;
    font-size: 0.95rem;
}

/* Hero Right: Live Status Widget Card */
.server-status-card {
    background: rgba(12, 17, 27, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: var(--shadow-epic);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}
.server-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}
.status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}
.status-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.status-card-badge {
    font-family: var(--font-numbers);
    font-size: 0.85rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}
.status-card-badge.badge-online {
    background: rgba(16, 185, 129, 0.15);
    color: var(--chaos-green);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}
.status-card-badge.badge-offline {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}
.subserver-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.subserver-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.85rem;
    transition: var(--transition-smooth);
}
.subserver-item:hover {
    border-color: var(--border-gold);
    background: rgba(255, 255, 255, 0.05);
}
.subserver-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}
.subserver-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
}
.subserver-count {
    font-family: var(--font-numbers);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-300);
}
.progress-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 9999px;
    box-shadow: 0 0 10px var(--gold-glow);
    transition: width 0.8s ease-out;
}
.status-card-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}
.stat-mini-box {
    background: rgba(0, 0, 0, 0.25);
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.stat-mini-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.stat-mini-val {
    font-family: var(--font-numbers);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

/* ==========================================================================
   6. EVENT COUNTDOWN SCHEDULE (MULTI-COLUNAS EM TEMPO REAL)
   ========================================================================== */
.event-ticker-section {
    position: relative;
    z-index: 20;
    margin-top: -2.5rem;
    margin-bottom: 3.5rem;
}

.events-schedule-card {
    background: rgba(14, 19, 30, 0.94);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 1.35rem 1.75rem 1.6rem 1.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
}

.events-schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gold-gradient);
}

.events-schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.events-schedule-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.events-title-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.events-title-text h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold-300);
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.events-title-text p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0.15rem 0 0 0;
}

.events-schedule-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.events-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-numbers);
    letter-spacing: 0.3px;
}

.events-live-pill strong {
    color: var(--gold-300);
    font-weight: 700;
}

/* Estrutura dos Grupos Divididos: Eventos e Invasões */
.events-category-group {
    position: relative;
}

.events-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.35rem;
}

.events-group-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.events-group-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.events-group-label h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--gold-300);
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.25);
}

.events-group-label h4.text-invasion {
    color: #fb923c;
    text-shadow: 0 0 12px rgba(251, 146, 60, 0.45);
}

.events-group-badge {
    font-family: var(--font-numbers);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.18rem 0.65rem;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.events-group-badge.invasion-badge {
    background: rgba(249, 115, 22, 0.14);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.35);
}

/* Divisor Visual Entre Eventos e Invasões */
.events-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.4rem 0 1.25rem 0;
}

.events-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.35), transparent);
}

.events-divider-glow {
    color: var(--gold-400);
    font-size: 0.85rem;
    text-shadow: 0 0 10px var(--gold-500);
    opacity: 0.85;
}

/* Grid com Múltiplas Colunas */
.events-grid-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.event-col-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-subtle);
    border-radius: 7px;
    padding: 0.7rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.event-col-card:hover {
    border-color: var(--border-gold);
    background: rgba(245, 158, 11, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.event-col-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.event-col-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.event-col-badge {
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.08rem 0.32rem;
    border-radius: 3px;
    display: inline-block;
    line-height: 1.1;
    flex-shrink: 0;
}

.event-tag-evento {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.event-tag-invasao {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.event-col-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.event-col-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-col-right {
    flex-shrink: 0;
}

.event-col-timer {
    font-family: var(--font-numbers);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold-300);
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.65rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    display: inline-block;
    min-width: 84px;
    text-align: center;
    transition: all 0.3s ease;
}

.event-col-timer.starting-soon {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.65);
    background: rgba(239, 68, 68, 0.18);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

.event-col-timer.active-now {
    color: var(--chaos-green);
    border-color: rgba(16, 185, 129, 0.65);
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Responsividade de Colunas */
@media (max-width: 1200px) {
    .events-grid-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .events-grid-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .events-grid-columns {
        grid-template-columns: 1fr;
    }
    .events-schedule-card {
        padding: 1.15rem 1rem;
    }
}

/* ==========================================================================
   7. SECTION HEADERS & GENERAL WRAPPERS
   ========================================================================== */
.section-wrapper {
    padding: 5rem 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}
.section-pretitle {
    display: inline-block;
    font-family: var(--font-numbers);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gold-500);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.75rem auto 1rem;
}
.section-title-divider::before, .section-title-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500));
}
.section-title-divider::after {
    background: linear-gradient(90deg, var(--gold-500), transparent);
}
.section-title-divider span {
    color: var(--gold-300);
    font-size: 0.9rem;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ==========================================================================
   8. FEATURES & HIGHLIGHTS GRID
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.feature-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #ffd700;
    margin-bottom: 0.85rem;
    transition: var(--transition-smooth);
}
.feature-card:hover .feature-badge {
    background: rgba(212, 175, 55, 0.25);
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.feature-text strong {
    color: #fff;
    font-weight: 700;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-300);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
    background: var(--bg-card-hover);
}
.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-300);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
    transition: var(--transition-smooth);
}
.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(4deg);
    background: var(--gold-gradient);
    color: #1a0f00;
}
.feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}
.feature-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   9. RANKINGS SECTION (INTERACTIVE TABS & TABLES)
   ========================================================================== */
.rankings-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-epic);
    backdrop-filter: blur(14px);
}
.rankings-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.2rem;
}
.ranking-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.ranking-tab-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.55rem 1.2rem;
    border-radius: 4px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
}
.ranking-tab-btn:hover {
    color: #fff;
    border-color: var(--border-gold);
}
.ranking-tab-btn.active {
    background: var(--gold-gradient);
    color: #ffffff;
    border-color: #ff8a8a;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.65);
}
.ranking-class-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ranking-class-filter label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}
.ranking-select {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-gold);
    padding: 0.45rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.ranking-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.ranking-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold-300);
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ranking-refresh-btn:hover {
    background: rgba(245, 158, 11, 0.15);
    color: #fff;
    border-color: var(--border-gold-bright);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}
.refresh-icon {
    display: inline-block;
    transition: transform 0.5s ease;
}
.refresh-icon.spin {
    animation: rotateRefresh 0.8s linear infinite;
}
@keyframes rotateRefresh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-highlight-purple {
    font-family: var(--font-numbers);
    font-size: 1.05rem;
    font-weight: 800;
    color: #c084fc;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
}

.guild-mark-badge {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    flex-shrink: 0;
}
.guild-mark-badge svg {
    width: 100%;
    height: 100%;
    shape-rendering: crispEdges;
    image-rendering: pixelated;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: var(--font-numbers);
    letter-spacing: 0.5px;
}
.status-tag.online {
    color: #10b981;
}
.status-tag.online::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: statusPulse 1.8s infinite;
}
.status-tag.offline {
    color: #64748b;
}
.status-tag.offline::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64748b;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* Ranking Table */
.ranking-table-responsive {
    width: 100%;
    overflow-x: auto;
}
.ranking-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    text-align: left;
}
.ranking-table th {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-subtle);
}
.ranking-table td {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
    color: var(--text-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}
.ranking-table tr td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.ranking-table tr td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.ranking-table tbody tr:hover td {
    background: rgba(245, 158, 11, 0.07);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Medal Badges */
.rank-badge {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-numbers);
    font-weight: 800;
    font-size: 0.85rem;
}
.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700, #b45309);
    color: #000;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}
.rank-badge.rank-2 {
    background: linear-gradient(135deg, #e2e8f0, #64748b);
    color: #000;
    box-shadow: 0 0 10px rgba(226, 232, 240, 0.4);
}
.rank-badge.rank-3 {
    background: linear-gradient(135deg, #f97316, #7c2d12);
    color: #fff;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}
.rank-badge.rank-other {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.char-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.char-class-badge {
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--font-numbers);
    letter-spacing: 0.5px;
}
.char-name {
    font-weight: 700;
    color: #fff;
}
.stat-highlight {
    font-family: var(--font-numbers);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gold-300);
}

/* ==========================================================================
   10. CASTLE SIEGE HERO BANNER SECTION
   ========================================================================== */
.castle-siege-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}
.castle-siege-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-gold-bright);
    box-shadow: var(--shadow-epic);
}
.castle-siege-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/castle_siege.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.15);
}
.castle-siege-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9, 12, 19, 0.92) 0%, rgba(9, 12, 19, 0.7) 100%);
}
.castle-siege-content {
    position: relative;
    z-index: 5;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}
.siege-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: var(--blood-red);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.siege-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.15;
}
.siege-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.siege-owner-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-gold);
    padding: 1.25rem;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}
.siege-guild-emblem {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid #ffe57f;
    box-shadow: 0 0 20px var(--gold-glow);
    overflow: hidden;
    flex-shrink: 0;
}
.siege-guild-emblem svg {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    display: block;
}
.siege-owner-meta h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold-300);
    letter-spacing: 1px;
}
.siege-owner-meta p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Real Castle Siege Stats Bar (Zen, Tax, Challengers) */
.siege-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}
.siege-stat-pill {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}
.siege-stat-pill:hover {
    border-color: var(--gold-400);
    background: rgba(212, 175, 55, 0.08);
}
.siege-stat-pill strong {
    color: var(--gold-300);
    font-family: var(--font-numbers);
}

/* Siege Countdown Clock */
.siege-timer-box {
    background: rgba(14, 19, 30, 0.88);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 2.2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
}
.siege-timer-box h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.8rem;
}
.countdown-col {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    padding: 1rem 0.5rem;
    border-radius: 6px;
}
.countdown-number {
    font-family: var(--font-numbers);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-300);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   11. SEASON 6 CLASSES SHOWCASE
   ========================================================================== */
.classes-banner-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-gold);
}
.classes-banner-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
}
.classes-selector-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.class-select-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}
.class-select-btn:hover {
    color: #fff;
    border-color: var(--border-gold);
    background: rgba(239, 68, 68, 0.12);
}
.class-select-btn.active {
    background: var(--gold-gradient);
    color: #ffffff;
    border-color: #ff8a8a;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.65);
}
.class-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    backdrop-filter: blur(12px);
}
.class-detail-info h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: #fff;
    margin-bottom: 0.4rem;
}
.class-detail-badge {
    display: inline-block;
    font-family: var(--font-numbers);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.class-detail-lore {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.class-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.class-skill-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-primary);
}
.class-stats-bars {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.stat-bar-group label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   12. DOWNLOAD CENTER SECTION
   ========================================================================== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}
.download-grid-single {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}
.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.download-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-300);
    box-shadow: var(--shadow-epic);
    background: var(--bg-card-hover);
}
.download-card.highlighted {
    border-color: var(--gold-300);
    box-shadow: 0 0 25px var(--gold-glow);
}
.download-card.single-client-card {
    max-width: 640px;
    width: 100%;
    padding: 2.75rem 2.25rem 2.25rem;
    border: 1px solid #ff7878;
    box-shadow: 0 0 35px rgba(239, 68, 68, 0.35);
    background: radial-gradient(circle at top, rgba(239, 68, 68, 0.1) 0%, rgba(14, 18, 28, 0.95) 75%);
}
.download-card.single-client-card .download-header {
    text-align: center;
    margin-bottom: 2rem;
}
.download-card.single-client-card .download-icon {
    font-size: 3.2rem;
    margin-bottom: 0.85rem;
    filter: drop-shadow(0 0 15px rgba(239, 68, 68, 0.6));
}
.download-card.single-client-card .download-name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.download-card.single-client-card .download-meta {
    font-size: 0.92rem;
    background: rgba(0, 0, 0, 0.4);
    display: inline-block;
    padding: 0.4rem 1.15rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.download-card.single-client-card .download-mirrors {
    gap: 0.85rem;
}
.download-badge-popular {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-gradient);
    color: #ffffff;
    font-family: var(--font-numbers);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #ff7878;
}
.download-header {
    margin-bottom: 1.5rem;
}
.download-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold-300);
}
.download-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}
.download-meta {
    font-family: var(--font-numbers);
    font-size: 0.88rem;
    color: var(--text-muted);
}
.download-meta strong {
    color: var(--gold-300);
}
.download-mirrors {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.5rem;
}
.btn-mirror {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}
.btn-mirror:hover {
    background: var(--gold-gradient);
    color: #ffffff;
    border-color: #ff7878;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}
.mirror-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: var(--font-numbers);
    letter-spacing: 0.8px;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    color: var(--gold-300);
}

/* System Requirements Tab Box */
.requirements-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
}
.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.req-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-300);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.req-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.req-item {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}
.req-item strong {
    color: #fff;
}

/* ==========================================================================
   13. GUIAS & ENCICLOPÉDIA DO SERVIDOR
   ========================================================================== */
.guides-topic-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.guide-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    background: rgba(13, 17, 26, 0.8);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.guide-tab-btn:hover {
    color: #fff;
    border-color: var(--gold-300);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 12px var(--gold-glow);
}

.guide-tab-btn.active {
    background: var(--gold-gradient);
    color: #ffffff;
    border-color: #ffe57f;
    box-shadow: 0 0 20px var(--gold-glow);
    transform: translateY(-2px);
}

.guides-tab-pane {
    display: none;
}

.guides-tab-pane.active {
    display: block;
    animation: fadeInGuidePane 0.35s ease-out forwards;
}

@keyframes fadeInGuidePane {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

.guide-card {
    background: rgba(14, 19, 30, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.guide-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-300);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
    background: rgba(20, 27, 42, 0.95);
}

.guide-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.guide-card-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.guide-card-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-300);
    font-family: var(--font-numbers);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.guide-card-summary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.guide-quick-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
}

.guide-quick-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.76rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-family: var(--font-numbers);
}

.btn-guide-read {
    width: 100%;
    padding: 0.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold-300);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-guide-read:hover {
    background: var(--gold-gradient);
    color: #07090e;
    border-color: #ffe57f;
    box-shadow: 0 0 16px var(--gold-glow);
    transform: translateY(-2px);
}

/* Guide Modal Window */
.guide-modal-dialog {
    max-width: 820px;
    width: 94%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.guide-modal-badge {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-300);
    border: 1px solid var(--gold-400);
    padding: 0.2rem 0.65rem;
    border-radius: 12px;
    margin-left: 0.75rem;
    font-family: var(--font-numbers);
    letter-spacing: 1px;
    text-transform: uppercase;
    vertical-align: middle;
}

.guide-modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 120px);
    padding: 2rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.guide-modal-body h4 {
    font-family: var(--font-heading);
    color: var(--gold-300);
    font-size: 1.18rem;
    margin: 1.4rem 0 0.6rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.35rem;
}

.guide-modal-body h4:first-child {
    margin-top: 0;
}

.guide-modal-body p {
    margin-bottom: 0.85rem;
}

.guide-modal-body ul {
    margin-left: 1.3rem;
    margin-bottom: 1.2rem;
}

.guide-modal-body li {
    margin-bottom: 0.45rem;
}

.guide-modal-body code {
    background: rgba(212, 175, 55, 0.15);
    color: #ffe57f;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.88rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.guide-modal-body strong {
    color: #ffffff;
}


/* ==========================================================================
   14. MODAL DIALOGS (CADASTRO & PAINEL DO JOGADOR)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(4, 6, 9, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal-backdrop.open,
.modal-backdrop.active {
    display: flex !important;
}
.modal-dialog {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold-bright);
    border-radius: 12px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--gold-glow);
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}
.modal-header {
    background: rgba(5, 7, 10, 0.6);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.modal-close-btn {
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem;
}
.modal-close-btn:hover {
    color: var(--gold-300);
}
.modal-body {
    padding: 1.75rem;
    overflow-y: auto;
    flex: 1 1 auto;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #fff;
    font-family: inherit;
    transition: var(--transition-smooth);
}
.form-control:focus {
    border-color: var(--gold-300);
    box-shadow: 0 0 15px var(--gold-glow);
    outline: none;
    background: rgba(0, 0, 0, 0.6);
}
.form-help {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}
.captcha-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed var(--border-gold);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.captcha-question {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold-300);
    font-size: 0.9rem;
}
.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}
.modal-tab-btn {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
}
.modal-tab-btn.active {
    color: var(--gold-300);
    border-bottom-color: var(--gold-300);
}

/* User Panel Character List */
.char-action-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}
.char-action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.char-action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}
.btn-action-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    border-radius: 4px;
    font-weight: 600;
}

/* ==========================================================================
   14. PAINEL DA CONTA (ABA SPA DE GERENCIAMENTO)
   ========================================================================== */
.panel-guest-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    max-width: 1050px;
    margin: 0 auto;
    align-items: stretch;
}

.panel-card {
    background: rgba(14, 18, 28, 0.92);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 2.25rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.panel-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.panel-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.panel-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.8px;
}

.panel-card-subtitle {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.panel-form .form-group {
    margin-bottom: 1.25rem;
}

.panel-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-auth-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.btn-link-gold {
    background: none;
    border: none;
    color: #ffd700;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}
.btn-link-gold:hover {
    color: #ff9999;
}

/* Card de Perks / Benefícios */
.panel-perk-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--border-gold);
    color: #ff8585;
    font-size: 0.75rem;
    font-family: var(--font-numbers);
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    width: fit-content;
}

.panel-info-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.6rem;
    font-weight: 800;
}

.panel-info-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.panel-perks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: auto;
}

.panel-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.perk-icon-wrap {
    font-size: 1.35rem;
    line-height: 1;
    margin-top: 2px;
}

.panel-perk-item strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
}

.panel-perk-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Dashboard Logado */
.panel-account-hero-card {
    background: rgba(14, 18, 28, 0.94);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.account-hero-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.account-avatar-shield {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4d4d 0%, #dc2626 50%, #7f1d1d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
    border: 1px solid #ff9999;
    flex-shrink: 0;
}

.account-hero-tag {
    font-size: 0.7rem;
    font-family: var(--font-numbers);
    font-weight: 700;
    color: var(--gold-500);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.account-hero-username {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0.2rem 0;
}

.account-hero-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.account-hero-stats {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.account-stat-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.65rem 1.15rem;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.account-stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.account-stat-val {
    font-family: var(--font-numbers);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.account-stat-action {
    display: flex;
    align-items: stretch;
}

.btn-danger-dark {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ff8585;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-danger-dark:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.btn-danger-dark.btn-logout-action {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ff8585;
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 140px;
    min-height: 58px;
    height: 100%;
    box-sizing: border-box;
}

.btn-danger-dark.btn-logout-action:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.55);
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVEGAÇÃO POR ABAS INTERNAS DO PAINEL DA CONTA
   ========================================================================== */
.account-nav-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.account-tab-btn {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.account-tab-btn:hover {
    color: #fff;
    border-color: var(--border-gold);
    background: rgba(255, 255, 255, 0.08);
}

.account-tab-btn.active {
    background: var(--gold-gradient);
    color: #fff;
    border-color: #ff8a8a;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.65);
}

.account-tab-panel {
    animation: fadeInPanel 0.35s ease;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ABA 1: INFORMAÇÕES DA CONTA (GRID DE CARDS)
   ========================================================================== */
.account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.account-info-card {
    background: rgba(14, 18, 28, 0.9);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
}

.account-info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.info-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

.info-card-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0.15rem 0 0 0;
}

.info-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.info-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.info-metric-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-metric-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-metric-value {
    font-family: var(--font-numbers);
    font-weight: 700;
    color: #fff;
}

/* VIP Badges */
.vip-badge-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid;
}

.vip-badge-pill.vip-gold {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.vip-badge-pill.vip-silver {
    background: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.4);
}

.vip-badge-pill.vip-bronze {
    background: rgba(205, 127, 50, 0.15);
    color: #ea580c;
    border-color: rgba(205, 127, 50, 0.4);
}

.vip-badge-pill.vip-free {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border-color: rgba(100, 116, 139, 0.3);
}

/* Currency Rows */
.currency-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition-smooth);
}

.currency-row-item:hover {
    border-color: var(--border-gold);
    background: rgba(255, 215, 0, 0.03);
}

.currency-row-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.currency-row-icon {
    font-size: 1.4rem;
}

.currency-row-left strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
    line-height: 1.2;
}

.currency-row-left small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.currency-row-value {
    font-family: var(--font-numbers);
    font-size: 1.15rem;
    font-weight: 800;
}

/* ==========================================================================
   ABAS 3 & 4: CARDS DE AÇÃO (ALTERAR SENHA & ALTERAR PID)
   ========================================================================== */
.account-action-card {
    background: rgba(14, 18, 28, 0.9);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    max-width: 760px;
    margin: 0 auto;
}

.account-action-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.action-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.2));
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.action-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

.action-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0 0;
    line-height: 1.4;
}

.account-action-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .form-row-2col {
        grid-template-columns: 1fr;
    }
}

.form-security-tip {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #fde68a;
    font-size: 0.82rem;
    line-height: 1.5;
}

.form-security-tip span {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: -1px;
}

.form-feedback-alert {
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.form-feedback-alert.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.form-feedback-alert.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.btn-submit-account-action {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.9rem;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 800;
    cursor: pointer;
}

/* Personagens Grid */
.panel-chars-section {
    background: rgba(14, 18, 28, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.panel-chars-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1rem;
    flex-wrap: wrap;
}

.panel-chars-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-chars-section-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.panel-chars-count-badge {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--border-gold);
    color: #ff8585;
    font-family: var(--font-numbers);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.panel-chars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.panel-char-card {
    background: rgba(10, 13, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-char-card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(239, 68, 68, 0.2);
}

.panel-char-card.expanded {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(239, 68, 68, 0.25);
    background: rgba(12, 16, 25, 0.95);
}

/* Header sempre visível e clicável para abrir/fechar */
.panel-char-header-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.15rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
    user-select: none;
    gap: 0.6rem;
}

.panel-char-header-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

.panel-char-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
}

.panel-char-class-badge {
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--font-numbers);
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.panel-char-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-char-toggle-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: var(--font-numbers);
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    white-space: nowrap;
}

.panel-char-toggle-chevron {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
    display: inline-block;
}

.panel-char-card.expanded .panel-char-toggle-chevron {
    transform: rotate(180deg);
}

.panel-char-card.expanded .panel-char-toggle-indicator {
    color: #ff8585;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
}

/* Conteúdo interno recolhível */
.panel-char-body-collapse {
    display: none;
    padding: 0 1.25rem 1.25rem 1.25rem;
    flex-direction: column;
    gap: 0.85rem;
    animation: fadeInCharBody 0.25s ease forwards;
}

.panel-char-card.expanded .panel-char-body-collapse {
    display: flex;
}

@keyframes fadeInCharBody {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Botões de Ação no topo do corpo expandido */
.panel-char-actions-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    margin-bottom: 0.15rem;
}

.panel-char-actions-top .btn-action-small {
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    justify-content: center;
    border-radius: 6px;
}

/* Stats: Level, Resets, M. Resets */
.panel-char-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.65rem 0.5rem;
    text-align: center;
}

.panel-char-stat-mini span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.panel-char-stat-mini strong {
    font-family: var(--font-numbers);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.panel-char-points-notice {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
}

/* Grid de Atributos: Força, Agilidade, Vitalidade, Energia (+ Comando se DL/LE) */
.panel-char-attrs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.65rem 0.55rem;
}

.panel-char-attr-box {
    text-align: center;
}

.panel-char-attr-box .attr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.2px;
    margin-bottom: 0.15rem;
}

.panel-char-attr-box .attr-val {
    font-family: var(--font-numbers);
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

/* Comando centralizado na linha de baixo (Dark Lord / Lord Emperor) */
.panel-char-attr-box.panel-char-attr-cmd {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
}

/* Zen e Guild */
.panel-char-extra-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.65rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.char-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
}

.char-extra-label {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.char-extra-value {
    font-family: var(--font-numbers);
    font-weight: 700;
    color: #fff;
}

@media (max-width: 480px) {
    .panel-char-attrs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .panel-guest-grid {
        grid-template-columns: 1fr;
    }
    .panel-account-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .account-hero-stats {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.main-footer {
    background: var(--bg-darkest);
    border-top: 1px solid var(--border-gold);
    padding: 4.5rem 0 2rem;
    position: relative;
    margin-top: 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}
.footer-brand-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
}
.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.footer-link:hover {
    color: var(--gold-300);
    padding-left: 4px;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   16. RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1260px) {
    .header-top-container, .header-nav-container {
        padding: 0 0.85rem;
    }
    .brand-logo-img {
        height: 120px;
        max-height: 125px;
    }
    .nav-menu {
        gap: 0.15rem;
    }
    .nav-link {
        font-size: 0.78rem;
        padding: 0.55rem 0.65rem;
        letter-spacing: 0.4px;
    }
    .nav-actions {
        gap: 0.4rem;
    }
    .btn-gold, .btn-secondary-dark {
        padding: 0.5rem 0.75rem;
        font-size: 0.76rem;
    }
}

@media (max-width: 1024px) {
    .header-top-container {
        padding: 0.5rem 1rem;
    }
    .brand-logo-img {
        height: 72px;
        max-height: 75px;
    }
    .mobile-brand-mini {
        display: flex;
    }
    .header-nav-container {
        justify-content: space-between;
    }
    .nav-menu {
        display: none;
    }
    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 52px;
        left: 0;
        right: 0;
        background: rgba(8, 11, 17, 0.98);
        border-top: 1px solid var(--border-gold);
        border-bottom: 2px solid var(--border-gold);
        padding: 1.25rem 1.5rem;
        backdrop-filter: blur(20px);
        z-index: 1000;
        gap: 0.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    }
    .nav-menu.mobile-open .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.92rem;
        border-radius: 6px;
        border-left: 2px solid transparent;
    }
    .nav-menu.mobile-open .nav-link.active {
        border-left-color: #ffd700;
        background: rgba(239, 68, 68, 0.15);
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .castle-siege-content {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
    .features-grid, .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .download-grid, .vip-grid {
        grid-template-columns: 1fr;
    }
    .class-detail-card {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .brand-logo-img {
        height: 38px;
        max-height: 42px;
    }
    .top-bar-left {
        display: none;
    }
    .top-bar .container {
        justify-content: center;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .features-grid, .shop-grid, .guides-grid {
        grid-template-columns: 1fr;
    }
    .guide-tab-btn {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    .event-ticker-bar {
        grid-template-columns: 1fr;
    }
    .event-ticker-title {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding-right: 0;
        padding-bottom: 0.5rem;
    }
    .req-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .countdown-number {
        font-size: 1.6rem;
    }
    .account-hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .account-stat-box, .account-stat-action, .btn-danger-dark.btn-logout-action {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .account-hero-stats {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   SISTEMA DE RECARGA DE WCOINS (INFINITEPAY PIX & CARTÃO)
   ============================================================================= */

.recharge-section {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    animation: fadeInCharBody 0.3s ease;
}

/* 1. Header Banner */
.recharge-header-banner {
    background: linear-gradient(135deg, rgba(20, 27, 45, 0.95), rgba(10, 14, 26, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.15);
}

.recharge-header-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.recharge-badge-pill {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.recharge-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem 0;
    font-family: var(--font-heading);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.recharge-subtitle {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
    max-width: 600px;
}

.recharge-bonus-alert {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 260px;
    max-width: 340px;
}

.bonus-alert-icon {
    font-size: 1.8rem;
    animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.bonus-alert-text {
    font-size: 0.84rem;
    color: #fef08a;
    line-height: 1.4;
}

/* 2. Grid de Pacotes */
.recharge-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 1.25rem;
}

.recharge-loading-notice {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.recharge-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: #ffd700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.recharge-pkg-card {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92) 0%, rgba(11, 15, 25, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.recharge-pkg-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.15);
}

.recharge-pkg-card.popular {
    border-color: rgba(255, 215, 0, 0.6);
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.95) 0%, rgba(15, 12, 10, 0.95) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 215, 0, 0.2);
}

.recharge-pkg-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    border: 1px solid;
    font-family: var(--font-numbers);
}

.recharge-pkg-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.4rem 0;
}

.recharge-pkg-price {
    font-family: var(--font-numbers);
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 0.85rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.recharge-pkg-coins-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    width: 100%;
    padding: 0.75rem 0.5rem;
    margin-bottom: 1.25rem;
}

.recharge-pkg-total-wc {
    font-family: var(--font-numbers);
    font-size: 1.4rem;
    font-weight: 900;
    color: #10b981;
    display: block;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.recharge-pkg-wc-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.recharge-pkg-bonus-detail {
    font-size: 0.72rem;
    color: #fbbf24;
    font-weight: 700;
    margin-top: 0.35rem;
    display: block;
}

.btn-buy-package {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    transition: all 0.2s ease;
}

/* 3. Caixa de Valor Personalizado */
.recharge-custom-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.custom-box-left h4 {
    margin: 0 0 0.35rem 0;
    font-size: 1.05rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.custom-box-left p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.custom-box-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.custom-input-group {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0 0.75rem;
}

.currency-prefix {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffd700;
    font-family: var(--font-numbers);
    margin-right: 0.35rem;
}

.custom-input-group input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-numbers);
    font-size: 1.25rem;
    font-weight: 800;
    width: 90px;
    padding: 0.6rem 0;
    outline: none;
}

.custom-calc-preview {
    font-size: 0.92rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.custom-calc-preview strong {
    font-family: var(--font-numbers);
    font-size: 1.2rem;
}

.badge-bonus-mini {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* 4. Card de Checkout e Radar de Checagem */
.recharge-checkout-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(12, 17, 29, 0.98));
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 215, 0, 0.2);
    overflow: hidden;
    animation: fadeInCharBody 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-card-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.15rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.checkout-icon {
    font-size: 1.8rem;
}

.checkout-title-wrap h4 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 800;
}

.checkout-title-wrap p {
    margin: 2px 0 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
    font-family: var(--font-numbers);
}

.btn-close-checkout {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-checkout:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.checkout-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.summary-item strong {
    font-size: 1.15rem;
    font-family: var(--font-numbers);
    font-weight: 800;
}

/* Radar Pulse */
.checkout-live-status-box {
    background: rgba(245, 158, 11, 0.06);
    border: 1px dashed rgba(245, 158, 11, 0.35);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.checkout-live-status-box.approved {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.5);
    border-style: solid;
}

.checkout-status-spinner {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.25);
    animation: pulseRing 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.7); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(0.7); opacity: 0; }
}

.status-radar-icon {
    font-size: 1.6rem;
    z-index: 2;
    animation: spin 3s linear infinite;
}

.checkout-status-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.05rem;
    color: #fef08a;
    font-weight: 800;
}

.checkout-live-status-box.approved .checkout-status-info h5 {
    color: #10b981;
}

.checkout-status-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkout-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-open-infinitepay {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
}

/* 5. Histórico de Recargas */
.recharge-history-section {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-header h4 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-refresh-history {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-refresh-history:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.history-table-wrapper {
    overflow-x: auto;
}

.panel-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.panel-history-table th {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-history-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #f1f5f9;
}

.recharge-status-pill {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.status-approved {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

/* Responsividade */
@media (max-width: 768px) {
    .recharge-header-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .recharge-bonus-alert {
        width: 100%;
        max-width: 100%;
    }
    .checkout-summary-grid {
        grid-template-columns: 1fr;
    }
    .recharge-custom-box {
        flex-direction: column;
        align-items: stretch;
    }
    .custom-box-right {
        justify-content: space-between;
    }
}



/* ==============================================================================
   QUADRO DE NOTÃCIAS NO HERO & MODAL DE LEITURA
   ============================================================================== */
.hero-news-col {
    display: flex;
}
.hero-news-card {
    width: 100%;
    background: rgba(13, 19, 34, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.hero-news-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
}
.news-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 0.5px;
}
.news-live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseNewsDot 2s infinite ease-in-out;
}
@keyframes pulseNewsDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}
.news-card-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-weight: 600;
    text-transform: uppercase;
}
.news-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
    overflow-y: auto;
    max-height: 330px;
    padding-right: 0.25rem;
}
.news-items-list::-webkit-scrollbar {
    width: 4px;
}
.news-items-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
.news-items-list::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 4px;
}
.news-item {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid rgba(255, 215, 0, 0.45);
    cursor: pointer;
    transition: all 0.25s ease;
}
.news-item:hover {
    background: rgba(255, 215, 0, 0.06);
    border-left-color: #ffd700;
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateX(3px);
}
.news-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}
.news-item-date {
    color: #94a3b8;
    font-family: var(--font-rajdhani);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.news-item-tag {
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.news-tag-novidade {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.news-tag-evento {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.news-tag-manutencao {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.news-tag-atualizacao {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.news-tag-aviso {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.news-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.news-item:hover .news-item-title {
    color: #ffd700;
}
.news-loading-notice, .news-empty-notice {
    padding: 2rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.news-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}
.news-modal-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5e1;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* ==============================================================================
   PAINEL DO ADMINISTRADOR (CONTAGM = 2)
   ============================================================================== */
.admin-badge-contagm {
    font-size: 0.72rem;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 0.5rem;
}
.admin-news-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
}
.admin-section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #ffd700;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.admin-news-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.4);
    max-height: 250px;
    overflow-y: auto;
}
.admin-news-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.admin-news-table th {
    background: rgba(0, 0, 0, 0.4);
    color: #94a3b8;
    padding: 0.65rem 0.75rem;
    text-align: left;
    font-family: var(--font-rajdhani);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 2;
}
.admin-news-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
}
.admin-news-table tr:hover td {
    background: rgba(255, 215, 0, 0.03);
}

/* Responsividade do Hero em 3 Colunas */
@media (max-width: 1240px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .hero-content-col {
        grid-column: span 2;
        text-align: center;
        align-items: center;
    }
    .hero-description {
        max-width: 800px;
    }
    .rates-ribbon, .hero-cta-group {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .hero-content-col {
        grid-column: span 1;
        text-align: left;
        align-items: flex-start;
    }
    .rates-ribbon, .hero-cta-group {
        justify-content: flex-start;
    }
}


/* ==========================================================================
   PAINEL DO ADMINISTRADOR COMPLETO (TABS, STATS, CONTAS, PERSONAGENS)
   ========================================================================== */
.admin-tab-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
}
.admin-tab-btn {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.admin-tab-btn:hover {
    color: #fff;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(234, 179, 8, 0.1);
}
.admin-tab-btn.active {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(202, 138, 4, 0.15));
    border-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.25);
}

.admin-tab-panel {
    display: none;
    animation: fadeIn 0.25s ease;
}
.admin-tab-panel.active {
    display: block;
}

/* Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.admin-stat-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #ffd700, #ef4444);
}
.admin-stat-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.admin-stat-label {
    font-size: 0.76rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* Search Bar */
.admin-search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}
.admin-search-input {
    flex: 1;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.65rem 1rem;
    color: #fff;
    font-size: 0.9rem;
}
.admin-search-input:focus {
    border-color: #ffd700;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Item Cards (Accounts & Characters) */
.admin-result-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 0.35rem;
}
.admin-item-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem 1.15rem;
    transition: all 0.2s ease;
}
.admin-item-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(15, 23, 42, 0.9);
}
.admin-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.admin-item-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-item-badges {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
}
.admin-badge-pill {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-weight: 700;
}
.admin-badge-adm { background: rgba(234, 179, 8, 0.25); color: #ffd700; border: 1px solid rgba(234, 179, 8, 0.5); }
.admin-badge-gm { background: rgba(56, 189, 248, 0.25); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.5); }
.admin-badge-user { background: rgba(148, 163, 184, 0.15); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.3); }
.admin-badge-active { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.admin-badge-banned { background: rgba(239, 68, 68, 0.25); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.5); }

.admin-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.65rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
}
.admin-item-stat-label { color: #94a3b8; font-size: 0.72rem; margin-bottom: 0.15rem; }
.admin-item-stat-val { color: #f1f5f9; font-weight: 600; }

.admin-item-actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}
.btn-admin-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.btn-admin-pill-gold { background: rgba(234, 179, 8, 0.2); color: #ffd700; border-color: rgba(234, 179, 8, 0.4); }
.btn-admin-pill-gold:hover { background: #ffd700; color: #000; }
.btn-admin-pill-cyan { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border-color: rgba(56, 189, 248, 0.4); }
.btn-admin-pill-cyan:hover { background: #38bdf8; color: #000; }
.btn-admin-pill-red { background: rgba(239, 68, 68, 0.2); color: #f87171; border-color: rgba(239, 68, 68, 0.4); }
.btn-admin-pill-red:hover { background: #ef4444; color: #fff; }
.btn-admin-pill-green { background: rgba(16, 185, 129, 0.2); color: #34d399; border-color: rgba(16, 185, 129, 0.4); }
.btn-admin-pill-green:hover { background: #10b981; color: #000; }
/* Modal Footer */
.modal-footer {
    padding: 0.85rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 7, 10, 0.75);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ESTILOS DE FORMULARIOS DO PAINEL ADM */
.form-group {
    display: flex;
    flex-direction: column;
}
.form-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.form-input {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    padding: 0.65rem 0.85rem !important;
    color: #f1f5f9 !important;
    font-size: 0.88rem !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
}
.form-input:focus {
    border-color: #ffd700 !important;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2) !important;
    background: #1e293b !important;
}
.form-input::placeholder {
    color: #64748b !important;
}
select.form-input {
    cursor: pointer;
}
select.form-input option {
    background: #0f172a;
    color: #f1f5f9;
}
.emoji-pick {
    transition: transform 0.15s ease, background 0.15s ease;
}
.emoji-pick:hover {
    transform: scale(1.25);
    background: rgba(255, 215, 0, 0.2) !important;
}
