/* ======================================================
   NEXUS — Violet Storm Theme (always on)
   Reemplaza el dorado base por la identidad violeta de
   la temporada NEXUS. Carga despues del CSS de cada
   pagina para ganar la cascada.
   ====================================================== */

/* --- Custom properties: oro → violeta --- */
:root {
  --primary: #9b6eff;
  --primary-foreground: #0c0618;
  --ring: #9b6eff;
  --gold: #9b6eff;
  --gold-light: #b79cff;
  --gold-dark: #6d28d9;
  --border: #241b38;
}

/* --- Fondo global con tinte violeta profundo --- */
body {
  background-color: #07050c;
}

/* --- Seleccion de texto --- */
::selection {
  background: rgba(139, 92, 246, .35);
  color: #efe9ff;
}

/* --- Scrollbar --- */
::-webkit-scrollbar-track {
  background: #0a0614 !important;
}

::-webkit-scrollbar-thumb {
  background: #4c1d95 !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #6d28d9 !important;
}

/* --- Focus ring --- */
*:focus-visible {
  outline-color: #9b6eff !important;
}

/* ======================================================
   NAVBAR
   ====================================================== */

.site-nav::after {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, .15) 20%,
    rgba(183, 156, 255, .35) 50%,
    rgba(139, 92, 246, .15) 80%,
    transparent 100%) !important;
}

.site-nav.scrolled {
  background: rgba(8, 5, 14, .92);
  border-bottom-color: rgba(139, 92, 246, .1);
}

.nav-link:hover,
.nav-link.active {
  color: #b79cff !important;
}

.nav-link::after {
  background: #b79cff !important;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  color: #b79cff !important;
  background: rgba(139, 92, 246, .06) !important;
}

.hamburger.active span {
  background: #b79cff !important;
}

/* ======================================================
   BOTONES
   ====================================================== */

.btn-primary {
  background: linear-gradient(135deg, #a78bfa 0%, #6d28d9 100%) !important;
  color: #0c0618 !important;
  border-color: rgba(139, 92, 246, .3) !important;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(155, 110, 255, .3) !important;
}

.btn-outline {
  border-color: rgba(139, 92, 246, .3) !important;
  color: #b79cff !important;
}

.btn-outline:hover {
  background: rgba(139, 92, 246, .08) !important;
  border-color: rgba(183, 156, 255, .4) !important;
}

.btn-ghost {
  color: #b79cff !important;
}

.btn-logout {
  border-color: rgba(139, 92, 246, .3) !important;
  color: #b79cff !important;
}

/* ======================================================
   HERO
   ====================================================== */

/* Escena del hero virada a noche violeta (los overlays hijos
   son gradientes oscuros, el hue-rotate no los altera) */
.hero-bg {
  filter: hue-rotate(220deg) saturate(.85);
}

.hero-subtitle {
  color: rgba(183, 156, 255, .65) !important;
}

.hero-desc {
  color: rgba(183, 156, 255, .4) !important;
}

.diamond-rule .diamond {
  background: #9b6eff !important;
  box-shadow: 0 0 12px rgba(155, 110, 255, .45) !important;
}

.diamond-rule::before,
.diamond-rule::after {
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .35)) !important;
}

/* Logo con respiracion violeta */
.hero-logo {
  animation: nexus-logo-breathe 4s ease-in-out infinite !important;
}

@keyframes nexus-logo-breathe {
  0%, 100% {
    filter:
      drop-shadow(0 0 12px rgba(155, 110, 255, .3))
      drop-shadow(0 0 40px rgba(155, 110, 255, .1));
    transform: scale(1);
  }
  50% {
    filter:
      drop-shadow(0 0 24px rgba(155, 110, 255, .5))
      drop-shadow(0 0 64px rgba(155, 110, 255, .2))
      drop-shadow(0 0 100px rgba(155, 110, 255, .08));
    transform: scale(1.015);
  }
}

/* Canvas de particulas violetas sobre el hero */
.nexus-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Aura de tormenta violeta al pie del hero */
.nexus-hero-glow {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 130%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center bottom,
    rgba(109, 40, 217, .22) 0%,
    rgba(139, 92, 246, .1) 35%,
    transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: nexus-glow-pulse 6s ease-in-out infinite;
}

@keyframes nexus-glow-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

/* ======================================================
   SECCIONES
   ====================================================== */

.section-kicker {
  color: #b79cff !important;
}

