/* ===== VARIABLES Y RESET ===== */
:root {
  /* Dimensiones */
  --sidebar-collapsed-width: 0px;
  /* Dimensiones */
  --sidebar-width: 300px;
  --topbar-height: 75px;
  --transition-time: 0.5s;
  --card-width: 300px;
  --card-height: 245px;
  --online-color: #00ff88;
  --borde-profile: #ffd900;

  /* Colores modo día (default) */
  --bg-color: #F8F8FB;
  --primary-color: #8F6BC2;
  --bg-scroll-primary: #8b8b8b15;
  --secondary-color: #EEEAF7;
  --accent-color: #e74c3c;
  --text-color: #242840;
  --text-inverse: #ffffff;
  --card-bg: #ffffff;
  --texto-cards-afiliados: #333;
  --borde-color-afiliados: #f0f0f0;
  --tag-afiliados-bg: #E3F2FD;
  --tag-afiliados-texto-color: #1976D2;
  --tag-afiliados-color-borde: #BBDEFB;
  --border-color: #e0e0e0;
  --hover-lightness: 90%;
  --sidebarleft-icon-color: #8B8D98;
  
  /* Carousel!!! */
  /* Modo día (light) - Colores vibrantes*/
  --color-text: #ffffff;
  --color-primary: #0066ff;       /* Azul eléctrico */
  --color-secondary: #ff2d75;     /* Rosa neón */
  --color-accent: #ffcc00;        /* Amarillo brillante */
  --color-accent2: #00cc99;       /* Verde cian */
  --color-dark: #0a0a12;          /* Fondo oscuro */
  --color-light: #f8f9fa;         /* Texto claro */
  --color-bg: #ffffff;            /* Fondo principal */
  --color-card: #f1f3f5;          /* Superficies */
  --color-border: #e0e0e0;        /* Bordes sutiles */
  
  /* Efectos */
  --glow-effect: 0 0 10px currentColor;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);


  /* Alertas */
  --asuccess: #cce5ff;
  --aalert-borde: #A9DBFF;
  --aalert-text-color: #0055BC;
  --bsuccess: #FFD8DB;
  --balert-borde: #FFC7CC;
  --balert-text-color: #991539;
  --csuccess: #c8d6e5;
  --calert-borde: #8395a7;
  --calert-text-color: #576574;

  /* Hipervinculos */
  --hiperlink-side: #242840;
  --hiperlink-side-hover: #ffffff;
  --sidebarleft-hover-color: #A8D4E9;
  --color-sidebar-hiperlink: #FFF;
  --text-shadow-actividad-admin: rgb(255, 196, 0);

  /* Botones */
  --text-menu-topbar: #FFFFFF;
  --menu-topbar: none;
  --menu-topbar-hover: #00000010;
  --donate-color: #09CCFC;
  --donate-text: #ffffff;
  --support-color: #C7F081;
  --support-text: #0e8859;
  --toggle-color: #20B9DA;
  --toggle-color-hover: #e7001b;
  
  /* Botones más videos */
  --texto-boton-color: #576574;
  --fondo-boton-color: #c8d6e5;
  --borde-boton-color: #8395a7;
  --texto-boton-color-hover: rgb(167, 113, 15);
  --fondo-boton-color-hover: rgb(0, 204, 255);
  --borde-boton-color-hover: rgb(255, 230, 0);

  /* Variables para el post-template */
  --post-bg: var(--card-bg);
  --post-text: var(--text-color);
  --post-accent: var(--accent-color);
  --post-border: var(--border-color);
  --post-radius: var(--border-radius);
  --post-shadow: var(--shadow-md);
  --post-spacing: 20px;
  --ani-neon-pink: #ff00ff;
  --ani-neon-blue: #00ffff;
  --ani-neon-purple: #8a2be2;
  --ani-neon-green: #00ff00;
  --ani-neon-yellow: #ffff00;

    
  /* Colores específicos para fuentes de video */
  --source-youtube: #FF0000;
  --source-vimeo: #1ab7ea;
  --source-host: #8F6BC2;
    
  /* Estados */
  --post-hover-lightness: var(--hover-lightness);

  
  /* Sombras */
  --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --shadow-window: 0 0 40px 0 rgba(94,92,154,.06);
  --donate-radiance-color: 0px 1px 19px 0px rgba(18, 225, 240, 0.664);
  --support-radiance-color: 0px 1px 20px 0px rgba(7, 255, 48, 0.671);
  
  /* Transiciones */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;

  /* Fondo dia (default) */
  --background-image-url: url('assets/bgblur.png');
  /* Fondo Portada (default) */
  --background-image-portada: url('assets/dia.jpg');
  /* Fondo Side (default) */
  --bg-sidebar-blur: url('assets/Sidebar/side-blur6.jpg');
  /* Fondo Modal Donación (default) */
  --bg-modal-donacion: url('assets/modal/bgdia.jpg');
}

/* ===== MODO NOCHE ===== */
:root.night-mode {
  /* Fondo noche(default) */
  --background-image-url: url('assets/bgblurdark.png');  
  /* Fondo Portada (default) */
  --background-image-portada: url('assets/intro2.jpg');   
  /* Fondo Side (default) */
  --bg-sidebar-blur: url('assets/Sidebar/side-blurdark.jpg'); 
  /* Fondo Modal Donación (default) */
  --bg-modal-donacion: url('assets/modal/bgnoche.jpg');

  /* Profile */
  --borde-profile: #1e1e2d;

  /* Colores modo noche */
  --bg-color: #040711;
  --primary-color: #050714;
  --secondary-color: #050714;
  --bg-scroll-primary: #63636369;
  --accent-color: #ffab40;
  --text-color: #fafafa;
  --text-inverse: #111111;

  /* CAROUSEL Modo noche (dark) - Menos saturación para reducir fatiga visual */
  --color-primary: #0095ff;      /* Azul más suave */
  --color-secondary: #ff4d8d;    /* Rosa menos intenso */
  --color-accent: #ffd700;       /* Amarillo oro */
  --color-accent2: #00e6b8;      /* Verde más claro */
  --color-dark: #12121a;         /* Fondo más profundo */
  --color-light: #f0f0f0;        /* Texto */
  --color-bg: #0f0f15;           /* Fondo principal */
  --color-card: #1a1a24;         /* Superficies */
  --color-border: #2a2a3a;       /* Bordes */
    
  /* Efectos nocturnos */
  --glow-effect: 0 0 15px rgba(0, 149, 255, 0.3);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);


  /* Cards */
  --card-bg: #121927;
  --texto-cards-afiliados: #f7f7f7;
  --borde-color-afiliados: #9434EA;
  --tag-afiliados-bg: #036da7;
  --tag-afiliados-texto-color: #ffffff;
  --tag-afiliados-color-borde: #11436b;
  --botones-nav-afiliados-bg: #07153E;
  --botones-nav-afiliados-icon: #1884E0;
  --botones-nav-afiliados-border-hover: #1884E0;
  --border-color: #333333;
  --hover-lightness: 30%;
  --sidebarleft-hover-color: #2d2e4b;

  /* Hipervinculos */
  --hiperlink-side: #ffffff;
  --hiperlink-side-hover: #BF6A7A; 
  --color-sidebar-hiperlink: #E6004F;
  --text-shadow-actividad-admin: rgb(21, 17, 31);
  
  /* Botones modo noche */
  --text-menu-topbar: #fff;
  --menu-topbar: #E6004F;
  --menu-topbar-hover: #D4B494;
  --donate-color: #e63478;
  --donate-text: #ffffff;
  --support-color: #16FEAA;
  --support-text: #2e2e2e;
  --toggle-color: #F5245B;

  /* Botones más videos */
  --texto-boton-color: #D8A83A;
  --fondo-boton-color: #1E1B1F;
  --borde-boton-color: #F1B526;
  
  /* Sombras modo noche */
  --shadow-sm: 0 2px 5px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --donate-radiance-color: 0px 1px 19px 0px rgb(255, 7, 123);
  --support-radiance-color: 0px 1px 20px 0px rgba(7, 255, 180, 0.1);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-color: var(--alert-borde) var(--accent-color);
  scrollbar-width: thin;
  transition: background 0.8s ease;
}

body {
  font-family: Poppins, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  background: var(--primary-color);
  box-shadow: var(--shadow-sm);
  color: var(--text-color);
  transition: background 0.8s ease;
}
::selection {
  background-color: #bada55; /* Cambia el color de fondo */
  color: white; /* Cambia el color del texto */
}

/* pantalla de carga */
.naoki-loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.naoki-loading-logo {
  width: 100px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
}

.naoki-bouncing-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.naoki-dot {
  width: 20px;
  height: 20px;
  margin: 0 8px;
  border-radius: 50%;
  background-color: #8a2be2;
  animation: naoki-bounce 1.5s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
}

.naoki-dot:nth-child(2) {
  animation-delay: 0.2s;
  background-color: #5d1da8;
}

.naoki-dot:nth-child(3) {
  animation-delay: 0.4s;
  background-color: #3f1475;
}

@keyframes naoki-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }
}

.naoki-loading-text {
  color: #e2e2e2;
  font-family: 'Oxanium', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  margin-top: 20px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.naoki-progress-container {
  width: 220px;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 20px;
  overflow: hidden;
}

.naoki-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8a2be2, #5d1da8);
  border-radius: 10px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
}

.naoki-loaded .naoki-loading-screen {
  opacity: 0;
  pointer-events: none;
}
/* ===== ESTRUCTURA GRID ===== */
.grid-container {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr var(--sidebar-width);
  grid-template-rows: var(--topbar-height) 1fr;
  grid-template-areas:
    "topbar topbar topbar"
    "sidebar-left content sidebar-right";
  min-height: 100vh;
  transition: grid-template-columns 0.8s ease;
}

