:root {
  color-scheme: light;
  --bg: #f5f9ff;
  --panel: #ffffff;
  --panel-2: #eaf2ff;
  --ink: #12213f;
  --muted: #5f6f8f;
  --line: #b8cdf7;
  --green: #8ff0c8;
  --lime: #0052ff;
  --orange: #ffcf3f;
  --red: #ff6f61;
  --steel: #4d8dff;
  --blue: #0052ff;
  --yellow: #ffcf3f;
  --coral: #ff6f61;
  --sky: #d9e8ff;
  --font-display: "Jersey 10", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 82, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 32%, rgba(255, 207, 63, 0.28), transparent 22rem),
    linear-gradient(180deg, #f9fcff 0%, #eaf3ff 48%, #ffffff 100%);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(0, 82, 255, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 4px 4px 0 var(--yellow);
}

.brand-mark img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 1.08rem;
  font-family: var(--font-display);
}

nav a:hover {
  color: var(--lime);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 72px);
  padding: 72px 5vw 36px;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
}

.section-heading,
.wide-copy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.split > div,
.split .section-heading,
.split .wide-copy {
  text-align: left;
}

.gallery-preview {
  text-align: center;
}

.gallery-preview .button {
  margin-top: 18px;
}

.gallery-page-head,
.gallery-page-head h1 {
  text-align: center;
}

.gallery-page-head .lede {
  margin-left: auto;
  margin-right: auto;
}

.gallery-wallet-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 24px auto 0;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #ffffff;
  padding: 16px 18px;
  box-shadow: 8px 8px 0 rgba(255, 207, 63, 0.55);
  text-align: left;
}

.gallery-wallet-panel span,
.owned-toggle span {
  color: var(--muted);
  font-size: 1rem;
  text-transform: uppercase;
}

.gallery-wallet-panel strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
}

.gallery-wallet-panel p {
  margin: 6px 0 0;
  color: #334464;
  font-size: 1rem;
  line-height: 1.35;
}

.gallery-wallet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.owned-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  gap: 8px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--panel-2);
  padding: 0 14px;
  box-shadow: 5px 5px 0 rgba(18, 33, 63, 0.12);
}

.owned-toggle input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.gallery-results .gallery-meta,
.gallery-grid {
  max-width: 952px;
  margin-left: auto;
  margin-right: auto;
}

.load-row {
  justify-content: center;
}

.mint-grid,
.metric-grid,
.launch-shape-card,
.timeline {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 15vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 5px 5px 0 var(--yellow);
}

.hero-title-image {
  width: min(320px, 78vw);
  margin-bottom: 22px;
  margin-left: 0;
  margin-right: auto;
  line-height: 0;
  overflow: hidden;
  text-shadow: none;
}

.hero-title-image img {
  display: block;
  width: 145%;
  max-width: none;
  height: auto;
  filter: drop-shadow(8px 8px 0 rgba(255, 207, 63, 0.7));
  transform: translateX(-15.2%);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--ink);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.lede {
  max-width: 720px;
  color: #334464;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  line-height: 1.4;
}

.hero-actions,
.load-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 0 18px;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-display);
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(18, 33, 63, 0.18);
}

.button.primary {
  border-color: var(--ink);
  background: var(--blue);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 4px solid var(--blue);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 207, 63, 0.6), transparent 8rem),
    radial-gradient(circle at 18% 82%, rgba(255, 111, 97, 0.26), transparent 10rem),
    linear-gradient(rgba(0, 82, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 255, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 42px 42px;
  box-shadow: 12px 12px 0 rgba(0, 82, 255, 0.16);
}

.hero-art {
  position: absolute;
  margin: 0;
  border: 4px solid var(--ink);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(0, 82, 255, 0.18);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-art:hover,
.hero-art:focus-visible {
  border-color: var(--blue);
  box-shadow: 10px 10px 0 rgba(255, 207, 63, 0.65);
  outline: none;
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-art-main img.is-swapping {
  animation: heroSwap 420ms ease;
}

.hero-art-main {
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(62%, 330px);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.hero-art-main:hover,
.hero-art-main:focus-visible {
  transform: translate(-50%, -53%) rotate(-1deg);
}

.hero-art-main span {
  display: block;
  border-top: 3px solid var(--ink);
  background: var(--yellow);
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--font-display);
  text-align: center;
}

.hero-art-top,
.hero-art-bottom {
  width: min(34%, 170px);
}

.hero-art-top {
  right: 7%;
  top: 8%;
  animation: sideDriftTop 6s ease-in-out infinite;
  transform: rotate(7deg);
}

.hero-art-top:hover,
.hero-art-top:focus-visible {
  transform: translateY(-8px) rotate(4deg);
}

.hero-art-bottom {
  left: 7%;
  bottom: 9%;
  animation: sideDriftBottom 6.5s ease-in-out infinite;
  transform: rotate(-8deg);
}

.hero-art-bottom:hover,
.hero-art-bottom:focus-visible {
  transform: translateY(-8px) rotate(-5deg);
}

.hero-controls {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 3;
}

.hero-random-button {
  display: inline-grid;
  width: 52px;
  min-height: 48px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  box-shadow: 4px 4px 0 rgba(18, 33, 63, 0.18);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.hero-random-button:hover,
.hero-random-button:focus-visible {
  background: var(--yellow);
  border-color: var(--blue);
  outline: none;
  transform: translateY(-4px);
}

@keyframes heroSwap {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sideDriftTop {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: -8px 10px;
  }
}

@keyframes sideDriftBottom {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 10px -8px;
  }
}

@keyframes astronautFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(-18px) rotate(5deg);
  }
}

@keyframes statusBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.5);
  }

  50% {
    opacity: 0.38;
    box-shadow: 0 0 0 8px rgba(255, 111, 97, 0);
  }
}

