:root {
  --bg-body: #06000d;
  --bg-main:
radial-gradient(circle at 10% 20%, rgba(138, 11, 210, 0.80) 0%, transparent 36%),
radial-gradient(circle at 90% 15%, rgba(138, 11, 210, 0.70) 0%, transparent 34%),
radial-gradient(circle at 50% 88%, rgba(138, 11, 210, 0.65) 0%, transparent 38%),
radial-gradient(circle at 28% 65%, rgba(180, 75, 240, 0.38) 0%, transparent 28%),
radial-gradient(circle at 72% 55%, rgba(138, 11, 210, 0.30) 0%, transparent 26%),
    linear-gradient(155deg, #420f96 0%, #300a72 20%, #220760 45%, #1e0550 100%);

  /* Paneles - Más luminosos */
  --panel: rgba(15, 5, 30, 0.75);
  --panel-soft: rgba(20, 8, 40, 0.65);
  --border: rgba(139, 92, 246, 0.12);

  /* Colores de acento */
  --accent: #7c3aed;
  --accent-soft: #a78bfa;
  --accent-alt: #ff6b00;

  /* Texto - Mayor contraste */
  --text: #f5f3ff;
  --text-soft: #e0defa;
  --muted: #a5a3c7;

  /* Radios */
  --radius-lg: 20px;
  --radius-md: 14px;

  /* Sombras OPTIMIZADAS - Suaves y modernas */
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.2), 0 6px 16px rgba(0, 0, 0, 0.14);
  --shadow-accent: 0 4px 20px rgba(124, 58, 237, 0.25), 0 2px 8px rgba(124, 58, 237, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  /* grande para monitores */
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-main);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ANIMACIONES MEJORADAS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowLoop {
  0% {
    text-shadow: 0 0 6px rgba(124, 58, 237, 0.4);
  }

  50% {
    text-shadow: 0 0 12px rgba(167, 139, 250, 0.8);
  }

  100% {
    text-shadow: 0 0 6px rgba(124, 58, 237, 0.4);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-left {
  opacity: 0;
  animation: fadeLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-right {
  opacity: 0;
  animation: fadeRight 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

.delay-6 {
  animation-delay: 0.6s;
}

.delay-7 {
  animation-delay: 0.7s;
}

.delay-8 {
  animation-delay: 0.8s;
}

.loop-glow {
  animation: glowLoop 4s ease-in-out infinite;
}

/* ANIMACIONES AVANZADAS DEL HERO */

/* Gradient animado del fondo */
@keyframes heroGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-inner {
  background:
radial-gradient(ellipse 60% 50% at 10% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
radial-gradient(ellipse 40% 40% at 90% 30%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
radial-gradient(ellipse 50% 50% at 50% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    rgba(15, 5, 30, 0.85) !important;
  background-size: 200% 200% !important;
  animation: heroGradientShift 8s ease-in-out infinite !important;
  position: relative;
  overflow: hidden;
}

/* Partículas flotantes */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1);
  }
}

/* Logo 3D float */
@keyframes logo3DFloat {
  0% {
    transform: perspective(600px) rotateY(0deg) translateY(0px);
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.4));
  }

  25% {
    transform: perspective(600px) rotateY(8deg) translateY(-6px);
    filter: drop-shadow(0 8px 30px rgba(124, 58, 237, 0.5));
  }

  50% {
    transform: perspective(600px) rotateY(0deg) translateY(-3px);
    filter: drop-shadow(0 4px 35px rgba(167, 139, 250, 0.6));
  }

  75% {
    transform: perspective(600px) rotateY(-8deg) translateY(-6px);
    filter: drop-shadow(0 8px 30px rgba(124, 58, 237, 0.5));
  }

  100% {
    transform: perspective(600px) rotateY(0deg) translateY(0px);
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.4));
  }
}

.hero-logo-img {
  animation: logo3DFloat 6s ease-in-out infinite !important;
}

/* Typing cursor */
.hero-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #ff6b00;
  margin-left: 2px;
  animation: cursorBlink 0.7s infinite;
  vertical-align: text-bottom;
}

@keyframes cursorBlink {

0%,
  50% {
    opacity: 1;
  }

51%,
  100% {
    opacity: 0;
  }
}

