@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  src: url("./assets/Montserrat.ttf") format("truetype");
}

:root {
  --navy: #1e2633;
  --deep: #10191c;
  --green: #30df04;
  --green-soft: rgba(48, 223, 4, 0.28);
  --orange: #ff9900;
  --white: #fffffc;
  --muted: rgba(255, 255, 252, 0.78);
  --thin: rgba(255, 255, 252, 0.18);
  --glass: rgba(18, 31, 32, 0.62);
  --glass-strong: rgba(13, 27, 28, 0.76);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy);
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  padding: clamp(18px, 3vw, 36px);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background-image: url("./assets/bg_login.png");
  background-position: center 23%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.012);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 44%, rgba(48, 223, 4, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(11, 22, 25, 0.48) 0%, rgba(16, 24, 28, 0.42) 36%, rgba(18, 30, 25, 0.78) 72%, rgba(14, 23, 24, 0.94) 100%),
    linear-gradient(90deg, rgba(6, 14, 17, 0.56), rgba(15, 28, 27, 0.18) 42%, rgba(6, 14, 17, 0.54));
}

.hero-card {
  position: relative;
  display: grid;
  width: min(100%, 980px);
  min-height: min(830px, calc(100svh - clamp(36px, 6vw, 72px)));
  align-content: center;
  justify-items: center;
  padding: clamp(26px, 4.8vh, 48px) clamp(22px, 5vw, 64px);
  text-align: center;
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  left: 50%;
  width: 122vw;
  max-width: 1500px;
  height: 185px;
  border: 1px solid rgba(255, 153, 0, 0.28);
  border-color: rgba(255, 153, 0, 0.28) transparent transparent transparent;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translateX(-50%) rotate(-1deg);
}

.hero-card::before {
  top: 25%;
}

.hero-card::after {
  bottom: 14%;
  border-top-color: rgba(255, 153, 0, 0.34);
  transform: translateX(-50%) rotate(-4deg);
}

.brand-block {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(12px, 2.2vh, 20px);
}

.brand {
  margin: 0;
  color: var(--green);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 18px rgba(48, 223, 4, 0.34);
  text-transform: uppercase;
}

.brand-rule {
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 153, 0, 0.36);
}

.hero-copy {
  max-width: 760px;
  margin-bottom: clamp(20px, 3.2vh, 30px);
}

.hero-copy h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 6.2vw, 60px);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 670px;
  margin: clamp(12px, 2.2vh, 20px) auto 0;
  color: var(--muted);
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.countdown {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(20px, 3.8vh, 34px);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(94px, 132px));
  gap: clamp(12px, 2vw, 22px);
}

.time-box {
  display: grid;
  min-height: 92px;
  align-content: center;
  justify-items: center;
  border: 2px solid rgba(48, 223, 4, 0.68);
  background: var(--glass);
  box-shadow:
    0 0 0 1px rgba(48, 223, 4, 0.12) inset,
    0 0 20px rgba(48, 223, 4, 0.2);
}

.time-box strong {
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 0.95;
  tab-size: 3;
  text-shadow: 0 0 16px rgba(48, 223, 4, 0.28);
}

.time-box span {
  margin-top: 7px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.coming-block {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100%, 780px);
  margin-bottom: clamp(20px, 3vh, 28px);
}

.coming-block::before {
  position: absolute;
  inset: -24px -34px -20px;
  z-index: -1;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(48, 223, 4, 0.14), transparent 68%);
  content: "";
  filter: blur(18px);
  pointer-events: none;
}

