* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  overflow: hidden;
}

/* ---------- IMAGEN ---------- */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

#hero {
  display: block;
  pointer-events: none;
  user-select: none;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: transparent;
  z-index: 5;
}

/* ---------- MENÚ ---------- */
.menu {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 20;
}

/* Botón hamburguesa */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.3s;
}

.menu-toggle:hover {
  background: rgba(0,0,0,0.6);
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Animación del icono */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Lista desplegable */
.menu-list {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.menu-list.show {
  max-height: 300px;
  opacity: 1;
}

.menu-list li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-list a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.menu-list a:hover {
  background: rgba(255,255,255,0.2);
}

/* ---------- ZONA DEL CORAZÓN ---------- */
#heart-zone {
  position: absolute;
  top: 40%;   /* ajusta según la imagen */
  left: 56%;  /* ajusta según la imagen */
  width: 80px;
  height: 100px;
  cursor: pointer;
  z-index: 15;
  background: transparent;
}

/* ---------- NUBECILLAS ---------- */
.heart-cloud {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0;
  pointer-events: none;
  animation: floatUp 3s ease-out forwards;
}

@keyframes floatUp {
  0% {
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(-50px, -150px) scale(1);
    opacity: 0;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  #heart-zone {
    width: 100px;
    height: 120px;
  }
  .heart-cloud {
    width: 80px;
    height: 80px;
  }
}
