* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #111321;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #111321;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(10, 12, 28, .72), rgba(20, 17, 55, .7)),
    url("../img/bg/dedline/desktop-img-dedline.jpg") center / cover no-repeat;
}

.landing-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: clamp(24px, 6vh, 64px) max(18px, env(safe-area-inset-right))
    clamp(24px, 6vh, 64px) max(18px, env(safe-area-inset-left));
}

.landing-content {
  display: grid;
  width: min(100%, 980px);
  gap: clamp(24px, 5vh, 48px);
}

.release-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.release-kicker,
.web-launch__eyebrow {
  margin: 0 0 8px;
  color: #aaa4ff;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.release-title {
  max-width: 15ch;
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: .98;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(0, 0, 0, .32);
}

.release-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 560px);
  margin-top: clamp(22px, 4vh, 38px);
  padding: clamp(12px, 2.4vw, 22px) clamp(8px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(22, 23, 43, .72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.countdown-unit {
  min-width: 0;
  padding-inline: 4px;
}

.number {
  color: #fff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.date-detail {
  margin-top: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(.8rem, 2.5vw, 1rem);
  font-weight: 600;
}

.release-date {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(.9rem, 2vw, 1.08rem);
  font-weight: 600;
  text-align: center;
}

.release-date strong {
  color: #aaa4ff;
}

.web-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(20px, 3.5vw, 34px);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 22px;
  background: rgba(20, 21, 39, .82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.web-launch__copy {
  min-width: 0;
}

.web-launch__eyebrow {
  display: block;
  margin-bottom: 8px;
}

.web-launch h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -.025em;
}

.web-launch p {
  max-width: 54ch;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: .98rem;
  line-height: 1.55;
}

.web-launch__button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, #7165ff, #4f46e5);
  box-shadow: 0 10px 28px rgba(79, 70, 229, .34);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.web-launch__button span {
  font-size: 1.2rem;
  line-height: 1;
}

.web-launch__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 34px rgba(79, 70, 229, .46);
  color: #fff;
}

.web-launch__button:active {
  transform: scale(.98);
}

.web-launch__button:focus-visible {
  outline: 3px solid #c2beff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .landing-shell {
    padding-top: max(28px, env(safe-area-inset-top));
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  .landing-content {
    gap: 26px;
  }

  .release-title {
    max-width: 12ch;
  }

  .release-card {
    border-radius: 18px;
  }

  .web-launch {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .web-launch__button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .landing-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .release-card {
    padding-inline: 4px;
  }

  .number {
    font-size: clamp(2.8rem, 15vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-launch__button {
    transition: none;
  }
}
