@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Dancing+Script:wght@600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: #f5eef0;
  position: relative;
  font-family: "Cormorant Garamond", serif;
}

/* ========================
   BALLOONS CONTAINER
   ======================== */
.balloons-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.balloon-wrap {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: riseUp linear forwards;
}

.balloon {
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.balloon::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid var(--bcolor, #aaa);
}

.balloon-thread {
  width: 40px;
  height: 60px;
}

@keyframes riseUp {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh);
    opacity: 0;
  }
}

/* ========================
   MAIN LAYOUT
   ======================== */
.main-section {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ========================
   TOP TITLE
   ======================== */
.invite-title {
  font-family: "Great Vibes", cursive;
  font-size: 72px;
  color: #ff2f7d;
  text-align: center;
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: fadeIn 1s ease forwards;
}

/* ========================
   MAIN IMAGE
   ======================== */
.main-invite-img {
  width: 75%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  display: block;
  animation: slideDown 1s ease forwards;
}

/* ========================
   VIDEO WRAPPER
   ======================== */
.video-wrapper {
  width: 100%;
  max-width: 390px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  animation: slideUp 1.2s ease forwards;
  background: #000;
}

.invite-video {
  width: 100%;
  display: block;
}

/* ========================
   BOTTOM TAGLINE
   ======================== */
.bottom-tagline {
  font-family: "Dancing Script", cursive;
  font-size: 22px;
  color: #cc2266;
  text-align: center;
  animation: fadeIn 2s ease forwards;
  padding: 0 20px;
}

/* ========================
   ANIMATIONS
   ======================== */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-60px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 680px) {
  .invite-title { font-size: 52px; }
  .main-invite-img { width: 92%; max-width: 92%; }
  .video-wrapper { max-width: 96%; }
  .bottom-tagline { font-size: 18px; }
}