/* ==========================================================================
   DARKSIDE MORPHEUS — THEME REDESIGN CSS (DARK FANTASY EDITION)
   Inspirado na arquitetura e estilo de Mu Domix (https://mudomix.com/)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cinzel+Decorative:wght@700&family=Marcellus&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Reset & Base Globais --- */
body {
  background-color: #08080a !important;
  color: #c4c8d0 !important;
  font-family: 'Poppins', sans-serif !important;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 120px, rgba(160, 18, 18, 0.16) 0%, rgba(10, 10, 13, 0.98) 750px), url('../images/bg.png') !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-attachment: scroll;
}

h1, h2, h3, h4, h5, h6,
.section-title, .character-title, .footer-title h3, .card-header h6 {
  font-family: 'Cinzel', serif !important;
  letter-spacing: 1px;
}

/* ==========================================================================
   1. NAVBAR PRINCIPAL (TRANSPARENTE COM GLASSMORPHISM & ORNAMENTO)
   ========================================================================== */
.navbar {
  background: rgba(10, 10, 12, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(205, 162, 80, 0.22) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8) !important;
  padding: 0 !important;
  transition: all 0.35s ease !important;
  height: 64px !important;
}

.navbar.scrolled {
  background: rgba(7, 7, 9, 0.96) !important;
  border-bottom: 1px solid rgba(201, 20, 20, 0.45) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.95), 0 0 15px rgba(201, 20, 20, 0.25) !important;
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

.nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  list-style: none !important;
}

.nav-menu li a.nav-link {
  font-family: 'Cinzel', serif !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  color: #dfdfe6 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 18px 14px !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

.nav-menu li a.nav-link:hover,
.nav-menu li a.nav-link.active {
  color: #ff3838 !important;
  text-shadow: 0 0 10px rgba(255, 30, 30, 0.6) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-menu li a.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c91414, #ff3838, #c91414, transparent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu li a.nav-link:hover::after,
.nav-menu li a.nav-link.active::after {
  width: 80%;
}

/* Dropdown Menu */
.dropdown-menu {
  background: rgba(12, 13, 16, 0.97) !important;
  border: 1px solid rgba(205, 162, 80, 0.25) !important;
  border-top: 2px solid #c91414 !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 15px rgba(201, 20, 20, 0.2) !important;
  border-radius: 4px !important;
  backdrop-filter: blur(14px) !important;
  padding: 6px 0 !important;
}

.dropdown-item {
  color: #c9cdd4 !important;
  font-family: 'Cinzel', serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  transition: all 0.2s ease !important;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(201, 20, 20, 0.25), transparent) !important;
  color: #ff4d4d !important;
  padding-left: 24px !important;
}

/* ==========================================================================
   2. HERO SECTION / BANNER CINEMATOGRÁFICO
   ========================================================================== */
.hero-epic-section {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 40px;
  overflow: hidden;
}

.hero-epic-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 40%, rgba(201, 20, 20, 0.18) 0%, rgba(9, 9, 12, 0.88) 75%),
              linear-gradient(180deg, rgba(8, 8, 10, 0.2) 0%, rgba(8, 8, 10, 0.95) 90%, #08080a 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-epic-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

/* Indicador de Jogadores Online no Topo (como no Mu Domix) */
.hero-online-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
  background: radial-gradient(ellipse at center, rgba(30, 10, 12, 0.75) 0%, rgba(10, 10, 14, 0.9) 100%);
  border: 1px solid rgba(205, 162, 80, 0.25);
  border-radius: 4px;
  padding: 8px 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7), inset 0 0 12px rgba(201, 20, 20, 0.25);
  animation: pulse-glow 3s infinite ease-in-out;
}

.hero-online-badge .label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a4a8b2;
}

.hero-online-badge .count {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ff2a2a;
  text-shadow: 0 0 15px rgba(255, 30, 30, 0.75), 0 0 30px rgba(201, 20, 20, 0.4);
  line-height: 1.1;
}