.section-heading {
  color: #b79cff !important;
  background: linear-gradient(135deg, #b79cff 0%, #9b6eff 40%, #6d28d9 70%, #b79cff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-divider::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, .2) 30%,
    rgba(183, 156, 255, .35) 50%,
    rgba(139, 92, 246, .2) 70%,
    transparent 100%) !important;
}

/* ======================================================
   CARDS
   ====================================================== */

.feature-card {
  border-color: rgba(139, 92, 246, .08) !important;
}

.feature-card:hover {
  border-color: rgba(139, 92, 246, .2) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 32px rgba(0,0,0,.4), 0 0 48px rgba(139, 92, 246, .06) !important;
}

.feature-title {
  color: #b79cff !important;
}

.icon-box {
  background: rgba(139, 92, 246, .08) !important;
  border-color: rgba(139, 92, 246, .15) !important;
  color: #b79cff !important;
}

.card-premium {
  border-color: rgba(139, 92, 246, .08) !important;
}

.card-premium:hover {
  border-color: rgba(139, 92, 246, .2) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 32px rgba(0,0,0,.4), 0 0 48px rgba(139, 92, 246, .06) !important;
}

.pillar-icon {
  color: #b79cff !important;
}

.pillar-title {
  color: #b79cff !important;
}

.pillar-card--discord .pillar-icon {
  color: #b79cff !important;
}

.transparency-card-icon {
  color: #b79cff !important;
}

.transparency-card:hover,
.changelog-card:hover,
.pillar-card:hover {
  border-color: rgba(139, 92, 246, .2) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 32px rgba(0,0,0,.4), 0 0 48px rgba(139, 92, 246, .06) !important;
}

/* ======================================================
   NOTICIAS
   ====================================================== */

.news-card {
  border-color: rgba(139, 92, 246, .08) !important;
}

.news-card:hover {
  border-color: rgba(139, 92, 246, .2) !important;
  box-shadow: 0 4px 32px rgba(139, 92, 246, .06), 0 1px 2px rgba(0,0,0,.5) !important;
}

.news-card:hover .news-card-title {
  color: #b79cff !important;
}

.news-card-author {
  color: #b79cff !important;
}

.news-card-readmore {
  color: #b79cff !important;
}

.news-detail-modal {
  border-color: rgba(139, 92, 246, .15) !important;
}

.news-detail-close:hover {
  border-color: rgba(139, 92, 246, .3) !important;
}

.news-feed-author {
  color: #b79cff !important;
}

.news-feed-content a {
  color: #b79cff !important;
}

/* ======================================================
   CHANGELOG
   ====================================================== */

.changelog-version {
  background: rgba(139, 92, 246, .1) !important;
  color: #b79cff !important;
}

/* ======================================================
   STATUS DEL SERVIDOR
   ====================================================== */

.server-status {
  overflow: visible;
}

.server-status-dot::before {
  background: #b79cff !important;
}

.server-status-dot::after {
  background: #b79cff !important;
}

/* ======================================================
   CANVAS DE PARTICULAS EXISTENTES (oro → violeta)
   ====================================================== */

#hero-particles,
#nav-particles,
#discord-particles,
#shop-particles,
#logout-particles,
#header-logout-particles,
#postulaciones-particles {
  filter: hue-rotate(215deg) saturate(1.4);
}

/* ======================================================
   MODALES (login / play / download)
   ====================================================== */

.login-modal {
  border-color: rgba(139, 92, 246, .15) !important;
}

.login-modal-icon {
  background: rgba(139, 92, 246, .08) !important;
  border-color: rgba(139, 92, 246, .15) !important;
}

.login-modal-icon svg {
  color: #b79cff !important;
}

