/* ==========================================================================
   YONKISR6 V2 • PC4YOU CYBERPUNK MUSIC DASHBOARD THEME
   Diseño inspirado en pc4you.es (Futurista, Glassmorphism, Neón Cian y Púrpura)
   ========================================================================== */

:root {
  --bg-deep: #07070c;
  --bg-surface: #0e0e18;
  --bg-card: rgba(18, 18, 30, 0.75);
  --border-neon: rgba(147, 51, 234, 0.25);
  --border-cyan: rgba(0, 255, 204, 0.3);
  --neon-cyan: #00ffcc;
  --neon-purple: #9333ea;
  --neon-pink: #ec4899;
  --neon-gold: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

/* Cursores Usables & Compatibles Pc4You (Pointer para interactivos, Text para inputs) */
a, button, [role="button"], .cursor-pointer, .interactive-target {
  cursor: pointer;
}
input, textarea, select, .cursor-text {
  cursor: text;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* Grid Matrix / Cyberpunk de fondo */
.cyber-grid {
  background-image: 
    linear-gradient(to right, rgba(147, 51, 234, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 255, 204, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Efectos Glassmorphism y Neón */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-neon);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
}

.glass-panel-cyan {
  background: rgba(14, 25, 30, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyan);
}

.glow-cyan {
  box-shadow: 0 0 25px rgba(0, 255, 204, 0.25);
}

.glow-purple {
  box-shadow: 0 0 25px rgba(147, 51, 234, 0.3);
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00ffcc 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #c084fc 0%, #9333ea 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botón Neón Cyber */
.btn-cyber-cyan {
  background: linear-gradient(135deg, rgba(0, 255, 204, 0.15) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 1px solid var(--neon-cyan);
  color: #00ffcc;
  transition: all 0.3s ease;
}

.btn-cyber-cyan:hover {
  background: linear-gradient(135deg, #00ffcc 0%, #0284c7 100%);
  color: #07070c;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
  transform: translateY(-2px);
}

.btn-cyber-purple {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.25) 0%, rgba(99, 102, 241, 0.2) 100%);
  border: 1px solid var(--neon-purple);
  color: #e9d5ff;
  transition: all 0.3s ease;
}

.btn-cyber-purple:hover {
  background: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(147, 51, 234, 0.6);
  transform: translateY(-2px);
}

/* Ecualizador Animado */
.equalizer-bar {
  display: inline-block;
  animation: equalize 1s infinite ease-in-out alternate;
  transform-origin: bottom;
  will-change: transform;
}
.equalizer-bar:nth-child(1) { animation-delay: 0.1s; animation-duration: 0.9s; }
.equalizer-bar:nth-child(2) { animation-delay: 0.3s; animation-duration: 1.15s; }
.equalizer-bar:nth-child(3) { animation-delay: 0.5s; animation-duration: 0.85s; }
.equalizer-bar:nth-child(4) { animation-delay: 0.2s; animation-duration: 1.2s; }
.equalizer-bar:nth-child(5) { animation-delay: 0.4s; animation-duration: 1.05s; }

@keyframes equalize {
  0% { transform: scaleY(0.25); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; filter: drop-shadow(0 0 6px currentColor); }
  100% { transform: scaleY(0.4); opacity: 0.8; }
}

/* Símbolo Musical Flotante & Efecto Neón Pc4You */
.floating-neon-note {
  display: inline-block;
  animation: floatNote 2.8s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.85));
  will-change: transform, filter;
}

@keyframes floatNote {
  0% {
    transform: translateY(3px) rotate(-6deg) scale(0.96);
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
  }
  50% {
    transform: translateY(-8px) rotate(4deg) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.9)) drop-shadow(0 0 30px rgba(168, 85, 247, 0.7));
  }
  100% {
    transform: translateY(3px) rotate(-6deg) scale(0.96);
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
  }
}

/* Barra de progreso fluida */
.slider-custom {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  outline: none;
  height: 6px;
}

.slider-custom::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: transform 0.15s ease;
}

.slider-custom::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* Scrollbars personalizadas estilo cyber */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0b0b14;
}

::-webkit-scrollbar-thumb {
  background: rgba(147, 51, 234, 0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* ==========================================================================
   EFECTOS AVANZADOS PC4YOU • NEÓN, TEXTOS Y BORDES EN MOVIMIENTO
   ========================================================================== */

/* Resplandores de Texto Neón */
.glow-text-cyan {
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.8), 0 0 25px rgba(0, 255, 204, 0.4);
}

.glow-text-purple {
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.8), 0 0 30px rgba(147, 51, 234, 0.5);
}

