@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  background: #000;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#landing {
  text-align: center;
  z-index: 100;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 0.8s;
}

#landing.hidden {
  opacity: 0;
  pointer-events: none;
}

.landing-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 0, 51, 0.4), 0 0 60px rgba(255, 0, 51, 0.2);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.landing-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  background: #ff0033;
  color: #fff;
  border: none;
  padding: 1rem 2.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(255, 0, 51, 0.3);
}

.landing-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 0, 51, 0.5);
  background: #ff1a47;
}

#sequence {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.5s;
}

.seq-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 2rem;
  max-width: 90vw;
  line-height: 1.4;
  text-shadow: 0 0 30px rgba(255, 0, 51, 0.3);
  opacity: 0;
  transition: opacity 0.8s;
}

.seq-text.show {
  opacity: 1;
}

.seq-text.fade-slow {
  transition: opacity 3s;
}

#flowerContainer {
  transition: opacity 2s;
}

#flowerContainer[style*="display: block"] {
  opacity: 1;
}

#blackOverlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #000;
  opacity: 0;
  transition: opacity 1.5s;
  display: none;
}

#blackOverlay.show {
  opacity: 1;
}

#popup {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#popup.show {
  display: flex;
}

.popup-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 0, 51, 0.2);
  border-radius: 28px;
  padding: 3.5rem 4rem;
  max-width: 700px;
  text-align: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1s, transform 1s;
  box-shadow: 0 0 60px rgba(255, 0, 51, 0.15);
}

#popup.show .popup-box {
  opacity: 1;
  transform: scale(1);
}

.popup-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  text-shadow: 0 0 30px rgba(255, 0, 51, 0.3);
}

@media (max-width: 768px) {
  .landing-title {
    font-size: 2rem;
    padding: 0 1rem;
  }
  .seq-text {
    font-size: 1.6rem;
  }
  .popup-text {
    font-size: 1.4rem;
  }
  .popup-box {
    padding: 2rem 1.5rem;
  }
}