.login-modal h2 {
  color: #b79cff !important;
  background: linear-gradient(135deg, #b79cff 0%, #9b6eff 40%, #6d28d9 70%, #b79cff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.login-modal-close:hover {
  border-color: rgba(139, 92, 246, .2) !important;
  background: rgba(139, 92, 246, .05) !important;
}

.login-modal-recovery:hover {
  color: #b79cff !important;
}

.login-modal-loader .panel-loader-spinner {
  border-top-color: #b79cff !important;
}

.play-modal-title {
  color: #b79cff !important;
  background: linear-gradient(135deg, #b79cff 0%, #9b6eff 40%, #6d28d9 70%, #b79cff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.play-modal-card-title {
  color: #b79cff !important;
}

.play-modal-card {
  border-color: rgba(139, 92, 246, .08) !important;
}

.play-modal-card:hover {
  border-color: rgba(139, 92, 246, .25) !important;
}

.play-modal h2,
.download-modal h2 {
  color: #b79cff !important;
  background: linear-gradient(135deg, #b79cff 0%, #9b6eff 40%, #6d28d9 70%, #b79cff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.download-modal {
  border-color: rgba(139, 92, 246, .15) !important;
}

.download-modal-icon {
  background: rgba(139, 92, 246, .08) !important;
  border-color: rgba(139, 92, 246, .15) !important;
}

.download-modal-icon svg {
  color: #b79cff !important;
}

.download-modal-title {
  color: #b79cff !important;
  background: linear-gradient(135deg, #b79cff 0%, #9b6eff 40%, #6d28d9 70%, #b79cff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.download-modal-spinner,
.panel-loader-spinner {
  border-color: rgba(139, 92, 246, .15) !important;
  border-top-color: #b79cff !important;
}

/* ======================================================
   FORMULARIOS
   ====================================================== */

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(139, 92, 246, .4) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .08) !important;
}

.login-field input:focus,
.form-field input:focus,
.register-field input:focus {
  border-color: rgba(139, 92, 246, .4) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .08) !important;
}

select,
input[type="checkbox"] {
  accent-color: #9b6eff !important;
}

.register-title,
.login-title {
  color: #b79cff !important;
  background: linear-gradient(135deg, #b79cff 0%, #9b6eff 40%, #6d28d9 70%, #b79cff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.register-icon {
  background: rgba(139, 92, 246, .08) !important;
  border-color: rgba(139, 92, 246, .15) !important;
}

.register-icon svg {
  color: #b79cff !important;
}

/* Fondo del registro virado a violeta (pseudo sin hijos, filtrarlo es seguro) */
.register-page::before {
  filter: hue-rotate(220deg) saturate(.85);
}

.recaptcha-branding a:hover {
  color: #b79cff !important;
}

/* ======================================================
   FOOTER Y LINKS
   ====================================================== */

a:hover {
  color: #b79cff;
}

.footer-link:hover {
  color: #b79cff !important;
}

[data-tooltip]:hover::after {
  border-color: rgba(139, 92, 246, .2) !important;
}

.discord-btn:hover {
  border-color: rgba(139, 92, 246, .35) !important;
  background: rgba(139, 92, 246, .06) !important;
}

/* ======================================================
   PANEL DE CUENTA
   ====================================================== */

.panel-nav-btn {
  border-color: rgba(139, 92, 246, .08) !important;
}

.panel-nav-btn svg {
  color: #b79cff !important;
}

.panel-nav-btn:hover {
  border-color: rgba(139, 92, 246, .25) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 32px rgba(0,0,0,.4), 0 0 48px rgba(139, 92, 246, .06), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.panel-nav-btn.active {
  border-color: rgba(139, 92, 246, .3) !important;
  background: linear-gradient(168deg, rgba(139, 92, 246, .08) 0%, rgba(7,7,12,.98) 100%) !important;
}

.panel-nav-btn--shop {
  border-color: rgba(139, 92, 246, .3) !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .1) 0%, rgba(7,7,12,.98) 50%, rgba(139, 92, 246, .06) 100%) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.3), 0 0 20px rgba(139, 92, 246, .08), inset 0 1px 0 rgba(139, 92, 246, .1) !important;
}

.panel-nav-btn--shop::before {
  background: linear-gradient(105deg, transparent 20%, rgba(139, 92, 246, .08) 40%, rgba(183, 156, 255, .15) 50%, rgba(139, 92, 246, .08) 60%, transparent 80%) !important;
  background-size: 200% 100% !important;
}

.panel-nav-btn--shop svg {
  color: #b79cff !important;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, .5)) !important;
}

.panel-nav-btn--shop span {
  color: #b79cff !important;
}

.panel-nav-btn--shop:hover {
  border-color: rgba(139, 92, 246, .5) !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .15) 0%, rgba(7,7,12,.95) 50%, rgba(139, 92, 246, .1) 100%) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 32px rgba(0,0,0,.4), 0 0 30px rgba(139, 92, 246, .15), 0 0 60px rgba(139, 92, 246, .06), inset 0 1px 0 rgba(139, 92, 246, .15) !important;
}

.panel-nav-btn--shop.active {
  border-color: rgba(139, 92, 246, .45) !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .14) 0%, rgba(7,7,12,.95) 50%, rgba(139, 92, 246, .08) 100%) !important;
}