.glow-text-gold {
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.85), 0 0 28px rgba(234, 179, 8, 0.45);
}

.glow-text-emerald {
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.85), 0 0 25px rgba(5, 150, 105, 0.45);
}

/* Texto Shimmer Fluido en Movimiento */
.text-shimmer {
  background: linear-gradient(90deg, #00ffcc 0%, #a855f7 35%, #ec4899 65%, #00ffcc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerFlow 5s linear infinite;
}

@keyframes shimmerFlow {
  to {
    background-position: 200% center;
  }
}

/* Borde Animado en Movimiento Continuo (Cyber Border) */
.animated-cyber-border {
  position: relative;
  border-radius: 1.5rem;
  background: linear-gradient(60deg, #07070c, #0e0e18);
  z-index: 1;
}

.animated-cyber-border::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(90deg, #00ffcc, #9333ea, #ec4899, #38bdf8, #00ffcc);
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  animation: borderRotate 6s linear infinite;
  opacity: 0.85;
}

.animated-cyber-border:hover::before {
  opacity: 1;
  filter: blur(4px);
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Píldora de Red Social Neón */
.social-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-pill:hover {
  transform: translateY(-3px) scale(1.04);
}

/* Radar Scanline para Tracker */
.radar-scanline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffcc, transparent);
  box-shadow: 0 0 15px #00ffcc;
  animation: radarScan 3.5s ease-in-out infinite;
}

@keyframes radarScan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ==========================================================================
   IDENTIDAD INFECTVS & EFECTOS NEÓN EN MOVIMIENTO
   ========================================================================== */
.neon-infectvs {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #00ffcc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 3s ease infinite;
  font-weight: 800;
  display: inline-block;
  letter-spacing: 0.05em;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.45));
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Normalización Segura de Cursor (Garantiza que el puntero NUNCA desaparezca) */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: default;
  }
  a, button, [role="button"], .cursor-pointer, .interactive-target {
    cursor: pointer !important;
  }
  input, textarea, select, .cursor-text {
    cursor: text !important;
  }
}

/* Cursor Táctico Crosshair & Glow (Overlay Visual Sin Bloqueo de Puntero) */

#crosshair-cursor {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

#crosshair-dot {
  pointer-events: none;
  position: fixed;
  z-index: 10000;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: #00ffcc;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}

#mouse-glow {
  pointer-events: none;
  position: fixed;
  z-index: 9995;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.08) 0%, rgba(147, 51, 234, 0.05) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease;
}

/* Footer Badge Glow estilo Pc4You */
.footer-badge-glow {
  position: relative;
  background: rgba(8, 8, 14, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.25), 0 0 15px rgba(0, 255, 204, 0.2);
  transition: all 0.3s ease;
}

.footer-badge-glow:hover {
  border-color: #00ffcc;
  box-shadow: 0 0 35px rgba(0, 255, 204, 0.4), 0 0 20px rgba(236, 72, 153, 0.35);
  transform: translateY(-2px);
}

/* Terminal Typewriter Cursor */
.terminal-cursor-blink {
  animation: cursorBlink 0.85s step-end infinite;
}

@keyframes cursorBlink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* Animaciones para Music Room */
.floating-neon-note {
  animation: floatNote 3.5s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 0 16px rgba(0, 255, 204, 0.6)) drop-shadow(0 0 28px rgba(168, 85, 247, 0.5));
}

@keyframes floatNote {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-10px) rotate(5deg) scale(1.05); }
}

.vinyl-spin {
  animation: spinVinyl 6s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Píldoras Satélite del Header Modernas */
.satellite-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.satellite-pill:hover {
  transform: translateY(-2px) scale(1.04);
}

/* ==========================================================================
   MISIONES SOCIALES, 2FA Y MODAL RGPD
   ========================================================================== */

/* Tarjeta de Misión Completada */
.task-card.task-completed {
  border-color: rgba(16, 185, 129, 0.6) !important;
  background: linear-gradient(135deg, rgba(6, 6, 12, 0.95), rgba(6, 78, 59, 0.2)) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.task-card.task-completed .task-title-text {
  text-decoration: line-through;
  opacity: 0.85;
  color: #a7f3d0 !important;
}

/* Pestañas del Modal Legal */
.tab-legal-btn.active {
  color: #00ffcc !important;
  border-color: #00ffcc !important;
  background: rgba(0, 255, 204, 0.08);
}

/* ==========================================================================
   MOTOR UNIVERSAL GOOGLE TRANSLATE • ESTÉTICA CYBERPUNK LIMPIA (PC4YOU)
   ========================================================================== */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0px !important;
}

#google_translate_element {
  display: none !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

font {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ==========================================================================
   EFECTOS TÁCTICOS AVANZADOS PC4YOU • RGB FLOW, ESCÁNER, GLITCH & SCREEN SHAKE
   ========================================================================== */

/* 1. Flujo RGB de bordes dinámicos que cambian suavemente de color */
@keyframes rgbBorderFlow {
  0% {
    border-color: rgba(0, 245, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2), inset 0 0 15px rgba(0, 245, 255, 0.05);
  }
  25% {
    border-color: rgba(168, 85, 247, 0.65);
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.25), inset 0 0 15px rgba(168, 85, 247, 0.05);
  }
  50% {
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 0 18px rgba(236, 72, 153, 0.22), inset 0 0 15px rgba(236, 72, 153, 0.05);
  }
  75% {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2), inset 0 0 15px rgba(6, 182, 212, 0.05);
  }
  100% {
    border-color: rgba(0, 245, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2), inset 0 0 15px rgba(0, 245, 255, 0.05);
  }
}

