
/* =========================
   Reset
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   Scroll OFF
========================= */

html {
  scroll-behavior: auto;
  overflow: hidden;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;

  overflow: hidden;

  font-family: Arial, Helvetica, sans-serif;
  background: #004b3d;
  color: #ffffff;
}

/* =========================
   Main Container
========================= */

.container {
  width: 100%;
  height: 100vh;
  height: 100svh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 40px 24px;
}

/* =========================
   Main Content
========================= */

.content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;

  animation: fadeIn 0.8s ease both;
}

/* =========================
   Logo
========================= */

.logo {
  display: block;
  width: 400px;
  height: 300px;
  max-width: 100%;

  object-fit: contain;

  margin: 0 auto 0;
}

/* =========================
   Heading
========================= */

h1 {
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;

  margin: 0 0 18px;
}

h1 span {
  color: #f4f6f5;
}

/* =========================
   Description
========================= */

.description {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.7;

  margin: 0 0 20px;
}

/* =========================
   Countdown
========================= */

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;

  width: 100%;
  max-width: 810px;

  margin: 30px auto 0;
}

.time-box {
  min-width: 0;
  text-align: center;
  background: transparent;

  padding: 0;
  border: none;
}

/* Countdown Numbers */

.time-box h2 {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  min-height: 100px;

  background: #ffffff;
  color: #222222;

  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;

  border-radius: 18px;
  margin: 0;
}

/* Countdown Labels */

.time-box p {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;

  margin-top: 16px;
}

/* =========================
   Notification Section
========================= */

.notify-section {
  width: 100%;
  padding: 48px 24px 24px;

  text-align: center;
}

.notify-section h2 {
  margin: 0 0 36px;

  font-size: 23px;
  line-height: 1.4;
  font-weight: 700;
}

/* =========================
   Email Form
========================= */

#notifyForm {
  display: flex;

  width: 100%;
  max-width: 850px;

  margin: 0 auto;

  overflow: hidden;
  border-radius: 11px;

  background: #ffffff;
}

#email {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 74px;

  padding: 0 30px;
  border: none;
  outline: none;

  background: #ffffff;
  color: #292929;

  font-size: 22px;
  font-weight: 600;
}

#email::placeholder {
  color: #292929;
  opacity: 1;
}

#email:focus {
  box-shadow: inset 0 0 0 2px #00a878;
}

#notifyForm button {
  flex: 0 0 215px;
  min-height: 74px;

  border: none;

  background: #e7e7e9;
  color: #292929;

  font-size: 22px;
  font-weight: 700;

  cursor: pointer;

  transition: background 0.2s ease;
}

#notifyForm button:hover {
  background: #d4d4d8;
}

#notifyForm button:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Form Message */

#message {
  min-height: 22px;
  margin-top: 16px;

  font-size: 14px;
  line-height: 1.6;
}

#message.success {
  color: #b9ffdc;
}

#message.error {
  color: #ffd0d0;
}

/* =========================
   Hotline
========================= */

.hotline {
  margin-top: 18px;

  color: #ffffff;
  font-size: 26px;
  line-height: 1.7;
}

.hotline a {
  color: #ffffff;
  text-decoration: none;

  transition: color 0.3s ease;
}

.hotline a:hover {
  color: #00e6a0;
}

/* =========================
   Animation
========================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Tablet
========================= */

@media (max-width: 768px) {
  .container {
    padding: 32px 20px;
  }

  .logo {
    width: 350px;
    height: 260px;
  }

  h1 {
    font-size: clamp(46px, 8vw, 64px);
  }

  .countdown {
    gap: 14px;
    margin-top: 26px;
  }

  .time-box {
    padding: 24px 8px;
    border-radius: 16px;
  }

  .time-box h2 {
    font-size: clamp(28px, 5vw, 40px);
  }

  .time-box p {
    font-size: 19px;
    margin-top: 14px;
  }
}

/* =========================
   Mobile
========================= */

@media (max-width: 480px) {
  .container {
    padding: 24px 16px;
  }

  .logo {
    width: 100%;
    max-width: 300px;
    height: 100px;

    margin-bottom: 8px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 48px);
    margin-bottom: 14px;
  }

  .description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .countdown {
    gap: 9px;
    margin-top: 24px;
  }

  .time-box {
    padding: 20px 4px;
    border-radius: 14px;
  }

  .time-box h2 {
    min-height: 65px;

    font-size: clamp(23px, 6.5vw, 30px);
    letter-spacing: 0;

    border-radius: 14px;
  }

  .time-box p {
    font-size: 12px;
    margin-top: 12px;
  }

  .notify-section {
    padding: 35px 16px 20px;
  }

  .notify-section h2 {
    margin-bottom: 24px;
    font-size: 19px;
  }

  #notifyForm {
    flex-direction: column;
    gap: 12px;

    overflow: visible;
  }

  #email {
    flex: none;
    width: 100%;
    height: 58px;
    min-height: 52px;

    padding: 0 14px;
    font-size: 15px;

    border-radius: 11px;
  }

  #notifyForm button {
    flex: none;
    width: 100%;
    min-height: 58px;

    padding: 14px 20px;
    font-size: 15px;

    border-radius: 11px;
  }

  .hotline {
    font-size: 14px;
    margin-top: 5px;
  }
}

/* =========================
   Small Mobile
========================= */

@media (max-width: 360px) {
  .container {
    padding: 20px 12px;
  }

  .countdown {
    gap: 7px;
  }

  .time-box {
    padding: 17px 2px;
    border-radius: 12px;
  }

  .time-box h2 {
    font-size: 23px;
  }

  .time-box p {
    font-size: 11px;
  }
}

/* =========================
   Reduced Motion
========================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
