/**
 * Metro Life RP - Estilos Principales
 * Copyright (c) 2025 Metro Life Studios. Desarrollado por Mercurio & Melman.
 * Todos los derechos reservados.
 * 
 * Este código fuente es propiedad exclusiva de Metro Life Studios.
 * Queda estrictamente prohibida su reproducción, distribución, modificación
 * o uso no autorizado, total o parcial, sin consentimiento expreso por escrito.
 * 
 * El uso indebido de este material está sujeto a acciones legales conforme
 * a la legislación vigente sobre propiedad intelectual y derechos de autor.
 */

:root {
  --bg: #0e151f;
  --bg-secondary: #1a1f2e;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --purple-primary: #8b5cf6;
  --purple-dark: #6d28d9;
  --purple-light: #a78bfa;
  --cyan-accent: #06b6d4;
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 12px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Montserrat', system-ui, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.no-scroll {
  overflow: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 80;
}

/* Logo mejorado */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 6px;
  font-size: 18px;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  color: var(--white);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.logo:hover .logo-text {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.logo-accent {
  color: transparent;
  background: linear-gradient(90deg, var(--purple-primary), var(--cyan-accent));
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
  }

  50% {
    filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.8));
  }
}

.logo:hover .logo-accent {
  animation: none;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.9));
}

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s;
  z-index: 70;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Side Menu Mejorado */
.side-menu {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 21, 31, 0.98), rgba(26, 31, 46, 0.98));
  backdrop-filter: blur(20px);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.8);
  z-index: 75;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(139, 92, 246, 0.2);
}

.side-menu.open {
  right: 0;
}

/* Menu Header */
.side-menu-header {
  padding: 32px 28px;
  border-bottom: 2px solid rgba(139, 92, 246, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-menu-logo {
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 20px;
}

.menu-logo-text {
  color: var(--white);
}

.menu-logo-accent {
  color: transparent;
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-dark));
  -webkit-background-clip: text;
  background-clip: text;
}

.close-menu {
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.close-menu:hover {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  transform: rotate(90deg);
}

.close-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.close-icon::before,
.close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Menu Content */
.side-menu-content {
  flex: 1;
  padding: 32px 28px;
  overflow-y: auto;
}

.side-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-primary);
  margin-bottom: 24px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: var(--white);
  text-decoration: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.side-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--purple-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.side-link:hover::before,
.side-link.active::before {
  transform: scaleY(1);
}

.side-link:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateX(8px);
}

.side-link.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

.link-icon {
  font-size: 22px;
  filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}

.link-text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
}

.link-arrow {
  font-size: 18px;
  color: var(--purple-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.side-link:hover .link-arrow,
.side-link.active .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Menu Footer */
.side-menu-footer {
  padding: 24px 28px;
  border-top: 2px solid rgba(139, 92, 246, 0.1);
}

.footer-text {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Partículas de fondo */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* HERO PREMIUM REDISEÑADO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  background: url('../assets/images/METRO.png') center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14, 21, 31, 0.6) 0%, rgba(14, 21, 31, 0.95) 70%),
    linear-gradient(180deg, transparent 0%, rgba(14, 21, 31, 1) 100%);
  z-index: 2;
}

/* Efectos de fondo del hero */
.hero-effects {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: glowFloat 15s ease-in-out infinite;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent);
  bottom: -150px;
  right: -150px;
  animation-delay: -7s;
}

@keyframes glowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(50px, 30px) scale(1.2);
    opacity: 1;
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

.floating-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--purple-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple-primary), 0 0 20px var(--purple-primary);
  animation: floatUp 8s ease-in-out infinite;
}

.p1 {
  left: 10%;
  animation-delay: 0s;
}

.p2 {
  left: 30%;
  animation-delay: 2s;
}

.p3 {
  left: 50%;
  animation-delay: 4s;
}

.p4 {
  left: 70%;
  animation-delay: 6s;
}

.p5 {
  left: 90%;
  animation-delay: 1s;
}

@keyframes floatUp {
  0% {
    bottom: -20px;
    opacity: 0;
    transform: translateX(0);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    bottom: 100vh;
    opacity: 0;
    transform: translateX(100px);
  }
}

.hero-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Badge del servidor */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
}

