:root {
  --bg: #040207;
  --fg: #faf7ff;
  --muted: rgba(250, 247, 255, 0.68);
  --muted2: rgba(250, 247, 255, 0.42);
  --gold: #f5a623;
  --gold2: #ff6b35;
  --rose: #e84393;
  --violet: #7c3aed;
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke2: rgba(245, 166, 35, 0.28);
  --radius: 32px;
  --radius2: 16px;
  --max: 680px;
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Background ── */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 10% 15%, rgba(245, 166, 35, 0.16), transparent 50%),
    radial-gradient(ellipse 70% 55% at 90% 20%, rgba(232, 67, 147, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(124, 58, 237, 0.1), transparent 55%),
    var(--bg);
}

.bg__threads {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.thread {
  position: absolute;
  bottom: -20%;
  width: 1.5px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(245, 166, 35, 0.7), rgba(232, 67, 147, 0.4), transparent);
  animation: rise linear infinite;
  transform-origin: bottom center;
}

@keyframes rise {
  0% { transform: translateY(0) rotate(var(--r, 0deg)); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120vh) rotate(var(--r, 0deg)); opacity: 0; }
}

.bg__noise {
  position: absolute;
  inset: -80px;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.38;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.bg__glow--1 {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -200px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.65), transparent 65%);
  animation: drift 16s ease-in-out infinite;
}

.bg__glow--2 {
  width: 440px;
  height: 440px;
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(232, 67, 147, 0.5), transparent 65%);
  animation: drift 20s ease-in-out infinite reverse;
}

.bg__glow--3 {
  width: 320px;
  height: 320px;
  left: 50%;
  top: 38%;
  margin-left: -160px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 65%);
  animation: drift 24s ease-in-out infinite 3s;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 38%, black 15%, transparent 72%);
}

@keyframes drift {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.44; }
}

/* ── Page ── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.panel {
  width: 100%;
  max-width: var(--max);
  padding: 40px 36px 30px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 60%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(32px) saturate(1.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(245, 166, 35, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

.panel__shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(245, 166, 35, 0.4) 0%, transparent 35%, transparent 65%, rgba(232, 67, 147, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

body.loaded .reveal { opacity: 1; transform: none; }
body.loaded .reveal--1 { transition-delay: 0.05s; }
body.loaded .reveal--2 { transition-delay: 0.12s; }
body.loaded .reveal--3 { transition-delay: 0.2s; }
body.loaded .reveal--4 { transition-delay: 0.3s; }
body.loaded .reveal--5 { transition-delay: 0.42s; }
body.loaded .reveal--6 { transition-delay: 0.52s; }

/* ── Brand ── */
.header {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(232, 67, 147, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.12);
}

.brand__mark svg {
  width: 26px;
  height: 26px;
}

.brand__text {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.82);
}

/* ── Hero ── */
.hero {
  text-align: center;
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 11px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.07);
  border: 1px solid rgba(245, 166, 35, 0.22);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 22px;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(245, 166, 35, 0.06); }
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(38px, 7.5vw, 62px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__titleAccent {
  display: block;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold2) 45%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.hero__subtitle {
  margin: 0 auto 18px;
  max-width: 44ch;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  text-wrap: balance;
  line-height: 1.7;
}

/* ── Tags ── */
.tags {
  list-style: none;
  margin: 0 auto 30px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tags__item {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Countdown ── */
.countdownWrap {
  margin-bottom: 28px;
}

.countdown__heading {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted2);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 14px;
}

.countdown__item {
  flex: 1;
  max-width: 108px;
  padding: 20px 8px 15px;
  border-radius: var(--radius2);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.countdown__item:hover {
  border-color: var(--stroke2);
  box-shadow: 0 0 24px rgba(245, 166, 35, 0.08);
}

.countdown__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.1) 0%, transparent 55%);
  pointer-events: none;
}

.countdown__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.5), transparent);
}

.countdown__num {
  font-size: clamp(30px, 6.5vw, 44px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 20%, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.countdown__num--tick {
  animation: tick 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes tick {
  0% { transform: translateY(-6px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

.countdown__label {
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted2);
}

.countdown__sep {
  font-size: 26px;
  font-weight: 200;
  color: rgba(245, 166, 35, 0.45);
  padding-bottom: 20px;
  line-height: 1;
  user-select: none;
}

.countdown__sep--blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0.15; }
}

/* ── Progress ── */
.progress {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-bottom: 10px;
}

.progress__bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--rose));
  transition: width 1s linear;
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.45);
}

.launchDate {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted2);
  letter-spacing: 0.02em;
}

/* ── Contact ── */
.contact {
  border-top: 1px solid var(--stroke);
  padding-top: 26px;
}

.contact__title {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted2);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--stroke);
  transition: background 250ms ease, border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  position: relative;
  overflow: hidden;
}

.contact__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 250ms ease;
}

.contact__item:hover {
  border-color: rgba(245, 166, 35, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.contact__item:hover::before {
  opacity: 1;
}

.contact__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.18);
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.contact__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  min-width: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.contact__label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
}

.contact__value {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact__arrow {
  font-size: 14px;
  color: rgba(245, 166, 35, 0.5);
  transition: transform 250ms ease, color 250ms ease;
  position: relative;
  z-index: 1;
}

.contact__item:hover .contact__arrow {
  transform: translateX(3px);
  color: var(--gold);
}

/* ── Footer ── */
.footer {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted2);
  position: relative;
  z-index: 1;
}

.footer__brand {
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__sep {
  opacity: 0.35;
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .panel {
    padding: 30px 22px 24px;
    border-radius: 24px;
  }

  .countdown {
    gap: 3px;
  }

  .countdown__item {
    padding: 16px 4px 12px;
    max-width: none;
  }

  .countdown__sep {
    font-size: 18px;
    padding-bottom: 16px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__value {
    white-space: normal;
    word-break: break-all;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg__glow--1,
  .bg__glow--2,
  .bg__glow--3,
  .hero__titleAccent,
  .pill__dot,
  .countdown__sep--blink,
  .thread {
    animation: none;
  }

  .countdown__num--tick,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .panel {
    transition: none;
  }
}
