:root {
  --ink: #10223f;
  --night: #080b0f;
  --muted: #d5dee7;
  --blue: #1f7bbd;
  --green: #25a867;
  --red: #d73c4f;
  --gold: #c8984e;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--night);
}

a {
  color: inherit;
  text-decoration: none;
}

.opening-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--night);
}

.opening-page::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 10px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--red), var(--gold));
}

.opening-bg {
  --motion-x: 0px;
  --motion-y: 0px;
  position: absolute;
  inset: -5%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.9) 0%, rgba(8, 11, 15, 0.68) 46%, rgba(8, 11, 15, 0.24) 100%),
    url("assets/background.jpg") center / cover;
  animation: background-drift 18s ease-in-out infinite alternate;
  transform: translate3d(var(--motion-x), var(--motion-y), 0) scale(1.03);
  will-change: transform;
}

@media (max-width: 760px) {
  .opening-bg {
    background-position: 64% 45%;
  }
}

.opening-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(28px, 5vw, 54px);
  min-height: 100vh;
  padding: clamp(22px, 4vw, 56px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 78px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-symbol {
  display: grid;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  place-items: center;
}

.brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.brand-text {
  display: grid;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
}

.brand-text strong {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.92rem, 1.8vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launch-copy {
  align-self: end;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 11vw, 10.5rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.6;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(860px, 100%);
}

.countdown-item {
  min-height: 124px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.countdown-item strong {
  display: block;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.countdown-item span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-item:nth-child(1) span {
  color: #c9f4e2;
}

.countdown-item:nth-child(2) span {
  color: #c8e7ff;
}

.countdown-item:nth-child(3) span {
  color: #ffd2d8;
}

.countdown-item:nth-child(4) span {
  color: #f8e4bd;
}

.opening-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(980px, 100%);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.opening-meta span {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes background-drift {
  from {
    background-position: 61% 44%;
  }

  to {
    background-position: 68% 47%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-bg {
    animation: none;
  }
}

@media (max-width: 760px) {
  .opening-content {
    grid-template-rows: auto 1fr auto auto;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opening-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .brand {
    max-width: calc(100vw - 36px);
    gap: 10px;
  }

  .brand-symbol {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .brand-text strong {
    font-size: clamp(0.95rem, 4.4vw, 1.24rem);
  }

  .brand-text small {
    font-size: clamp(0.56rem, 2.8vw, 0.72rem);
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(2.7rem, 18vw, 4rem);
  }

  .countdown {
    gap: 8px;
  }

  .countdown-item {
    min-height: 106px;
  }
}