/* ===== TOPBAR ===== */
/* ===== TOPBAR RESPONSIVE ===== */
/* ===== TOPBAR GENERAL ===== */
/* ===== TOPBAR GENERAL ===== */
.topbar {
  grid-area: topbar;
  background: var(--primary-color);
  color: white;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-window);
  height: var(--topbar-height);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo .header-logo {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  transition: opacity 0.8s ease; 
}

.topbar-nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.topbar-nav a {
  color: var(--text-menu-topbar);
  text-decoration: none;
  padding: 8px 15px 8px 40px;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
  font-size: 0.8em;
  font-weight: 500;
  background-color: var(--menu-topbar);
  display: flex;
  align-items: center;
}

.topbar-nav a:hover {
  background: var(--menu-topbar-hover);
}

.topbar-nav a::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.topbar-nav li:last-child a::after {
  display: none;
}

/* Estilos para los iconos */
.topbar-nav .material-icons {
  position: absolute;
  left: 12px;
  font-size: 18px;
  transition: all 0.3s;
}

.topbar-nav a:hover .material-icons {
  transform: scale(1.2);
  color: #ffd700;
  /* Cambia el color al hacer hover si lo deseas */
}


.topbar-nav .material-symbols-rounded {
  position: absolute;
  left: 12px;
  font-size: 23px;
  transition: all 0.3s;
}

.topbar-nav a:hover .material-symbols-rounded {
  transform: scale(1.1);
  color: #ffd700;
  /* Cambia el color al hacer hover si lo deseas */
}




/* Versión alternativa con icono a la derecha */
/* .topbar-nav a {
            padding: 8px 40px 8px 15px;
        }
        .topbar-nav .material-icons {
            left: auto;
            right: 12px;
        }
/* ===== iconos del menu ===== */


/* ===== BOTONES DERECHO  ===== */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-donate, .btn-support {
  padding: 8px 20px 8px 16px;
  font-family: "Poppins";
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

/* Iconos para los botones */
.btn-donate::before, .btn-support::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-donate::before {
  background-image: url('assets/amor.png'); 
}

.btn-support::before {
  background-image: url('assets/support.png'); 
}

.btn-donate {
  background: var(--donate-color);
  color: var(--donate-text);
  box-shadow: var(--donate-radiance-color);
}

.btn-support {
  background: var(--support-color);
  color: var(--support-text);
  box-shadow: var(--support-radiance-color);
  text-decoration: none;
}

.btn-donate:hover, .btn-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
  filter: brightness(1.05);
}

/* Efecto pulsante al hacer clic */
.btn-donate:active, .btn-support:active {
  transform: scale(0.98);
}

/* Estilos para el modal de donación */
.donation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.donation-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.donation-modal-container {
  background-image: var(--bg-modal-donacion);
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(50px) scale(0.9);
  opacity: 0;
  transition: all 0.4s ease;
  position: relative;
}

.donation-modal-overlay.active .donation-modal-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.donation-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
  transition: color 0.3s ease;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-modal-close:hover {
  color: #333;
}

.donation-modal-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;
}

.donation-modal-description {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.donation-modal-options {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.donation-option-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: rgb(233, 233, 233);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 130px;
  text-decoration: none;
}

.donation-option-button:hover {
  border-color: #f8f8f8;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.donation-option-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-option-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.donation-option-name {
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
}

.donation-modal-footer {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .donation-modal-container {
    padding: 1.5rem;
    width: 85%;
  }

  .donation-modal-options {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .donation-option-button {
    width: 100%;
    max-width: 200px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  .donation-option-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }
}





/* Theme Toggle moderno */
.theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.8s;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.theme-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
  transform: rotate(1deg);
}

/* ===== ELEMENTOS MOBILE (OCULTOS EN DESKTOP) ===== */
.topbar-menu-toggle,
.topbar-mobile-menu {
  display: none;
  
}

/* ===== MENÚ HAMBURGUESA TOPBAR (RESPONSIVE) ===== */
@media (max-width: 992px) {
  .topbar-menu-toggle {
    display: flex; /* Mostrar botón hamburguesa */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
    margin-left: auto;
  }
  
  .topbar-mobile-menu {
    display: block; /* Mostrar contenedor (aunque esté oculto por translateY) */
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 25px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.32, 0.08, 0.24, 1);
    z-index: 105;
    pointer-events: none;
  }
  
  .topbar-nav, 
  .topbar-right {
    display: none; /* Ocultar elementos de desktop */
  }
  
  .topbar-hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--accent-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
  }
  
  .topbar-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .topbar-menu-toggle.active .topbar-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .topbar-menu-toggle.active .topbar-hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  
  .topbar-menu-toggle.active .topbar-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .topbar-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  
  .topbar-mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .topbar-mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    padding: 14px 20px;
    border-radius: 10px;
    display: block;
    transition: all 0.8s;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .topbar-mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.219);
    color: var(--accent-color);
    transform: translateX(5px);
  }
  
  .topbar-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  
  .topbar-mobile-actions .btn-donate,
  .topbar-mobile-actions .btn-support {
    width: 100%;
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
  }
  
  .topbar-mobile-actions .theme-toggle {
    margin: 5px auto 0;
    width: 46px;
    height: 46px;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.15);
  }
  
  .topbar-mobile-actions .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
  }
}

/* Efectos para modo noche */
.night-mode .topbar,
.night-mode .topbar-mobile-menu {
  background: var(--primary-color);
}

.night-mode .topbar-mobile-nav a {
  background: rgba(0, 0, 0, 0.15);
}

.night-mode .topbar-mobile-nav a:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* BUSCADOR */
.topbar-search {
  flex: 0 1 400px;
  margin: 0 20px;
  position: relative;
  z-index: 101;
}

.search-form {
  position: relative;
  width: 100%;
}

.search-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.search-container:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 10px 15px;
  font-size: 0.9em;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.search-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-results.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-result-item {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-result-item .material-symbols-rounded {
  font-size: 18px;
  opacity: 0.7;
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-weight: 500;
  font-size: 0.9em;
  margin-bottom: 3px;
}

.search-result-category {
  font-size: 0.75em;
  opacity: 0.7;
}

.no-results {
  padding: 15px;
  text-align: center;
  opacity: 0.7;
}

/* Versión móvil del buscador */
/* ===== BUSCADOR MÓVIL ===== */
.mobile-search {
    padding: 15px 0;
    margin: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.mobile-search .search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-search .search-container:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* ESTILOS PARA EL INPUT MÓVIL */
.search-input-mobile {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    width: 100%;
}

.search-input-mobile::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Botón de búsqueda móvil */
.mobile-search .search-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    flex-shrink: 0;
}

.mobile-search .search-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Resultados de búsqueda móvil */
.search-results-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    border-radius: 0 0 10px 10px;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 102;
}

.search-results-mobile.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Ajustes específicos para móviles */
@media (max-width: 992px) {
    .topbar-search {
        display: none;
    }
    
    .mobile-search {
        display: block;
    }
    
    .mobile-search .search-container {
        border-radius: 20px;
        margin: 0 15px;
    }
}

@media (max-width: 576px) {
    .search-results-mobile {
        border-radius: 0;
        margin-top: 0;
        left: 0;
        right: 0;
    }
    
    .mobile-search .search-container {
        border-radius: 15px;
        margin: 0 10px;
    }
    
    .search-input-mobile {
        padding: 10px 12px;
        font-size: 16px; /* Tamaño mínimo para evitar zoom en iOS */
    }
    
    .mobile-search .search-button {
        width: 36px;
        height: 36px;
    }
}

/* Estilos para iOS específicamente */
@supports (-webkit-touch-callout: none) {
    .search-input-mobile {
        font-size: 16px; /* Previene zoom en iOS */
    }
}

/* Estilos para el estado de enfoque en móviles */
.search-input-mobile:focus {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Placeholder para navegadores WebKit (Chrome, Safari) */
.search-input-mobile::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input-mobile::-moz-placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.search-input-mobile:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input-mobile:-moz-placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}


/* ===== DONACION MODAL NAOKIDES ===== */
.topbar-dn {
  background-color: #dbdbdb;
  padding: 15px 30px;
  display: flex;
  justify-content: flex-end;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-donate-dn {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(230, 126, 34, 0.3);
}

.btn-donate-dn:hover {
  background: linear-gradient(135deg, #d35400, #e67e22);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(230, 126, 34, 0.4);
}

.donation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.donation-modal-overlay.dn-active {
  opacity: 1;
  visibility: visible;
}

.donation-modal-container {
  background-color: var(--card-bg);
  border-radius: 15px;
  width: 100%;
  max-width: 700px;
  margin: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(50px);
  transition: transform 0.5s ease;
}

.donation-modal-overlay.dn-active .donation-modal-container {
  transform: translateY(0);
}

.donation-modal-header {
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: white;
  padding: 25px 30px;
  text-align: center;
  position: relative;
}

.donation-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.donation-close-modal:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.donation-modal-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.donation-modal-header p {
  font-size: 16px;
  opacity: 0.9;
}

.donation-modal-content {
  padding: 30px;
}

.donation-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.donation-option-card {
  flex: 1;
  min-width: 300px;
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}

.donation-option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #3498db;
}

.donation-option-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.donation-paypal-icon {
  color: #0070ba;
}

.donation-kofi-icon {
  color: #ff5e5e;
}

.donation-option-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.donation-option-desc {
  color: #7f8c8d;
  margin-bottom: 20px;
  font-size: 15px;
}

.donation-option-button {
  display: inline-block;
  padding: 12px 34px;
  background: var(--card-bg);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.donation-option-button:hover {
  background: var(--toggle-color);
  transform: scale(1.05);
}

.donation-modal-footer {
  text-align: center;
  padding: 20px 30px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.13);
  color: #b4b4b4;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .donation-options-container {
    flex-direction: column;
  }

  .donation-option-card {
    min-width: auto;
  }

  .donation-modal-header h2 {
    font-size: 24px;
  }

  .donation-modal-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .topbar-dn {
    padding: 10px 15px;
  }

  .btn-donate-dn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .donation-modal-header {
    padding: 20px;
  }

  .donation-modal-header h2 {
    font-size: 20px;
  }

  .donation-option-card {
    padding: 20px 15px;
  }

  .donation-option-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}




