/* Sección Confirma tu Aventura - RSVP con tema Disney */
.rsvp-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(230, 240, 250, 0.8), rgba(240, 248, 255, 0.9));
  overflow: hidden;
  z-index: 1;
}

/* Fondo mágico con partículas brillantes */
.rsvp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(70, 130, 180, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 30% 70%, rgba(218, 165, 32, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 50% 40%, rgba(70, 130, 180, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 70% 90%, rgba(218, 165, 32, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 90% 30%, rgba(70, 130, 180, 0.05) 0%, transparent 20%);
  background-size: 300px 300px;
  opacity: 0.8;
  z-index: -1;
}

/* Partículas brillantes animadas */
.rsvp-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(70, 130, 180, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 15% 85%, rgba(70, 130, 180, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.3) 1px, transparent 1px);
  background-size: 150px 150px;
  animation: sparkle 15s linear infinite;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

/* Efecto de brillo adicional */
.rsvp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(70, 130, 180, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(218, 165, 32, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 40% 80%, rgba(70, 130, 180, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 70% 60%, rgba(218, 165, 32, 0.08) 0%, transparent 30%);
  z-index: -2;
}

/* Título de la sección */
.rsvp-section .section-title {
  color: #4682b4;
  font-family: 'Dancing Script', cursive;
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

/* Elementos decorativos flotantes */
.disney-floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-element {
  position: absolute;
  opacity: 0.6;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

/* Castillo Disney */
.floating-element.castle {
  top: 15%;
  left: 5%;
  width: 60px;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%234682b4' d='M336 0c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16H336zm160 0c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16H496zM80 160c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v144zm400-16c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-80c0-8.8-7.2-16-16-16H480zM0 224c0 17.7 14.3 32 32 32h64V160c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v96h64V160c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v96h64V160c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H544V96c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v64H384V96c0-17.7-14.3-32-32-32H288c-17.7 0-32 14.3-32 32v64H224V96c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32v64H32c-17.7 0-32 14.3-32 32zM64 256v96h64V256H64zm96 0v96h64V256h-64zm160 0v96h64V256h-64zm160 0v96h64V256h-64zm96 0v96h64V256h-64zM32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-element 8s ease-in-out infinite;
}

/* Estrella mágica */
.floating-element.star {
  top: 25%;
  right: 8%;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23daa520' d='M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-element 6s ease-in-out infinite 1s;
}

/* Corona */
.floating-element.crown {
  bottom: 20%;
  left: 8%;
  width: 45px;
  height: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23daa520' d='M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6H426.6c30.9 0 57.4-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-element 7s ease-in-out infinite 0.5s;
}

/* Varita mágica */
.floating-element.wand {
  bottom: 25%;
  right: 5%;
  width: 50px;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%234682b4' d='M459.1 52.4L442.6 6.5C440.7 2.6 436.5 0 432.1 0s-8.5 2.6-10.4 6.5L405.2 52.4l-46 16.8c-4.3 1.6-7.3 5.9-7.3 10.4c0 4.5 3 8.7 7.3 10.4l45.9 16.8 16.5 45.9c1.9 3.9 6 6.5 10.4 6.5s8.5-2.6 10.4-6.5l16.5-45.9 45.9-16.8c4.3-1.6 7.3-5.9 7.3-10.4c0-4.5-3-8.7-7.3-10.4L459.1 52.4zm-132.4 53c-12.5-12.5-32.8-12.5-45.3 0l-2.9 2.9C256.5 100.3 232.7 96 208 96C93.1 96 0 189.1 0 304S93.1 512 208 512s208-93.1 208-208c0-24.7-4.3-48.5-12.2-70.5l2.9-2.9c12.5-12.5 12.5-32.8 0-45.3l-80-80zM200 192c-57.4 0-104 46.6-104 104v8c0 8.8-7.2 16-16 16s-16-7.2-16-16v-8c0-75.1 60.9-136 136-136h8c8.8 0 16 7.2 16 16s-7.2 16-16 16h-8z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-element 9s ease-in-out infinite 1.5s;
}

/* Animación de flotación */
@keyframes float-element {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Tarjeta RSVP con estilo mágico */
.rsvp-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(70, 130, 180, 0.2), 0 0 40px rgba(218, 165, 32, 0.1);
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 2;
}

/* Efecto de borde brillante */
.rsvp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(218, 165, 32, 0.7), transparent);
  z-index: 1;
}

.rsvp-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(70, 130, 180, 0.7), transparent);
  z-index: 1;
}

.rsvp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(70, 130, 180, 0.3), 0 0 50px rgba(218, 165, 32, 0.2);
}

/* Icono RSVP */
.rsvp-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #e6f0fa, #f0f8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #daa520;
  font-size: 2.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.rsvp-card:hover .rsvp-icon {
  transform: rotateY(180deg);
  color: #4682b4;
  background: linear-gradient(135deg, #f0f8ff, #e6f0fa);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Título RSVP */
.rsvp-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #4682b4;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.rsvp-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, transparent, #daa520, transparent);
}

/* Descripción RSVP */
.rsvp-description {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Botón RSVP con efecto mágico */
.rsvp-btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.rsvp-btn i {
  margin-right: 8px;
}

/* Efecto de brillo en el botón */
.rsvp-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.rsvp-btn:hover {
  background: linear-gradient(135deg, #45a049, #4caf50);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rsvp-btn:hover::before {
  opacity: 1;
  animation: shine 1.5s ease;
}

@keyframes shine {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

/* Chispas animadas en el botón */
.btn-sparkle {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
}

.btn-sparkle::before,
.btn-sparkle::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 0;
}

.btn-sparkle::before {
  top: 20%;
  left: 10%;
  animation: sparkle-animation 2s ease infinite 0.3s;
}

.btn-sparkle::after {
  top: 60%;
  left: 80%;
  animation: sparkle-animation 2s ease infinite 0.7s;
}

@keyframes sparkle-animation {
  0% { transform: scale(0); opacity: 0; }
  20% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(0); opacity: 0; }
}

/* Responsive */
@media (max-width: 992px) {
  .rsvp-section .section-title {
    font-size: 3rem;
  }
  
  .rsvp-card {
    padding: 30px 25px;
  }
  
  .rsvp-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .rsvp-title {
    font-size: 1.8rem;
  }
  
  .floating-element.castle, 
  .floating-element.crown {
    width: 50px;
    height: 50px;
  }
  
  .floating-element.star, 
  .floating-element.wand {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 768px) {
  .rsvp-section {
    padding: 60px 0;
  }
  
  .rsvp-section .section-title {
    font-size: 2.8rem;
  }
  
  .rsvp-card {
    max-width: 90%;
    padding: 30px 20px;
  }
  
  .disney-quote {
    padding: 20px;
  }
  
  .quote-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .rsvp-section {
    padding: 50px 0;
  }
  
  .rsvp-section .section-title {
    font-size: 2.5rem;
  }
  
  .rsvp-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .rsvp-title {
    font-size: 1.6rem;
  }
  
  .rsvp-description {
    font-size: 1rem;
  }
  
  .rsvp-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .disney-floating-elements {
    display: none;
  }
  
  .quote-text {
    font-size: 1.3rem;
  }
}