.rgb-border-box, .rgb-border-flow {
  position: relative;
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 255, 0.35);
  animation: rgbBorderFlow 8s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rgb-btn-flow {
  position: relative;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.35), rgba(0, 245, 255, 0.25));
  border: 1px solid rgba(0, 245, 255, 0.5);
  animation: rgbBorderFlow 6s ease-in-out infinite;
  transition: all 0.25s ease;
}
.rgb-btn-flow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.4), 0 0 40px rgba(168, 85, 247, 0.3);
}

/* 2. Haz de Escáner Táctico Continuo Más Ancho y con parpadeo de color azul, rosa/fucsia y púrpura */
.tactical-scanner-beam {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 6px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 245, 255, 0.25) 15%, 
    rgba(0, 245, 255, 0.95) 40%, 
    rgba(255, 0, 128, 0.95) 60%, 
    rgba(168, 85, 247, 0.95) 85%, 
    transparent 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.9), 0 0 50px rgba(255, 0, 128, 0.75), 0 0 80px rgba(168, 85, 247, 0.6);
  pointer-events: none;
  z-index: 40;
  animation: tacticalScanSweep 14s cubic-bezier(0.4, 0, 0.2, 1) infinite, scannerFlickerColor 3.5s ease-in-out infinite alternate;
}

@keyframes scannerFlickerColor {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 15px #00f5ff);
  }
  50% {
    background-position: 50% 50%;
    filter: drop-shadow(0 0 25px #ff007f);
  }
  100% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 20px #a855f7);
  }
}

@keyframes tacticalScanSweep {
  0%, 20% {
    transform: translateY(-20px);
    opacity: 0;
  }
  24% {
    transform: translateY(0);
    opacity: 0.95;
  }
  64% {
    transform: translateY(100vh);
    opacity: 0.95;
  }
  67% {
    transform: translateY(100vh);
    opacity: 0;
  }
  68%, 100% {
    transform: translateY(-20px);
    opacity: 0;
  }
}

/* 3. Efecto Cyber Glitch / Hackeo Esporádico */
@keyframes cyberGlitch {
  0%, 92%, 100% {
    transform: translate(0);
    text-shadow: none;
  }
  93% {
    transform: translate(-2px, 1.5px);
    text-shadow: 2px 0 #ff0055, -2px 0 #00ffff;
  }
  94.5% {
    transform: translate(2px, -1.5px);
    text-shadow: -2px 0 #ff0055, 2px 0 #00ffff;
  }
  96% {
    transform: translate(-1.5px, 2px);
    text-shadow: 1.5px 0 #00ffff, -1.5px 0 #ff0055;
  }
  97% {
    transform: translate(1px, -1px);
    text-shadow: -1px 0 #00ffff, 1px 0 #ff0055;
  }
  98% {
    transform: translate(0);
    text-shadow: none;
  }
}

.cyber-glitch-fx {
  animation: cyberGlitch 8s ease-in-out infinite;
}