/* ===== SIDEBAR IZQUIERDO ===== */
.sidebar-left {
  grid-area: sidebar-left;
  background: var(--secondary-color);
  color: var(--bg-sidebar);
  height: calc(100vh - var(--topbar-height));
  position: sticky;
  top: var(--topbar-height);
  display: flex;
  flex-direction: column;
  transition: all 0.8s ease;  
  width: var(--sidebar-width);
  overflow: hidden;
  box-shadow: var(--shadow-window);
}


/*.sidebar-portada {
  height: 150px;
  background: var(--primary-color) var(--background-image-portada) center/cover;
  flex-shrink: 0;
  border-bottom: 0px solid rgba(0,0,0,0.2);
}
*/
/* Estructura principal */
/* Avatar premium con efecto Nitro */
/* Estructura principal */
/* Estructura principal */
/* Estructura principal */
.social-profile-card {
  width: var(--card-width);
  height: var(--card-height);
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

/* Portada */
.cover-container {
  height: 150px;
  overflow: hidden;
  position: relative;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

/* Encabezado del perfil */
.profile-header {
  display: flex;
  position: sticky;
  align-items: center;
  padding: 15px;
  margin-top: -90px; /* Superpone ligeramente a la portada */
  z-index: 1;
}

/* Avatar */
.profile-avatar-container {
  position: relative;
  width: 70px;
  height: 70px;
  margin-right: 15px;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--borde-profile);
  box-shadow: 0 0 0 2px var(--primary-accent);
  transition: all 0.3s ease;
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px var(--primary-accent), 0 0 15px rgba(138, 43, 226, 0.6);
}

.online-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 15px;
  height: 15px;
  background: var(--online-color);
  border-radius: 50%;
  border: 2px solid #1e1e2d;
  animation: pulse-online 1.5s infinite;
}

@keyframes pulse-online {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Títulos */
.profile-titles {
  flex: 1;
  background-color: #01010ca1;
  border-radius: 8px;
  padding: 3px 0 5px 10px;
  text-align: left;
}

.username {
  font-size: 1.3rem;
  margin: 0 0 5px 0;
  color: white;
  font-weight: 700;
}

.rank-container {
  display: flex;
  align-items: center;
}

.rank-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  filter: drop-shadow(0 0 2px gold);
}

.rank {
  font-size: 0.8rem;
  color: gold;
  font-weight: 600;
  margin: 0;
}

/* Biografía */
.bio {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 15px 15px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estadísticas */
.profile-stats {
  display: flex;
  justify-content: space-around;
  padding: 5px 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.stat-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(138, 43, 226, 0.5));
  transition: transform 0.3s ease;
}

.stat:hover .stat-icon {
  transform: scale(1.2) rotate(10deg);
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--toggle-color);
  margin-bottom: 3px;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SIDEBAR IZQUIERDO ===== */


.sidebar-content {
  flex-grow: 1;
  height: calc(100% - 400px); /* Ajusta el alto restante */
  overflow-y: auto;
  font-size: 0.85em;
  font-weight: 500;
  padding: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-scroll-primary) var(--secondary-color);
  overflow-x: hidden;
  
  
}

.sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 3px;
}

.sidebar-left nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-left nav a {
  color: var(--hiperlink-side);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 12px 15px 12px 45px;
  margin: 5px 0;
  border-radius: 4px;
  transition: all 0.5s;
  position: relative;
}

.sidebar-left nav a:hover {
  color: var(--hiperlink-side-hover);
  background: var(--sidebarleft-hover-color);
  transform: translateX(5px);
}

/* Efecto para el ítem activo */
.sidebar-left nav a.active {
  background: rgba(58, 134, 255, 0.2);
  border-left: 3px solid var(--primary-color);
}

.sidebar-left nav a.active .material-icons {
  color: var(--primary-color);
}

/* ===== NUEVOS ESTILOS PARA SIDEBAR MEJORADO ===== */
.sidebar-left .menu-item {
    position: relative;
    margin-bottom: 0 !important; /* Elimina espacio entre ítems */
  padding: 0;
}

.sidebar-left .menu-link {
    display: flex;
    align-items: center;
    color: var(--hiperlink-side);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.5s ease;
    position: relative;
    margin: 0 !important;
    padding: 12px 13px !important;
}

.sidebar-left .menu-item.active > .menu-link {
  background: var(--sidebarleft-hover-color);
  border-radius: 8px 8px 0 0;
}



.sidebar-left .menu-link:hover {
    background: var(--sidebarleft-hover-color);
    color: var(--hiperlink-side-hover);
}

.sidebar-left .menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    object-fit: contain;
    transition: transform 0.5s;
}

.sidebar-left .menu-text {
    flex: 1;
}

.sidebar-left .menu-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: inherit;
}

.sidebar-left .menu-desc {
    font-size: 0.75rem;
    opacity: 0.7;
    color: inherit;
    margin: 0;
}

.sidebar-left .menu-arrow {
    font-size: 1.2rem;
    transition: transform 0.5s;
}

.sidebar-left .submenu {
  position: absolute; /* Lo sacamos del flujo normal */
  visibility: hidden; /* Ocultamos sin ocupar espacio */
  max-height: 0;
  overflow: hidden;
  padding-left: 15px;
  transition: 
    max-height 0.4s ease-out,
    opacity 0.3s ease,
    padding 0.2s ease;
  opacity: 0;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 8px 8px;
  margin-top: 0;
  padding: 0;
  margin: 0;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-left .menu-item.active .submenu {
  position: relative; /* Vuelve al flujo al activarse */
  visibility: visible;
  max-height: 500px; /* Ajusta según necesidad */
  opacity: 1;
  padding: 5px 10px 5px 10px;
}


.sidebar-left .menu-item.active .menu-arrow {
    transform: rotate(90deg);
    margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.sidebar-left .submenu a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--hiperlink-side);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    margin: 2px 0;
    z-index: 200;
}

.sidebar-left .submenu a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--hiperlink-side-hover);
}

.sidebar-left .submenu::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.95);
    filter: drop-shadow(-2px 0 2px rgba(0,0,0,0.1));
    z-index: 200;
}

.sidebar-left .submenu-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    object-fit: contain;
    z-index: 200;
}

/* Efecto "nube" para submenú */
.sidebar-left .submenu {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 8px 0;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 200;
}

/* Transición suave para el submenú */
.sidebar-left .submenu li {
  transform: translateY(-10px);
  transition: transform 0.3s ease, opacity 0.2s ease;
  opacity: 0;
}

.sidebar-left .menu-item.active .submenu li {
  transform: translateY(0);
  opacity: 1;
  transition-delay: calc(0.05s * var(--i));
}



@media (max-width: 992px) {
  .sidebar-left .submenu {
    margin-left: 15px;
    border-left: 2px solid var(--primary-color);
  }
}








/* ===== SIDEBAR DERECHO ===== */
.sidebar-right {
  position: sticky;
  top: var(--topbar-height);
  height: calc(100vh - var(--topbar-height));
  width: var(--sidebar-width);
  background: var(--secondary-color);
  color: var(--text-color);
  display: flex;
  transition: all 0.8s ease;
  flex-direction: column;
  box-shadow: var(--shadow-window);
  z-index: 50;
  /* Permite que los elementos hijos se muestren fuera */
  overflow: hidden !important;
  overflow-x: hidden;
}


.sidebar-widgets {
  position: sticky;
  background-image: var(--bg-sidebar-blur);
  height: calc(100% - 100px); /* Ajusta el alto restante */
  flex-grow: 1;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-scroll-primary) var(--secondary-color);
  /* IMPORTANTE: Mantenemos auto para el scroll pero manejamos el tooltip diferente */
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar-widgets::-webkit-scrollbar {
  width: 6px;
}

.sidebar-widgets::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 3px;
}

.widget {
  background: rgba(255, 255, 255, 0.185);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.288);
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s;
}

.widget:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.widget h3 {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}



/* ===== WIDGET DE AMIGOS - VERSIÓN MEJORADA ===== */
/* ===== ESTILOS BASE DEL WIDGET ===== */
.friend-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px 0;
}

.friend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
}

.friend-item:hover {
  background: rgba(79, 84, 92, 0.4);
}

.friend-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #a37ec8;
  flex-shrink: 0;
}

.friend-info {
  flex: 1;
  min-width: 0;
}

.friend-name {
  font-weight: 500;
  color: white;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.friend-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
}

.friend-status.online {
  background: #3ba55c;
}

.friend-status.ingame {
  background: #faa61a;
  animation: pulse 1.5s infinite;
}