/* Badge inactivo (rojo) */
.hero-badge-inactive {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.hero-badge-inactive .badge-text {
  color: #ef4444;
}

.page-loaded .hero-badge {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.badge-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
  animation: pulse 2s ease-in-out infinite;
}

.badge-dot-inactive {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.badge-text {
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* BOTONES HERO PREMIUM */
.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 44px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  cursor: pointer;
  border: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.btn-hero-primary .btn-bg-animated {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark), #4c1d95, var(--purple-primary));
  background-size: 300% 300%;
  animation: heroBtnGradient 4s ease infinite;
  z-index: 0;
}

@keyframes heroBtnGradient {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-hero-primary .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  z-index: 1;
  transition: left 0.7s ease;
}

.btn-hero-primary:hover .btn-shine {
  left: 100%;
}

.btn-hero-primary .btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-hero-primary .btn-arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
}

.btn-hero-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.5), 0 0 40px rgba(139, 92, 246, 0.25);
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-hero-primary:active {
  transform: translateY(-2px) scale(1.01);
}

/* Boton secundario (Trailer) */
.btn-hero-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-hero-secondary .btn-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.4), rgba(255, 255, 255, 0.2));
  background-size: 300% 300%;
  animation: borderGradient 5s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes borderGradient {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-hero-secondary .btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-hero-secondary .btn-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 0, 0, 0.2);
  border-radius: 50%;
  font-size: 12px;
  color: #ff4444;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.btn-hero-secondary:hover .btn-play-icon {
  background: #ff0000;
  color: white;
  transform: scale(1.1);
}

.btn-hero-secondary:active {
  transform: translateY(-2px);
}

/* Título con animación de letras */
.hero-title {
  margin-bottom: 24px;
}

.title-line {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.title-metro {
  margin-bottom: 0;
}

.letter {
  font-size: clamp(56px, 14vw, 120px);
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--white);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 4px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(60px) rotateX(-20deg);
  display: inline-block;
}

.letter.accent {
  background: linear-gradient(135deg, var(--purple-primary), var(--cyan-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.6));
}

.page-loaded .title-metro .letter:nth-child(1) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.3s;
}

.page-loaded .title-metro .letter:nth-child(2) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.4s;
}

.page-loaded .title-metro .letter:nth-child(3) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.5s;
}

.page-loaded .title-metro .letter:nth-child(4) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.6s;
}

.page-loaded .title-metro .letter:nth-child(5) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.7s;
}

.page-loaded .title-life .letter:nth-child(1) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.9s;
}

.page-loaded .title-life .letter:nth-child(2) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 1.0s;
}

.page-loaded .title-life .letter:nth-child(3) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 1.1s;
}

.page-loaded .title-life .letter:nth-child(4) {
  animation: letterPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 1.2s;
}

@keyframes letterPop {
  0% {
    opacity: 0;
    transform: translateY(60px) rotateX(-20deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Tagline */
.hero-tagline {
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  font-weight: 300;
  letter-spacing: 2px;
}

.page-loaded .hero-tagline {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats cards mejorados */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.page-loaded .hero-stats {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.6s;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--purple-primary);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
}

.stat-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover .stat-glow {
  opacity: 1;
  box-shadow: 0 0 20px var(--purple-primary);
}

.stat-icon {
  font-size: 32px;
  filter: drop-shadow(0 4px 15px rgba(139, 92, 246, 0.4));
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Botones CTA mejorados */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(20px);
}

.page-loaded .hero-cta {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.8s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.btn-icon {
  font-size: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  color: var(--white);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover .btn-shine {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.6);
}

.btn-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--purple-primary);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

/* Scroll indicator con mouse animado */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
}

.page-loaded .scroll-indicator {
  animation: fadeIn 1s ease forwards, float 3s ease-in-out infinite;
  animation-delay: 2.2s, 3.2s;
}

.scroll-text {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 14px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--purple-primary);
  border-radius: 4px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(12px);
    opacity: 0.3;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* FEATURES SECTION */
.features-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--white), var(--purple-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

/* Feature Card Premium */
.feature-card {
  position: relative;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(109, 40, 217, 0.05));
  border: 2px solid rgba(139, 92, 246, 0.1);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-card:hover {
  transform: translateY(-12px);
  border-color: var(--purple-primary);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(139, 92, 246, 0.3);
}

.card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
  font-weight: 900;
  color: var(--purple-primary);
  opacity: 0.5;
  z-index: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--purple-primary);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover .card-icon {
  transform: scale(1.1) rotateY(180deg);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.4));
}

.card-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.card-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.card-btn {
  background: transparent;
  border: 2px solid var(--purple-primary);
  color: var(--purple-primary);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  position: relative;
  z-index: 1;
}

.feature-card:hover .card-btn {
  opacity: 1;
  transform: translateY(0);
}

.card-btn:hover {
  background: var(--purple-primary);
  color: var(--white);
}