/* Stats counter glow on arrive */
@keyframes statPop {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(10px);
  }

  60% {
    transform: scale(1.15) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-stat {
  opacity: 0;
  animation: statPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-stat:nth-child(1) {
  animation-delay: 0.5s;
}

.hero-stat:nth-child(2) {
  animation-delay: 0.7s;
}

.hero-stat:nth-child(3) {
  animation-delay: 0.9s;
}

/* Pill dot pulsing */
.hero-pill-dot {
  animation: dotPulse 2s ease-in-out infinite !important;
}

@keyframes dotPulse {

0%,
  100% {
    box-shadow: 0 0 6px #22c55e;
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 16px #22c55e, 0 0 30px rgba(34, 197, 94, 0.4);
    transform: scale(1.3);
  }
}

/* Hero content z-index above particles */
.hero-content,
.hero-logo-section {
  position: relative;
  z-index: 1;
}

/* BARRA INFO + NAVBAR (CON ANIMACIÓN MARQUEE) */

@keyframes scrollInfoBar {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.info-bar {
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(90deg, #1a0535 0%, rgba(138, 11, 210, 0.35) 30%, rgba(249, 115, 22, 0.18) 70%, #1a0535 100%);
  border-bottom: 1px solid rgba(138, 11, 210, 0.25);
  position: relative;
}

.info-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(138, 11, 210, 0.08) 50%, transparent 100%);
  pointer-events: none;
}

.info-bar-content {
  display: inline-block;
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  animation: scrollInfoBar 20s linear infinite;
}

.info-bar-content:hover {
  animation-play-state: paused;
}

.info-bar-text {
  display: inline-block;
  padding: 0 2rem;
}

.info-bar-text strong {
  color: #f59e0b;
  font-weight: 700;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: linear-gradient(135deg, rgba(26, 5, 53, 0.92) 0%, rgba(48, 12, 90, 0.88) 50%, rgba(26, 5, 53, 0.92) 100%);
  border-bottom: 1px solid rgba(138, 11, 210, 0.25);
  box-shadow: 0 4px 24px rgba(138, 11, 210, 0.1), 0 1px 0 rgba(138, 11, 210, 0.15) inset;
}

.nav-inner {
  width: 95%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(124, 58, 237, 0.28);
  color: var(--text);
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.35), 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Botón usuario logueado - Naranja */
.btn.is-logged-in,
.btn-primary.is-logged-in,
button.is-logged-in,
#loginBtn.is-logged-in,
#loginButton.is-logged-in {
  background: linear-gradient(135deg, #ff6b00, #ff8f3d) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.btn.is-logged-in:hover,
.btn-primary.is-logged-in:hover,
button.is-logged-in:hover,
#loginBtn.is-logged-in:hover,
#loginButton.is-logged-in:hover {
  background: linear-gradient(135deg, #ff8000, #ffa65d) !important;
  box-shadow: none !important;
}

.btn.is-logged-in i,
button.is-logged-in i {
  margin-right: 0.35rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-soft);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.35rem 0.8rem;
  font-size: 1.1rem;
}

/* HERO - COMPACTO */

.hero {
  width: 92%;
  max-width: 1200px;
  margin: 1rem auto;
}

.hero-inner {
  background:
radial-gradient(ellipse 60% 50% at 10% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
    rgba(15, 5, 30, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  line-height: 1.2;
  margin-bottom: 0.4rem;
  color: #f5f3ff;
}

.hero-title span {
  background: linear-gradient(135deg, #ff6b00, #ff8c40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.6rem;
}

.hero-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.hero-actions .btn i {
  margin-right: 5px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.25);
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Logo y stats en fila horizontal */
.hero-logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.hero-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.4));
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 35px rgba(124, 58, 237, 0.6));
  }
}

.hero-stats {
  display: flex;
  gap: 0.5rem;
}

.hero-stat {
  text-align: center;
  padding: 0.4rem 0.6rem;
  background: rgba(10, 5, 20, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  min-width: 55px;
}

.hero-stat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff6b00;
}

.hero-stat span {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ocultar elementos viejos */
.hero-side,
.hero-preview,
.hero-metrics,
.hero-metric {
  display: none;
}

/* Hero features pills */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(138, 11, 210, 0.12);
  border: 1px solid rgba(138, 11, 210, 0.2);
}

.hero-feature img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1) opacity(0.7);
}