.panel-nav-btn--postulaciones {
  border-color: rgba(139, 92, 246, .3) !important;
}

.panel-nav-btn--postulaciones.active {
  border-color: rgba(139, 92, 246, .45) !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .14) 0%, rgba(7,7,12,.95) 50%, rgba(139, 92, 246, .08) 100%) !important;
}

.panel-card {
  border-color: rgba(139, 92, 246, .12) !important;
}

.panel-card:hover {
  border-color: rgba(139, 92, 246, .25) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 32px rgba(0,0,0,.4), 0 0 32px rgba(139, 92, 246, .06), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.panel-card-icon {
  background: rgba(139, 92, 246, .08) !important;
  border-color: rgba(139, 92, 246, .15) !important;
}

.panel-card-icon svg {
  color: #b79cff !important;
}

.panel-card-title {
  color: #b79cff !important;
}

.badge-ok {
  background: rgba(139, 92, 246, .15) !important;
  border-color: rgba(139, 92, 246, .3) !important;
  color: #b79cff !important;
}

.panel-tab.active,
.panel-tab:hover {
  border-color: rgba(139, 92, 246, .4) !important;
  background: rgba(139, 92, 246, .06) !important;
  color: #b79cff !important;
}

.panel-info-label {
  color: #b79cff !important;
}

.panel-transactions .badge-ok {
  background: rgba(139, 92, 246, .1) !important;
  color: #b79cff !important;
}

.panel-card a:hover {
  color: #b79cff !important;
}

.panel-download-card {
  border-color: rgba(139, 92, 246, .15) !important;
}

.panel-download-card:hover {
  border-color: rgba(139, 92, 246, .3) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 32px rgba(0,0,0,.4), 0 0 40px rgba(139, 92, 246, .05) !important;
}

.panel-download-card svg {
  color: #b79cff !important;
}

.panel-download-icon {
  background: rgba(139, 92, 246, .1) !important;
  border-color: rgba(139, 92, 246, .2) !important;
}

.panel-download-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important;
  color: #fff !important;
}

.panel-card input:focus,
.panel-card select:focus,
.panel-card textarea:focus {
  border-color: rgba(139, 92, 246, .4) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .08) !important;
}

.panel-modal {
  border-color: rgba(139, 92, 246, .15) !important;
}

.panel-modal h2,
.panel-modal-title {
  color: #b79cff !important;
}

.referral-code {
  border-color: rgba(139, 92, 246, .3) !important;
  background: rgba(139, 92, 246, .06) !important;
}

.referral-code:hover {
  background: rgba(139, 92, 246, .1) !important;
  border-color: rgba(139, 92, 246, .4) !important;
}

/* ======================================================
   CALENDARIO DE CUMPLEANOS
   ====================================================== */

.bday-shimmer-bar {
  background: linear-gradient(90deg, #b79cff, #9b6eff, #fff, #9b6eff, #b79cff) !important;
}

.bday-picker-trigger {
  border-color: rgba(139, 92, 246, .15) !important;
}

.bday-picker-trigger:hover {
  border-color: rgba(139, 92, 246, .35) !important;
  background: rgba(139, 92, 246, .04) !important;
}

.bday-picker-trigger svg {
  color: rgba(183, 156, 255, .6) !important;
}

.bday-picker-has-value {
  border-color: rgba(139, 92, 246, .3) !important;
}

.bday-calendar {
  border-color: rgba(139, 92, 246, .18) !important;
}

.bday-cal-title {
  color: rgba(183, 156, 255, .9) !important;
}

.bday-cal-arrow {
  border-color: rgba(139, 92, 246, .15) !important;
  color: rgba(183, 156, 255, .7) !important;
}

.bday-cal-arrow:hover {
  background: rgba(139, 92, 246, .1) !important;
  border-color: rgba(139, 92, 246, .3) !important;
  color: #b79cff !important;
}

.bday-cal-weekdays span {
  color: rgba(183, 156, 255, .45) !important;
}

.bday-cal-day:hover {
  background: rgba(139, 92, 246, .1) !important;
  border-color: rgba(139, 92, 246, .25) !important;
}

.bday-cal-selected {
  background: rgba(139, 92, 246, .2) !important;
  border-color: rgba(139, 92, 246, .5) !important;
  color: #b79cff !important;
}

.bday-cal-footer {
  border-top-color: rgba(139, 92, 246, .08) !important;
}

.bday-cal-footer select {
  border-color: rgba(139, 92, 246, .12) !important;
}

.bday-cal-footer select:focus {
  border-color: rgba(139, 92, 246, .3) !important;
}

/* ======================================================
   BANNER NEXUS (index)
   ====================================================== */

.nexus-banner {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.5rem 6rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(76, 29, 149, .28) 0%, transparent 60%),
    linear-gradient(180deg, #07050c 0%, #0b0716 55%, #07050c 100%);
  border-top: 1px solid rgba(139, 92, 246, .12);
  border-bottom: 1px solid rgba(139, 92, 246, .12);
  text-align: center;
}

.nexus-banner-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Aura central pulsante */
.nexus-banner-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(139, 92, 246, .14) 0%,
    rgba(109, 40, 217, .07) 40%,
    transparent 70%);
  pointer-events: none;
  animation: nexus-glow-pulse 5s ease-in-out infinite;
}

