:root {
  --panel: rgba(16, 8, 31, 0.82);
  --panel-strong: #10081f;
  --line: rgba(255, 255, 255, 0.1);
  --pink: #ff1493;
  --pink-soft: #ff73c1;
  --violet: #8a5cff;
  --success: #70e3bd;
}

.mint-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 20, 147, 0.17), transparent 33rem),
    radial-gradient(circle at 12% 42%, rgba(104, 66, 255, 0.12), transparent 30rem),
    #05010f;
}

.mint-page code {
  color: #eee7fb;
  font-size: 0.88em;
}

.mint-page :is(#benefits, #nft-details, #how-to-mint, #faq, #mint-panel) {
  scroll-margin-top: 110px;
}

.mint-page .brand {
  color: inherit;
  text-decoration: none;
}

.mint-page main {
  overflow: hidden;
}

.mint-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 820px;
  margin: 0 auto;
  padding: 150px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.eyebrow,
.console-kicker {
  margin: 0 0 18px;
  color: var(--pink-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mint-hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.mint-lede {
  max-width: 590px;
  margin: 30px 0 0;
  color: #c7bddf;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.launch-facts {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  max-width: 410px;
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.launch-facts span,
.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 9px 13px;
  color: #e9e2f8;
  font-size: 0.78rem;
}

.network-note {
  max-width: 580px;
  margin-top: 24px;
  color: #8e84ac;
  font-size: 0.88rem;
  line-height: 1.6;
}

.mint-console {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(25, 12, 48, 0.95), rgba(8, 3, 18, 0.94));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.48);
  padding: 24px;
}

.pass-card {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #090311;
  display: flex;
  align-items: center;
  padding: 34px;
  isolation: isolate;
}

.pass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: repeating-linear-gradient(125deg, transparent 0 12px, rgba(255, 255, 255, 0.03) 13px 14px);
}

.pass-card-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -80px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 20, 147, 0.32);
  filter: blur(50px);
}

.pass-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(255, 20, 147, 0.65);
}

.pass-card-copy {
  margin-left: 24px;
  display: flex;
  flex-direction: column;
}

.pass-card-copy span,
.pass-card-copy small,
.pass-card-chain {
  color: #a99cc7;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pass-card-copy strong {
  margin: 5px 0 8px;
  font-size: 2.2rem;
  letter-spacing: -0.05em;
}

.pass-card-chain {
  position: absolute;
  right: 22px;
  bottom: 20px;
}

.console-heading,
.supply-row,
.price-row,
.wallet-state,
.console-actions {
  display: flex;
  align-items: center;
}

.console-heading {
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

.console-heading .console-kicker {
  margin-bottom: 7px;
}

.console-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.status-pill {
  color: var(--pink-soft);
  white-space: nowrap;
}

.status-pill[data-phase="open"],
.status-pill[data-phase="testnet"] {
  border-color: rgba(112, 227, 189, 0.3);
  color: var(--success);
}

.supply-row {
  justify-content: space-between;
  margin-top: 24px;
  color: #9c91b7;
  font-size: 0.78rem;
}

.supply-row strong {
  color: #fff;
}

.supply-track {
  width: 100%;
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  appearance: none;
}

.supply-track::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.supply-track::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transition: width 0.45s ease;
}

.supply-track::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
}

.price-row {
  justify-content: space-between;
  gap: 24px;
  margin-top: 25px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.price-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.price-row span,
.price-row p {
  color: #9084aa;
  font-size: 0.72rem;
}

.price-row strong {
  font-size: 1.75rem;
}

.price-row p {
  max-width: 155px;
  margin: 0;
  text-align: right;
  line-height: 1.45;
}

.wallet-state {
  gap: 9px;
  margin-top: 18px;
  padding: 0 2px;
  color: #a59ac7;
  font-size: 0.8rem;
}

.wallet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6e6681;
}

.wallet-state.connected .wallet-dot {
  background: var(--success);
  box-shadow: 0 0 12px rgba(112, 227, 189, 0.7);
}