.friend-status.offline {
  background: #747f8d;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== TOOLTIP ESTILO DISCORD NITRO ===== */
.friend-tooltip {
  position: fixed;
  width: 340px;
  background: #1e1f22;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  overflow: hidden;
  border: 1px solid #3a3d44;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  transform-origin: right center;
  transform: translateY(5px);
  pointer-events: none;
  font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.friend-tooltip::before {
  content: '';
  position: absolute;
  top: -15px;
  bottom: -15px;
  left: -15px;
  right: -15px;
  z-index: -1;
}

.friend-tooltip.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Cabecera con gradiente */
.tooltip-header {
  background: linear-gradient(135deg, #3a3d44 0%, #1e1f22 100%);
  padding: 16px;
  display: flex;
  gap: 16px;
  position: relative;
}

/* Contenedor de avatar con efecto especial */
.tooltip-avatar-container {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.tooltip-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1e1f22;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

/* Efecto de borde animado (como Nitro) */
.tooltip-avatar-container::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(45deg, #5865f2, #eb459e, #fee75c);
  border-radius: 50%;
  z-index: 1;
  animation: rotateBorder 4s linear infinite;
  opacity: 0.8;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Badge de Nitro */
.tooltip-nitro-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: #5865f2;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 3;
  border: 3px solid #1e1f22;
  text-transform: uppercase;
}

/* Información del usuario */
.tooltip-user-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tooltip-username {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}

.tooltip-badge {
  background: #5865f2;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
}

.tooltip-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #b5bac1;
  margin-bottom: 4px;
}

.tooltip-custom-status {
  font-size: 0.9rem;
  color: #dcddde;
  font-style: italic;
}

/* Cuerpo del tooltip */
.tooltip-body {
  padding: 16px;
  background: #232428;
}

.tooltip-section {
  margin-bottom: 16px;
}

.tooltip-section-title {
  color: #b5bac1;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.tooltip-bio {
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #dcddde;
}

.tooltip-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

/* Redes sociales */
.social-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.social-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2b2d31;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.social-button:hover {
  background: #5865f2;
  transform: translateY(-2px);
}

/* Botones de acción */
.tooltip-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.tooltip-button {
  background: #4e5058;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tooltip-button.primary {
  background: #5865f2;
}

.tooltip-button:hover {
  background: #5d6bff;
  transform: translateY(-1px);
}

/* Footer */
.tooltip-footer {
  font-size: 0.7rem;
  color: #949ba4;
  text-align: right;
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .friend-tooltip {
    width: 300px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
  }
  
  .friend-tooltip.active {
    transform: translateX(-50%) translateY(0);
  }
  
  .tooltip-avatar-container {
    width: 80px;
    height: 80px;
  }
}
/* Añade al final de tu CSS */
@media (max-width: 768px) {
  /* Desactiva completamente el tooltip en móviles */
  .friend-tooltip {
    display: none !important;
  }
  
  /* Opcional: Cambia el estilo de los items para móvil */
  .friend-item {
    padding: 4px 12px;
  }
  
  .friend-avatar {
    width: 35px;
    height: 35px;
  }
  
  .friend-name {
    font-size: 1rem;
  }
}

/* ===== WIDGET DE ACTIVIDAD DEL ADMINISTRADOR ===== */
/* Tooltip estilo Discord */
/* ===== ADMIN ACTIVITY WIDGET ===== */
/* ===== WIDGET DE ACTIVIDAD DEL ADMIN ===== */
/* ===== WIDGET DE ADMIN ===== */
/* ===== WIDGET DE ADMIN ===== */
.admin-activity-widget {
  position: relative;
  z-index: 1;
}

.admin-activity-widget h3 {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-activity-widget h3 i {
  font-size: 0.9em;
}

.admin-activity-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-activity-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  height: 22px;
  cursor: pointer;
  transition: background 1s ease;
}

.admin-activity-item:hover {
  text-decoration: none;
  background: var(--hiperlink-side);
  text-shadow: 0px 0px 5px var(--text-shadow-actividad-admin);

}

.activity-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.activity-textt {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-textt:hover {
  color: var(--color-text);
}


/* ===== TOOLTIP MEJORADO ===== */
.admin-tooltip {
  position: fixed;
  width: 300px;
  background: #1e1f22;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #3a3d44;
  padding: 15px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateX(-10px);
  display: flex;
  gap: 15px;
}

.admin-tooltip.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto; /* Permite interactuar con el tooltip */
}

.admin-tooltip::before {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #1e1f22;
}

.tooltip-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 4px;
}

.tooltip-content {
  flex: 1;
}

.tooltip-text {
  font-size: 0.85rem;
  color: #dcddde;
  margin-bottom: 12px;
  line-height: 1.4;
}

.tooltip-buttonn {
  background: #5865f2;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 0.8rem;
  text-align: center;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: background o.5s ease;
  text-decoration: none; /* Añadido para enlaces */
}

.tooltip-buttonn:hover {
  background: #4752c4;
  text-decoration: none; /* Asegurar que no aparezca subrayado */
}

/* Responsive */
@media (max-width: 768px) {
  .admin-tooltip {
    display: none !important;
  }
}


/* ===== BOTONES TOGGLE ===== */
.sidebar-toggle, .sidebar-right-toggle {
  background: var(--toggle-color);
  border: none;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.sidebar-toggle:hover, .sidebar-right-toggle:hover {
  background: var(--toggle-color-hover);
}

.sidebar-toggle img, .sidebar-right-toggle img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.sidebar-right-toggle img {
  transform: rotate(180deg);
}


/* ===== CONTENIDO PRINCIPAL ===== */
.content {
  grid-area: content;
  padding: 20px;
  background-image: var(--background-image-url); /*  Usa la variable en la propiedad background-image */
  background-size: cover; /* Ajusta el tamaño de la imagen para cubrir todo el contenedor */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  background-color: var(--bg-color);
   /* background: var(--bg-color) !important; */
  min-height: calc(100vh - var(--topbar-height));
  transition: background-color var(--transition-normal);
}
/* ===== ELIMINAR ===== */
/*.content-scroll {
  height: 2000px;
  background: repeating-linear-gradient(
    45deg,
    #ddd,
    #ddd 1px,
    #eee 2px,
    #eee 5px
  );
}*/
/* ===== FIN ELIMINAR ===== */


/* ===== ESTADOS COLAPSADOS (DESKTOP) ===== */
.sidebar-left.collapsed {
  width: var(--sidebar-collapsed-width);
  transition: opacity 0.8s ease-in-out;
}

.sidebar-left.collapsed .sidebar-portada,
.sidebar-left.collapsed .sidebar-content {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  visibility: hidden;
}

.sidebar-left.collapsed .sidebar-toggle img {
  transform: rotate(180deg);
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}

.sidebar-right.collapsed {
  width: var(--sidebar-collapsed-width);
}

.sidebar-right.collapsed .sidebar-widgets {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  visibility: hidden;
}

.sidebar-right.collapsed .sidebar-right-toggle img {
  transform: rotate(0deg);
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}


.grid-container.left-collapsed {
  grid-template-columns: var(--sidebar-collapsed-width) 1fr var(--sidebar-width) ;
}

.grid-container.right-collapsed {
  grid-template-columns: var(--sidebar-width) 1fr var(--sidebar-collapsed-width);
}

.grid-container.both-collapsed {
  grid-template-columns: var(--sidebar-collapsed-width) 1fr var(--sidebar-collapsed-width);
}

/* ===== BOTONES MÓVILES ===== */
.mobile-menu {
  position: fixed;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: var(--primary-color);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 95;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.mobile-menu-left {
  left: 20px;
}

.mobile-menu-right {
  right: 20px;
}

.mobile-menu:hover {
  transform: scale(1.1);
  background: var(--accent-color);
}

.mobile-menu img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

/* ===== DISEÑO RESPONSIVE ===== */
@media (max-width: 992px) {
  /* Tablet y móvil */
  .grid-container {
    grid-template-columns: 0 1fr 0;
  }
  
  .sidebar-left, .sidebar-right {
    position: fixed;
    background: var(--secondary-color);
    color: var(--text-color);
    top: var(--topbar-height);
    bottom: 0;
    width: 300px;
    height: auto;
    transform: translateX(-100%);
    z-index: 90;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }
  
  .sidebar-right {
    left: auto;
    right: 0;
    transform: translateX(100%);
  }
  
  .sidebar-left.active {
    transform: translateX(0);
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
  }
  
  .sidebar-right.active {
    transform: translateX(0);
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  }
  
  .content::before {
    content: '';
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 85;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s;
  }
  
  .sidebar-left.active ~ .content::before,
  .sidebar-right.active ~ .content::before {
    opacity: 1;
    pointer-events: auto;
  }
  
  .sidebar-toggle, .sidebar-right-toggle {
    display: none;
  }
  
  .mobile-menu {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  /* Móvil */
  .sidebar-left, .sidebar-right {
    width: 85%;
    max-width: 300px;
  }
}



/* ===== MODIFICACIONES PARA SIDEBAR DESKTOP ===== */
/* Sidebars completamente ocultos cuando están colapsados */
.grid-container.left-collapsed .sidebar-left.collapsed {
  width: 0;
  overflow: hidden;
  border-right: none;
}

.grid-container.right-collapsed .sidebar-right.collapsed {
  width: 0;
  overflow: hidden;
  border-left: none;
}

/* Botones flotantes para expandir */
.sidebar-expand-button {
  position: fixed;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  opacity: 0;
  visibility: hidden;
  border: 2px solid var(--secondary-color);
}

.sidebar-expand-button.left {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar-expand-button.right {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar-expand-button.visible {
  opacity: 1;
  visibility: visible;
}

.sidebar-expand-button:hover {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.sidebar-expand-button img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

/* Ajustes para el contenido cuando los sidebars están ocultos */
.grid-container.left-collapsed {
  grid-template-columns: 0 1fr var(--sidebar-width);
}

.grid-container.right-collapsed {
  grid-template-columns: var(--sidebar-width) 1fr 0;
}

.grid-container.both-collapsed {
  grid-template-columns: 0 1fr 0;
}

/* Asegurar que el contenido no se desborde */
.content {
  overflow-x: hidden;
}



/* SEPARADOR  nwn  */
.separador-con-texto {
  display: flex;
  align-items: center;
  margin: 0.7rem 0 3px;
  width: 100%;
}

.separador-con-texto::before,
.separador-con-texto::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--secondary-color);
  margin: 0 7px;
  /* Efecto 3D (compartido) */
  box-shadow: 
    0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 0 rgba(0, 0, 0, 0.05);
}

.separador-con-texto span {
  padding: 0.1rem 0.5rem;
  font-weight: 500;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid;
  transition: border-color 0.5s ease;
  border-color: 0.3s ease;
  background-color: 0.3s ease;
  transform: 0.2s ease; /* Añadimos transform para efectos opcionales */
}

/* --- Estilos Específicos --- */
/* Rosa */
.separador-con-texto--rosa span {
  background: #ff9ff3;
  border-color: #f368e0;
  color: #5f27cd;
}

/* Celeste */
.separador-con-texto--celeste span {
  background: var(--asuccess);
  border-color: var(--aalert-borde);
  color: var(--aalert-text-color);
}

/* Rojo */
.separador-con-texto--rojo span {
  background: var(--bsuccess);
  border-color: var(--balert-borde);
  color: var(--balert-text-color);
}

/* Gris */
.separador-con-texto--gris span {
  background: var(--csuccess);
  border-color: var(--calert-borde);
  color: var(--calert-text-color);
}



/* ===== CAROUSEL ===== */
/* Contenedor Principal */
/* Reset y estilos base */
.gameGlow-slider {
  position: relative;
  font-family: "rajdhani";
  max-width: 1200px;
  margin: 0 auto;
  height: 290px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-dark);
  box-shadow: 0 0 30px rgba(0, 195, 255, 0.3);
}


@media (max-width: 768px) {
  .gameGlow-slider {
    height: 500px;
  }
}

@media (max-width: 480px) {
  .gameGlow-slider {
    height: 450px;
    border-radius: 0;
  }
}

.gameGlow-glitch {
  animation: glitch 0.5s linear;
}

@keyframes glitch {
  0% { filter: drop-shadow(-5px 0 var(--color-secondary)); }
  25% { clip-path: inset(10% 0 20% 0); }
  50% { transform: skewX(10deg); }
  100% { filter: drop-shadow(5px 0 var(--color-accent2)); }
}



/* Slides y transiciones */
.gameGlow-slideset {
  position: relative;
  width: 100%;
  height: 100%;
}

.gameGlow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.gameGlow-slide.gameGlow-active {
  opacity: 1;
  z-index: 2;
}

/* Estilo de imágenes */
.gameGlow-figure {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

.gameGlow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) contrast(1.1);
  transition: filter 0.8s ease;
}

.gameGlow-active .gameGlow-img {
  filter: brightness(0.8) contrast(1.2);
}

/* Contenido del slide */
.gameGlow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(0deg, rgba(15,15,21,0.9) 0%, rgba(15,15,21,0) 100%);
  color: var(--color-text);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0.3s;
}

.gameGlow-active .gameGlow-caption {
  transform: translateY(0);
  opacity: 1;
}

.gameGlow-captionInner {
  max-width: 800px;
  position: relative;
}

/* Badge gaming con efecto de pulso */
.gameGlow-badge {
  display: inline-block;
  padding: 6px 15px;
  background: var(--color-primary);
  color: var(--color-dark);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-family: var(--font-body);
  position: absolute;
  top: -50px;
  left: 0;
  animation: pulse-glow 2s infinite;
  box-shadow: var(--glow-effect);
  border: 1px solid rgba(255,255,255,0.2);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 var(--color-primary);
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 195, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 195, 255, 0);
    transform: translateY(0);
  }
}

/* Título con estilo gaming */
.gameGlow-title {
  position: relative;
  font-size: 3rem;
  margin: 0 0 15px 0;
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-heading);
  text-decoration: none;
  display: inline-block;
  text-shadow: 0 0 10px var(--color-primary);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}