.hero-stat img {
  width: 20px;
  height: 20px;
  margin-bottom: 0.15rem;
  filter: brightness(0) invert(1) opacity(0.4);
}

.hero-stat {
  text-align: center;
  padding: 0.5rem 0.7rem;
  background: rgba(10, 5, 20, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  min-width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-actions .btn img {
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-section {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-logo-img {
    width: 50px;
    height: 50px;
  }
}

/* LAYOUT PRINCIPAL 3 COLUMNAS */

.layout {
  width: 92%;
  max-width: 2200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 1.6rem;
  /* Cada elemento alineado arriba */
  align-items: start;
}

.sidebar-left,
.sidebar-right,
.content-center {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  /* Flexbox interno para distribución vertical del contenido */
  display: flex;
  flex-direction: column;
}

.sidebar-left,
.sidebar-right {
  padding: 1.4rem 1.25rem;
  font-size: 0.94rem;
  /* Sticky para que se queden fijos mientras scrolleas */
  position: sticky;
  top: 90px;
  /* Altura automática según contenido */
  height: fit-content;
  /* Contenido alineado al inicio */
  justify-content: flex-start;
}

/* El contenido de los sidebars se adapta naturalmente */
.sidebar-left>*:last-child,
.sidebar-right>*:last-child {
  margin-bottom: 0;
}

.content-center {
  padding: 1.5rem 1.4rem 1.9rem;
  /* El centro define la altura principal */
  min-height: 500px;
}

/* ----------------- Sidebar izquierdo ----------------- */
/* Contenedor flexible para distribuir contenido en sidebar izquierdo */
.sidebar-left-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sidebar-left-content>*:last-child {
  margin-top: auto;
}

.side-title {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.side-title-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-title-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-soft);
}

.cat-group {
  margin-bottom: 1.1rem;
}

.cat-group h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  margin-bottom: 0.3rem;
}

.category-list a,
.price-list a {
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s;
}

.category-list a:hover,
.price-list a:hover,
.category-list a.active {
  color: var(--text);
  background: rgba(124, 58, 237, 0.28);
}

.social-list {
  list-style: none;
  border-top: 1px solid var(--border);
  margin-top: 0.9rem;
  padding-top: 0.6rem;
}

.social-list li a {
  display: block;
  font-size: 0.9rem;
  padding: 0.22rem 0;
  color: var(--muted);
}

.social-list li a:hover {
  color: var(--accent-soft);
}

/* Contador de categorías */
.cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.25);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.category-list a,
.price-list a {
  display: flex;
  align-items: center;
}

/* Diseños destacados en sidebar */
.destacados-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.destacados-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.destacado-item {
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}

.destacado-item:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
}

.destacado-img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.destacado-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.destacado-nombre {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.destacado-meta {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
}

.destacado-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.destacado-badge.premium {
  background: rgba(124, 58, 237, 0.3);
  color: #e9d5ff;
}

.destacado-badge.free {
  background: rgba(34, 197, 94, 0.3);
  color: #bbf7d0;
}

.destacado-precio {
  font-size: 0.75rem;
  font-weight: 700;
}

.destacado-precio.premium {
  color: #c084fc;
}

.destacado-precio.free {
  color: #4ade80;
}

/* ----------------- Centro: catálogo ----------------- */
.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.catalog-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.catalog-heading-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-soft);
}

.catalog-title {
  font-size: 1.2rem;
}

.catalog-title span {
  color: var(--accent-soft);
}

.btn-reload {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.87rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-reload:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* buscador superior dentro del centro */
.center-search {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.center-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.25rem 0.35rem;
  border-radius: 999px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}

.center-search-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  padding: 0.45rem 0.8rem;
  font-size: 0.95rem;
}

.center-search-input-wrap input::placeholder {
  color: var(--muted);
}

.center-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.center-search-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
}

.center-search-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.catalogo-scroll {
  /* Scroll solo a nivel de página (sin scroll interno) */
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.catalogo-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.1rem !important;
}

/* ===== GRILLA RESPONSIVE AUTOMÁTICA ===== */

/* Móvil pequeño: 2 columnas */
@media (max-width: 599px) {
  .catalogo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }
}

/* Móvil grande / Tablet: 2 columnas */
@media (min-width: 600px) and (max-width: 1039px) {
  .catalogo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}

/* Laptop (1040px - 1599px): 3 columnas */
@media (min-width: 1040px) and (max-width: 1599px) {
  .catalogo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.1rem !important;
  }
}