/* SHOWCASE SECTION (Bloques alternados mejorados) */
.showcase-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.showcase-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

.showcase-block.reverse {
  flex-direction: row-reverse;
}

.showcase-image {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.showcase-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 2px solid rgba(139, 92, 246, 0.2);
  transition: transform 0.5s ease, border-color 0.3s ease;
}

.showcase-image:hover img {
  transform: scale(1.05);
  border-color: var(--purple-primary);
}



.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139, 92, 246, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-image:hover .image-overlay {
  opacity: 1;
}

.overlay-text {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.showcase-text {
  flex: 1;
}

.showcase-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--white);
}

.showcase-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.showcase-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--purple-primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* CTA SECTION PREMIUM */
.cta-section {
  padding: 140px 0;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(14, 21, 31, 0.95) 100%);
  overflow: hidden;
}

/* Efectos de fondo CTA */
.cta-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
}

.cta-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: ctaGlowPulse 4s ease-in-out infinite;
}

.cta-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent);
  bottom: -100px;
  right: -100px;
  animation: ctaGlowPulse 4s ease-in-out infinite 2s;
}

@keyframes ctaGlowPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.cta-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--purple-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: ctaParticleFloat 8s ease-in-out infinite;
}

.cta-particles span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.cta-particles span:nth-child(2) {
  left: 25%;
  top: 60%;
  animation-delay: 1s;
}

.cta-particles span:nth-child(3) {
  left: 70%;
  top: 30%;
  animation-delay: 2s;
}

.cta-particles span:nth-child(4) {
  left: 85%;
  top: 70%;
  animation-delay: 3s;
}

.cta-particles span:nth-child(5) {
  left: 50%;
  top: 80%;
  animation-delay: 4s;
}

@keyframes ctaParticleFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-20px) scale(1.5);
    opacity: 0.6;
  }
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Badge CTA */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 50px;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 1px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--purple-primary);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--purple-primary);
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.cta-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--white) 0%, var(--purple-primary) 50%, var(--cyan-accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleGradient 5s ease infinite;
}

@keyframes titleGradient {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.cta-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Botón CTA Premium */
.btn-cta-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 56px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  cursor: pointer;
  border: none;
  margin-bottom: 50px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.btn-cta-premium .btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark), var(--purple-primary));
  background-size: 200% 200%;
  animation: btnBgMove 3s ease infinite;
  z-index: 0;
}

@keyframes btnBgMove {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-cta-premium .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  z-index: 1;
  transition: left 0.6s ease;
}

.btn-cta-premium:hover .btn-shine {
  left: 100%;
}

.btn-cta-premium .btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-cta-premium .btn-arrow {
  transition: transform 0.3s ease;
  font-size: 20px;
}

.btn-cta-premium:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
}

.btn-cta-premium:hover .btn-arrow {
  transform: translateX(6px);
}

.btn-cta-premium:active {
  transform: translateY(-2px) scale(1.01);
}

/* Separador */
.cta-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.divider-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Social Links Premium */
.social-links-premium {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.social-discord::before {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.05));
}

.social-youtube::before {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.05));
}

.social-tiktok::before {
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.15), rgba(0, 242, 234, 0.15));
}

.social-card:hover::before {
  opacity: 1;
}

.social-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.social-discord .social-icon-wrapper {
  background: rgba(88, 101, 242, 0.2);
  color: #5865F2;
}

.social-youtube .social-icon-wrapper {
  background: rgba(255, 0, 0, 0.15);
  color: #FF0000;
}

.social-tiktok .social-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.social-icon-wrapper svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.social-card:hover .social-icon-wrapper svg {
  transform: scale(1.15);
}

.social-name {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.social-action {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.social-discord .social-action {
  background: rgba(88, 101, 242, 0.2);
  color: #5865F2;
}

.social-youtube .social-action {
  background: rgba(255, 0, 0, 0.15);
  color: #FF6B6B;
}

.social-tiktok .social-action {
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.social-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: transparent;
}

.social-discord:hover {
  border-color: #5865F2;
  box-shadow: 0 20px 50px rgba(88, 101, 242, 0.3);
}

.social-youtube:hover {
  border-color: #FF0000;
  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.25);
}

.social-tiktok:hover {
  border-color: #00F2EA;
  box-shadow: 0 20px 50px rgba(0, 242, 234, 0.25);
}

.social-discord:hover .social-action {
  background: #5865F2;
  color: white;
}

.social-youtube:hover .social-action {
  background: #FF0000;
  color: white;
}

.social-tiktok:hover .social-action {
  background: linear-gradient(90deg, #FF0050, #00F2EA);
  color: white;
}

/* FOOTER PROFESIONAL */
.site-footer {
  padding: 60px 24px 40px;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.03));
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--white);
}