.gameGlow-title:hover::after {
  content: '|';
  animation: typing-cursor 0.7s infinite;
  color: var(--color-accent);
}

@keyframes typing-cursor {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@media (max-width: 768px) {
  .gameGlow-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .gameGlow-title {
    font-size: 1.8rem;
  }
}

/* Descripción */
.gameGlow-desc {
  font-size: 1.2rem;
  margin: 0 0 25px 0;
  line-height: 1.5;
  max-width: 600px;
  opacity: 0.9;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
  .gameGlow-desc {
    font-size: 1rem;
  }
}

/* Tags gaming */
.gameGlow-tagset {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gameGlow-tag {
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  text-transform: uppercase;
  border: 1px solid transparent;
}

.gameGlow-tag:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-effect);
}

.gameGlow-tagBlue {
  background: var(--color-primary);
  color: var(--color-dark);
}

.gameGlow-tagPink {
  background: var(--color-secondary);
  color: white;
}

.gameGlow-tagYellow {
  background: var(--color-accent);
  color: var(--color-dark);
}

.gameGlow-tagGreen {
  background: var(--color-accent2);
  color: var(--color-dark);
}

/* Controles de navegación gaming */
.gameGlow-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.gameGlow-navBtn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: rgba(15,15,21,0.7);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.3);
}

.gameGlow-navBtn:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--color-primary);
}

.gameGlow-navIcon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Paginación */
.gameGlow-pagination {
  display: flex;
  gap: 10px;
}

.gameGlow-pagination span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.gameGlow-pagination span:hover {
  background: var(--color-primary);
}

.gameGlow-pagination span.gameGlow-activeDot {
  background: var(--color-primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--color-primary);
}




/* ===== AFILIADOS AMIGOS  ===== */
.affilFriends-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 20px;
  font-family: 'Segoe UI', sans-serif;
}

.affilFriends-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.affilFriends-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.affilFriends-icon {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.affilFriends-title h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
}

.affilFriends-controls {
  display: flex;
  gap: 10px;
}

.affilFriends-prev, .affilFriends-next {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--botones-nav-afiliados-border);
  background: var(--botones-nav-afiliados-bg);
  color: var(--botones-nav-afiliados-icon);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.affilFriends-prev:hover, .affilFriends-next:hover {
  background: var(--botones-nav-afiliados-bg-hover);
  color: var(--botones-nav-afiliados-icon);
  transform: scale(1.1);
}

.affilFriends-carousel {
  overflow: hidden;
  position: relative;
}

.affilFriends-track {
  display: flex;
  gap: 15px;
  height: 80px;
  margin: 10px auto 0 5px;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.affilFriends-card {
  flex: 0 0 200px;
  height: 65px;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.affilFriends-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.affilFriends-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.affilFriends-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--borde-color-afiliados);
}

.affilFriends-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.affilFriends-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.affilFriends-name {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--texto-cards-afiliados);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.affilFriends-name:hover {
  color: var(--tag-afiliados-texto-color);
  transform: translateX(3px);
}

.affilFriends-name:hover .affilFriends-verified {
  transform: scale(1.2);
}

.affilFriends-verified {
  color: #1DA1F2;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.affilFriends-gif {
  height: 15px;
  width: 25px;
}

/* Etiquetas debajo del GIF */
.affilFriends-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
}
/* Efecto hover para etiquetas */
.affilFriends-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Colores de etiquetas */
.affilFriends-tag-games {
  background: var(--tag-afiliados-bg);
  color: var(--tag-afiliados-texto-color);
  border: 1px solid var(--tag-afiliados-color-borde);
}

.affilFriends-tag-news {
  background: #FFF8E1;
  color: #FF8F00;
  border: 1px solid #FFECB3;
}

/* Responsive */
@media (max-width: 768px) {
  .affilFriends-card {
    flex: 0 0 180px;
  }
  
  .affilFriends-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .affilFriends-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .affilFriends-controls {
    align-self: flex-end;
  }
}


/* ===== ÚLTIMOS VIDEOS VIDEITOS  ===== */

.vidshow-container {
  max-width: 1200px;
  font-family: var(--fuente-secundario);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Encabezado del widget */
.vidshow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vidshow-title {
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 600;
}

.vidshow-title i {
  margin-right: 15px;
  color: var(--accent-color);
  font-size: 28px;
}

.vidshow-more {
  background: var(--fondo-boton-color);
  color: var(--texto-boton-color);
  display: inline-block; /* Para que funcione padding */
  text-decoration: none; /* Elimina subrayado */
  text-align: center;
  border: 2px solid var(--borde-boton-color);
  padding: 9px 20px 9px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(115, 72, 170, 0.3);
}

.vidshow-more:hover {
  color: var(--texto-boton-color-hover);
  border: 2px solid var(--borde-boton-color-hover);
  background: var(--neon-pink);
  box-shadow: 0 0 15px var(--neon-pink);
}

/* Grid de videos */
.vidshow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* Tarjetas de video */
.vidshow-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.vidshow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(169, 124, 253, 0.3);
}

.vidshow-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.vidshow-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.vidshow-hover-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.vidshow-card:hover .vidshow-hover-video {
  opacity: 1;
}

.vidshow-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff4d4d;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  animation: pulse 2s infinite;
  cursor: default;
  z-index: 3;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.vidshow-tag:hover {
  animation: pulse 0.5s infinite;
}

.vidshow-card-content {
  padding: 15px;
}

