:root {
  --background-top-color: #fef2f1;
  --background-bottom-color: #fdd6b8;
  --title-highlight-color: #ff5d89;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #FFF2F2 0%, #FCD6B8 62.55%);
}

.page-container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 865px;
  padding: 1.875rem 1.25rem;
  justify-content: space-between;
}

.top-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
}

.page-header {
  text-align: center;
}

.logo {
  width: 61.46px;
  height: 60px;
}

.hero-section {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: min(100%, 58rem);
  text-align: center;
}

.hero-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.875rem;
  line-height: 120%;
  letter-spacing: 0%;
}

.hero-title span {
  color: var(--title-highlight-color);
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0%;
  font-weight: 400;
  margin: 0;
  color: rgba(26, 26, 26, 1);
}

.hero-subtitle strong {
  font-weight: 600;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.countdown-section {
  z-index: 6;
  margin-top: auto;
  margin-bottom: 1.875rem;
}

.countdown-title {
  font-weight: 600;
  font-style: normal;
  font-size: 1.5rem;
  text-align: center;
  color: rgba(26, 26, 26, 1);
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.time {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1.25rem;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1;
  font-weight: 600;
  font-style: normal;
  font-family: 'Barlow';
}

.time-block:nth-child(1) .time {
  background: linear-gradient(135deg, #ff4690 0%, #ff5c83 100%);
}

.time-block:nth-child(2) .time {
  background: linear-gradient(135deg, #ff607f 0%, #ff7961 100%);
}

.time-block:nth-child(3) .time {
  background: linear-gradient(135deg, #ff7d68 0%, #ff9d4a 100%);
}

.time-block:nth-child(4) .time {
  background: linear-gradient(135deg, #ff9752 0%, #ffb44d 100%);
}

.label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(35, 35, 35, 1);
}

.cloud-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  align-items: center;
}

.cloud-layer svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cloud-layer-back {
  z-index: 1;
  position: relative;
  height: min-content;
  min-width: 1440px;
  width: 100%;
  margin-top: auto;
  height: 70%;
}

.cloud-layer-mid {
  z-index: 2;
  position: relative;
  min-width: 1440px;
  width: 100%;
  margin-top: auto;
  height: 45%;
}

.cloud-layer-front {
  z-index: 3;
  position: relative;
  min-width: 1440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 55%;
}

/* Rocket */
.rocket-container { 
  position: relative;
  z-index: 4;
  margin-top: auto;
  transform: translateY(65%);
}

.rocket {
  animation: float 3.6s ease-in-out infinite;
}

.bottom-container {
  display: flex;
  flex-direction: column;
}

.page-footer {
  z-index: 6;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5f5855;
  gap: 0.625rem;
  max-width: 70%;
  margin: auto;
}

.company-name {
  font-size: 0.875rem;
  font-weight: 400;
}

.company-address {
  font-size: 0.875rem;
}

.page-footer a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  outline: none;
}

.email-icon {
  width: 1.15rem;
  height: 1.15rem;
}

@media (max-width: 768px) {
  .page-footer {
    flex-direction: column;
    justify-content: center;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .logo {
    width: 84px;
    height: 82px;
  }
  
  .page-container {
    padding-right: 3.125rem;
    padding-left: 3.125rem;
    padding-bottom: 1.875rem;
  }

  .bottom-container {
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.125rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Desktop */
@media (min-width: 1440px) {
  .bottom-container {
    gap: 1.875rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .countdown-title {
    font-size: 1.875rem;
  }

  .company-name {
    font-size: 1rem;
  }

  .company-address {
    font-size: 1rem;
  }

}

/* Big screen */
@media (min-width: 1800px) {
  .page-container {
    min-height: 1100px;
  }

  .top-container {
    gap: 3.125rem;
  }

  .logo {
    width: 110px;
    height: 106px;
  }

  .hero-section {
    gap: 1.25rem;
  }

  .hero-title {
    font-size: 3.125rem;
  }

  .hero-subtitle {
    font-size: 1.375rem;
  }

  .bottom-container {
    gap: 3.75rem;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.8rem);
  }
}

/* Flame */
/* .flame {
  transform-origin: center;
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0%   { transform: scaleY(1); opacity: 1; }
  50%  { transform: scaleY(1.3); opacity: 0.8; }
  100% { transform: scaleY(1); opacity: 1; }
} */
