:root {
  --brand: #b8f34a;
  --brand-light: #d8ff7d;
  --brand-shadow: #8fd12d;
  --secondary: #6647ff;
  --bg: #111114;
  --surface: #1a1a1f;
  --text: #fafaf7;
  --muted: #a5a5ad;
  --buy: #22c98a;
  --sell: #ff5c6c;
  --border: rgba(250, 250, 247, .11);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  overflow-x: hidden;
}

.shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px clamp(22px, 6vw, 90px);
  overflow: hidden;
}

.shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  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: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(105px);
  pointer-events: none;
}

.ambient-one {
  width: 520px;
  height: 520px;
  background: var(--brand);
  top: -270px;
  left: -130px;
  opacity: .22;
}

.ambient-two {
  width: 330px;
  height: 330px;
  background: var(--secondary);
  bottom: -200px;
  right: -110px;
  opacity: .12;
}

.watermark {
  position: absolute;
  z-index: -1;
  width: min(43vw, 570px);
  left: clamp(-130px, 1vw, 40px);
  top: 50%;
  transform: translateY(-48%) rotate(-3deg);
  opacity: .07;
  filter: saturate(.8);
  pointer-events: none;
}

.nav,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 52px;
  padding: 8px 15px;
  color: var(--bg);
  background: var(--brand);
  border-radius: 13px;
  text-decoration: none;
  box-shadow: 0 0 34px rgba(184, 243, 74, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 42px rgba(184, 243, 74, .22);
}

.brand img { width: 146px; height: 34px; object-fit: contain; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.status b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(184, 243, 74, .85);
}

.hero {
  align-self: center;
  width: min(100%, 920px);
  padding: 66px 0 56px;
}

.eyebrow {
  direction: ltr;
  text-align: right;
  color: var(--brand);
  font: 700 12px/1.5 Arial, sans-serif;
  letter-spacing: 2.8px;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-size: clamp(43px, 7vw, 92px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -3.6px;
}

h1 span {
  color: var(--brand);
  background: linear-gradient(100deg, var(--brand-shadow), var(--brand-light) 55%, var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(184, 243, 74, .12));
}

.lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2;
}

.countdown-wrap { width: min(100%, 650px); margin-top: 38px; }

.countdown-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.countdown-heading i {
  height: 1px;
  flex: 1;
  background: linear-gradient(to left, rgba(184, 243, 74, .8), transparent);
}

.countdown {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.time-card {
  position: relative;
  min-height: 105px;
  display: grid;
  place-content: center;
  gap: 3px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 50px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px);
}

.time-card:first-child::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 2px;
  right: 17px;
  top: -1px;
  background: var(--brand);
  box-shadow: 0 0 14px var(--brand);
}

.time-card strong {
  font: 700 clamp(27px, 4vw, 39px)/1.2 "Vazirmatn", sans-serif;
  color: var(--text);
}

.time-card small { color: var(--muted); font-size: 12px; }

.launch-message {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(184, 243, 74, .25);
  border-radius: 18px;
  color: var(--brand);
  background: rgba(184, 243, 74, .06);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

footer {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #777780;
  font-size: 12px;
}

@media (max-width: 620px) {
  .shell { padding: 22px; }
  .hero { padding: 58px 0 45px; }
  h1 { letter-spacing: -2.2px; }
  .lead { margin-top: 20px; }
  .countdown { gap: 7px; }
  .time-card { min-height: 88px; border-radius: 14px; }
  .time-card strong { font-size: 25px; }
  .watermark { width: 82vw; left: -45vw; }
  footer { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 390px) {
  .status { font-size: 11px; }
  .brand { min-width: 146px; min-height: 46px; padding: 7px 12px; }
  .brand img { width: 122px; height: 30px; }
  .time-card { min-height: 80px; }
  .time-card strong { font-size: 22px; }
  .time-card small { font-size: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .ambient { animation: breathe 8s ease-in-out infinite alternate; }
  .ambient-two { animation-delay: -3s; }
  .status b { animation: pulse 2s ease-in-out infinite; }

  @keyframes breathe {
    to { transform: scale(1.14) translateY(12px); opacity: .27; }
  }

  @keyframes pulse {
    50% { opacity: .45; box-shadow: 0 0 8px rgba(184, 243, 74, .5); }
  }
}
