:root {
  --fondo: #f9f7fd;
  --morado: #7b2cbf;
  --morado-oscuro: #3c096c;
  --lavanda-luz: #e0aaff;
  --texto: #240046;
  --blanco: #ffffff;
  --gradiente-mistico: linear-gradient(135deg, #7b2cbf 0%, #3c096c 100%);
  --overlay: rgba(16, 0, 43, 0.85);
  --fuente-titulos: "Playfair Display", serif;
  --fuente-cuerpo: "Montserrat", sans-serif;
}

/* Animaciones */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(123, 44, 191, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(123, 44, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(123, 44, 191, 0);
  }
}

body {
  font-family: var(--fuente-cuerpo);
  color: var(--texto);
  background-color: var(--fondo);
  margin: 0;
  overflow-x: hidden;
}
h1,
h2,
h3,
.serif {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  color: var(--morado-oscuro);
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

/* Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url("https://amarresdeamorconlara.com/img/ban-main-1.jpg") center/cover
      no-repeat fixed;
  text-align: center;
  padding: 20px;
}
.hero-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 30px;
  max-width: 850px;
  border-radius: 15px;
}
.hero-content h1 {
  color: white;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}
.text-lavanda {
  color: var(--lavanda-luz) !important;
}

/* Botones */
.btn-lara {
  display: inline-block;
  background: var(--gradiente-mistico);
  color: white !important;
  padding: 18px 45px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: 0.4s;
  animation: pulse-glow 2s infinite;
  border: none;
}
.btn-lara:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Estilos de Sección */
.section-padding {
  padding: 80px 0;
}
.bg-soft-purple {
  background-color: #f1ecf7;
}
.ornament {
  width: 80px;
  height: 3px;
  background: var(--gradiente-mistico);
  margin: 20px auto;
  border-radius: 10px;
}
.ornament-left {
  margin: 20px 0;
}
.gold-text {
  background: var(--gradiente-mistico);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.icon-color {
  color: var(--morado);
}

/* Cards */
.card-custom {
  background: white;
  border-radius: 15px;
  padding: 35px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(60, 9, 108, 0.05);
  border-bottom: 4px solid var(--morado);
  transition: 0.3s;
}
.card-custom:hover {
  transform: translateY(-10px);
}

.img-ritual {
  width: 100%;
  border-radius: 15px;
  box-shadow: 20px 20px 0px var(--morado);
  animation: float 6s ease-in-out infinite;
}

/* Nav Móvil */
.mobile-nav {
  position: fixed;
  bottom: 20px;
  left: 5%;
  right: 5%;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  justify-content: space-around;
  padding: 12px;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  backdrop-filter: blur(10px);
}
.mobile-nav a {
  text-decoration: none;
  color: var(--morado-oscuro);
  font-size: 0.7rem;
  text-align: center;
  font-weight: 700;
}
.mobile-nav i {
  display: block;
  font-size: 1.4rem;
  color: var(--morado);
  margin-bottom: 2px;
}
.whatsapp-color {
  color: #25d366 !important;
}

.bg-dark-purple {
  background-color: #1a0633;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
  }
  .section-padding {
    padding: 60px 15px;
  }
  .img-ritual {
    animation: none;
    box-shadow: 12px 12px 0px var(--morado);
  }
  body {
    padding-bottom: 90px;
  }
}

/* --- DISEÑO DE COMPROMISO PREMIUM --- */
.compromiso-section {
  background: linear-gradient(135deg, #1a0633 0%, #3c096c 100%);
  position: relative;
  z-index: 1;
}

/* Tarjeta Estilo Cristal */
.compromiso-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 50px 30px;
  text-align: center;
  color: white;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.compromiso-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--lavanda-luz);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Iconos FontAwesome Animados */
.icon-circle {
  width: 90px;
  height: 90px;
  background: var(--gradiente-mistico);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2.5rem;
  color: white;
  position: relative;
  transition: 0.5s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.compromiso-card:hover .icon-circle {
  transform: rotateY(360deg);
  box-shadow: 0 0 30px var(--lavanda-luz);
}

/* Línea Decorativa Interna */
.card-divider {
  width: 50px;
  height: 2px;
  background: var(--lavanda-luz);
  margin: 20px auto;
  opacity: 0.5;
  transition: width 0.4s ease;
}

.compromiso-card:hover .card-line {
  width: 100px;
  opacity: 1;
}

.compromiso-card h4 {
  margin-bottom: 15px;
  letter-spacing: 1px;
  color: var(--lavanda-luz);
}

.compromiso-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* Variación para la tarjeta central activa */
.compromiso-card.active {
  border: 1px solid rgba(224, 170, 255, 0.3);
  background: rgba(123, 44, 191, 0.15);
}

.text-lavanda {
  color: var(--lavanda-luz) !important;
}

/* --- ESTILOS RITUALES MEJORADOS --- */
.rituales-section {
  background-color: var(--fondo);
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(123, 44, 191, 0.05) 0%,
    transparent 80%
  );
}

.ritual-card {
  background: var(--blanco);
  border: 1px solid rgba(123, 44, 191, 0.15);
  padding: 50px 30px 40px;
  border-radius: 20px;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
  box-shadow: 0 10px 30px rgba(60, 9, 108, 0.03);
  overflow: hidden;
}

/* Efecto Hover */
.ritual-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(60, 9, 108, 0.1);
  border-color: var(--morado);
}

.ritual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradiente-mistico);
  opacity: 0;
  transition: 0.3s;
}