@keyframes liveBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(20, 184, 122, 0.5);
  }

  50% {
    opacity: 0.38;
    box-shadow: 0 0 0 8px rgba(20, 184, 122, 0);
  }
}

.token-chip {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--yellow);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-display);
  box-shadow: 5px 5px 0 rgba(18, 33, 63, 0.2);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw 28px;
}

.stats-band div {
  min-height: 136px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 8px 8px 0 var(--blue);
}

.stats-band span,
.metric-grid span,
.gallery-meta,
footer {
  color: var(--muted);
  font-size: 1rem;
}

.stats-band strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.05;
}

.section {
  padding: 96px 5vw;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 48px;
  border-bottom: 1px solid var(--line);
}

.copy-stack p {
  color: #334464;
  font-size: 1.25rem;
  line-height: 1.7;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-bottom: 3px solid var(--yellow);
  color: var(--blue);
  font-size: 1.15rem;
}

.inline-link:hover,
.inline-link:focus-visible {
  border-bottom-color: var(--blue);
  outline: none;
}

.section-heading {
  max-width: 960px;
  margin-bottom: 34px;
}

.tokenomics {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px 5vw;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 207, 63, 0.2), transparent 18rem),
    radial-gradient(circle at 88% 82%, rgba(77, 141, 255, 0.22), transparent 22rem),
    linear-gradient(180deg, #d9e8ff, #b8cdf7);
}

.tokenomics .section-heading {
  width: min(100%, 1280px);
}

.tokenomics .eyebrow {
  color: var(--blue);
}

.tokenomics h2 {
  color: var(--ink);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-grid article,
.launch-shape-card,
.timeline article,
.nft-card,
.mint-panel {
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 7px 7px 0 rgba(0, 82, 255, 0.12);
}

.metric-grid article {
  min-height: 182px;
  padding: 22px;
}

.launch-shape-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  background:
    linear-gradient(rgba(77, 141, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 141, 255, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, #08152f, #12213f);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 10px 10px 0 rgba(0, 82, 255, 0.2);
}

.bento-panel {
  display: grid;
  gap: 14px;
  min-height: 184px;
  border: 3px solid #8fb5ff;
  border-radius: 16px;
  background: rgba(245, 249, 255, 0.08);
  padding: 20px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.24);
  color: #ffffff;
}

.bento-minting {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(0, 82, 255, 0.36), rgba(255, 207, 63, 0.1)),
    rgba(245, 249, 255, 0.1);
  box-shadow: 8px 8px 0 rgba(255, 207, 63, 0.42);
}

.bento-supply {
  background:
    linear-gradient(135deg, rgba(77, 141, 255, 0.22), rgba(245, 249, 255, 0.08));
  box-shadow: 6px 6px 0 rgba(77, 141, 255, 0.34);
}

.bento-funds {
  background:
    linear-gradient(135deg, rgba(143, 240, 200, 0.18), rgba(255, 207, 63, 0.1));
  box-shadow: 6px 6px 0 rgba(143, 240, 200, 0.34);
}

.metric-grid strong {
  display: block;
  margin: 12px 0;
  color: var(--blue);
  font-size: 2rem;
}

.metric-grid p,
.launch-shape-card p,
.timeline p,
.nft-card p,
.mint-panel p {
  color: #4e5f7d;
  line-height: 1.55;
  font-size: 1.05rem;
}