.nexus-banner-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

/* Badge "DISPONIBLE AHORA" */
.nexus-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .95rem;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 999px;
  background: rgba(139, 92, 246, .08);
  color: #b79cff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.nexus-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b79cff;
  box-shadow: 0 0 8px rgba(183, 156, 255, .9);
  animation: nexus-dot-blink 1.6s ease-in-out infinite;
}

@keyframes nexus-dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* Wordmark N E X U S */
.nexus-title {
  display: flex;
  justify-content: center;
  gap: clamp(.5rem, 3.5vw, 1.6rem);
  margin: 0 0 1.4rem;
  font-size: clamp(2.6rem, 9vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: #e6dcff;
}

.nexus-title span {
  display: inline-block;
  background: linear-gradient(180deg, #efe9ff 0%, #b79cff 45%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, .45));
  opacity: 0;
  transform: translateY(18px);
}

/* Entrada escalonada por letra al entrar en viewport */
.nexus-banner-visible .nexus-title span {
  animation: nexus-letter-in .55s cubic-bezier(.16, 1, .3, 1) forwards;
}

.nexus-banner-visible .nexus-title span:nth-child(1) { animation-delay: .05s; }
.nexus-banner-visible .nexus-title span:nth-child(2) { animation-delay: .17s; }
.nexus-banner-visible .nexus-title span:nth-child(3) { animation-delay: .29s; }
.nexus-banner-visible .nexus-title span:nth-child(4) { animation-delay: .41s; }
.nexus-banner-visible .nexus-title span:nth-child(5) { animation-delay: .53s; }

@keyframes nexus-letter-in {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Glitch sutil ocasional sobre la X central */
.nexus-banner-visible .nexus-title span:nth-child(3) {
  animation: nexus-letter-in .55s cubic-bezier(.16, 1, .3, 1) .29s forwards,
             nexus-x-flicker 7s steps(1) 2.5s infinite;
}

@keyframes nexus-x-flicker {
  0%, 96.5%, 100% { filter: drop-shadow(0 0 14px rgba(139, 92, 246, .45)); }
  97% { filter: drop-shadow(0 0 26px rgba(183, 156, 255, .9)) brightness(1.6); }
  97.6% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, .3)) brightness(.8); }
  98.2% { filter: drop-shadow(0 0 30px rgba(183, 156, 255, 1)) brightness(1.8); }
}

/* Linea de energia bajo el titulo */
.nexus-title-rule {
  width: min(340px, 70%);
  height: 2px;
  margin: 0 auto 1.6rem;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, .5) 25%,
    #b79cff 50%,
    rgba(139, 92, 246, .5) 75%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(139, 92, 246, .5);
  animation: nexus-rule-pulse 3s ease-in-out infinite;
}

@keyframes nexus-rule-pulse {
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}

.nexus-sub {
  color: rgba(230, 220, 255, .75);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2.2rem;
}

/* CTA */
.nexus-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2.1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #a78bfa 0%, #6d28d9 100%);
  color: #0c0618 !important;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .92rem;
  border: 1px solid rgba(183, 156, 255, .4);
  box-shadow: 0 0 24px rgba(139, 92, 246, .25), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.nexus-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(139, 92, 246, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
  color: #0c0618 !important;
}

.nexus-cta svg {
  flex-shrink: 0;
}

/* ======================================================
   ACCESIBILIDAD — reducir movimiento
   ====================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .nexus-hero-glow,
  .nexus-banner-aura,
  .nexus-badge-dot,
  .nexus-title-rule {
    animation: none !important;
  }

  .nexus-title span {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
