/* Contenedor de globos */
#balloons-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
}

.balloon {
    position: absolute;
    bottom: -100px;
    font-size: 9rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    animation: floatUp 2.5s ease-out forwards;
}

@keyframes floatUp {
    0% {
        bottom: -100px;
        opacity: 0;
        transform: translateX(0) rotate(0deg) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: translateX(0) rotate(0deg) scale(1);
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 110vh;
        opacity: 0;
        transform: translateX(var(--drift)) rotate(var(--rotate)) scale(0.8);
    }
}

/* CONTENEDOR DE LA TARJETA */
.flip-card {
    background-color: transparent;
    width: 100%;
    max-width: 380px;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
    margin: 0 auto;
}

/* CONTENEDOR INTERNO */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card-front .icon-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 4px solid rgba(255, 255, 255, 0.4);
    animation: float 3s ease-in-out infinite;
}

/* Gira al hacer hover */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* AMBOS LADOS */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* PARTE FRONTAL */
.flip-card-front {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
}

.flip-card-front .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.flip-card-front h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* PARTE TRASERA */
.flip-card-back {
    background: white;
    color: #333;
    transform: rotateY(180deg);
    border: 3px solid #ec4899;
}

.flip-card-back h3 {
    color: #ec4899;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.flip-card-back p {
    line-height: 1.8;
    color: #555;
}

.flip-card-back .icon-small {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* FLIP VERTICAL (opcional) */
.flip-vertical:hover .flip-card-inner {
    transform: rotateX(180deg);
}

.flip-vertical .flip-card-back {
    transform: rotateX(180deg);
}

/* Sección Hero de Piñatas */
.pinatas-hero-section {
  position: relative;
  background: linear-gradient(135deg, #ffd6e8 0%, #ffb3d9 50%, #ff9ece 100%);
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin: 20px 0;
}

/* Decoraciones de fondo */
.pinatas-bg-decoration {
  position: absolute;
  border-radius: 50%;
}

.decoration-1 {
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: -125px;
  margin-top: -125px;
}

.decoration-2 {
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background-color: rgba(219, 39, 119, 0.1);
  margin-left: -200px;
  margin-bottom: -200px;
}

/* Contenedor principal */
.pinatas-content-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 50px 40px;
  align-items: center;
  z-index: 1;
}

/* Contenido de texto */
.pinatas-text-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.pinatas-main-title {
  font-size: 3rem;
  font-weight: 900;
  color: #be185d; /* Rosa oscuro */
  line-height: 1.2;
	text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  margin: 0;
}

.pinatas-description {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pinatas-description p {
  font-size: 1.125rem;
  color: #be185d;
  line-height: 1.7;
  margin: 0;
}

/* Contenedor del logo */
.pinatas-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.pinatas-logo-glow {
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(80px);
}

.pinatas-logo-wrapper {
  position: relative;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.pinatas-logo-wrapper:hover {
  transform: scale(1.05);
}

.pinatas-logo-img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  display: block;
}

/* Responsive para tablets */
@media (min-width: 768px) {
  .pinatas-content-wrapper {
    grid-template-columns: 1fr 1fr;
    padding: 60px 50px;
  }
  
  .pinatas-main-title {
    font-size: 3.5rem;
  }
}

/* Responsive para desktop */
@media (min-width: 1024px) {
  .pinatas-hero-section {
    min-height: 450px;
  }
  
  .pinatas-main-title {
    font-size: 4rem;
  }
  
  .pinatas-logo-img {
    width: 320px;
    height: 320px;
  }
}

/* Responsive para móviles pequeños */
@media (max-width: 640px) {
  .pinatas-hero-section {
    border-radius: 15px;
    min-height: 350px;
  }
  
  .pinatas-content-wrapper {
    padding: 30px 20px;
    gap: 30px;
  }
  
  .pinatas-main-title {
    font-size: 2rem;
  }
  
  .pinatas-description {
    padding: 20px;
  }
  
  .pinatas-description p {
    font-size: 1rem;
  }
  
  .pinatas-logo-wrapper {
    padding: 20px;
  }
  
  .pinatas-logo-img {
    width: 200px;
    height: 200px;
  }
}