/* Enhanced CSS with advanced animations and modern styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  background: linear-gradient(135deg, #0891b2 0%, #1e40af 50%, #0891b2 100%);
  color: #ffffff;
  min-height: 100vh;
  line-height: auto;
  overflow-x: hidden;
  position: relative;
  font-size: 15pt;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  margin: 2rem 0;
}

.text {
  padding: 1rem 0;
}

/* Added animated background particles */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.button {
  display: block;
  top: 50px;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #84cc16, #65a30d);
  color: #ffffff !important;
  border: none;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 70%;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  width: 50px;
  height: 50px;
  top: 40%;
  left: 50%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

.container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.content {
  text-align: center;
  max-width: 800px;
  opacity: 0;
  margin-top: 20vh;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

/* Enhanced main title with glow effect */
.main-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffffff, #84cc16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(132, 204, 22, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(132, 204, 22, 0.5);
  }
  to {
    text-shadow: 0 0 40px rgba(132, 204, 22, 0.8);
  }
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-weight: 400;
}

/* Added countdown timer styling */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  min-width: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #84cc16;
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #84cc16, transparent);
  margin: 2rem auto;
  border-radius: 2px;
}

.description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* Added subscription form styling */
.subscription-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.email-input {
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  min-width: 300px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
  outline: none;
  border-color: #84cc16;
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.3);
  transform: translateY(-2px);
}

.notify-btn {
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #84cc16, #65a30d);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.notify-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(132, 204, 22, 0.4);
  background: linear-gradient(45deg, #65a30d, #84cc16);
}

/* Added social media links styling */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: #84cc16;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 25px rgba(132, 204, 22, 0.3);
}

.footer {
  margin-top: auto;
  padding: 2rem 0;
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Added entrance animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.loaded .content {
  animation-play-state: running;
}

/* Added responsive design improvements */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .countdown-container {
    gap: 1rem;
  }

  .countdown-item {
    min-width: 80px;
    padding: 1rem 0.5rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .subscription-form {
    flex-direction: column;
    align-items: center;
  }

  .email-input {
    min-width: 280px;
    margin-bottom: 1rem;
  }

  .social-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .email-input {
    min-width: 250px;
  }
}