.launch-shape-card span {
  color: #ffcf3f;
  font-size: 1rem;
  text-transform: uppercase;
}

.launch-shape-card strong {
  display: block;
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.bento-main-stat strong {
  color: #ffcf3f;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.9;
  text-shadow: 4px 4px 0 rgba(0, 82, 255, 0.82);
}

.bento-main-stat p,
.bento-fact-row p {
  margin: 0;
  color: #d9e8ff;
}

.bento-fact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bento-fact-row div {
  min-width: 0;
  border-left: 6px solid #4d8dff;
  padding-left: 12px;
}

.bento-fact-row div:nth-child(2) {
  border-left-color: #ffcf3f;
}

.bento-fact-row small {
  color: #8fb5ff;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.bento-fact-row strong {
  margin: 6px 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.mint-section {
  border-top: 1px solid var(--line);
}

.mint-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0;
}

.mint-status span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.mint-status span::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.6);
  animation: statusBlink 1.2s ease-in-out infinite;
}

.mint-status span.is-live {
  color: #0e9f6e;
}

.mint-status span.is-live::before {
  background: #14b87a;
  box-shadow: 0 0 0 0 rgba(20, 184, 122, 0.6);
  animation: liveBlink 1.2s ease-in-out infinite;
}

.wallet-panel,
.wallet-balances {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.wallet-console {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #ffffff;
  padding: 16px 18px;
  box-shadow: 8px 8px 0 rgba(255, 207, 63, 0.55);
}

.wallet-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  cursor: pointer;
}

.wallet-panel-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
}

.wallet-panel:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

.wallet-panel::after {
  content: "•••";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}

.wallet-panel[aria-expanded="true"]::after {
  content: "•••";
}

.wallet-panel div,
.wallet-balances div {
  display: grid;
  gap: 5px;
}

.wallet-panel span,
.wallet-balances span {
  color: var(--muted);
  font-size: 1rem;
  text-transform: uppercase;
}

.wallet-panel strong,
.wallet-balances strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.wallet-balances {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0;
}

.wallet-balances .my-shiboid-card {
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 6px 6px 0 rgba(0, 82, 255, 0.12);
}

.wallet-details {
  display: grid;
  gap: 14px;
  border-top: 2px solid var(--line);
  padding-top: 14px;
}

.wallet-details[hidden] {
  display: none;
}

.my-shiboid-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.my-shiboid-values div {
  min-width: 0;
  border-left: 5px solid var(--yellow);
  padding-left: 10px;
}

.my-shiboid-values small {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.mint-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mint-link-actions .button {
  min-height: 48px;
}

.sync-button {
  background: #ffffff;
  color: var(--ink);
}

.action-contract {
  background: var(--blue);
  color: #ffffff;
}

.action-opensea {
  background: #8ff0c8;
  color: var(--ink);
}

.action-dex {
  background: var(--yellow);
  color: var(--ink);
}

.mint-link-actions .button:disabled {
  border-color: rgba(18, 33, 63, 0.58);
  color: rgba(18, 33, 63, 0.58);
  box-shadow: 4px 4px 0 rgba(18, 33, 63, 0.1);
}

.mint-progress {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 8px 8px 0 rgba(0, 82, 255, 0.16);
}

.mint-progress-embedded {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.mint-progress-embedded .mint-progress-head strong {
  font-size: 1.35rem;
}

.mint-progress-embedded .mint-progress-head span {
  font-size: 0.95rem;
}

.mint-progress-embedded .mint-progress-head div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.mint-progress-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.mint-progress-head div {
  display: grid;
  gap: 4px;
}

.mint-progress-head span,
.mint-progress p {
  color: var(--muted);
}

.mint-progress-head strong {
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
}

#mintProgressPercent {
  color: var(--blue);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
}

.progress-track {
  height: 28px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--panel-2);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-right: 3px solid var(--ink);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.32) 0 10px,
      transparent 10px 20px
    ),
    var(--blue);
  transition: width 420ms ease;
}

.mint-progress p {
  margin: 0;
  line-height: 1.35;
}

.mint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mint-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.mint-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
}

.mint-gallery-preview {
  display: grid;
  align-content: space-between;
  gap: 24px;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.88), rgba(245, 249, 255, 0.68)),
    url("./assets/heads.png") center / 520px auto repeat;
  padding: 24px;
  box-shadow: 10px 10px 0 rgba(0, 82, 255, 0.18);
}

.mint-gallery-preview .eyebrow {
  margin-bottom: 8px;
}

