:root {
  color-scheme: dark;
  --ink: #fff8e5;
  --muted: #b8c5ca;
  --panel: rgba(10, 12, 18, 0.82);
  --line: rgba(255, 255, 255, 0.16);
  --mint: #55d6be;
  --gold: #ffcf5a;
  --hot: #ff6b7a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07090f;
}

button,
output {
  font: inherit;
}

a {
  color: var(--ink);
  text-decoration: none;
}

.mint-shell {
  min-height: 100vh;
}

.hero {
  min-height: 100vh;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.94), rgba(7, 9, 15, 0.65), rgba(7, 9, 15, 0.88)),
    url("./assets/hero.png") center / cover;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.symbol {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--mint);
  background: rgba(0, 0, 0, 0.34);
  font-weight: 900;
}

nav {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}

.hero-content {
  width: min(1180px, 100%);
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 380px;
  align-items: center;
  gap: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.summary {
  max-width: 550px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

.mint-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(16px);
}

.mint-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  image-rendering: pixelated;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.stats span,
.status {
  color: var(--muted);
  font-size: 0.84rem;
}

.stats strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
}

.quantity-row {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 10px;
}

button,
output {
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

button {
  color: #06100e;
  background: var(--mint);
  font-weight: 900;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.quantity-row button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

output {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
}

#mintBtn {
  background: var(--gold);
}

.status {
  min-height: 38px;
  margin: 0;
  line-height: 1.4;
}

.status.error {
  color: var(--hot);
}

.status.good {
  color: var(--mint);
}

@media (max-width: 820px) {
  .hero {
    padding: 16px;
  }

  .hero-content {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 46px 0 26px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 6rem);
  }

  .mint-panel {
    max-width: 430px;
  }
}