/* Desktop grande (1600px - 1919px): 3 columnas */
@media (min-width: 1600px) and (max-width: 1919px) {
  .catalogo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
  }
}

/* Full HD (1920px - 2559px): 3 columnas */
@media (min-width: 1920px) and (max-width: 2559px) {
  .catalogo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.3rem !important;
  }
}

/* 2K+ (2560px+): 4 columnas */
@media (min-width: 2560px) {
  .catalogo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.4rem !important;
  }
}

/* tarjetas */
.catalog-card {
  background: rgba(15, 5, 30, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.4s ease;
  will-change: opacity;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 0;
  -webkit-user-select: none;
  user-select: none;
  /* Animación de entrada al scroll */
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}

/* Cuando la tarjeta es visible */
.catalog-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Delay escalonado para efecto cascada más suave */
.catalog-card:nth-child(1) {
  transition-delay: 0ms;
}

.catalog-card:nth-child(2) {
  transition-delay: 80ms;
}

.catalog-card:nth-child(3) {
  transition-delay: 160ms;
}

.catalog-card:nth-child(4) {
  transition-delay: 80ms;
}

.catalog-card:nth-child(5) {
  transition-delay: 160ms;
}

.catalog-card:nth-child(6) {
  transition-delay: 240ms;
}

.catalog-card:nth-child(7) {
  transition-delay: 160ms;
}

.catalog-card:nth-child(8) {
  transition-delay: 240ms;
}

.catalog-card:nth-child(9) {
  transition-delay: 320ms;
}

.catalog-card:hover {
  box-shadow:
0 20px 50px rgba(0, 0, 0, 0.25),
0 10px 20px rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(124, 58, 237, 0.4);
  border-color: rgba(139, 92, 246, 0.3);
}

.catalog-card:focus-within {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.4), 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Header con texto DISEÑO - Mostrar botón de favoritos */
.catalog-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  height: auto;
}

.catalog-card .card-label {
  display: none;
}

/* Botón de Favorito - Visible siempre */
.catalog-card .btn-favorite {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: rgba(245, 243, 255, 0.9);
  cursor: pointer;
  font-size: 1.3rem;
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  flex-shrink: 0;
  border-radius: 50%;
}

.catalog-card .btn-favorite i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-card .btn-favorite:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #ff4757;
  transform: scale(1.15);
}

.catalog-card .btn-favorite.is-favorite {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.2);
}

