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

:root {
  --accent-color: #ff3366;
  --bg-color: #121212;
  --text-color: #ffffff;
  --text-secondary: #aaaaaa;
  --surface-color: #1e1e1e;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

fireworks-js {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background: #000;
}

.container {
  width: 100%;
  max-width: 700px;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  justify-content: center;
}

.product-teaser {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.logo {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  transform: translateY(-20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

.product-name {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -1px;
  line-height: 1.1;
  transform: translateY(-20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

.product-description {
  text-align: center;
  color: var(--text-secondary);
  max-width: 80%;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  transform: translateY(-20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 1rem;
  position: relative;
}

.countdown-number {
  font-size: 3rem;
  font-weight: 700;
  width: 120px;
  height: 80px;
  background-color: var(--surface-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.countdown-number::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
  animation: scanline 2s linear infinite;
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1s;
}

.notify-me {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.notify-me:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
}

.notify-me:active {
  transform: translateY(-1px);
}

.notify-form {
  display: flex;
  width: 100%;
  max-width: 400px;
  border-radius: 30px;
  overflow: hidden;
  height: 50px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notify-form.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.notify-form input {
  flex: 1;
  border: none;
  background-color: var(--surface-color);
  color: var(--text-color);
  padding: 0 1.5rem;
  font-size: 0.9rem;
}

.notify-form input:focus {
  outline: none;
}

.notify-form button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.notify-form button:hover {
  background-color: #ff144a;
}

.accent-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--accent-color);
  filter: blur(80px);
  opacity: 0.1;
  z-index: 0;
  animation: pulse 8s ease-in-out infinite alternate;
}

.accent-circle:nth-child(1) {
  top: -50px;
  right: -50px;
  animation-delay: 0s;
}

.accent-circle:nth-child(2) {
  bottom: -50px;
  left: -50px;
  animation-delay: 2s;
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

.success-message {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--accent-color);
  color: white;
  text-align: center;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message.visible {
  transform: translateY(0);
}

.product-image {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: var(--surface-color);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-image::after {
  content: "SNEAK PEEK";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-color);
}

.exclusivity-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  transform: translateY(-20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.05;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.15;
  }
  100% {
    transform: scale(1);
    opacity: 0.05;
  }
}

@keyframes scanline {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

@media (max-width: 600px) {
  .product-name {
    font-size: 2.5rem;
  }

  .countdown-number {
    font-size: 2rem;
    width: 80px;
    height: 60px;
  }

  .countdown-box {
    margin: 0 0.5rem;
  }

  .container {
    padding: 1.5rem;
  }
}