.attestations {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.attestations legend {
  margin-bottom: 10px;
  color: #8f84aa;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.attestations label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 9px;
  color: #b4a9cc;
  font-size: 0.76rem;
  line-height: 1.5;
}

.attestations input {
  margin-top: 2px;
  accent-color: var(--pink);
}

.attestations a {
  color: #e9dff8;
}

.console-actions {
  gap: 10px;
  margin-top: 24px;
}

.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:focus-visible,
.dialog-close:focus-visible,
.attestations input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.button-primary {
  flex: 1;
  background: linear-gradient(110deg, #8b41ff, var(--pink));
  box-shadow: 0 14px 34px rgba(255, 20, 147, 0.18);
}

.button-secondary {
  flex: 1;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.button-text {
  width: 100%;
  min-height: 38px;
  color: #b4a9cc;
  background: transparent;
}

.console-message,
.dialog-status {
  min-height: 36px;
  margin: 14px 3px 0;
  color: #8f84a8;
  font-size: 0.73rem;
  line-height: 1.5;
}

.console-message.success,
.dialog-status.success {
  color: var(--success);
}

.console-message.error,
.dialog-status.error {
  color: #ff86a7;
}

.benefits-section,
.details-section,
.steps-section,
.rules-section,
.faq-section,
.community-section,
.support-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.benefits-section,
.details-section,
.steps-section,
.faq-section,
.community-section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 690px;
}

.section-intro h2,
.rules-section h2,
.community-section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-intro > p:last-child {
  margin-top: 20px;
  color: #9f94b9;
  line-height: 1.7;
}

.benefit-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  padding: 24px;
}

.benefit-grid article > span {
  color: var(--pink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.benefit-grid h3 {
  margin: 72px 0 12px;
  font-size: 1.15rem;
}

.benefit-grid p {
  margin: 0;
  color: #978cad;
  font-size: 0.88rem;
  line-height: 1.65;
}

.benefit-note {
  max-width: 980px;
  margin: 26px 0 0;
  color: #978cad;
  font-size: 0.82rem;
  line-height: 1.7;
}

.details-layout {
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
  gap: 18px;
}

.detail-table {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.detail-row {
  min-height: 68px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row dt {
  color: #8f84a8;
  font-size: 0.76rem;
}

.detail-row dd {
  min-width: 0;
  margin: 0;
  color: #eee8fa;
  font-size: 0.83rem;
  line-height: 1.55;
}

.detail-row-dynamic dd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
}

.ledger-value {
  overflow-wrap: anywhere;
}

.verification-state {
  width: max-content;
  border: 1px solid rgba(112, 227, 189, 0.28);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--success);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.verification-state.pending {
  border-color: rgba(255, 182, 90, 0.25);
  color: #ffc47b;
}

.detail-links {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-row a,
.inline-button,
.support-strip a {
  color: #e9dff8;
  font: inherit;
  font-size: 0.72rem;
}

.inline-button {
  border: 0;
  padding: 0;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.verification-card {
  position: sticky;
  top: 108px;
  border: 1px solid rgba(255, 20, 147, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 20, 147, 0.14), transparent 16rem),
    rgba(15, 7, 29, 0.92);
  padding: 26px;
}

.verification-card h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-top: 13px;
  padding-left: 24px;
  color: #c6bbd8;
  font-size: 0.8rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
}

.verification-card > p:last-child {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #9186a8;
  font-size: 0.76rem;
  line-height: 1.65;
}

.step-grid {
  margin: 54px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
}

.step-grid li {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  padding: 24px;
}

.step-grid li > span {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 20, 147, 0.28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-soft);
  font-size: 0.72rem;
}

.step-grid h3 {
  margin: 72px 0 12px;
  font-size: 1.1rem;
}

.step-grid p,
.steps-note {
  color: #978cad;
  font-size: 0.83rem;
  line-height: 1.65;
}

.step-grid p {
  margin: 0;
}

.steps-note {
  max-width: 820px;
  margin: 24px 0 0;
}

.rules-section {
  padding: 110px 0 130px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 90px;
  border-top: 1px solid var(--line);
}

.rules-list p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: #968bac;
  line-height: 1.65;
}

.rules-list p:first-child {
  border-top: 1px solid var(--line);
}

.rules-list strong {
  color: #f4efff;
}

.faq-list {
  max-width: 900px;
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 48px 23px 0;
  color: #f3edfc;
  font-size: 1rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  color: var(--pink-soft);
  font-size: 1.45rem;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 780px;
  margin: -4px 0 24px;
  color: #9d92b2;
  line-height: 1.7;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  align-items: end;
  gap: 80px;
}

.community-section > div:first-child > p:last-child {
  max-width: 610px;
  margin: 20px 0 0;
  color: #9d92b2;
  line-height: 1.65;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-actions .button {
  width: 100%;
}

.share-status {
  grid-column: 2;
  min-height: 20px;
  margin: 0;
  color: var(--success);
  font-size: 0.72rem;
}

.share-status.error {
  color: #ff86a7;
}

.support-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.support-strip p {
  min-width: 0;
  margin: 0;
  color: #8d82a3;
  font-size: 0.72rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.support-strip strong {
  color: #d9d0e9;
}

.mint-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.mint-footer > img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.mint-footer p {
  margin: 0;
}

.mint-footer > div > p {
  font-size: 0.8rem;
}

.mint-footer nav {
  margin-top: 5px;
  display: flex;
  gap: 14px;
}

.mint-footer a,
.footer-fine-print {
  color: #887e9f;
  font-size: 0.7rem;
  text-decoration: none;
}

.mint-footer a:hover {
  color: #fff;
}

.wallet-dialog {
  width: min(420px, calc(100% - 32px));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: #0c0617;
  color: #fff;
  padding: 30px;
  text-align: center;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
}

.wallet-dialog::backdrop {
  background: rgba(2, 0, 8, 0.82);
  backdrop-filter: blur(10px);
}

.wallet-dialog h2 {
  margin: 0;
  font-size: 1.8rem;
}

.wallet-dialog > p:not(.console-kicker):not(.dialog-status) {
  color: #a99ebf;
  line-height: 1.55;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #8d82a3;
  font-size: 1.7rem;
  cursor: pointer;
}

.qr-image {
  width: 210px;
  height: 210px;
  margin: 12px auto 20px;
  border-radius: 12px;
  display: block;
  background: #fff;
}

.wallet-dialog .button-primary {
  width: 100%;
}

@media (max-width: 940px) {
  .mint-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
  }

  .mint-hero-copy {
    text-align: center;
  }

  .mint-hero h1,
  .mint-lede,
  .network-note {
    margin-left: auto;
    margin-right: auto;
  }

  .launch-facts {
    justify-content: center;
  }

  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

  .mint-console {
    width: min(520px, 100%);
    margin: 0 auto;
  }

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

  .details-layout,
  .community-section {
    grid-template-columns: 1fr;
  }

  .verification-card {
    position: static;
  }

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

  .share-status {
    grid-column: 1;
  }

  .rules-section {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 640px) {
  .mint-page .top-nav {
    width: calc(100% - 20px);
    padding: 7px 10px;
  }

  .mint-page .brand-title,
  .mint-page .nav-right a:nth-child(2) {
    display: none;
  }

  .mint-page .nav-link {
    padding: 6px 8px;
    font-size: 0.68rem;
  }

  .mint-hero,
  .benefits-section,
  .details-section,
  .steps-section,
  .rules-section,
  .faq-section,
  .community-section,
  .support-strip,
  .mint-footer {
    width: min(100% - 24px, 1180px);
  }

  .mint-hero {
    padding-top: 122px;
    padding-bottom: 72px;
  }

  .mint-hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .mint-console {
    padding: 14px;
    border-radius: 22px;
  }

  .pass-card {
    min-height: 190px;
    padding: 24px;
  }

  .pass-card img {
    width: 68px;
    height: 68px;
  }

  .pass-card-copy {
    margin-left: 16px;
  }

  .pass-card-copy strong {
    font-size: 1.6rem;
  }

  .pass-card-copy span,
  .pass-card-copy small {
    font-size: 0.5rem;
  }

  .console-heading {
    align-items: flex-start;
  }

  .status-pill {
    padding: 7px 9px;
    font-size: 0.65rem;
  }

  .console-actions {
    flex-direction: column;
  }

  .console-actions .button {
    width: 100%;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .share-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .detail-row-dynamic dd {
    grid-template-columns: 1fr;
  }

  .verification-state,
  .detail-links {
    grid-column: 1;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .step-grid li {
    min-height: 230px;
  }

  .step-grid h3 {
    margin-top: 52px;
  }

  .benefit-grid article {
    min-height: 220px;
  }

  .benefit-grid h3 {
    margin-top: 52px;
  }

  .rules-section {
    padding: 82px 0 96px;
  }

  .community-section {
    gap: 42px;
  }

  .support-strip {
    grid-template-columns: 1fr;
  }

  .mint-footer {
    grid-template-columns: auto 1fr;
  }

  .mint-footer nav {
    flex-wrap: wrap;
  }

  .footer-fine-print {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

