:root {
  --bg: #0a120e;
  --pepe: #4ade80;
  --pepe-bright: #bef264;
  --gold: #fbbf24;
  --text: #ecfdf5;
  --muted: rgba(236, 253, 245, 0.55);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-x: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: clip;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background: #142216;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(74, 222, 128, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(251, 191, 36, 0.08), transparent 50%),
    linear-gradient(180deg, #0f1f14 0%, #0a120e 100%);
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(24px + var(--safe-top));
  padding-bottom: calc(28px + var(--safe-bottom));
  padding-left: max(16px, env(safe-area-inset-left, 0px), var(--safe-x));
  padding-right: max(16px, env(safe-area-inset-right, 0px), var(--safe-x));
  gap: 0;
}

.wrap > * {
  min-width: 0;
  max-width: 100%;
}

.kicker {
  margin: 0 0 10px;
  font-size: clamp(0.6rem, 2.6vw, 0.85rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0 4px;
}

.logo-type {
  margin: 0;
  width: 100%;
  max-width: 100%;
  padding: 0 4px;
  container-type: inline-size;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.logo-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.02em;
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.75rem, 14cqw, 3.1rem);
  line-height: 0.88;
}

.logo-part {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--text) 0%, var(--pepe) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-dot {
  display: block;
  margin-top: 0.12em;
  font-size: clamp(1.1rem, 5.5cqw, 2.4rem);
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--pepe-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.headline {
  margin: 16px 0 22px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.78rem, 3.2vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--pepe-bright);
}

.headline-line {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.chains {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.chains li {
  font-size: clamp(0.78rem, 3.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(10, 26, 16, 0.6);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.chains li.live {
  color: var(--pepe);
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.12);
}

.chains li.soon {
  color: var(--gold);
  border-color: rgba(251, 191, 36, 0.35);
  font-size: clamp(0.68rem, 2.8vw, 0.95rem);
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.chains li.soon .soon-label {
  display: block;
  max-width: 100%;
  line-height: 1.25;
}

.chains li.soon .soon-tag {
  margin-top: 4px;
  font-size: 0.85em;
  letter-spacing: 0.15em;
  opacity: 0.9;
}

.actions {
  width: 100%;
  max-width: 420px;
  margin-bottom: 14px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: clamp(0.9rem, 3.5vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: filter 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  color: #052010;
  background: linear-gradient(135deg, #16a34a, #4ade80 55%, #bef264);
  box-shadow: 0 10px 32px rgba(34, 197, 94, 0.32);
}

@media (hover: hover) {
  .btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
  }
}

.btn-primary:active {
  transform: scale(0.98);
}

.foot {
  margin: 0;
  max-width: 100%;
  padding: 0 8px;
  font-size: clamp(0.72rem, 2.8vw, 0.82rem);
  line-height: 1.45;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* Tablet+ — horizontal chips, larger type */
@media (min-width: 540px) {
  .wrap {
    padding:
      calc(32px + var(--safe-top))
      24px
      calc(40px + var(--safe-bottom));
  }

  .kicker {
    letter-spacing: 0.35em;
  }

  .logo-line {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    font-size: clamp(2.6rem, 11vw, 6.5rem);
    line-height: 0.92;
  }

  .logo-part {
    display: inline;
  }

  .logo-dot {
    margin-top: 0.06em;
    font-size: 0.4em;
    letter-spacing: 0.06em;
  }

  .headline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35em;
    margin: 20px 0 28px;
    letter-spacing: 0.18em;
  }

  .chains {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 720px;
    gap: 12px 16px;
  }

  .chains li {
    width: auto;
    padding: 10px 18px;
    letter-spacing: 0.12em;
  }

  .chains li.soon {
    display: block;
    font-size: clamp(0.85rem, 2.5vw, 1.05rem);
    letter-spacing: 0.08em;
  }

  .chains li.soon .soon-label {
    display: inline;
  }

  .chains li.soon .soon-label + .soon-label::before {
    content: " ";
  }

  .chains li.soon .soon-tag {
    display: inline;
    margin-top: 0;
    margin-left: 0.35em;
    font-size: inherit;
    letter-spacing: 0.12em;
  }

  .chains li.soon .soon-tag::before {
    content: "— ";
  }

  .actions {
    max-width: none;
  }

  .btn {
    display: inline-flex;
    width: auto;
    min-width: 220px;
    padding: 16px 32px;
  }

  .foot {
    max-width: none;
  }
}

/* Narrow phones */
@media (max-width: 400px) {
  .kicker {
    letter-spacing: 0.08em;
    font-size: 0.58rem;
  }

  .headline {
    letter-spacing: 0.05em;
    font-size: 0.72rem;
  }

  .logo-line {
    font-size: clamp(1.55rem, 13cqw, 2.35rem);
  }

  .logo-dot {
    font-size: clamp(0.95rem, 5cqw, 1.35rem);
  }

  .chains li.soon {
    font-size: 0.65rem;
    letter-spacing: 0.03em;
  }
}
