/* ========================================
   EMOTIONIART - GRADIENTS.CSS
   Degradados Avanzados y Efectos Visuales
   ======================================== */

/* ===== DEGRADADOS DE FONDO ===== */
.gradient-bg-1 {
  background: linear-gradient(135deg, #00B4FF 0%, #00D9A4 100%);
}

.gradient-bg-2 {
  background: linear-gradient(135deg, #6C63FF 0%, #FF4081 100%);
}

.gradient-bg-3 {
  background: linear-gradient(135deg, #FF4081 0%, #FF8C00 100%);
}

.gradient-bg-4 {
  background: linear-gradient(135deg, #00B4FF 0%, #6C63FF 100%);
}

.gradient-bg-5 {
  background: linear-gradient(135deg, #00D9A4 0%, #00B4FF 100%);
}

.gradient-bg-6 {
  background: linear-gradient(135deg, #FF8C00 0%, #FF4081 100%);
}

/* ===== DEGRADADOS RADIALES ===== */
.gradient-radial-1 {
  background: radial-gradient(circle at 30% 30%, #00B4FF 0%, #070F1A 100%);
}

.gradient-radial-2 {
  background: radial-gradient(circle at 70% 70%, #FF4081 0%, #070F1A 100%);
}

.gradient-radial-3 {
  background: radial-gradient(circle at 50% 50%, #6C63FF 0%, #0D1B2A 100%);
}

.gradient-radial-4 {
  background: radial-gradient(circle at 40% 60%, #00D9A4 0%, #070F1A 100%);
}

/* ===== DEGRADADOS CON ANIMACIÓN ===== */
.gradient-animated {
  background: linear-gradient(135deg, #00B4FF 0%, #00D9A4 50%, #6C63FF 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

.gradient-animated-2 {
  background: linear-gradient(135deg, #6C63FF 0%, #FF4081 50%, #FF8C00 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
}

.gradient-animated-3 {
  background: linear-gradient(135deg, #FF4081 0%, #FF8C00 50%, #00B4FF 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

/* ===== DEGRADADOS DE TEXTO ===== */
.gradient-text-1 {
  background: linear-gradient(135deg, #00B4FF 0%, #00D9A4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-2 {
  background: linear-gradient(135deg, #6C63FF 0%, #FF4081 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-3 {
  background: linear-gradient(135deg, #FF4081 0%, #FF8C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-4 {
  background: linear-gradient(135deg, #00B4FF 0%, #6C63FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== DEGRADADOS DE BORDE ===== */
.gradient-border {
  position: relative;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #00B4FF, #00D9A4, #6C63FF) border-box;
}

.gradient-border-2 {
  position: relative;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #6C63FF, #FF4081, #FF8C00) border-box;
}

/* ===== DEGRADADOS DE BOTÓN ===== */
.btn-gradient-1 {
  background: linear-gradient(135deg, #00B4FF 0%, #00D9A4 100%);
  color: white;
  border: none;
}

.btn-gradient-2 {
  background: linear-gradient(135deg, #6C63FF 0%, #FF4081 100%);
  color: white;
  border: none;
}

.btn-gradient-3 {
  background: linear-gradient(135deg, #FF4081 0%, #FF8C00 100%);
  color: white;
  border: none;
}

.btn-gradient-4 {
  background: linear-gradient(135deg, #00B4FF 0%, #6C63FF 100%);
  color: white;
  border: none;
}

/* ===== DEGRADADOS DE CARD ===== */
.card-gradient-1 {
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.1) 0%, rgba(0, 217, 164, 0.1) 100%);
  border: 1px solid rgba(0, 180, 255, 0.3);
}

.card-gradient-2 {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(255, 64, 129, 0.1) 100%);
  border: 1px solid rgba(108, 99, 255, 0.3);
}

.card-gradient-3 {
  background: linear-gradient(135deg, rgba(255, 64, 129, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
  border: 1px solid rgba(255, 64, 129, 0.3);
}

/* ===== DEGRADADOS DE HOVER ===== */
.hover-gradient {
  position: relative;
  overflow: hidden;
}

.hover-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00B4FF 0%, #00D9A4 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.hover-gradient:hover::before {
  opacity: 0.1;
}

/* ===== DEGRADADOS DE FONDO CON RUIDO ===== */
.gradient-noise {
  position: relative;
}

.gradient-noise::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.05) 0%, transparent 30%);
  z-index: 0;
}

/* ===== DEGRADADOS DE GLASSMORPHISM ===== */
.glass-bg {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-bg-dark {
  background: rgba(13, 27, 42, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-gradient {
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== DEGRADADOS DE SUPERPOSICIÓN ===== */
.overlay-gradient-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.2) 0%, rgba(0, 217, 164, 0.2) 100%);
  z-index: 0;
}

.overlay-gradient-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2) 0%, rgba(255, 64, 129, 0.2) 100%);
  z-index: 0;
}

/* ===== DEGRADADOS DE SECCIÓN ===== */
.section-gradient-1 {
  background: linear-gradient(to bottom, #0D1B2A 0%, #070F1A 100%);
}

.section-gradient-2 {
  background: linear-gradient(to bottom, #FFFFFF 0%, #F5F7FA 100%);
}

.section-gradient-3 {
  background: linear-gradient(to bottom, #070F1A 0%, #0D1B2A 50%, #070F1A 100%);
}

/* ===== DEGRADADOS DE TÍTULO ===== */
.title-gradient-1 {
  background: linear-gradient(135deg, #00B4FF 0%, #00D9A4 50%, #6C63FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.title-gradient-2 {
  background: linear-gradient(135deg, #6C63FF 0%, #FF4081 50%, #FF8C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ===== DEGRADADOS DE ICONO ===== */
.icon-gradient-1 {
  background: linear-gradient(135deg, #00B4FF 0%, #00D9A4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.icon-gradient-2 {
  background: linear-gradient(135deg, #6C63FF 0%, #FF4081 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== DEGRADADOS DE PROGRESO ===== */
.progress-gradient {
  background: linear-gradient(90deg, #00B4FF 0%, #00D9A4 50%, #6C63FF 100%);
  height: 6px;
  border-radius: 3px;
}

/* ===== DEGRADADOS DE SHINE (Efecto Brillo) ===== */
.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(45deg);
  animation: cardShine 3s infinite;
}

/* ===== DEGRADADOS DE MÁSCARA ===== */
.mask-gradient {
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

/* ===== UTILIDADES DE DEGRADADO ===== */
.bg-gradient-primary { background: var(--gradient-1); }
.bg-gradient-secondary { background: var(--gradient-2); }
.bg-gradient-accent { background: var(--gradient-3); }
.bg-gradient-purple { background: var(--gradient-4); }

.text-gradient-primary { 
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-secondary { 
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}