/* Logo Darkside Morpheus */
.hero-brand-container {
  margin-bottom: 20px;
  position: relative;
}

.hero-brand-container img.hero-main-logo {
  max-height: 180px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(201, 20, 20, 0.55)) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9));
  transition: transform 0.4s ease;
}

.hero-brand-container img.hero-main-logo:hover {
  transform: scale(1.02);
}

.hero-subtitle-bar {
  font-family: 'Marcellus', 'Cinzel', serif;
  font-size: 1.12rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #cda250;
  text-shadow: 0 0 10px rgba(205, 162, 80, 0.4);
  margin-bottom: 30px;
}

/* Botões de Ação Heroicos (DOWNLOAD / CADASTRO / LOGIN) */
.hero-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.btn-hero-epic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 4px;
  text-decoration: none !important;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

/* Botão Download (Destaque Primário) */
.btn-hero-download {
  background: linear-gradient(180deg, #b01515 0%, #680d0d 100%);
  color: #fff !important;
  border: 1px solid #ff4444;
  box-shadow: 0 0 20px rgba(201, 20, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-hero-download:hover {
  background: linear-gradient(180deg, #d81b1b 0%, #851010 100%);
  box-shadow: 0 0 35px rgba(255, 30, 30, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: #fff !important;
}

/* Botão Cadastro */
.btn-hero-register {
  background: linear-gradient(180deg, #22232a 0%, #131418 100%);
  color: #f0cb77 !important;
  border: 1px solid rgba(205, 162, 80, 0.45);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(205, 162, 80, 0.2);
}

.btn-hero-register:hover {
  background: linear-gradient(180deg, #30323c 0%, #1a1c22 100%);
  border-color: #f0cb77;
  color: #ffe699 !important;
  box-shadow: 0 0 25px rgba(205, 162, 80, 0.4);
  transform: translateY(-2px);
}

/* Botão Login / Painel */
.btn-hero-login {
  background: rgba(14, 15, 18, 0.75);
  color: #dfdfe6 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-hero-login:hover {
  background: rgba(26, 28, 34, 0.9);
  border-color: #c91414;
  color: #ff3b3b !important;
  box-shadow: 0 0 20px rgba(201, 20, 20, 0.35);
  transform: translateY(-2px);
}

/* Efeito de brilho sweep nos botões */
.btn-hero-epic::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: 0.6s;
}

.btn-hero-epic:hover::before {
  left: 150%;
}

/* Ícones dos botões e chamadas de ação. */
.btn-hero-epic i,
.btn-sidebar-epic i,
.darkside-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'remixicon' !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1;
  font-size: 1.15em;
  margin-right: .45rem;
  speak: never;
}

.hero-action-icon,
.sidebar-action-icon,
.social-action-icon,
.darkside-card .material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  margin-right: .45rem;
  vertical-align: middle;
}

/* ==========================================================================
   3. ESTRUTURA GERAL DO CONTEÚDO (CONTAINER & CARDS ESCUROS)
   ========================================================================== */
.wrap {
  width: 100%;
  position: relative;
  margin-top: 20px !important;
  z-index: 10;
}

/* Home: mantém as três colunas alinhadas no desktop. */
@media (min-width: 992px) {
  .home-sidebar-left,
  .home-sidebar-right {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }

  .home-main-column {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* Salas e status foram movidas para a coluna esquerda. */
.home-sidebar-right .sidebar-section:has(.rooms-status-list) {
  display: none !important;
}

.container {
  background-color: transparent !important;
  box-shadow: none !important;
  max-width: 1320px;
}

/* Card Escuro Primário com Borda Medieval */
.darkside-card,
.sidebar-section,
.page-body,
.card {
  background: radial-gradient(circle at 50% 0%, rgba(25, 26, 32, 0.94) 0%, rgba(13, 14, 17, 0.97) 100%) !important;
  border: 1px solid rgba(205, 162, 80, 0.18) !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), inset 0 0 1px rgba(255, 255, 255, 0.08) !important;
  position: relative;
  margin-bottom: 22px;
  overflow: hidden;
}

/* Top Accent Vermelho Sangue / Dourado em Cards */
.darkside-card::before,
.sidebar-section::before,
.sidebar-header::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(205, 162, 80, 0.4) 20%, #c91414 50%, rgba(205, 162, 80, 0.4) 80%, transparent 95%);
  pointer-events: none;
}

/* Cabeçalhos de Seção / Header */
.sidebar-header,
.section-header-epic,
.page-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 20px !important;
  background: linear-gradient(180deg, rgba(32, 34, 42, 0.6) 0%, rgba(16, 17, 21, 0.4) 100%) !important;
  border-bottom: 1px solid rgba(205, 162, 80, 0.16) !important;
  position: relative;
}

.sidebar-header h3,
.section-header-epic h3,
.page-title h1 {
  font-family: 'Cinzel', serif !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: #f0e6d6 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-header h3::before,
.section-header-epic h3::before {
  content: '❖';
  color: #c91414;
  font-size: 0.85rem;
  text-shadow: 0 0 8px rgba(201, 20, 20, 0.8);
}

.sidebar-header a i,
.sidebar-header i {
  color: #cda250 !important;
  font-size: 1.2rem !important;
  transition: all 0.3s ease;
}

.sidebar-header a:hover i {
  color: #ff3333 !important;
  transform: rotate(90deg);
}

/* ==========================================================================
   4. SIDEBARS (STATUS, SALAS, EQUIPE, WEBSHOP)
   ========================================================================== */
.sidebar-section {
  padding: 0 0 12px 0 !important;
}

/* Lista de Informações do Servidor */
ul.contact-info,
ul.sidebar-list {
  list-style: none !important;
  padding: 8px 16px !important;
  margin: 0 !important;
}

ul.contact-info li,
ul.sidebar-list li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08) !important;
  color: #9ea3ae !important;
  font-size: 0.83rem !important;
  font-weight: 500 !important;
}

ul.contact-info li:last-child,
ul.sidebar-list li:last-child {
  border-bottom: none !important;
}

ul.contact-info li .text-bold,
ul.sidebar-list li .text {
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  color: #f0cb77 !important;
  text-shadow: 0 0 8px rgba(205, 162, 80, 0.25);
}

/* Sidebar Direita: Botões Rápidos e Status das Salas */
.sidebar-fast-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-sidebar-epic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.btn-sidebar-download {
  background: linear-gradient(180deg, #991212 0%, #520909 100%);
  color: #fff !important;
  border: 1px solid #c91414;
}

.btn-sidebar-download:hover {
  background: linear-gradient(180deg, #c91414 0%, #750e0e 100%);
  box-shadow: 0 0 25px rgba(201, 20, 20, 0.65);
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-sidebar-register {
  background: linear-gradient(180deg, #22242c 0%, #121317 100%);
  color: #f0cb77 !important;
  border: 1px solid rgba(205, 162, 80, 0.35);
}

.btn-sidebar-register:hover {
  background: linear-gradient(180deg, #30333e 0%, #1a1c22 100%);
  border-color: #f0cb77;
  color: #ffe699 !important;
  box-shadow: 0 0 20px rgba(205, 162, 80, 0.35);
  transform: translateY(-2px);
}

/* Redes Sociais no Card */
.sidebar-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(10, 11, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin: 12px 14px;
}

.sidebar-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a6abb4 !important;
  font-size: 1.15rem;
  transition: all 0.3s ease;
}

.social-brand-icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-brand-icon .social-brand-fill {
  fill: currentColor;
  stroke: none;
}

.discord-icon {
  fill: currentColor;
  stroke: none;
}

.sidebar-social-links a:hover {
  color: #ff3333 !important;
  border-color: #c91414;
  background: rgba(201, 20, 20, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(201, 20, 20, 0.4);
}

/* Ícones sociais: garante que os glifos do Remix Icon sejam renderizados. */
.sidebar-social-links a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'remixicon' !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  speak: never;
}

.sidebar-social-links a[title="Instagram"] i {
  color: #e7a1c5;
}

.sidebar-social-links a[title="WhatsApp"] i {
  color: #6ee7a0;
}

.sidebar-social-links a[title="Discord"] i {
  color: #9aa9ff;
}

/* Fumaça ambiente: fluxo lento, contínuo e discreto sobre o hero. */
.smoke-container {
  position: absolute;
  inset: 64px 0 auto;
  width: 100%;
  height: 620px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  opacity: .48;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 72%, transparent 100%);
}

.smoke-effect {
  position: absolute;
  inset: -12% -10% 0;
  width: 120%;
  height: 115%;
  max-width: none;
  background: url('../images/smoke-flow.png') center / cover no-repeat;
  opacity: .28;
  filter: blur(1px) saturate(.72);
  mix-blend-mode: screen;
  animation: smoke-drift 24s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.smoke-effect-duplicate {
  inset: -8% -16% 0;
  opacity: .18;
  transform: scaleX(-1) translate3d(4%, 0, 0);
  animation-duration: 32s;
  animation-delay: -9s;
}

@keyframes smoke-drift {
  0% {
    transform: translate3d(-4%, 5%, 0) scale(1.02) rotate(-1deg);
    opacity: .12;
  }
  50% {
    transform: translate3d(3%, -2%, 0) scale(1.08) rotate(1deg);
    opacity: .3;
  }
  100% {
    transform: translate3d(-1%, -7%, 0) scale(1.12) rotate(-.5deg);
    opacity: .16;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smoke-effect,
  .smoke-effect-duplicate {
    animation: none;
  }
}

/* Status das Salas (Salas com Barras de Ocupação) */
.room-status-item {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.room-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.room-info-row .room-name {
  color: #dfdfe6;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.room-info-row .room-state {
  font-size: 0.75rem;
  color: #28a745;
  font-weight: 600;
  text-transform: uppercase;
}

.room-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.room-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #821010, #c91414, #ff3333);
  box-shadow: 0 0 8px rgba(201, 20, 20, 0.6);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.online-count-label {
  color: #b9c8d8 !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(83, 210, 174, 0.35);
}

.online-count-label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: #48e39b;
  box-shadow: 0 0 6px #48e39b, 0 0 12px rgba(72, 227, 155, 0.75);
  animation: online-pulse 1.8s ease-in-out infinite;
}

@keyframes online-pulse {
  0%, 100% { opacity: .65; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ==========================================================================
   5. ÚLTIMAS ATUALIZAÇÕES (NOTÍCIAS & PATCH NOTES)
   ========================================================================== */
.news-tabs {
  display: flex !important;
  border-bottom: 1px solid rgba(205, 162, 80, 0.2) !important;
  padding: 0 16px !important;
  gap: 6px !important;
  background: rgba(14, 15, 18, 0.4) !important;
}

.news-tab {
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  color: #9da2af !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 12px 20px !important;
  cursor: pointer !important;
  border-bottom: 2px solid transparent !important;
  transition: all 0.3s ease !important;
}

.news-tab:hover,
.news-tab.active {
  color: #ff3b3b !important;
  background: transparent !important;
  border-bottom: 2px solid #c91414 !important;
  text-shadow: 0 0 10px rgba(201, 20, 20, 0.4) !important;
}

/* Cards das Notícias / Posts */
.posts-post {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 14px 18px !important;
  background: rgba(14, 15, 19, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 4px !important;
  margin: 10px 14px !important;
  transition: all 0.3s ease !important;
}

.posts-post:hover {
  background: rgba(22, 24, 30, 0.9) !important;
  border-color: rgba(201, 20, 20, 0.35) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
}

.posts-post .posts-image {
  width: 90px !important;
  height: 65px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  border: 1px solid rgba(205, 162, 80, 0.25) !important;
  flex-shrink: 0 !important;
}

.posts-post .posts-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.posts-post:hover .posts-image img {
  transform: scale(1.08) !important;
}

.posts-post-container {
  flex: 1 !important;
}

.posts-title a {
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  color: #f0e6d6 !important;
  transition: color 0.2s ease !important;
}

.posts-title a:hover {
  color: #ff3333 !important;
}

.posts-created {
  font-size: 0.75rem !important;
  color: #7d828e !important;
  margin-left: 10px !important;
}

/* ==========================================================================
   6. SISTEMA DE RANKINGS (4 PAINÉIS INDEPENDENTES: RESETS, PK, HUNTS)
   ========================================================================== */
.ranking-grid-4cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 15px;
  margin-bottom: 25px;
}

@media (max-width: 1200px) {
  .ranking-grid-4cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .ranking-grid-4cols {
    grid-template-columns: 1fr;
  }
}

.ranking-column-card {
  background: radial-gradient(circle at 50% 0%, rgba(26, 27, 34, 0.95) 0%, rgba(12, 13, 16, 0.98) 100%) !important;
  border: 1px solid rgba(205, 162, 80, 0.22) !important;
  border-radius: 4px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ranking-column-header {
  background: linear-gradient(180deg, rgba(42, 15, 17, 0.85) 0%, rgba(22, 10, 12, 0.95) 100%);
  border-bottom: 1px solid rgba(201, 20, 20, 0.4);
  padding: 12px 14px;
  text-align: center;
}

.ranking-column-header h4 {
  font-family: 'Cinzel', serif !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #f5ece0 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  text-shadow: 0 0 10px rgba(201, 20, 20, 0.6);
}

.ranking-filter-bar {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: rgba(8, 9, 12, 0.8);
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ranking-filter-pill {
  font-size: 0.68rem;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #8c919d;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ranking-filter-pill:hover,
.ranking-filter-pill.active {
  color: #fff;
  background: rgba(201, 20, 20, 0.4);
  box-shadow: 0 0 6px rgba(201, 20, 20, 0.4);
}

/* Tabela e Linhas do Ranking */
.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.ranking-table tr:hover {
  background: rgba(201, 20, 20, 0.08);
}

.ranking-table td {
  padding: 9px 12px;
  font-size: 0.8rem;
  color: #c4c8d2;
  vertical-align: middle;
}

.ranking-pos {
  width: 28px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  color: #7a7f8b;
}

/* Destaque TOP 3 (Ouro, Prata, Bronze) */
.ranking-table tr:nth-child(1) .ranking-pos {
  color: #f0cb77 !important;
  text-shadow: 0 0 10px rgba(240, 203, 119, 0.7);
}
.ranking-table tr:nth-child(1) {
  background: linear-gradient(90deg, rgba(205, 162, 80, 0.12), transparent);
}

.ranking-table tr:nth-child(2) .ranking-pos {
  color: #d4d8de !important;
  text-shadow: 0 0 8px rgba(212, 216, 222, 0.6);
}

.ranking-table tr:nth-child(3) .ranking-pos {
  color: #cd7f32 !important;
  text-shadow: 0 0 8px rgba(205, 127, 50, 0.6);
}

.ranking-player-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ranking-avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(205, 162, 80, 0.3);
  object-fit: cover;
  background: #101115;
}

.ranking-player-name {
  font-weight: 600;
  color: #dfdfe6;
  text-decoration: none !important;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.ranking-player-name:hover {
  color: #ff3333;
}

.ranking-score-cell {
  text-align: right;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #f0cb77;
  font-size: 0.82rem;
}

.ranking-footer-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: rgba(14, 15, 18, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Cinzel', serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: #cda250 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.ranking-footer-btn:hover {
  background: rgba(201, 20, 20, 0.2);
  color: #ff3b3b !important;
}

/* ==========================================================================
   7. TOP CLASSES (EXIBIÇÃO ÉPICA CINEMATOGRÁFICA)
   ========================================================================== */
.character-main {
  width: 100% !important;
  min-height: 480px !important;
  background: radial-gradient(circle at 70% 50%, rgba(30, 10, 14, 0.7) 0%, rgba(10, 11, 14, 0.95) 70%) !important;
  border: 1px solid rgba(205, 162, 80, 0.25) !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), inset 0 0 1px rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 25px;
}

.character-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #cda250, #c91414, #cda250, transparent);
  z-index: 10;
}

.character-header {
  position: relative;
  z-index: 5;
}

.character-title {
  font-family: 'Cinzel', serif !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: #f7ede1 !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 15px rgba(201, 20, 20, 0.7) !important;
}

.character-subtitle {
  font-family: 'Marcellus', serif !important;
  font-size: 0.95rem !important;
  color: #cda250 !important;
  letter-spacing: 1px !important;
}

.character-details {
  background: rgba(14, 15, 18, 0.8) !important;
  border: 1px solid rgba(205, 162, 80, 0.2) !important;
  border-left: 3px solid #c91414 !important;
  border-radius: 4px !important;
  padding: 14px 20px !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7) !important;
}

.character-name a {
  font-family: 'Cinzel', serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #ff3b3b !important;
  text-shadow: 0 0 10px rgba(201, 20, 20, 0.6) !important;
}

.character-score, .character-guild {
  font-size: 0.85rem !important;
  color: #a4a9b4 !important;
  margin-top: 4px !important;
}

.character-score text, .character-guild text {
  color: #f0cb77 !important;
  font-weight: 600 !important;
}

.character-image img.slot-image {
  filter: drop-shadow(0 0 25px rgba(201, 20, 20, 0.45)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.9)) !important;
}

/* Miniaturas de Navegação das Classes */
.character-slot {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(15, 16, 20, 0.8) !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}

.character-slot.slick-current.slick-active {
  border-color: #c91414 !important;
  box-shadow: 0 0 15px rgba(201, 20, 20, 0.7) !important;
  transform: scale(1.15) translateY(-4px) !important;
}

/* ==========================================================================
   8. MERCADO & CASTLE SIEGE
   ========================================================================== */
.itemmarket-card {
  background: radial-gradient(circle at 50% 0%, rgba(26, 27, 33, 0.95) 0%, rgba(14, 15, 18, 0.98) 100%) !important;
  border: 1px solid rgba(205, 162, 80, 0.2) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8) !important;
}

.itemmarket-card:hover {
  border-color: rgba(201, 20, 20, 0.5) !important;
  box-shadow: 0 10px 30px rgba(201, 20, 20, 0.25) !important;
}

.itemmarket-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.itemmarket-item {
  background: rgba(8, 9, 12, 0.6) !important;
}

.itemmarket-item-name {
  color: #d8dde6 !important;
}

.itemmarket-price-btn {
  background: linear-gradient(180deg, #9b1414 0%, #5e0d0d 100%) !important;
  border: 1px solid #c91414 !important;
  color: #fff !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
}

.itemmarket-price-btn:hover {
  background: linear-gradient(180deg, #c91414 0%, #7e1010 100%) !important;
  box-shadow: 0 0 15px rgba(201, 20, 20, 0.6) !important;
}

/* Castle Siege Showcase */
.castle-siege-epic-card {
  background: radial-gradient(circle at 50% 40%, rgba(35, 12, 16, 0.8) 0%, rgba(10, 11, 14, 0.98) 75%), url('../images/castle-siege.png') no-repeat center !important;
  background-size: cover !important;
  border: 1px solid rgba(205, 162, 80, 0.3) !important;
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  margin-bottom: 25px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   9. FOOTER MINIMALISTA & SOFISTICADO
   ========================================================================== */
footer {
  background: radial-gradient(circle at 50% 0%, rgba(22, 12, 14, 0.95) 0%, #060608 100%) !important;
  border-top: 1px solid rgba(205, 162, 80, 0.25) !important;
  padding-top: 60px !important;
  padding-bottom: 30px !important;
  min-height: auto !important;
  position: relative;
  color: #9297a2 !important;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, #cda250 30%, #c91414 50%, #cda250 70%, transparent 90%);
}

.footer-content {
  display: flex !important;
  justify-content: space-around !important;
  gap: 40px !important;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-column h3 {
  font-family: 'Cinzel', serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #f0e6d6 !important;
  letter-spacing: 2px !important;
  margin-bottom: 18px !important;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #c91414;
}

.footer-column ul li a {
  color: #969ba6 !important;
  font-size: 0.85rem !important;
  transition: all 0.25s ease !important;
  display: inline-block;
  padding: 6px 0 !important;
}

.footer-column ul li a:hover {
  color: #ff3b3b !important;
  transform: translateX(5px);
}

.footer-clocks-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px 0 20px 0;
  padding: 12px 20px;
  background: rgba(10, 11, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.footer-clock-item {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: #a4a9b4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-clock-item span.time {
  color: #f0cb77;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-credits {
  text-align: center;
  font-size: 0.8rem !important;
  color: #6a6f7b !important;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.footer-credits a {
  color: #cda250 !important;
  text-decoration: none !important;
}

.footer-credits a:hover {
  color: #ff3333 !important;
}

/* ==========================================================================
   10. ANIMAÇÕES & DETALHES VISUAIS
   ========================================================================== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7), inset 0 0 10px rgba(201, 20, 20, 0.25);
    border-color: rgba(205, 162, 80, 0.25);
  }
  50% {
    box-shadow: 0 0 25px rgba(201, 20, 20, 0.4), inset 0 0 18px rgba(201, 20, 20, 0.45);
    border-color: rgba(201, 20, 20, 0.55);
  }
}

/* Modal Dark Fantasy */
.modal-content {
  background: radial-gradient(circle at 50% 0%, #1a1c22 0%, #0d0e12 100%) !important;
  border: 1px solid rgba(205, 162, 80, 0.3) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(201, 20, 20, 0.3) !important;
  border-radius: 6px !important;
}

.modal-header {
  border-bottom: 1px solid rgba(201, 20, 20, 0.3) !important;
  background: linear-gradient(180deg, rgba(35, 15, 18, 0.8) 0%, transparent 100%) !important;
}

.modal-title {
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  color: #f7ede1 !important;
  letter-spacing: 1.5px !important;
}

.btn-close {
  filter: invert(1) brightness(0.8) !important;
}

/* Formulário e Inputs */
.form-group input {
  background: rgba(10, 11, 14, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

.form-group input:focus {
  border-color: #c91414 !important;
  box-shadow: 0 0 12px rgba(201, 20, 20, 0.45) !important;
  background: rgba(16, 17, 22, 0.95) !important;
}

.login-btn {
  background: linear-gradient(180deg, #b01515 0%, #680d0d 100%) !important;
  border: 1px solid #ff4444 !important;
  color: #fff !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
}

.login-btn:hover {
  background: linear-gradient(180deg, #d81b1b 0%, #851010 100%) !important;
  box-shadow: 0 0 20px rgba(255, 30, 30, 0.7) !important;
}

/* ==========================================================================
   11. RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 991px) {
  .hero-epic-section {
    min-height: 480px;
    padding-top: 80px;
  }

  .hero-brand-container img.hero-main-logo {
    max-height: 130px;
  }

  .footer-content {
    gap: 30px;
    text-align: center;
  }

  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-column ul {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-epic {
    width: 100%;
    max-width: 320px;
  }

  .nav-menu {
    background: rgba(10, 11, 14, 0.98) !important;
    border-bottom: 2px solid #c91414 !important;
  }
}

/* Downloads: títulos claros sobre as superfícies escuras do tema. */
.page-body .card-header h2,
.page-body .card-header h3,
.page-body > h1,
.page-body > h2,
.page-body > h3 {
  color: #f0e6d6 !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
}

.page-body .card-header {
  background: linear-gradient(180deg, rgba(32, 34, 42, 0.88) 0%, rgba(16, 17, 21, 0.9) 100%) !important;
  border-bottom: 1px solid rgba(205, 162, 80, 0.24) !important;
}

/* Hall of Fame: adapta o markup do plugin à paleta vermelha do tema. */
.ranking-container {
  width: 100%;
  padding: 14px 8px 18px;
  background: rgba(10, 11, 14, 0.72);
  border: 1px solid rgba(205, 162, 80, 0.18);
  border-radius: 4px;
}

.ranking-container .nav-tabs {
  gap: 6px;
  border-bottom: 1px solid rgba(205, 162, 80, 0.3) !important;
  margin-bottom: 16px !important;
}

/* No Hall of Fame, exibe Reset, Master Reset e Guild lado a lado. */
.ranking-container .nav-tabs {
  display: none !important;
}

.ranking-container .tab-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ranking-container .tab-content > .tab-pane {
  display: block !important;
  flex: 1 1 0;
  min-width: 0;
  opacity: 1 !important;
}

.ranking-container .tab-content > .tab-pane > .row {
  margin: 0 !important;
}

.ranking-container .tab-content > .tab-pane > .row > [class*="col-"] {
  width: 100%;
  padding: 0 !important;
}

.ranking-container .nav-tabs .btn {
  color: #aeb4bf !important;
  background: rgba(18, 19, 23, 0.9) !important;
  border: 1px solid rgba(205, 162, 80, 0.22) !important;
  border-radius: 4px 4px 0 0;
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  transition: all .25s ease;
}

.ranking-container .nav-tabs .btn:hover,
.ranking-container .nav-tabs .btn.active {
  color: #fff !important;
  background: linear-gradient(180deg, #b01515 0%, #680d0d 100%) !important;
  border-color: #d92929 !important;
  box-shadow: 0 0 12px rgba(201, 20, 20, .35);
}

.ranking-container .ranking-card {
  overflow: hidden;
  background: #111318 !important;
  border: 1px solid rgba(205, 162, 80, .25) !important;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45) !important;
}

.ranking-container .ranking-card .card-header,
.ranking-container .ranking-card .card-footer,
.ranking-container .ranking-card .bg-primary {
  background: linear-gradient(180deg, #9d1518 0%, #5e0d10 100%) !important;
  color: #fff !important;
  border-color: rgba(255, 75, 75, .45) !important;
}

.ranking-container .ranking-card .card-header h6 {
  color: #fff1e4 !important;
  font-family: 'Cinzel', serif !important;
  letter-spacing: 1px;
}

.ranking-container .ranking-card table {
  margin: 0;
  color: #d5d9df !important;
  --bs-table-bg: #15171c;
  --bs-table-striped-bg: #1b1e24;
  --bs-table-hover-bg: #242832;
  --bs-table-border-color: rgba(255, 255, 255, .08);
}

.ranking-container .ranking-card table th {
  color: #f0cb77 !important;
  background: #1d2026 !important;
  font-family: 'Cinzel', serif;
  font-size: .76rem;
}

.ranking-container .ranking-card table td {
  color: #111318 !important;
  vertical-align: middle;
}

.ranking-container .ranking-card table tbody tr,
.ranking-container .ranking-card table tbody tr td {
  color: #111318 !important;
}

@media (max-width: 767px) {
  .ranking-container .tab-content {
    flex-direction: column;
  }

  .ranking-container .tab-content > .tab-pane {
    width: 100%;
  }
}
