/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 20px;
}

/* Background Overlay */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('https://source.unsplash.com/1600x900/?technology,future') no-repeat center center/cover;
  opacity: 0.15;
  z-index: -1;
}

.container {
  text-align: center;
  animation: fadeIn 2s ease;
  max-width: 600px;
  width: 100%;
}

.title {
  font-size: 2.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.subtitle {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #ddd;
  padding: 0 10px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.countdown div {
  flex: 1;
  min-width: 70px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.countdown div:hover {
  transform: translateY(-5px);
}

.countdown span {
  font-size: 1.6rem;
  font-weight: bold;
  display: block;
}

.countdown p {
  font-size: 0.8rem;
}

/* Subscribe form */
.subscribe {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe input {
  padding: 10px;
  border: none;
  border-radius: 8px;
  width: 60%;
  min-width: 200px;
  outline: none;
}

.subscribe button {
  padding: 10px 15px;
  background: linear-gradient(to right, #ff4b2b, #ff416c);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
  min-width: 120px;
}

.subscribe button:hover {
  background: linear-gradient(to right, #ff416c, #ff4b2b);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 📱 Mobile Responsiveness */
@media (max-width: 768px) {
  .title {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .countdown {
    gap: 8px;
  }

  .countdown div {
    min-width: 65px;
    padding: 10px;
  }

  .countdown span {
    font-size: 1.4rem;
  }
}

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

  .subtitle {
    font-size: 0.85rem;
  }

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

  .subscribe input {
    width: 100%;
  }

  .subscribe button {
    width: 100%;
  }
}