.mint-gallery-preview h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.mint-gallery-preview p:not(.eyebrow) {
  max-width: 680px;
  margin: 12px 0 0;
  color: #334464;
  font-size: 1.12rem;
  line-height: 1.45;
}

.mint-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.mint-builder {
  gap: 20px;
}

.mint-card-body {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.mint-preview-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mint-art-preview {
  display: grid;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--sky);
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 82, 255, 0.14);
}

.mint-art-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #0a0d0b;
}

.mint-art-preview span {
  display: block;
  border-top: 3px solid var(--ink);
  background: var(--yellow);
  padding: 10px 12px;
  text-align: center;
}

.mint-controls-panel {
  display: grid;
  gap: 18px;
}

.mint-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.mint-panel-head span {
  color: var(--muted);
  font-family: var(--font-display);
  text-transform: uppercase;
}

.mint-panel-head strong {
  color: var(--blue);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1;
}

.mint-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.mint-selected {
  display: grid;
  gap: 8px;
  min-height: 176px;
  align-content: center;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--panel-2);
  padding: 18px;
  box-shadow: 6px 6px 0 rgba(255, 207, 63, 0.62);
}

.mint-selected span {
  color: var(--muted);
  text-transform: uppercase;
}

.mint-selected strong {
  display: flex;
  align-items: center;
  min-height: 2.15em;
  color: var(--blue);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.mint-selected p {
  min-height: 1.55em;
  margin: 0;
}

.mint-slider-field {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.mint-slider-field input {
  width: 100%;
  min-height: 38px;
  padding: 0;
  accent-color: var(--blue);
}

.mint-slider-marks {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.mint-slider-marks span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mint-field input {
  width: 100%;
  min-height: 50px;
  font-size: 1.15rem;
}

.stepper {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  min-height: 50px;
}

.stepper input {
  border-radius: 0;
  text-align: center;
}

.stepper button {
  border: 3px solid var(--ink);
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
}

.stepper button:first-child {
  border-radius: 12px 0 0 12px;
  border-right: 0;
}

.stepper button:last-child {
  border-radius: 0 12px 12px 0;
  border-left: 0;
}

.mint-facts {
  display: grid;
  gap: 8px;
}

.mint-facts span {
  border-left: 5px solid var(--yellow);
  padding-left: 10px;
  color: #334464;
  font-size: 1.04rem;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.gallery-preview,
.gallery-section {
  border-top: 1px solid var(--line);
}

.gallery-preview {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 20px;
  background:
    linear-gradient(rgba(245, 249, 255, 0.58), rgba(245, 249, 255, 0.68)),
    url("./assets/heads.png") center / 520px auto repeat;
  box-shadow: 10px 10px 0 rgba(0, 82, 255, 0.18);
}

.gallery-preview > * {
  position: relative;
  z-index: 1;
}

.wide-copy {
  max-width: 760px;
  color: #334464;
  font-size: 1.25rem;
  line-height: 1.65;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.search {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

input,
select {
  width: 220px;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 1rem;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.nft-card {
  overflow: hidden;
  color: inherit;
  text-align: left;
}

.nft-card.is-owned {
  border-color: var(--blue);
  box-shadow: 7px 7px 0 rgba(255, 207, 63, 0.72);
}

.nft-card-button {
  width: 100%;
  border-radius: 0;
  cursor: pointer;
}

.nft-card-button:hover,
.nft-card-button:focus-visible {
  border-color: var(--blue);
  outline: none;
}

.nft-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #0a0d0b;
}

.nft-card div {
  padding: 12px;
}

.nft-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.owned-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 0 8px;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.dialog-owned-badge {
  margin-left: 10px;
  vertical-align: middle;
  font-size: 1rem;
}

.nft-card p {
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
}

.gallery-page-head {
  padding: 70px 5vw 34px;
  border-bottom: 1px solid var(--line);
  width: min(100%, 1280px);
  margin: 0 auto;
}

.gallery-page-head h1 {
  font-size: clamp(4rem, 13vw, 9rem);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 5vw 90px;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.filters {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.filter-head h2 {
  font-size: 1.25rem;
  line-height: 1.1;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.field input,
.field select {
  width: 100%;
}

.rank-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trait-filters {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.trait-filters details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.trait-filters summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.trait-options {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.trait-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: #334464;
  font-size: 1rem;
}

.trait-option input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--blue);
}

.trait-option small {
  color: var(--muted);
}

.gallery-results {
  min-width: 0;
}

.nft-dialog {
  width: min(1020px, calc(100vw - 32px));
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: #ffffff;
  color: var(--ink);
  padding: 0;
}

.nft-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.dialog-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
}

.dialog-body > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--sky);
}

.dialog-body h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 6vw, 4rem);
}

.dialog-description {
  color: #334464;
  line-height: 1.6;
}

.dialog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

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

.detail-traits div {
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
  padding: 12px;
}

.detail-traits span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.detail-traits strong {
  color: var(--blue);
}

.empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.roadmap {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px 5vw;
  border-top: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 207, 63, 0.2), transparent 18rem),
    radial-gradient(circle at 88% 82%, rgba(77, 141, 255, 0.22), transparent 22rem),
    linear-gradient(180deg, #d9e8ff, #b8cdf7);
}

.roadmap .section-heading,
.roadmap .timeline {
  width: min(100%, 1280px);
}

.roadmap .eyebrow {
  color: var(--blue);
}

.roadmap h2 {
  color: var(--ink);
}

.floating-astronaut {
  position: absolute;
  right: 4vw;
  top: 24px;
  z-index: 0;
  width: clamp(130px, 16vw, 230px);
  pointer-events: none;
  filter: drop-shadow(8px 10px 0 rgba(0, 82, 255, 0.18));
  animation: astronautFloat 5.5s ease-in-out infinite;
}

.roadmap > *:not(.floating-astronaut) {
  position: relative;
  z-index: 1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background:
    linear-gradient(rgba(77, 141, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 141, 255, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, #08152f, #12213f);
  background-size: 34px 34px, 34px 34px, auto;
  padding: 14px;
  box-shadow: 10px 10px 0 rgba(0, 82, 255, 0.2);
}

.timeline article {
  min-height: 220px;
  border-color: #8fb5ff;
  background:
    linear-gradient(180deg, rgba(0, 82, 255, 0.22), rgba(245, 249, 255, 0.08)),
    rgba(245, 249, 255, 0.08);
  padding: 20px;
  color: #ffffff;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.24);
}

.timeline span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(0, 82, 255, 0.82);
}

.timeline h3 {
  color: #ffffff;
  font-size: 1.35rem;
}

.timeline p {
  color: #d9e8ff;
}

.faq {
  border-top: 1px solid rgba(143, 181, 255, 0.45);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-list details {
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 7px 7px 0 rgba(0, 82, 255, 0.14);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  list-style-position: inside;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: #4e5f7d;
  line-height: 1.65;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .mint-main-layout,
  .mint-card-body,
  .mint-gallery-preview,
  .gallery-wallet-panel,
  .gallery-heading,
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-random-button {
    width: 44px;
    min-height: 40px;
  }

  .stats-band,
  .metric-grid,
  .launch-shape-card,
  .timeline,
  .mint-grid,
  .wallet-panel,
  .wallet-balances {
    grid-template-columns: 1fr 1fr;
  }

  .wallet-panel {
    grid-template-columns: 1fr;
  }

  .wallet-panel-actions {
    justify-content: flex-start;
  }

  .launch-shape-card {
    grid-template-columns: 1fr;
  }

  .gallery-heading {
    display: grid;
  }

  .gallery-wallet-actions {
    justify-content: flex-start;
  }

  .filters {
    position: static;
    max-height: none;
  }

  .dialog-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .stats-band,
  .metric-grid,
  .launch-shape-card,
  .timeline,
  .mint-grid,
  .wallet-panel,
  .wallet-balances {
    grid-template-columns: 1fr;
  }

  .mint-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .launch-shape-card {
    padding: 12px;
  }

  .bento-panel {
    min-height: 0;
    padding: 16px;
  }

  .bento-fact-row {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gallery-tools,
  .wallet-panel-actions .button,
  .gallery-wallet-actions,
  .gallery-wallet-actions .button,
  .owned-toggle,
  input,
  select {
    width: 100%;
  }

  .owned-toggle input {
    width: 18px;
  }

  footer,
  .gallery-meta {
    flex-direction: column;
  }

  .rank-fields,
  .detail-traits {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .floating-astronaut {
    right: 18px;
    top: 22px;
    width: 118px;
    opacity: 0.72;
  }

  .hero-art-main {
    width: min(66%, 260px);
  }

  .hero-art-top,
  .hero-art-bottom {
    width: min(34%, 126px);
  }

  .hero-controls {
    left: 14px;
    top: 14px;
  }

  .mint-slider-marks {
    font-size: 0.74rem;
  }

  .my-shiboid-values {
    grid-template-columns: 1fr;
  }

  .token-chip {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }
}