.catalog-card .btn-favorite.is-favorite:hover {
  background: rgba(255, 71, 87, 0.3);
  filter: drop-shadow(0 0 8px #ff4757);
  transform: scale(1.2);
}

/* Imagen del diseño - Con animación de zoom al hover */
.catalog-card .card-image {
  position: relative;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Efecto zoom suave en la imagen */
.catalog-card .card-image img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.catalog-card:hover .card-image img {
  transform: scale(1.08);
}

/* Overlay sutil que aparece al hover */
.catalog-card .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(255, 107, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.catalog-card:hover .card-image::after {
  opacity: 1;
}

/* Ocultar badge completamente */
.catalog-card .card-badge-container {
  display: none;
}

.badge-tipo {
  display: none;
}

.badge-tipo.badge-premium {
  display: none;
}

.badge-tipo.badge-free {
  display: none;
}

.catalog-card .card-content {
  padding: 0.75rem 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.catalog-card .card-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0;
  color: #f5f3ff;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Botón de precio - Ancho completo y destacado con animaciones */
.catalog-card .card-price-container {
  padding: 0 0.85rem 0.75rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.catalog-card .card-price-large {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.2rem;
  border-radius: 14px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  border: none;
  letter-spacing: 0.02em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Efecto ripple para todos los botones */
.catalog-card .card-price-large::before,
.catalog-card .card-download-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
  z-index: 0;
}

.catalog-card .card-price-large:active::before,
.catalog-card .card-download-btn:active::before {
  width: 300px;
  height: 300px;
}

/* Asegurar que el contenido esté visible */
.catalog-card .card-price-large>*,
.catalog-card .card-download-btn>* {
  position: relative;
  z-index: 1;
}

/* Forzar color blanco en texto de todos los botones */
.catalog-card .card-price-large,
.catalog-card .card-price-large *,
.catalog-card .card-download-btn,
.catalog-card .card-download-btn *,
.catalog-card .card-download-free,
.catalog-card .card-download-free *,
.catalog-card .card-download-premium,
.catalog-card .card-download-premium *,
.catalog-card .card-download-gift,
.catalog-card .card-download-gift * {
  color: #ffffff !important;
}

/* Botón PREMIUM - Naranja con glow pulse */
.catalog-card .card-price-premium {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.2rem;
  border-radius: 14px;
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8f3d 100%);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.25);
  color: #ffffff;
  border: none;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.catalog-card .card-price-premium:hover {
  background: linear-gradient(135deg, #ff8000 0%, #ffa65d 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.4);
}

/* Botón FREE - Verde con glow pulse */
.catalog-card .card-price-free {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.2rem;
  border-radius: 14px;
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
  color: #ffffff;
  border: none;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.catalog-card .card-price-free:hover {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

/* Botón DESCARGAR BASE - Sin color (se define por clases premium/free) */
.catalog-card .card-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 5;
  color: #ffffff !important;
  border: none;
  cursor: pointer;
}

.catalog-card .card-download-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Botón PREMIUM - Naranja */
.catalog-card .card-download-btn-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.2rem;
  border-radius: 14px;
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8f3d 100%);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.25);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.catalog-card .card-download-btn-premium:hover {
  background: linear-gradient(135deg, #ff8000 0%, #ffa65d 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.4);
}

/* Botón FREE - Verde */
.catalog-card .card-download-btn-free {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.2rem;
  border-radius: 14px;
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.catalog-card .card-download-btn-free:hover {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

/* Botón DESCARGAR FREE - Verde */
.catalog-card .card-download-free {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%) !important;
  box-shadow: none !important;
  animation: none !important;
  color: #ffffff !important;
}

.catalog-card .card-download-free:hover {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Botón DESCARGAR PREMIUM - Naranja */
.catalog-card .card-download-premium {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8f3d 100%) !important;
  box-shadow: none !important;
  animation: none !important;
  color: #ffffff !important;
}

.catalog-card .card-download-premium:hover {
  background: linear-gradient(135deg, #ff8000 0%, #ffa65d 100%) !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Botón DESCARGAR Regalo - Morado (diseño recibido como regalo) */
.catalog-card .card-download-gift {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25), 0 2px 8px rgba(168, 85, 247, 0.15);
}

.catalog-card .card-download-gift:hover {
  background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4), 0 4px 12px rgba(168, 85, 247, 0.25);
  transform: translateY(-3px) scale(1.02);
}

/* Link overlay invisible */
.catalog-card .card-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.catalog-card .card-stats {
  display: none;
}

.catalog-card .card-footer {
  display: none;
}

.catalog-card .card-category {
  display: none;
}

.catalog-card .card-price {
  display: none;
}

.btn-ver {
  display: none !important;
}

.btn-ver.btn-premium {
  display: none !important;
}

.btn-ver.btn-free {
  display: none !important;
}

.catalog-card img {
  width: 100%;
  height: auto;
}

.catalog-card-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.catalog-card-title {
  font-size: 0.98rem;
  font-weight: 500;
}

.catalog-card-meta {
  font-size: 0.84rem;
  color: var(--muted);
}

.product-label {
  display: inline-block;
  padding: 0.13rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
}

.product-label.premium {
  background: rgba(124, 58, 237, 0.35);
  color: #f4eaff;
}

.product-label.free {
  background: rgba(34, 197, 94, 0.8);
  color: #022c22;
}

.pagination {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.page-pill {
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 0, 15, 0.96);
  color: var(--muted);
  cursor: pointer;
}

.page-pill.is-active,
.page-pill:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

/* ----------------- Sidebar derecho ----------------- */
/* Contenedor flexible para distribuir contenido en sidebar derecho */
.sidebar-right-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Empuja el último elemento hacia abajo para llenar espacio */
.sidebar-right-content>.vip-box {
  margin-top: auto;
}

.side-title-right {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.side-desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.btn-join-group {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: #22c55e;
  color: #050008;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
  margin-bottom: 1.2rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn-join-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.contact-form label span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(26, 10, 46, 0.6);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(26, 10, 46, 0.8);
}

.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-send {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 0.6rem;
  font-size: 0.9rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.support-box,
.vip-box {
  background: rgba(124, 58, 237, 0.08);
  border-radius: 14px;
  padding: 0.9rem 0.85rem 1rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.btn-support {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
}

.btn-premium-link {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: 0.86rem;
  color: var(--accent-soft);
}

/* ----------------- Estadísticas Sidebar ----------------- */
.stats-box {
  background: rgba(15, 5, 30, 0.6);
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.15);
  margin-bottom: 1rem;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* Grid de 3 columnas para estadísticas sin valoración */
.stats-grid.stats-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.stat-item {
  text-align: center;
  padding: 0.6rem 0.3rem;
  background: rgba(10, 5, 20, 0.5);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}

.stat-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff6b00;
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----------------- Newsletter ----------------- */
.newsletter-box {
  background: rgba(139, 92, 246, 0.08);
  border-radius: 10px;
  padding: 0.7rem;
  border: 1px solid rgba(139, 92, 246, 0.15);
  margin-top: 0.8rem;
}

.newsletter-box h4 {
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.newsletter-box h4 i {
  color: #a78bfa;
  font-size: 0.8rem;
}

.newsletter-box p {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.3rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(26, 10, 46, 0.6);
  color: var(--text);
  font-size: 0.72rem;
  min-width: 0;
}

.newsletter-form input:focus {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(26, 10, 46, 0.8);
  outline: none;
}

.newsletter-form button {
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.72rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* ----------------- Top Downloads / Nuevos ----------------- */
.top-downloads,
.new-designs {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.top-downloads h3,
.new-designs h3 {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
}

.top-list,
.new-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.top-item,
.new-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.top-item:hover,
.new-item:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
}

.top-rank {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-rank.gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.top-rank.silver {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.top-rank.bronze {
  background: linear-gradient(135deg, #d97706, #b45309);
}

.top-img,
.new-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.top-info,
.new-info {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.top-name,
.new-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.top-downloads-count {
  font-size: 0.6rem;
  color: var(--muted);
}

.new-badge {
  font-size: 0.5rem;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: #22c55e;
  color: #022c22;
  font-weight: 700;
  flex-shrink: 0;
}

/* ----------------- Formatos Box ----------------- */
.formats-box {
  background: rgba(124, 58, 237, 0.08);
  border-radius: 10px;
  padding: 0.7rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
  margin-top: 0.8rem;
}

.formats-box h4 {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.formats-box h4 i {
  color: var(--accent-soft);
  font-size: 0.75rem;
}

.formats-grid {
  display: flex;
  gap: 0.3rem;
}

.format-item {
  flex: 1;
  text-align: center;
  padding: 0.4rem 0.2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.format-icon {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-soft);
  margin-bottom: 0.1rem;
}

.format-name {
  font-size: 0.55rem;
  color: var(--muted);
}

/* ----------------- Beneficios Premium ----------------- */
.benefits-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(124, 58, 237, 0.2);
  margin-top: 1rem;
}

.benefits-box h4 {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-soft);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.benefit-item i {
  font-size: 0.9rem;
}

.btn-upgrade {
  display: block;
  width: 100%;
  padding: 0.65rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

/* ----------------- Marcas/Equipos populares ----------------- */
.brands-box {
  background: rgba(139, 92, 246, 0.08);
  border-radius: 10px;
  padding: 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.15);
  margin-top: 1rem;
}

.brands-box h4 {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #a78bfa;
}

.brands-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.brand-tag {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--text-soft);
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.2s ease;
}

.brand-tag:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
}

/* ----------------- Métodos de Pago ----------------- */
.payment-methods-box {
  background: rgba(124, 58, 237, 0.08);
  border-radius: 10px;
  padding: 0.9rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
  margin-top: 1rem;
}

.payment-methods-box h4 {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #a78bfa;
}

.payment-icons {
  display: flex;
  gap: 0.6rem;
  justify-content: space-around;
}

.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.2s ease;
}

.payment-icon i {
  font-size: 1.4rem;
  color: #a78bfa;
}

.payment-icon:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

/* ----------------- Badges de Confianza ----------------- */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.badge-trust i {
  color: #a78bfa;
  font-size: 1rem;
}

.badge-trust span {
  font-size: 0.75rem;
  color: var(--text-soft);
  font-weight: 600;
}

/* ----------------- Horarios de atención ----------------- */
.schedule-box {
  background: rgba(167, 139, 250, 0.08);
  border-radius: 10px;
  padding: 0.9rem;
  border: 1px solid rgba(167, 139, 250, 0.15);
  margin-top: 1rem;
}

.schedule-box h4 {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #a78bfa;
}

.schedule-box p {
  color: var(--text-soft);
}

/* ----------------- Métodos de Pago ----------------- */
.payment-box {
  background: #080012;
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.9rem;
}

.payment-box h4 {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.payment-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.payment-icon {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.payment-icon i {
  font-size: 1rem;
  color: var(--accent-soft);
}

/* ----------------- Testimonios ----------------- */
.testimonials-box {
  background: rgba(124, 58, 237, 0.08);
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
  margin-top: 0.9rem;
}

.testimonials-box h4 {
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.testimonial-item {
  background: rgba(124, 58, 237, 0.08);
  border-radius: 10px;
  padding: 0.7rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--accent);
}

.testimonial-item:last-child {
  margin-bottom: 0;
}

.testimonial-text {
  font-size: 0.8rem;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.testimonial-author {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.testimonial-author i {
  color: #fbbf24;
  font-size: 0.65rem;
}

/* ----------------- FAQ Rápido ----------------- */
.faq-box {
  background: rgba(167, 139, 250, 0.08);
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid rgba(167, 139, 250, 0.15);
  margin-top: 0.9rem;
}

.faq-box h4 {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.faq-item {
  margin-bottom: 0.5rem;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.faq-answer {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ----------------- Donaciones ----------------- */
.donation-box {
  background: linear-gradient(135deg, #1a0a2e 0%, #0d0015 100%);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
  margin-top: 0.9rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.1);
}

.donation-box h4 {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #e879f9;
}

.donation-box h4 i {
  color: #f472b6;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.donation-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.donation-qr {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.6rem;
  border: 2px solid rgba(124, 58, 237, 0.5);
  padding: 0.5rem;
  background: rgba(26, 10, 46, 0.9);
}

.donation-qr img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.donation-note {
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.8;
}

/* EQUIPO CREATIVO - REDISEÑADO CON ESTILO */

.team {
  width: 94%;
  max-width: 1400px;
  margin: 3rem auto;
}

.team-inner {
  background: linear-gradient(135deg, rgba(15, 5, 30, 0.95) 0%, rgba(30, 10, 60, 0.85) 100%);
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.team-header {
  display: block;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #f5f3ff;
}

.team-header span {
  color: var(--accent-soft);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.team-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.team-title {
  display: none;
}

.team-card {
  background: linear-gradient(145deg, rgba(10, 5, 20, 0.8) 0%, rgba(20, 10, 40, 0.6) 100%);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-soft), #a78bfa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-soft);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card.featured-designer {
  border: 2px solid rgba(251, 191, 36, 0.4);
  background: linear-gradient(145deg, rgba(30, 15, 10, 0.8) 0%, rgba(40, 20, 30, 0.7) 100%);
}

.team-card.featured-designer::before {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.team-icon {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--accent-soft);
  filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.4));
}

.team-info {
  flex: 1;
  text-align: center;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: #f5f3ff;
  margin-bottom: 0;
}

.team-role {
  display: none;
}

.team-role-tag {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  margin-top: 0.2rem;
  white-space: normal;
  word-break: normal;
  line-height: 1.3;
}

.team-description {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-top: 0.5rem;
  font-style: italic;
}

.team-socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: nowrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.team-socials a {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(124, 58, 237, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.team-socials a svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  fill: currentColor;
  display: block;
}

.team-socials a:hover {
  transform: scale(1.05);
}

.social-tiktok:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: #00f2ea;
  color: #00f2ea;
  box-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}

.social-facebook:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: #1877f2;
  color: #1877f2;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

.social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #e1306c;
  color: white;
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
}

@media (max-width: 768px) {
  .team-inner {
    padding: 1.5rem 1rem;
  }

  .team-header {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .team-card {
    padding: 1.25rem;
  }

  .team-icon {
    font-size: 2rem;
  }
}

/* FOOTER COMPACTO */

.footer {
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  background: #05000c;
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer h4 {
  display: none;
}

.footer-inner>div:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-inner>div:first-child p {
  display: none;
}

.footer-inner>div:nth-child(2) {
  display: flex;
  gap: 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #a78bfa;
}

.footer-inner>div:nth-child(3) {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-inner>div:nth-child(3) p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
  display: none;
}

.dev-credit {
  display: block;
  margin-top: 0.3rem;
  color: var(--accent-soft);
  font-size: 0.84rem;
  animation: glowLoop 4s ease-in-out infinite;
}

/* WHATSAPP FLOAT - Sombra suave */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35), 0 2px 8px rgba(34, 197, 94, 0.2);
  z-index: 30;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.45), 0 3px 12px rgba(34, 197, 94, 0.25);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: #050008;
}

/* RESPONSIVE */

/* ===== PANTALLAS MUY GRANDES (4K+) ===== */
@media (min-width: 2560px) {
  html {
    font-size: 20px;
  }

.hero,
.layout,
.team,
.nav-inner,
  .footer-inner {
    max-width: 2400px;
  }

  .layout {
    grid-template-columns: 340px minmax(0, 1fr) 340px;
    gap: 2rem;
  }

  .catalogo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .hero-inner {
    padding: 3rem 4rem;
  }

  .hero-title {
    font-size: 3rem;
  }
}

/* ===== PANTALLAS GRANDES (1920px+) ===== */
@media (min-width: 1920px) and (max-width: 2559px) {
  html {
    font-size: 19px;
  }

.hero,
.layout,
.team,
.nav-inner,
  .footer-inner {
    max-width: 2100px;
  }

  .layout {
    grid-template-columns: 320px minmax(0, 1fr) 320px;
    gap: 1.8rem;
  }

  .catalogo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .hero-inner {
    padding: 2.5rem 3.5rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

/* ===== PANTALLAS MEDIANAS-GRANDES (1440px - 1919px) ===== */
@media (min-width: 1440px) and (max-width: 1919px) {
  html {
    font-size: 18px;
  }

.hero,
.layout,
.team,
.nav-inner,
  .footer-inner {
    max-width: 1800px;
    width: 94%;
  }

  .layout {
    grid-template-columns: 300px minmax(0, 1fr) 300px;
    gap: 1.6rem;
  }

  .catalogo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== PANTALLAS MEDIANAS (1200px - 1439px) ===== */
@media (min-width: 1200px) and (max-width: 1439px) {

.hero,
.layout,
.team,
.nav-inner,
  .footer-inner {
    max-width: 1400px;
    width: 95%;
  }

  .layout {
    grid-template-columns: 280px minmax(0, 1fr) 280px;
    gap: 1.4rem;
  }

  .catalogo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== TABLETS GRANDES (1040px - 1199px) ===== */
@media (max-width: 1199px) and (min-width: 1041px) {
  .layout {
    grid-template-columns: 260px minmax(0, 1fr) 260px;
  }
}

@media (max-width: 1040px) {
  html {
    font-size: 17px;
  }

  .layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .sidebar-right {
    grid-column: 1 / -1;
  }

.sidebar-left,
  .sidebar-right {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-side {
    max-width: none;
    justify-self: stretch;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Ocultar sidebars en móvil - muy incómodo para el usuario */
.sidebar-left,
  .sidebar-right {
    display: none;
  }

  .content-center {
    order: 1;
    border-radius: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  /* Ocultar sección de equipo en móvil - ocupa mucho espacio */
  .team {
    display: none;
  }
}

@media (max-width: 768px) {

.nav-inner,
.hero,
.layout,
.footer-inner,
  .footer-copy {
    width: 94%;
  }

  .catalogo-scroll {
    max-height: none;
  }

  /* Hero más compacto en móvil */
  .hero-inner {
    padding: 1rem;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-logo-img {
    width: 60px;
    height: 60px;
  }

  .hero-stats {
    display: none;
  }
}

@media (max-width: 768px) {
  .btn-ver {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .catalog-card .card-footer {
    padding: 0.9rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  /* Grid de diseños: 2 columnas en móvil */
  .catalogo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  /* Cards más compactas */
  .catalog-card .card-footer {
    padding: 0.5rem;
  }

  .catalog-card .card-title {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .catalog-card .card-meta {
    font-size: 0.65rem;
  }

  .btn-ver {
    padding: 0.5rem 0.6rem;
    font-size: 0.7rem;
    gap: 0.3rem;
  }

  .btn-ver i {
    font-size: 0.75rem;
  }

  .hero-inner {
    padding: 1rem;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  /* Footer compacto en móvil */
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}