/* 4. Conmoción Táctica / Sacudida de Pantalla por Granada */
@keyframes concussiveShake {
  0% { transform: translate(0, 0) rotate(0deg); }
  15% { transform: translate(-7px, 5px) rotate(-0.8deg); }
  30% { transform: translate(6px, -5px) rotate(0.8deg); }
  45% { transform: translate(-5px, -3px) rotate(-0.5deg); }
  60% { transform: translate(4px, 3px) rotate(0.4deg); }
  75% { transform: translate(-2px, 1px) rotate(-0.2deg); }
  90% { transform: translate(1px, -1px) rotate(0.1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.concussive-shake {
  animation: concussiveShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Flash de impacto táctico */
.concussive-flash {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.35) 0%, rgba(147, 51, 234, 0.2) 60%, transparent 90%);
  pointer-events: none;
  z-index: 50;
  animation: flashFade 0.6s ease-out forwards;
}

@keyframes flashFade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* 5. Marca de Agua Centrada con Escritura Terminal, Mayor Tamaño y Ciclo Rápido de Color */
.watermark-brand {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Orbitron', monospace;
  font-size: clamp(4.5rem, 14vw, 13rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  text-align: center;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #00f5ff, #ec4899, #8b5cf6, #00ffcc, #00f5ff);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: watermarkFastColorFlow 3.5s linear infinite;
  opacity: 0.18;
  filter: drop-shadow(0 0 35px rgba(0, 245, 255, 0.45));
}

@keyframes watermarkFastColorFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.watermark-cursor {
  display: inline-block;
  color: #00f5ff;
  animation: cursorBlink 0.7s infinite;
  opacity: 0.9;
  -webkit-text-fill-color: #00f5ff;
}

/* Botón Flotante Subir Arriba (Scroll to Top) Estilo Táctico Pc4You */
.back-to-top-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(6, 10, 18, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 245, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 245, 255, 0.3);
  overflow: visible;
}

.back-to-top-btn .cyber-btn-halo {
  position: absolute;
  inset: -3px;
  border-radius: 21px;
  background: conic-gradient(from 0deg, #00f5ff, #a855f7, #ec4899, #10b981, #00f5ff);
  z-index: -1;
  opacity: 0.55;
  filter: blur(2px);
  animation: cyberSpin 4s linear infinite;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

@keyframes cyberSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.back-to-top-btn:hover {
  background: rgba(10, 15, 28, 0.98);
  border-color: #00f5ff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 245, 255, 0.7), 0 0 50px rgba(168, 85, 247, 0.5);
}

.back-to-top-btn:hover .cyber-btn-halo {
  opacity: 1;
  filter: blur(5px);
  animation-duration: 2s;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Fondo cósmico profundo */
.bg-cosmic-deep {
  background: radial-gradient(circle at 50% 10%, rgba(139, 92, 246, 0.14) 0%, transparent 60%),
              radial-gradient(circle at 10% 40%, rgba(0, 245, 255, 0.10) 0%, transparent 50%),
              radial-gradient(circle at 90% 70%, rgba(236, 72, 153, 0.10) 0%, transparent 50%),
              #07070d !important;
}

/* ==========================================================================
   AMBIENT OFFICIAL BRAND BACKDROP (FONDO OFICIAL EN MOVIMIENTO)
   ========================================================================== */
.ambient-brand-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ambient-brand-banner-bg {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 140vw;
  max-width: 2200px;
  height: 65vh;
  min-height: 420px;
  background-image: url('../assets/brand/yonkisr6-official-banner.webp'), url('../assets/brand/yonkisr6-official-banner.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.11;
  filter: contrast(1.25) saturate(1.3) blur(0.5px);
  mask-image: radial-gradient(ellipse 90% 75% at center, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at center, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 80%);
  animation: ambientBrandFloat 32s ease-in-out infinite alternate;
}

@keyframes ambientBrandFloat {
  0% {
    transform: translateX(-50%) translateY(0px) scale(1.0);
    opacity: 0.09;
  }
  50% {
    transform: translateX(-49%) translateY(-14px) scale(1.04);
    opacity: 0.13;
  }
  100% {
    transform: translateX(-51%) translateY(8px) scale(1.02);
    opacity: 0.10;
  }
}

/* Emblema Oficial con Animación de Resplandor Neón */
.brand-emblem-live {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-emblem-live:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.65)) drop-shadow(0 0 35px rgba(168, 85, 247, 0.45));
}

/* ==========================================================================
   PÍLDORA CENTRAL RGB EN MOVIMIENTO FLUIDO (MASTER HEADER BRANDING 2026)
   ========================================================================== */
@keyframes rgbFlowCycle {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rgb-gradient-text {
  background: linear-gradient(90deg, #ff007f, #a855f7, #00f5ff, #06b6d4, #f59e0b, #ec4899, #ff007f);
  background-size: 300% 300%;
  animation: rgbFlowCycle 5s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.rgb-header-pill {
  position: relative;
  background: rgba(8, 10, 20, 0.90);
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25), inset 0 0 12px rgba(0, 245, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rgb-header-pill:hover {
  border-color: rgba(0, 245, 255, 0.7);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.45), 0 0 45px rgba(168, 85, 247, 0.25);
  transform: translateY(-1px);
}


