* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Canvas-ul cu fluidul */
#glcanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Containerul central (pentru fluture + inele) */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* 🦋 Fluture mai mare + pulse accentuat */
#butterfly {
  width: clamp(280px, 34vw, 420px);  /* fluture ușor mai mare */
  animation: butterflyIntro 3s ease forwards, pulse 1.8s infinite alternate;
  cursor: pointer;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,0.35))
          drop-shadow(0 0 14px rgba(255,255,255,0.25));
  transform-origin: center center;
}

/* 🔵 Inele – poziționare și mărimi */
.ring {
  position: absolute;
  opacity: 0;
  transition: opacity 0.15s ease-in-out, transform 0.15s ease-out;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.40))
          drop-shadow(0 0 14px rgba(255,255,255,0.18));
}

#ring1 {
  width: 180px; /* puțin mai mic */
}

#ring2 {
  width: 240px;
}

#ring3 {
  width: 300px;
}

#ring4 {
  width: 600px; /* rămâne referința vizuală */
}

.ring.visible {
  opacity: 1;
}

.hidden {
  display: none;
}

/* ✨ Animații */
@keyframes butterflyIntro {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.15); /* puls mai accentuat */
  }
}