.coming-title {
  margin: 0 0 14px;
  color: rgba(255, 255, 252, 0.88);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.feature-list span {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-right: 7px;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(48, 223, 4, 0.6);
  place-items: center;
}

.feature-list span::before {
  width: 7px;
  height: 4px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  content: "";
  transform: rotate(-45deg) translate(1px, -1px);
}

.roadmap-note {
  max-width: 680px;
  margin: 15px auto 0;
  color: rgba(255, 255, 252, 0.8);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 500;
  line-height: 1.45;
}

.roadmap-note mark {
  background: transparent;
  color: var(--green);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-shadow: 0 0 12px rgba(48, 223, 4, 0.32);
}

.soon-button {
  width: min(100%, 230px);
  min-height: 52px;
  margin-bottom: clamp(20px, 5vh, 54px);
  border: 0;
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(48, 223, 4, 0.28);
  color: #07120a;
  cursor: default;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-note {
  position: absolute;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 20px;
  right: 20px;
  display: grid;
  gap: 6px;
  justify-items: center;
  margin: 0;
  color: rgba(255, 255, 252, 0.72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.footer-note a {
  display: block;
  margin: 0;
  color: rgba(255, 255, 252, 0.86);
  font-weight: 700;
  text-decoration-color: rgba(255, 153, 0, 0.58);
  text-underline-offset: 3px;
}

.footer-note a:hover {
  color: var(--green);
  text-decoration-color: rgba(48, 223, 4, 0.58);
}

@media (min-width: 1280px) {
  .hero-bg {
    background-position: center 28%;
  }
}

@media (max-width: 920px) {
  .page-shell {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
  }

  .hero-bg {
    background-position: center top;
    background-size: auto 100%;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 50% 50%, rgba(48, 223, 4, 0.11), transparent 30%),
      linear-gradient(180deg, rgba(8, 18, 20, 0.36) 0%, rgba(8, 18, 20, 0.34) 36%, rgba(10, 20, 17, 0.76) 66%, rgba(11, 18, 19, 0.97) 100%),
      linear-gradient(90deg, rgba(5, 12, 14, 0.5), rgba(5, 12, 14, 0.1) 50%, rgba(5, 12, 14, 0.5));
  }

  .hero-card {
    justify-self: start;
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    min-height: 100svh;
    padding: max(30px, env(safe-area-inset-top)) 24px max(58px, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .hero-card::before,
  .hero-card::after {
    display: none;
  }

  .brand {
    font-size: clamp(18px, 4.2vw, 26px);
  }

  .hero-copy h1 {
    font-size: clamp(24px, 6.2vw, 42px);
    line-height: 1.04;
  }

  .hero-copy,
  .hero-copy p,
  .countdown,
  .coming-block {
    max-width: 100%;
  }

  .hero-copy {
    margin-bottom: 20px;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    width: min(100%, 560px);
    gap: 8px;
  }

  .time-box {
    min-height: 78px;
  }

  .coming-block {
    width: min(100%, 520px);
    justify-items: start;
    margin-bottom: 24px;
    padding: 18px 18px 18px 22px;
    border-left: 4px solid var(--orange);
    background: rgba(18, 31, 32, 0.42);
    text-align: left;
  }

  .coming-block::before {
    inset: 0;
    background: radial-gradient(circle at left center, rgba(48, 223, 4, 0.12), transparent 82%);
    filter: blur(20px);
  }

  .feature-list {
    display: grid;
    gap: 9px;
    justify-content: stretch;
  }

  .roadmap-note {
    margin-top: 12px;
    text-align: left;
  }

  .soon-button {
    width: min(100%, 390px);
    margin-bottom: 56px;
  }

  .footer-note {
    bottom: max(16px, env(safe-area-inset-bottom));
    font-size: 11px;
  }

  .footer-note a {
    margin: 0;
  }
}

@media (max-width: 520px) {
  .hero-card {
    align-content: space-between;
    padding: max(24px, env(safe-area-inset-top)) 28px max(18px, env(safe-area-inset-bottom));
  }

  .brand-block {
    margin-bottom: 12px;
  }

  .brand {
    font-size: clamp(15px, 4.6vw, 20px);
  }

  .brand-rule {
    width: 38px;
    height: 2px;
    margin-top: 8px;
  }

  .hero-copy {
    width: 100%;
    max-width: 310px;
    margin-bottom: 16px;
  }

  .hero-copy h1 {
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.08;
  }

  .hero-copy p {
    max-width: 305px;
    margin-top: 10px;
    font-size: clamp(12px, 3.35vw, 14px);
  }

  .section-kicker {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .countdown {
    margin-bottom: 20px;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, 64px);
    width: auto;
    max-width: none;
    justify-content: center;
    gap: 6px;
  }

  .time-box {
    width: 64px;
    min-height: 64px;
    aspect-ratio: 1 / 1;
    border-width: 1px;
  }

  .time-box strong {
    font-size: 21px;
  }

  .time-box span {
    margin-top: 5px;
    font-size: 7px;
  }

  .coming-block {
    width: 100%;
    max-width: 318px;
    margin-bottom: 18px;
    padding: 15px 14px 15px 17px;
  }

  .coming-title {
    margin-bottom: 11px;
    font-size: 14px;
  }

  .feature-list {
    gap: 8px;
  }

  .feature-list li {
    font-size: clamp(12px, 3.4vw, 14px);
    white-space: normal;
  }

  .feature-list span {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    margin-right: 6px;
    border-width: 1.5px;
  }

  .feature-list span::before {
    width: 6px;
    height: 3px;
    border-width: 1.5px;
  }

  .roadmap-note {
    max-width: 270px;
    font-size: clamp(10.5px, 2.8vw, 12px);
    line-height: 1.35;
  }

  .soon-button {
    width: min(100%, 318px);
    max-width: 318px;
    min-height: 50px;
    margin-bottom: 62px;
  }
}

@media (max-width: 380px) {
  .countdown-grid {
    grid-template-columns: repeat(4, 58px);
    gap: 5px;
  }

  .time-box {
    width: 58px;
    min-height: 58px;
  }

  .time-box strong {
    font-size: 19px;
  }
}

@media (max-height: 760px) and (max-width: 520px) {
  .hero-card {
    align-content: center;
    gap: 10px;
    overflow-y: auto;
  }

  .brand-block,
  .hero-copy,
  .countdown,
  .coming-block,
  .soon-button {
    margin-bottom: 0;
  }

  .footer-note {
    position: static;
  }
}

@media (min-width: 921px) and (max-height: 760px) {
  .hero-card {
    min-height: calc(100svh - 28px);
    padding-top: 20px;
    padding-bottom: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 5vw, 48px);
  }

  .countdown-grid {
    grid-template-columns: repeat(4, 112px);
  }

  .time-box {
    min-height: 78px;
  }

  .soon-button {
    margin-bottom: 18px;
  }
}