.vidshow-card-title {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.vidshow-card-title i {
  margin-right: 10px;
  color: #6e48aa;
  font-size: 14px;
}

.vidshow-card-desc {
  color: #aaa;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
}

/* Modal */
.vidshow-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.vidshow-modal.active {
  opacity: 1;
  visibility: visible;
}

.vidshow-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.vidshow-modal-content {
  width: 80%;
  max-width: 1000px;
  background: #2a2a2a;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.vidshow-modal.active .vidshow-modal-content {
  transform: scale(1);
}

.vidshow-modal-video {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.vidshow-modal-video iframe,
.vidshow-modal-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.vidshow-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.vidshow-modal-close:hover {
  background: #ff4d4d;
  transform: rotate(90deg);
}

.vidshow-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.vidshow-modal-nav:hover {
  background: #6e48aa;
}

.vidshow-modal-prev {
  left: 20px;
}

.vidshow-modal-next {
  right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .vidshow-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .vidshow-modal-content {
    width: 95%;
  }

  .vidshow-modal-nav {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}


/* ===== ÚLTIMOS LANZAMIENTOS ===== */
.latest-releases {
  max-width: 1200px; /* Ancho máximo para la sección */
  margin: 0 auto 2rem; /* Centrado horizontal */
  padding: 0 20px; /* Evita que toque los bordes en móvil */
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header h2 i {
  color: var(--accent-color);
}

.view-all {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s;
}

.view-all:hover {
  transform: translateX(5px);
}

/* Grid de Juegos */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-content: center; /* Centra las columnas del grid */
  margin: 0 auto; /* Centrado adicional */
}

/* Ajustes para pantallas muy anchas (2560px+) */
@media (min-width: 1600px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(250px, 280px)); /* 4 columnas fijas */
  }
}

/* Mantén el responsive para móvil */
@media (max-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}


/* Cards */
.game-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.game-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 2px solid var(--accent-color);
}

.card-content {
  padding: 1rem;
}

.platform-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: white;
}

.platform-tag.ps5 {
  background: #006FCD; /* Azul PS5 */
}

.platform-tag.xbox {
  background: #107C10; /* Verde Xbox */
}

.platform-tag.pc {
  background: #E72929; /* Rojo Steam */
}

.game-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: bold;
  color: var(--accent-color);
}

.price.old {
  text-decoration: line-through;
  color: #999;
  font-size: 0.8rem;
  margin-right: 5px;
}

.price.new {
  color: #4CAF50; /* Verde para descuentos */
}

.rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #FFC107; /* Amarillo para estrellas */
  font-size: 0.9rem;
}

/* Badges */
.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-color);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}


/* ===== NOVEDADES BLOG ===== */
.blog-posts {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 20px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.post-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-color);
}

.post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: bold;
  z-index: 2;
}

.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: #777;
}

.post-meta i {
  margin-right: 5px;
  color: var(--accent-color);
}

.post-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
  color: var(--text-color);
  line-height: 1.4;
}

.post-card p {
  color: #666;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.5s;
}

.read-more:hover {
  transform: translateX(5px);
}

/* Ajustes para pantallas anchas */
@media (min-width: 1600px) {
  .posts-grid {
    grid-template-columns: repeat(3, minmax(350px, 380px));
  }
}

/* Responsive móvil */
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-card img {
    height: 180px;
  }
}


/* ===== TRENDING CORREGIDO ===== */
.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50% / 50% */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 20px;
  width: 100%; /* Asegura que ocupe el ancho máximo */
}

/* ===== GALERÍA DE IMÁGENES ===== */
/* ===== GALERÍA DE IMÁGENES ===== */
.trending-section {
  width: 100%;
}

.trending-container {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Siempre 2 columnas */
  grid-template-rows: repeat(3, 1fr); /* Siempre 3 filas */
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  aspect-ratio: 16/9;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Efecto overlay al pasar el mouse */
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Título de la imagen (opcional, aparece al hover) */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  color: white;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  opacity: 0;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption h3 {
  margin: 0;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1600px) {
  .dashboard-row {
    grid-template-columns: 1fr; /* Cambia a una sola columna */
    grid-template-areas: 
      "gallery"
      "player";
  }
  
  .trending-section {
    grid-area: gallery;
  }
  
  .music-player {
    grid-area: player;
  }
}

/* Ajustar tamaño de imágenes en móvil para que quepan 2 columnas */
@media (max-width: 576px) {
  .gallery-grid {
    gap: 0.8rem; /* Reducir espacio entre imágenes */
  }
  
  .dashboard-row {
    gap: 1.5rem; /* Reducir espacio entre secciones */
    padding: 0 15px; /* Ajustar padding */
  }
}

/* ===== REPRODUCTOR DE MÚSICA ===== */
/* ===== REPRODUCTOR DE MÚSICA ===== */
.music-player {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 300px; /* Evita que se deforme */
  box-shadow: var(--shadow-sm);
}

.player-container {
  display: grid;
  gap: 1.5rem;
}

/* ----- Portada y Controles Principales ----- */
.player-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.album-art {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.album-art:hover img {
  transform: scale(1.05);
}

.player-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.control-btn {
  background: var(--card-bg);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.control-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

.control-btn.play {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}
/* ===== BOTÓN REPEAT ===== */
.control-btn.repeat {
  position: relative;
  font-size: 0.9rem;
}

.control-btn.repeat[data-mode="list"]::after {
  content: "1";
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--accent-color);
  color: white;
  font-size: 0.6rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn.repeat[data-mode="track"]::after {
  content: "∞";
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--accent-color);
  color: white;
  font-size: 0.6rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estados del botón Repeat */
.control-btn.repeat[data-mode="off"] {
  opacity: 0.6;
}

.control-btn.repeat[data-mode="track"] {
  color: var(--accent-color);
}

.control-btn.repeat[data-mode="list"] {
  color: var(--accent-color);
}

/* ----- Barra de Progreso ----- */
.progress-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.progress-bar {
  flex-grow: 1;
  height: 6px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
}

.time {
  font-size: 0.8rem;
  color: #777;
  min-width: 40px;
  font-family: monospace;
}

/* ----- Control de Volumen ----- */
.volume-control {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.volume-control i {
  color: var(--accent-color);
  font-size: 1rem;
}

.volume-bar {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

.volume-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
}

/* ----- Lista de Canciones (Scroll) ----- */
.playlist-container {
  max-height: 265px; /* espacio para las cancioncitas */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
  padding-right: 5px;
}

.playlist-container::-webkit-scrollbar {
  width: 4px;
}

.playlist-container::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 2px;
}

.playlist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.track {
  padding: 0.8rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.track:hover {
  background: rgba(255, 255, 255, 0.1);
}

.track.active {
  background: var(--accent-color);
  color: white;
}

.track p {
  margin: 0;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.track span {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-left: 10px;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .player-main {
    flex-direction: column;
    text-align: center;
  }
  
  .player-controls {
    margin-top: 1rem;
  }
  
  .volume-bar {
    width: 80px;
  }
}



/* ===== POST PREMIUM ===== */
/* ===== ESTILOS GLASSMORFISMO ===== */
/* ===== ESTILOS MINIMALISTAS ===== */
/* ===== ESTILO JUVENIL ===== */
/* Contenedor del post con ancho definido */
.post-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Estilos del artículo */
.post-article {
  background: var(--bg-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-article:hover {
  box-shadow: 0 15px 40px rgba(107, 28, 255, 0.12);
}

/* Header del post */
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--light-gray);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.author-avatar:hover {
  transform: scale(1.1);
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.3rem;
}

.publish-date, .reading-time {
  font-size: 0.85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.share-btn {
  background: var(--fondo-boton-color);
  color: var(--texto-boton-color);
  border: 2px solid var(--borde-boton-color);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.share-btn:hover {
  color: var(--texto-boton-color-hover);
  border: 2px solid var(--borde-boton-color-hover);
  background: var(--neon-pink);
  box-shadow: 0 0 15px var(--neon-pink);
}

/* Imagen destacada */
.featured-image {
  margin: 0;
  position: relative;
}

.post-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.featured-image:hover .post-image {
  transform: scale(1);
}

.image-caption {
  text-align: center;
  padding: 0.8rem;
  font-size: 0.9rem;
  color: var(--gray);
  border-bottom: 1px solid var(--light-gray);
}

/* Contenido principal */
.post-content {
  padding: 2rem;
}

.title-section {
  margin-bottom: 1.5rem;
}

.post-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.tags-container {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.post-tag {
  background: var(--light);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.post-tag:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Alerta */
.post-alert {
  background: var(--card-bg);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid #FFC107;
}

.slide-in {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateX(-20px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

.post-alert i {
  color: #FFC107;
  font-size: 1.2rem;
}

.post-alert p {
  margin: 0;
  font-size: 0.95rem;
}

/* Cuerpo del artículo */
.article-body {
  line-height: 1.8;
  color: #495057;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-color);
  position: relative;
  padding-left: 1rem;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  height: 1em;
  width: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Video */
.video-embed {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  padding: 0.8rem;
  font-size: 0.9rem;
  color: var(--gray);
}

/* Cita destacada */
.highlight-quote {
  background: var(--card-bg);
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  position: relative;
}

.highlight-quote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 3rem;
  color: rgba(108, 99, 255, 0.1);
  font-family: serif;
}

.highlight-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 600;
  color: var(--dark);
}

/* Footer del post */
.post-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--light-gray);
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.footer-tags span {
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-tags a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-tags a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .post-title {
    font-size: 1.8rem;
  }
  
  .post-content {
    padding: 1.5rem;
  }
  
  .featured-image {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* ===== MODAL PARA COMPARTIR ===== */
.share-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { 
    transform: translateY(-50px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.5rem;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--dark);
}

.modal-content h3 {
  margin-bottom: 1.5rem;
  color: var(--dark);
  text-align: center;
}

.url-container {
  display: flex;
  margin-bottom: 1.5rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
}

#currentUrl {
  flex: 1;
  padding: 0.8rem;
  border: none;
  background: var(--light);
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
}

.copy-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.copy-btn:hover {
  background: #5a52e0;
}

.social-share {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

#twitterShare {
  background: #1DA1F2;
  text-decoration: none;
}

#facebookShare {
  background: #4267B2;
  text-decoration: none;
}

#linkedinShare {
  background: #0077B5;
  text-decoration: none;
}

/* Feedback cuando se copia la URL */
.copied-feedback {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
  display: none;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from { 
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}


/* ===== LOGIN WIDGET===== */
/* ===== ESTILOS ===== */
/* ===== EMPECEMOS XD ===== */
/* ===== LOGIN COMPACTO ===== */
/* ===== LOGIN ANIME COMPACTO ===== */
/* ===== LOGIN PREMIUM ===== */
.log-widget {
    margin-bottom: 20px;
}

.log-container {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Efecto de borde sutil al hover */
.log-container:hover {
    background: var(--sidebarleft-hover-color);
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Efecto de brillo sutil en el borde */
.log-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.log-container:hover::before {
    left: 100%;
}

.log-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.log-title {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
}

.log-title i {
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.log-container:hover .log-title i {
    transform: scale(1.1);
}

/* Indicador de que se puede expandir */
.log-header::after {
    content: '↓';
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--gray);
    transition: transform 0.3s ease;
}

.log-container.expanded .log-header::after {
    transform: rotate(180deg);
}

/* Formulario expandido con animación */
.log-content {
    margin-top: 15px;
    display: none;
    animation: logSlideDown 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: top;
}

@keyframes logSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
        display: none;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        display: block;
    }
}

@keyframes logSlideUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        display: block;
    }
    99% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 0;
        display: none;
    }
}

.log-input-group {
    margin-bottom: 15px;
    position: relative;
}

.log-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

/* Efecto focus premium */
.log-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
    transform: translateY(-1px);
}

.log-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.log-input:focus + .log-input-icon {
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

/* Botón premium */
.log-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

/* Efecto de onda al hacer clic */
.log-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.log-button:hover::before {
    width: 300px;
    height: 300px;
}

.log-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.log-button:active {
    transform: translateY(0);
}

/* Footer mejorado */
.log-footer {
    margin-top: 15px;
    font-size: 0.75rem;
    text-align: center;
    color: var(--gray);
    position: relative;
}

.log-footer::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: var(--border-color);
}

.log-register {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.log-register:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Efecto subrayado animado */
.log-register::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.log-register:hover::after {
    width: 100%;
}

/* Estado de carga */
.log-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.log-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: logSpin 0.8s linear infinite;
}

@keyframes logSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mensajes de feedback */
.log-message {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    text-align: center;
    animation: logMessageSlide 0.3s ease;
}

@keyframes logMessageSlide {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.log-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.log-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid #F44336;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .log-container {
        padding: 15px;
    }
    
    .log-input {
        padding: 10px 12px 10px 38px;
    }
}

 

/*****************Tarjetas***************/

.tar-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 0 0;
}

/* Título Novedades con icono */
.tar-header-title {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}

.tar-icon-gif {
  width: 32px;
  height: 32px;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  box-shadow: 0 3px 8px rgba(255, 126, 95, 0.3);
  position: relative;
  overflow: hidden;
}

.tar-icon-gif::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  animation: tar-gif-shine 2s infinite;
}

@keyframes tar-gif-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.tar-novedades-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/************** Filtros y Búsqueda **************/
.tar-filters-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 15px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tar-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.tar-filter-btn {
  padding: 8px 15px;
  background-color: #e9ecef;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #495057;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tar-filter-btn:hover {
  background-color: #dee2e6;
  transform: translateY(-2px);
}

.tar-filter-btn.active {
  background-color: #4ecdc4;
  color: white;
  box-shadow: 0 4px 8px rgba(78, 205, 196, 0.3);
}

.tar-search-container {
  display: flex;
  gap: 5px;
}

.tar-search-input {
  padding: 8px 15px;
  border: 2px solid #dee2e6;
  border-radius: 20px;
  font-size: 0.9rem;
  width: 200px;
  transition: border-color 0.3s;
}

.tar-search-input:focus {
  outline: none;
  border-color: #4ecdc4;
}

.tar-search-btn {
  padding: 8px 15px;
  background-color: #4ecdc4;
  border: none;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tar-search-btn:hover {
  background-color: #3db8af;
  transform: scale(1.05);
}

/************** Contenedor de Tarjetas **************/
.tar-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  min-height: auto;
}

.tar-card {
  width: 180px;
  height: 265px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  background-color: #2d3047;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  opacity: 1;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.tar-card.hidden {
  display: none;
}

.tar-card-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.tar-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tar-card:hover .tar-card-image {
  transform: scale(1.1);
  filter: contrast(120%);
}

.tar-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 90%);
  z-index: 1;
}

.tar-tags-container {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 2;
}

.tar-tag {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tar-tag-movie {
  background-color: #ff7e5f;
  color: #fff;
}

.tar-tag-video {
  background-color: #4ecdc4;
  color: #fff;
}

.tar-tag-tiktok {
  background-color: #ff6b6b;
  color: #fff;
}

.tar-tag-forum {
  background-color: #45b7d1;
  color: #fff;
}

.tar-tag-game {
  background-color: #96ceb4;
  color: #fff;
}

.tar-tag-music {
  background-color: #a882dd;
  color: #fff;
}

.tar-card-title-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  z-index: 2;
}

.tar-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/************** Paginación **************/
.tar-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 20px;
  gap: 8px;
}

