/* Rediseño completo para la página principal - Estilo moderno y unificado */

/* ===== MEJORAS GENERALES ===== */
.container {
  max-width: 1200px;
  padding: 0 15px;
}

/* Fondo personalizado para toda la página */
body:after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 20%),
              radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 20%),
              linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* Estructura principal del contenido - Diseño unificado */
#content-deidad {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}

#stuff {
  grid-column: 1;
}

#sidebar {
  grid-column: 2;
}

/* Estilo general para todas las secciones */
.content-section {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Títulos de secciones modernos */
.section-title {
  background: linear-gradient(135deg, #0a1022, #0d1631);
  padding: 10px 15px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.section-title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
}

.section-title h2 i {
  margin-right: 8px;
  color: #60a5fa;
}

.section-content {
  padding: 20px;
}

/* Mejoras generales para toda la página */
body {
  color: #e2e8f0;
}

/* Mejoras para el sistema de logros */
.logros-help-button a {
  background: rgba(30, 58, 138, 0.7) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  border-radius: 6px !important;
  padding: 8px 15px !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.logros-help-button a:hover {
  background: rgba(30, 58, 138, 0.9) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* ===== MEJORAS PARA SECCIÓN DE NOTICIAS ===== */
.home-news-section {
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin-bottom: 30px !important;
}

/* Convertir page-title a section-title para unificar estilos */
.page-title {
  background: linear-gradient(135deg, #0a1022, #0d1631) !important;
  padding: 10px 15px !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  border-radius: 12px 12px 0 0 !important;
  margin-bottom: 0 !important;
  text-align: center !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  position: relative;
  overflow: hidden;
}

.page-title span {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  text-transform: uppercase !important;
  position: relative !important;
}

/* Contenedor unificado para noticias */
.home-news-section {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
  position: relative;
}

/* Tarjetas de noticias modernas */
.news-card {
  background: rgba(28, 57, 142, 0.15) !important;
  border: none !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease;
  margin-bottom: 20px !important;
  position: relative;
padding: 20px;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.news-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.news-card:hover:after {
  transform: scaleX(1);
}

/* Imagen de noticias */
.news-image {
  position: relative;
  overflow: hidden;
}

.news-image:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.8));
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-image:before {
  opacity: 1;
}

.news-image img {
  height: 200px !important;
  object-fit: cover;
  transition: all 0.5s ease;
  width: 100%;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

/* Contenido de noticias */
.news-body {
  padding: 20px !important;
  position: relative;
}

.news-header {
  margin-bottom: 10px !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.news-title {
  margin: 0 0 10px !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  flex: 1;
  padding-right: 15px;
}

.news-title a {
  color: #f8fafc !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  background: linear-gradient(to right, #f8fafc, #f8fafc);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
}

.news-title a:hover {
  color: #60a5fa !important;
  background-size: 100% 1px;
}

.news-date {
  color: #94a3b8 !important;
  font-size: 12px !important;
  background: rgba(30, 58, 138, 0.2) !important;
  border: none !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  display: inline-flex;
  align-items: center;
  margin-top: 3px;
}

.news-date:before {
  content: '\f017';
  font-family: 'Font Awesome 5 Free';
  margin-right: 5px;
  font-size: 10px;
  opacity: 0.8;
}

.news-excerpt {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 15px !important;
  -webkit-line-clamp: 3 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  position: relative;
}

.news-actions {
  padding: 0 !important;
  display: flex;
  justify-content: flex-end;
}

.news-btn {
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  background: rgba(30, 58, 138, 0.7) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 600 !important;
  position: relative;
  overflow: hidden;
}

.news-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.news-btn:hover:before {
  left: 100%;
}

.news-btn:hover {
  background: rgba(30, 58, 138, 0.9) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

.news-more {
  margin-top: 10px !important;
  text-align: center !important;
}

.news-more .news-btn {
  background: linear-gradient(135deg, #1e3a8a, #1e40af) !important;
  padding: 10px 20px !important;
}

/* ===== MEJORAS PARA SIDEBAR ===== */
#sidebar {
  margin-top: 0;
  position: relative;
}

/* Contenedor para todas las secciones del sidebar */
.sidebar-section {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden;
  margin-bottom: 20px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.sidebar-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Boss Kills - Diseño de carrusel mejorado */
.bosskills-carousel {
  margin-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}

.bosskills-track {
  display: flex;
  transition: transform 450ms ease;
}

.bosskills-slide {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  position: relative;
  overflow: hidden;
  width: 95% !important;
  min-width: 95% !important;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px 0px 20px !important;
}

/* Barra superior con efecto de energía */
.bosskills-main:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
	margin-top: 15px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  z-index: 5;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

/* Encabezado con nombre del jugador - Mejorado */
.bosskills-header {
	margin-top: 15px;
  position: absolute;
transform: translate(160%, -50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.85);
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.3); 
	text-align: center;
}
/* Ajuste para el icono del personaje */
.bosskills-header img {
  width: 30px !important;
  height: auto !important;
  vertical-align: middle !important;
  margin-right: 5px !important;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

/* Contenido principal con estilo gaming - Mejorado */
.bosskills-main {
  display: flex;
  padding: 12px;
  align-items: center;
  position: relative;
  padding-top: 30px;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  border-radius: 8px;
  overflow: hidden;
}

/* Imagen del boss con efectos */
.bosskills-image {
  width: 100px;
  margin-right: 12px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
	margin-top: 30px;
}

.bosskills-image:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.bosskills-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bosskills-main:hover .bosskills-image img {
  transform: scale(1.05);
}

/* Detalles del boss con mejor organización */
.bosskills-details {
  flex: 1;
  position: relative;
	margin-top: 30px;
}

.bosskills-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
  letter-spacing: 0.3px;
}

.bosskills-name:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3b82f6;
}

.bosskills-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  font-size: 12px;
  color: #e2e8f0;
  margin-top: 5px;
}

.bosskills-info > div {
  position: relative;
  background: rgba(15, 23, 42, 0.5);
  padding: 5px 8px;
  border-radius: 5px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.info-label {
  display: block;
  color: #60a5fa;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Pie de página con estilo gaming */
.bosskills-footer {
  padding: 6px 12px;
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
  background: rgba(15, 23, 42, 0.7);
  position: relative;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  font-style: italic;
}

.bosskills-footer strong {
  color: #60a5fa;
  font-weight: 600;
}
.sidebar-section  { margin-bottom: 20px;}
/* Estilos para el enlace de ver todos */
.sidebar-section .text-center {
  margin-top: 12px;
  margin-bottom: 0;
}

.sidebar-section .text-center a {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.sidebar-section .text-center a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Responsive adjustments */
@media (max-width: 400px) {
  .bosskills-image {
    width: 45px;
    height: 45px;
  }
  
  .bosskills-name {
    font-size: 14px;
  }
  
  .info-label, .bosskills-info {
    font-size: 11px;
  }
  
  .bosskills-main {
    padding: 8px 12px;

  }
}

/* Community section */
.sidebar-community {
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sidebar-community .inner {
  padding: 15px 20px !important;
}

.sidebar-community .socials {
  display: flex;
  gap: 8px !important;
  flex-wrap: wrap;
}

.sidebar-community .sbtn {
  height: 36px !important;
  padding: 0 12px !important;
  background: rgba(30, 58, 138, 0.7) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.sidebar-community .sbtn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}

.sidebar-community .sbtn:hover:before {
  left: 100%;
}

.sidebar-community .sbtn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
  background: rgba(30, 58, 138, 0.9) !important;
}

.sidebar-community .sbtn i {
  font-size: 14px !important;
}

.sidebar-community .slabel {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

/* ===== COMMUNITY SOCIAL ICONS ===== */
.community-container {
  position: relative;
  padding: 8px 5px;
}

.community-buttons {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Botones de redes sociales */
.social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.social-btn:hover::before {
  left: 100%;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-btn i {
  font-size: 14px;
}

/* Estilos específicos para cada red social */
.social-btn.discord {
  background: linear-gradient(135deg, #5865F2, #4752c4);
  border-color: rgba(88, 101, 242, 0.5);
}

.social-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #1da851);
  border-color: rgba(37, 211, 102, 0.5);
}

.social-btn.youtube {
  background: linear-gradient(135deg, #FF0000, #cc0000);
  border-color: rgba(255, 0, 0, 0.5);
}

.social-btn.facebook {
  background: linear-gradient(135deg, #1877F2, #0d5dc1);
  border-color: rgba(24, 119, 242, 0.5);
}

/* Responsive para los botones sociales */
@media (max-width: 400px) {
  .community-buttons {
    gap: 4px;
  }
  
  .social-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
  
  .social-btn i {
    font-size: 14px;
  }
}

/* ===== ÚLTIMOS KILLS PVP ===== */
.pvp-kills-container {
  position: relative;
  overflow: hidden;
  height: 245px; /* Altura para mostrar aproximadamente 7 items */
}

.pvp-kills-list {
  margin-bottom: 0 !important;
  position: relative;
  padding: 10px;
  animation: marquee 30s linear infinite;
  animation-play-state: running;
  display: flex;
  flex-direction: column;
}

.pvp-kills-list-original,
.pvp-kills-list-clone {
  flex-shrink: 0;
}

.pvp-kills-container:hover .pvp-kills-list {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); } /* Exactamente la altura de la primera mitad */
}

.pvp-kill-item {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  font-size: 12px;
  line-height: 1.5;
  color: #e2e8f0;
  display: flex;
  align-items: center;
}

.pvp-kill-item:last-child {
  border-bottom: none;
}

.pvp-player-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.pvp-player-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pvp-killer-wrapper,
.pvp-victim-wrapper {
  display: inline-flex;
  align-items: center;
  margin: 0 2px;
}

.pvp-killer {
  color: #10b981;
  font-weight: 600;
}

.pvp-victim {
  color: #ef4444;
  font-weight: 600;
}

.pvp-map {
  color: #60a5fa;
  font-weight: 600;
}

.pvp-time {
  color: #94a3b8;
  font-size: 11px;
  margin-left: 5px;
  font-style: italic;
}

/* Efecto hover */
.pvp-kill-item:hover {
  background: rgba(15, 23, 42, 0.3);
}

/* Responsive */
@media (max-width: 400px) {
  .pvp-kill-item {
    font-size: 11px;
  }
  
  .pvp-time {
    font-size: 10px;
  }
  
  .pvp-player-icon {
    width: 16px;
    height: 16px;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199px) {
  #content-deidad {
    gap: 20px;
  }
  
  .news-title {
    font-size: 17px !important;
  }
  
  .castlesiege-deidad img {
    max-width: 90px !important;
  }
}

@media (max-width: 991px) {
  #content-deidad {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  #stuff, #sidebar {
    grid-column: 1;
  }
  
  .news-card .row {
    flex-direction: column;
  }
  
  .col-md-4, .col-md-8 {
    width: 100%;
  }
  
  .news-image img {
    height: 220px !important;
  }
  
  .news-body {
    padding: 25px !important;
  }
  
  .news-actions {
    justify-content: flex-start !important;
  }
  
  /* Mejoras para sidebar en tablets */
  .sidebar-section {

    margin: 0 auto 25px;
  }
  
  .castlesiege-deidad img {
    max-width: 120px !important;
  }
  
  .sidebar-community .socials {
    justify-content: center;
  }
  
  .sidebar-community .sbtn {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

@media (max-width: 997px) {
    /* En pantallas pequeñas (típicamente móviles), reduce el padding
       para usar mejor el espacio. */
    .sidebar-section {
        padding: 10px;
        margin-bottom: 15px;
	
    }
	#content-deidad {
  display: inherit;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}
.ocultar { display: none !important;}
}
.ocultar { display: block;}
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }
  
  .section-title, .page-title {
    padding: 12px 15px !important;
  }
  
  .section-title h2, .page-title span {
    font-size: 15px !important;
  }
  
  .news-card {
    margin-bottom: 20px !important;
  }
  
  .news-image img {
    height: 180px !important;
  }
  
  .news-body {
    padding: 20px !important;
  }
  
  .news-title {
    font-size: 16px !important;
    padding-right: 0;
    margin-bottom: 12px !important;
    flex: 0 0 100%;
  }
  
  .news-date {
    font-size: 11px !important;
    margin-bottom: 10px;
  }
  
  .news-excerpt {
    font-size: 13px !important;
    -webkit-line-clamp: 3 !important;
    margin-bottom: 15px !important;
  }
  
  .news-btn {
    font-size: 12px !important;
    padding: 7px 14px !important;
  }
  
  .castlesiege-deidad img {
    max-width: 90px !important;
  }
  
  .castlesiege-deidad td {
    font-size: 13px !important;
  }
  
  /* Ajustes para rankings */
  .ranking-header-new {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .new-ranking-tabs {
    width: 100%;
  }
  
  .new-tab-btn {
    flex: 1;
    text-align: center;
    padding: 8px 5px;
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .container {
    padding: 0 12px;
  }
  
  .section-content, .home-news-section {
    padding: 15px !important;
  }
  
  .news-card {
    margin-bottom: 15px !important;
    border-radius: 10px !important;
  }
  
  .news-image img {
    height: 160px !important;
  }
  
  .news-body {
    padding: 15px !important;
  }
  
  .news-title {
    font-size: 15px !important;
  }
  
  .news-excerpt {
    font-size: 12px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3 !important;
    margin-bottom: 12px !important;
  }
  
  .news-btn {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }
  
  /* Ajustes para sidebar en móviles */
  .sidebar-community .sbtn {
    height: 34px !important;
    padding: 0 8px !important;
  }
  
  .sidebar-community .slabel {
    font-size: 11px !important;
  }
  
  .sidebar-community .sbtn i {
    font-size: 12px !important;
  }
  
  /* Ajustes para rankings en móviles */
  .ranking-card-compact {
    padding: 8px 10px !important;
  }
  
  .ranking-position-compact {
    font-size: 14px !important;
    width: 20px !important;
  }
  
  .player-name-compact, .guild-name-compact {
    font-size: 13px !important;
  }
  
  .player-class-compact, .guild-master-compact {
    font-size: 11px !important;
  }
  
  .stat-compact {
    font-size: 11px !important;
  }
}

@media (max-width: 400px) {
  .news-image img {
    height: 140px !important;
  }
  
  .news-title {
    font-size: 14px !important;
  }
  
  .news-excerpt {
    -webkit-line-clamp: 2 !important;
  }
  
  .castlesiege-deidad img {
    max-width: 70px !important;
  }
  
  .sidebar-community .socials {
    gap: 6px !important;
  }
  
  .sidebar-community .sbtn {
    padding: 0 6px !important;
  }
  
  .sidebar-community .slabel {
    font-size: 10px !important;
  }
}

/* ===== MEJORAS PARA RANKINGS ===== */
.new-ranking-section {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.new-ranking-section:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.ranking-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.ranking-title h2 {
  font-size: 18px;
  margin-bottom: 3px;
  color: #f1f5f9;
}

.ranking-title p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.new-ranking-tabs {
  display: flex;
  gap: 8px;
}

.new-tab-btn {
  background: rgba(30, 58, 138, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.15);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.new-tab-btn.active {
  background: rgba(30, 58, 138, 0.7);
  border-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.new-tab-btn:hover:not(.active) {
  background: rgba(30, 58, 138, 0.4);
  color: #e2e8f0;
  border-color: rgba(59, 130, 246, 0.2);
}

.new-tab-content {
  display: none;
}

.new-tab-content.active {
  display: block;
}

/* Tarjetas de ranking compactas */
.ranking-cards-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-card-compact {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.ranking-card-compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(15, 23, 42, 0.5);
}

.ranking-position-compact {
  font-size: 16px;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
}

.ranking-avatar-compact, .ranking-guild-logo-compact {
  margin: 0 10px;
}

.ranking-info-compact {
  flex: 1;
}

.player-name-compact, .guild-name-compact {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.player-class-compact, .guild-master-compact {
  font-size: 12px;
  color: #94a3b8;
}

.player-stats-compact, .guild-stats-compact {
  display: flex;
  gap: 12px;
}

.stat-compact {
  font-size: 12px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-compact i {
  color: #60a5fa;
  font-size: 11px;
}

/* Estilos especiales para los primeros lugares */
.first-place {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.03));
  border-color: rgba(234, 179, 8, 0.2);
}

.first-place .ranking-position-compact {
  color: #eab308;
}

.second-place {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.03));
  border-color: rgba(148, 163, 184, 0.2);
}

.second-place .ranking-position-compact {
  color: #cbd5e1;
}

.third-place {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(217, 119, 6, 0.03));
  border-color: rgba(217, 119, 6, 0.2);
}

.third-place .ranking-position-compact {
  color: #d97706;
}

/* Responsive para rankings */
@media (max-width: 767px) {
  .ranking-header-new {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .new-ranking-tabs {
    width: 100%;
  }
  
  .new-tab-btn {
    flex: 1;
    text-align: center;
    padding: 6px 4px;
    font-size: 12px;
  }
  
  .player-stats-compact, .guild-stats-compact {
    flex-direction: column;
    gap: 4px;
  }
  
  .ranking-title h2 {
    font-size: 16px;
  }
  
  .ranking-title p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .new-ranking-section {
    padding: 12px;
  }
  
  .ranking-card-compact {
    padding: 6px 10px;
  }
  
  .ranking-position-compact {
    font-size: 14px;
    width: 20px;
  }
  
  .player-name-compact, .guild-name-compact {
    font-size: 13px;
  }
  
  .player-class-compact, .guild-master-compact {
    font-size: 11px;
  }
  
  .stat-compact {
    font-size: 11px;
  }
}
  font-size: 12px;
  color: #94a3b8;
}

.player-stats-compact, .guild-stats-compact {
  display: flex;
  gap: 12px;
}

.stat-compact {
  font-size: 12px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-compact i {
  color: #60a5fa;
  font-size: 11px;
}

/* Estilos especiales para los primeros lugares */
.first-place {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.03));
  border-color: rgba(234, 179, 8, 0.2);
}

.first-place .ranking-position-compact {
  color: #eab308;
}

.second-place {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.03));
  border-color: rgba(148, 163, 184, 0.2);
}

.second-place .ranking-position-compact {
  color: #cbd5e1;
}

.third-place {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(217, 119, 6, 0.03));
  border-color: rgba(217, 119, 6, 0.2);
}

.third-place .ranking-position-compact {
  color: #d97706;
}

/* Responsive para rankings */
@media (max-width: 767px) {
  .ranking-header-new {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .new-ranking-tabs {
    width: 100%;
  }
  
  .new-tab-btn {
    flex: 1;
    text-align: center;
    padding: 6px 4px;
    font-size: 12px;
  }
  
  .player-stats-compact, .guild-stats-compact {
    flex-direction: column;
    gap: 4px;
  }
  
  .ranking-title h2 {
    font-size: 16px;
  }
  
  .ranking-title p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .new-ranking-section {
    padding: 12px;
  }
  
  .ranking-card-compact {
    padding: 6px 10px;
  }
  
  .ranking-position-compact {
    font-size: 14px;
    width: 20px;
  }
  
  .player-name-compact, .guild-name-compact {
    font-size: 13px;
  }
  
  .player-class-compact, .guild-master-compact {
    font-size: 11px;
  }
  
  .stat-compact {
    font-size: 11px;
  }
}