.ritual-card:hover::before {
  opacity: 1;
}

/* Iconos de Rituales */
.ritual-icon {
  font-size: 2.8rem;
  color: var(--morado);
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ritual-card:hover .ritual-icon {
  transform: scale(1.2) rotate(10deg);
}

.ritual-badge {
  display: inline-block;
  background: #f3e5f5;
  color: var(--morado);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.ritual-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 25px;
}

/* Enlace interno */
.ritual-link {
  text-decoration: none;
  color: var(--morado-oscuro);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.ritual-link i {
  margin-left: 5px;
  transition: 0.3s;
}

.ritual-card:hover .ritual-link i {
  transform: translateX(5px);
}

/* Tarjeta destacada (la del centro) */
.ritual-card.featured {
  border-color: var(--lavanda-luz);
  box-shadow: 0 15px 35px rgba(123, 44, 191, 0.1);
}

.ritual-card.featured .ritual-icon {
  color: var(--morado-oscuro);
}

/* --- SECCIÓN TAROT EXPERIENCE --- */
.tarot-experience {
  background:
    radial-gradient(
      circle at top right,
      rgba(224, 170, 255, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(123, 44, 191, 0.05),
      transparent 40%
    );
}

.tarot-box {
  background: var(--blanco);
  border-radius: 30px;
  padding: 60px 40px;
  position: relative;
  box-shadow: 0 25px 70px rgba(60, 9, 108, 0.1);
  border: 1px solid rgba(123, 44, 191, 0.1);
  overflow: hidden;
}

/* Anillo de pulsación místico */
.tarot-icon-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: var(--morado);
  z-index: 1;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--morado);
  opacity: 0.1;
  animation: tarot-pulse 2s infinite;
  z-index: -1;
}

@keyframes tarot-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Pequeños brillos decorativos */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--morado);
  border-radius: 50%;
  opacity: 0.3;
}
.s-1 {
  top: 20%;
  left: 10%;
  animation: float 4s infinite;
}
.s-2 {
  bottom: 20%;
  right: 10%;
  animation: float 6s infinite reverse;
}

.tarot-box h3 {
  font-size: 2rem;
  color: var(--morado-oscuro);
}

.tarot-box .btn-lara {
  padding: 12px 30px;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .tarot-box {
    padding: 40px 20px;
  }
  .tarot-icon-wrapper {
    font-size: 3.5rem;
    width: 120px;
    height: 120px;
  }
}
