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

:root {
  --orange: #ff5a00;
  --orange-soft: #ff8a00;
  --white: #ffffff;
  --black: #050505;
  --glass: rgba(10, 10, 10, 0.42);
  --border: rgba(255, 255, 255, 0.18);
}

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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

#loader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 99;
  display: grid;
  place-items: center;
  transition: opacity .9s ease, visibility .9s ease;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-brand {
  font-family: 'Anton', Impact, sans-serif;
  letter-spacing: .18em;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 90, 0, .45);
  animation: pulseLogo 1.6s ease-in-out infinite alternate;
}

.loader-line {
  position: absolute;
  bottom: 35%;
  width: min(230px, 55vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: lineMove 1.2s ease-in-out infinite;
}

#bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: contrast(1.08) saturate(1.05) brightness(.72);
  z-index: -3;
}

.gradient-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,90,0,.16), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.72)),
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.10), rgba(0,0,0,.72));
  z-index: -2;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .18;
  z-index: -1;
  pointer-events: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.hero-card {
  width: min(920px, 94vw);
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  text-align: center;
  animation: heroIn 1.15s ease forwards;
}

.eyebrow {
  display: inline-block;
  color: var(--orange-soft);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: clamp(.66rem, 1.7vw, .82rem);
  font-weight: 800;
  margin-bottom: 16px;
}

h1 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(4rem, 15vw, 10rem);
  line-height: .9;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-shadow: 0 12px 45px rgba(0,0,0,.7);
}

.subtitle {
  margin-top: 20px;
  font-size: clamp(1.25rem, 3.2vw, 2.25rem);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
}

.description {
  width: min(680px, 100%);
  margin: 14px auto 0;
  font-size: clamp(.95rem, 2.2vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}

#countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(95px, 1fr));
  gap: clamp(10px, 2vw, 18px);
  margin: clamp(28px, 5vw, 46px) auto 0;
  width: min(720px, 100%);
}

.time-box {
  position: relative;
  padding: clamp(14px, 3vw, 24px) 10px;
  border-radius: 22px;
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 38px rgba(0,0,0,.26);
  overflow: hidden;
}

.time-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,90,0,.26), transparent 55%);
  opacity: .75;
}

.time-box span,
.time-box small {
  position: relative;
  z-index: 1;
}

.time-box span {
  display: block;
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-box small {
  display: block;
  margin-top: 9px;
  font-size: clamp(.68rem, 1.8vw, .83rem);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.68);
}

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,90,0,.13);
  border: 1px solid rgba(255,90,0,.38);
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 800;
}

.launch-note::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px var(--orange);
  animation: blink 1.1s ease-in-out infinite alternate;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  color: rgba(255,255,255,.48);
  font-size: .75rem;
  letter-spacing: .08em;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseLogo {
  from { opacity: .55; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes lineMove {
  0% { transform: scaleX(.2); opacity: .3; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(.2); opacity: .3; }
}

@keyframes blink {
  from { opacity: .35; transform: scale(.88); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  body {
    overflow-y: auto;
  }

  .hero {
    min-height: 100svh;
    padding: 22px 14px 70px;
  }

  .hero-card {
    border-radius: 24px;
  }

  #countdown {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  footer {
    position: fixed;
    bottom: 10px;
    padding: 0 15px;
  }
}

@media (max-width: 390px) {
  #countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .time-box {
    border-radius: 18px;
  }

  .launch-note {
    width: 100%;
    justify-content: center;
    font-size: .64rem;
  }
}