.footer-logo-accent {
  background: linear-gradient(90deg, var(--purple-primary), var(--cyan-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 1px;
}

.footer-legal {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* REVEAL ANIMATION (GPU Optimizado) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Feature Cards Animation - Stagger Effect */
.feature-card {
  opacity: 0;
  transform: translate3d(0, 60px, 0) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  will-change: transform, opacity;
}

.feature-card.card-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Showcase Blocks Animation - Slide from sides */
.showcase-block {
  opacity: 0;
  will-change: transform, opacity;
}

.showcase-block .showcase-image {
  transform: translate3d(-80px, 0, 0);
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.9s ease;
  opacity: 0;
}

.showcase-block .showcase-text {
  transform: translate3d(80px, 0, 0);
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s,
    opacity 0.9s ease 0.15s;
  opacity: 0;
}

.showcase-block.reverse .showcase-image {
  transform: translate3d(80px, 0, 0);
}

.showcase-block.reverse .showcase-text {
  transform: translate3d(-80px, 0, 0);
}

.showcase-block.showcase-visible {
  opacity: 1;
}

.showcase-block.showcase-visible .showcase-image,
.showcase-block.showcase-visible .showcase-text {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-content {
  background: var(--bg);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 20px;
  max-width: 960px;
  width: 100%;
  position: relative;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 28px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  color: var(--purple-primary);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* LIGHTBOX OPTIMIZADO - PANTALLA COMPLETA */
.lightbox {
  display: none;
  position: fixed;
  z-index: 300;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  justify-content: center;
  align-items: center;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.lightbox.closing {
  opacity: 0;
}

.lightbox-content {
  max-width: 98vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.25);
  border: 2px solid rgba(139, 92, 246, 0.3);
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.lightbox-content.zoomed {
  max-width: none;
  max-height: none;
  transform: scale(1.5);
  cursor: zoom-out;
}

/* Animaciones de slide suaves */
.lightbox-content.slide-out-left {
  animation: slideOutL 0.15s ease forwards;
}

.lightbox-content.slide-out-right {
  animation: slideOutR 0.15s ease forwards;
}

.lightbox-content.slide-in-left {
  animation: slideInL 0.2s ease forwards;
}

.lightbox-content.slide-in-right {
  animation: slideInR 0.2s ease forwards;
}

@keyframes slideOutL {
  to {
    opacity: 0;
    transform: translateX(-40px);
  }
}

@keyframes slideOutR {
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

@keyframes slideInL {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInR {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Contador de imágenes */
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: white;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  z-index: 1000;
}

/* Botón cerrar */
.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 48px;
  height: 48px;
  font-size: 26px;
  color: var(--white);
  background: rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1000;
}

.lightbox-close:hover {
  background: var(--purple-primary);
  transform: rotate(90deg) scale(1.1);
}

/* Botones navegación */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 24px;
  background: rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1000;
}

.lightbox-prev {
  left: 15px;
}

.lightbox-next {
  right: 15px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--purple-primary);
  transform: translateY(-50%) scale(1.1);
}

/* PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #07111a, #0b141a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-weight: 900;
  letter-spacing: 8px;
  font-size: clamp(32px, 8vw, 72px);
  color: transparent;
  background: linear-gradient(90deg, var(--white), var(--purple-primary));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.5));
  animation: preloaderPulse 1.6s ease-in-out infinite;
}

.preloader-sub {
  color: var(--muted);
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 2px;
}

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 8px 20px rgba(139, 92, 246, 0.5));
  }

  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 18px 40px rgba(139, 92, 246, 0.8));
  }
}

.preloader.preloader--hide {
  opacity: 0;
  transform: scale(1.08) translateY(-8px);
  pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    min-height: 100vh;
  }

  .hero-title {
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero-stats {
    flex-direction: row;
    gap: 32px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .showcase-block,
  .showcase-block.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .showcase-title {
    font-size: 28px;
  }

  .social-links {
    gap: 16px;
  }

  .lightbox-close {
    width: 45px;
    height: 45px;
    font-size: 28px;
    top: 15px;
    right: 15px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 80%;
  }

  /* Menu lateral responsive */
  .side-menu {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 480px) {
  .site-header {
    top: 12px;
    left: 16px;
    right: 16px;
  }

  .logo {
    font-size: 14px;
    letter-spacing: 4px;
  }

  .section-title {
    font-size: 32px;
  }

  .cta-title {
    font-size: 32px;
  }
}

/* Preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}