.tar-page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #495057;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tar-page-btn:hover {
  background-color: #dee2e6;
  transform: translateY(-2px);
}

.tar-page-btn.active {
  background-color: #4ecdc4;
  color: white;
  box-shadow: 0 4px 8px rgba(78, 205, 196, 0.3);
}

.tar-page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tar-page-btn.disabled:hover {
  background-color: #e9ecef;
  transform: none;
}

.tar-results-info {
  text-align: center;
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 10px;
  margin-bottom: 30px;
}

/************** Responsive **************/
@media (max-width: 768px) {
  .tar-cards-container {
    gap: 20px;
  }
  
  .tar-novedades-text {
    font-size: 1.5rem;
  }
  
  .tar-icon-gif {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .tar-filters-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .tar-filter-options {
    justify-content: center;
  }
  
  .tar-search-container {
    width: 100%;
  }
  
  .tar-search-input {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .tar-cards-container {
    gap: 15px;
  }
  
  .tar-card {
    width: 170px;
    height: 260px;
  }
  
  .tar-novedades-text {
    font-size: 1.5rem;
  }
  
  .tar-card-title {
    font-size: 1rem;
  }
  
  .tar-header-title {
    margin-bottom: 20px;
  }
  
  .tar-filter-btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}







/* POST ESTILO PARA LOS POSTS */
/* ============================================
   ESTILOS PARA POSTS MULTIMEDIA
   Usando variables CSS específicas (pst-*)
   ============================================ */
/* ============================================
           FONDO FULLSCREEN CON EFECTO PARALLAX
           ============================================ */
        .ani-bg-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        
        .ani-bg-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            filter: brightness(0.4) saturate(1.2);
            transform: scale(1.1);
            transition: transform 0.3s ease;
        }
        
        .ani-bg-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                rgba(10, 10, 15, 0.9) 0%,
                rgba(10, 10, 15, 0.7) 50%,
                rgba(10, 10, 15, 0.9) 100%
            );
            backdrop-filter: blur(2px);
        }
        
        /* Partículas flotantes */
        .ani-particle {
            position: absolute;
            background: var(--ani-neon-pink);
            border-radius: 50%;
            pointer-events: none;
            opacity: 0.3;
            animation: floatParticle var(--ani-float-duration) infinite linear;
        }
        
        @keyframes floatParticle {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.3;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100vh) rotate(360deg);
                opacity: 0;
            }
        }
        
/* ============================================
             CONTENIDO PRINCIPAL
============================================ */
/* Contenedor principal */
.ani-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--post-spacing);
    position: relative;
}

/* Fondo con overlay sutil */
.ani-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary-color);
}

.ani-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.ani-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Eliminar efectos que no necesitas */
.ani-effects {
    display: none;
}

.ani-header {
    background: var(--post-bg);
    border-radius: var(--post-radius);
    padding: var(--post-spacing);
    margin-bottom: var(--post-spacing);
    box-shadow: var(--post-shadow);
    border: 1px solid var(--post-border);
}

/* Botón volver - estilo consistente */
/* Estilos compartidos para ambos botones */
.ani-back-btn,
.ani-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: var(--text-inverse);
    text-decoration: none;
    border-radius: var(--post-radius);
    font-weight: 600;
    transition: all var(--transition-normal);
}

/* Hover compartido */
.ani-back-btn:hover,
.ani-footer-btn:hover {
    background: var(--accent-color);
    filter: brightness(var(--post-hover-lightness));
}

/* Estilos específicos de .ani-back-btn */
.ani-back-btn {
    margin-bottom: var(--post-spacing);
}

.ani-back-btn:hover {
    transform: translateX(-5px);
}

/* Estilos específicos de .ani-footer-btn */
.ani-footer-btn {
    display: inline-block;
    text-align: center;
    margin-top: 20px;
}

.ani-footer-btn:hover {
    transform: translateY(-3px);
}

.ani-poster-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--post-spacing);
    align-items: start;
}

@media (max-width: 768px) {
    .ani-poster-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Poster con estilo de card */
.ani-poster {
    position: relative;
    border-radius: var(--post-radius);
    overflow: hidden;
    box-shadow: var(--post-shadow);
}

.ani-poster img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2/3;
    object-fit: cover;
}

/* Rating */
.ani-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--ani-neon-yellow);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

/* Título principal */
.ani-title {
    font-size: 2.5rem;
    color: var(--post-text);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Subtítulo */
.ani-subtitle {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ani-subtitle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}

.ani-subtitle i {
    color: var(--accent-color);
}

.ani-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.ani-tag {
    padding: 6px 15px;
    background: var(--secondary-color);
    color: var(--text-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--post-border);
}

.ani-source-tag {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.ani-source-youtube {
    background: var(--source-youtube);
}

.ani-source-vimeo {
    background: var(--source-vimeo);
}

.ani-source-host {
    background: var(--source-host);
}

.ani-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--post-spacing);
    margin: var(--post-spacing) 0;
}

