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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  image-rendering: pixelated;
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

#bg-canvas.visible {
  opacity: 1;
}

.logo {
  position: fixed;
  top: 100px;
  left: 100px;
  filter: brightness(0) invert(1);
}

.email {
  position: fixed;
  bottom: 100px;
  right: 100px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: color 0.3s;
}

.email:hover {
  color: #fff;
  text-decoration: underline;
}

.coming-soon__title {
  position: fixed;
  bottom: 280px;
  left: 100px;
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

.countdown {
  position: fixed;
  bottom: 100px;
  left: 100px;
  display: flex;
  gap: 2.5rem;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.countdown__item:nth-child(1) { animation-delay: 0.2s; }
.countdown__item:nth-child(2) { animation-delay: 0.4s; }
.countdown__item:nth-child(3) { animation-delay: 0.6s; }
.countdown__item:nth-child(4) { animation-delay: 0.8s; }

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

.countdown__value {
  position: relative;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  height: 1.1em;
  min-width: 2.2ch;
  text-align: center;
}

.countdown__digit {
  display: inline-block;
  position: relative;
  width: 0.6em;
  text-align: center;
}

.countdown__digit.flip .countdown__digit-current {
  animation: flipOut 0.3s ease-in forwards;
}

.countdown__digit.flip .countdown__digit-next {
  animation: flipIn 0.3s ease-out 0.3s forwards;
}

.countdown__digit-current,
.countdown__digit-next {
  display: block;
}

.countdown__digit-next {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(-100%) rotateX(90deg);
}

@keyframes flipOut {
  0% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
  100% {
    opacity: 0;
    transform: translateY(100%) rotateX(-90deg);
  }
}

@keyframes flipIn {
  0% {
    opacity: 0;
    transform: translateY(-100%) rotateX(90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.countdown__label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

/* 1440px */
@media (max-width: 1440px) {
  .logo {
    top: 60px;
    left: 60px;
  }

  .coming-soon__title {
    bottom: 250px;
    left: 60px;
  }

  .countdown {
    bottom: 100px;
    left: 60px;
    gap: 2rem;
  }

  .countdown__value {
    font-size: 4rem;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .logo {
    top: 40px;
    left: 40px;
    max-width: 200px;
    height: auto;
  }

  .coming-soon__title {
    bottom: 200px;
    left: 40px;
    font-size: 1rem;
  }

  .countdown {
    bottom: 140px;
    left: 40px;
    gap: 1.5rem;
  }

  .countdown__value {
    font-size: 3rem;
  }

  .countdown__label {
    font-size: 0.8rem;
  }

  .coming-soon__title {
    bottom: 300px;
  }

  .email {
    right: auto;
    left: 40px;
    bottom: 40px;
    font-size: 1rem;
  }
}

/* 735px */
@media (max-width: 735px) {
  .logo {
    top: 24px;
    left: 24px;
    max-width: 150px;
    height: auto;
  }

  .coming-soon__title {
    position: fixed;
    bottom: auto;
    left: 24px;
    top: auto;
    bottom: 270px;
    transform: none;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
  }

  .countdown {
    bottom: 120px;
    left: 24px;
    gap: 1rem;
  }

  .countdown__value {
    font-size: 2.25rem;
  }

  .countdown__label {
    font-size: 0.7rem;
  }

  .email {
    left: 24px;
    bottom: 40px;
    font-size: 0.875rem;
  }
}