.ani-info-card {
    background: var(--post-bg);
    padding: 20px;
    border-radius: var(--post-radius);
    border: 1px solid var(--post-border);
    transition: transform var(--transition-normal);
}

.ani-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.ani-info-card h3 {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.ani-info-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--post-text);
}

.ani-synopsis {
    background: var(--post-bg);
    padding: var(--post-spacing);
    border-radius: var(--post-radius);
    margin: var(--post-spacing) 0;
    border: 1px solid var(--post-border);
}

.ani-synopsis h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ani-synopsis-content {
    line-height: 1.8;
    color: var(--post-text);
    font-size: 1.1rem;
}

.ani-video-section {
    margin: var(--post-spacing) 0;
    width: 100%;
}

.ani-video-title {
    color: var(--post-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.ani-video-container {
    width: 100%;
    background: #000;
    border-radius: var(--post-radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--post-shadow);
    position: relative;
}

.ani-video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Mantiene relación 16:9 por defecto */
}

/* Notas y advertencias */
.ani-video-note {
    background: rgba(13, 110, 253, 0.1);
    border-left: 4px solid var(--color-info);
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ani-video-note i {
    color: var(--color-info);
}

.ani-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #856404;
}

.ani-warning i {
    color: #ffc107;
}

.ani-footer {
    text-align: center;
    padding-top: var(--post-spacing);
    margin-top: var(--post-spacing);
    border-top: 1px solid var(--post-border);
}

.ani-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--text-inverse);
    text-decoration: none;
    border-radius: var(--post-radius);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.ani-footer-btn:hover {
    background: var(--accent-color);
    filter: brightness(var(--post-hover-lightness));
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .ani-container {
        padding: 15px;
    }
    
    .ani-title {
        font-size: 2rem;
    }
    
    .ani-poster-container {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .ani-title {
        font-size: 1.8rem;
    }
    
    .ani-subtitle {
        flex-direction: column;
        gap: 10px;
    }
    
    .ani-info-grid {
        grid-template-columns: 1fr;
    }
    
    .ani-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ani-title {
        font-size: 1.5rem;
    }
    
    .ani-back-btn,
    .ani-footer-btn {
        width: 100%;
        justify-content: center;
    }
    
    .ani-synopsis-content {
        font-size: 1rem;
    }
}

/* Video player responsive */
.video-embed-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Asegurar que el contenido ocupe todo el espacio */
.video-embed-container iframe,
.video-embed-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Videos locales también expandidos */
.video-embed-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Mensaje cuando no hay video */
.no-video-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--secondary-color);
    color: var(--text-color);
    text-align: center;
    padding: 20px;
}

.no-video-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ============================================
             ESTILOS ESPECÍFICOS PARA BLOG
============================================ */

/* Badge de descarga */
.ani-download-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--text-inverse);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sección de demostración */
.ani-demo-section {
    background: var(--post-bg);
    padding: var(--post-spacing);
    border-radius: var(--post-radius);
    margin: var(--post-spacing) 0;
    border: 1px solid var(--post-border);
}

.ani-demo-section h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.ani-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.ani-demo-card {
    cursor: pointer;
    transition: all var(--transition-normal);
    border-radius: var(--post-radius);
    overflow: hidden;
    background: var(--secondary-color);
    border: 1px solid var(--post-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ani-demo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ani-demo-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex: 0 0 auto;
}

.ani-demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ani-demo-card:hover .ani-demo-image img {
    transform: scale(1.05);
}

.ani-demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.ani-demo-card:hover .ani-demo-overlay {
    opacity: 1;
}

.ani-demo-overlay i {
    color: white;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 50%;
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.ani-demo-card:hover .ani-demo-overlay i {
    transform: scale(1);
}

.ani-demo-caption {
    padding: 15px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    text-align: center;
    border-top: 1px solid var(--post-border);
    flex: 1 0 auto;
}

/* ============================================
            SECCIÓN DE DESCARGAS
============================================ */

.ani-download-section {
    background: var(--post-bg);
    padding: var(--post-spacing);
    border-radius: var(--post-radius);
    margin: var(--post-spacing) 0;
    border: 1px solid var(--post-border);
}

.ani-download-section h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

/* Grid para múltiples descargas */
.ani-downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Cuando hay una sola descarga, ocupa todo el ancho */
.ani-downloads-grid:only-child,
.ani-downloads-grid.single-download {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.ani-download-card {
    display: flex;
    flex-direction: column;
    background: var(--secondary-color);
    padding: 25px;
    border-radius: var(--post-radius);
    border: 1px solid var(--post-border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.ani-download-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ani-download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.ani-download-card:hover::before {
    opacity: 1;
}

.ani-download-icon {
    margin-bottom: 15px;
}

.ani-download-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.8;
}

.ani-download-card:hover .ani-download-icon i {
    opacity: 1;
    transform: scale(1.1);
    transition: transform var(--transition-normal);
}

.ani-download-info {
    flex: 1;
    margin-bottom: 20px;
}

.ani-download-info h3 {
    color: var(--post-text);
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.3;
}

.ani-download-info p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ani-download-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.ani-download-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    color: var(--text-color-secondary);
    font-size: 0.85rem;
}

.ani-download-meta i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.ani-download-type {
    background: var(--accent-color) !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.8rem !important;
    padding: 4px 8px !important;
}

.ani-type-zip {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}

.ani-type-pdf {
    background: linear-gradient(135deg, #f56565, #ed8936) !important;
}

.ani-type-external {
    background: linear-gradient(135deg, #48bb78, #38a169) !important;
}

.ani-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--accent-color);
    color: var(--text-inverse);
    text-decoration: none;
    border-radius: var(--post-radius);
    font-weight: 600;
    transition: all var(--transition-normal);
    text-align: center;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
}

.ani-download-btn:hover {
    background: var(--accent-color);
    filter: brightness(var(--post-hover-lightness));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ani-download-btn:active {
    transform: translateY(0);
}

.ani-download-btn i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ani-downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .ani-download-card {
        padding: 20px;
    }
    
    .ani-downloads-grid:only-child,
    .ani-downloads-grid.single-download {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .ani-download-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .ani-download-info h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
               LIGHTBOX 
============================================ */

/* Contenedor principal del lightbox */
.ani-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Lightbox visible */
.ani-lightbox.show {
    display: flex;
    opacity: 1;
    background: rgba(0, 0, 0, 0.95);
}

/* Lightbox con animación de entrada */
.ani-lightbox.fade-in {
    animation: lightboxFadeIn 0.3s ease forwards;
}

/* Lightbox con animación de salida */
.ani-lightbox.fade-out {
    animation: lightboxFadeOut 0.3s ease forwards;
}

/* Animación de entrada */
@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        background: rgba(0, 0, 0, 0);
    }
    to {
        opacity: 1;
        background: rgba(0, 0, 0, 0.95);
    }
}

/* Animación de salida */
@keyframes lightboxFadeOut {
    from {
        opacity: 1;
        background: rgba(0, 0, 0, 0.95);
    }
    to {
        opacity: 0;
        background: rgba(0, 0, 0, 0);
    }
}

/* Contenido del lightbox */
.ani-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--post-bg);
    border-radius: var(--post-radius);
    overflow: hidden;
    cursor: default;
    transform: scale(0.9);
    opacity: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Contenido visible */
.ani-lightbox.show .ani-lightbox-content {
    transform: scale(1);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s, 
                opacity 0.3s ease 0.1s;
}

/* Contenido con animación de entrada */
.ani-lightbox-content.zoom-in {
    animation: contentZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Contenido con animación de salida */
.ani-lightbox-content.zoom-out {
    animation: contentZoomOut 0.3s ease forwards;
}

@keyframes contentZoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes contentZoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.9);
        opacity: 0;
    }
}

/* Imagen dentro del lightbox */
.ani-lightbox-content img {
    display: block;
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    background: #000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Imagen cargada */
.ani-lightbox-content img.loaded {
    opacity: 1;
}

/* Caption de la imagen */
#lightbox-caption {
    padding: 20px;
    text-align: center;
    color: var(--post-text);
    background: var(--secondary-color);
    border-top: 1px solid var(--post-border);
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

/* Caption visible */
.ani-lightbox.show #lightbox-caption {
    opacity: 1;
}

/* Botón de cerrar (X) */
.ani-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Botón de cerrar visible */
.ani-lightbox.show .ani-lightbox-close {
    opacity: 0.9;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

/* Hover del botón cerrar */
.ani-lightbox-close:hover {
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    opacity: 1;
    border-color: var(--accent-color);
}

/* Loading spinner - SOLO SE MUESTRA MIENTRAS CARGA */
.ani-lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    z-index: 2;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Mostrar spinner cuando está cargando */
.ani-lightbox.loading .ani-lightbox-loading {
    opacity: 1;
}

/* Ocultar spinner cuando la imagen está cargada */
.ani-lightbox-content img.loaded ~ .ani-lightbox-loading {
    opacity: 0 !important;
    animation: none;
}

/* Animación del spinner */
@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ani-lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .ani-lightbox-close {
        top: 15px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    #lightbox-caption {
        padding: 15px;
        font-size: 1rem;
    }
    
    .ani-lightbox-content img {
        max-height: 65vh;
    }
}

@media (max-width: 480px) {
    .ani-lightbox-content {
        max-width: 98%;
        max-height: 80%;
        border-radius: 10px;
    }
    
    .ani-lightbox-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
    
    #lightbox-caption {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .ani-lightbox-content img {
        max-height: 60vh;
    }
}