/* GIGA CAT HERO STACK v20
   Requested mobile hero order:
   MC + value
   holders icon + value
   interactive 3D coin
   $GIGACAT
   MINT + address + COPY
   Keeps social links below.
*/

/* Stats become a clean vertical stack above the coin. */
.token-stats-row {
  width: 100% !important;
  max-width: 520px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 0 auto 14px !important;
  padding: 0 !important;
  text-align: center !important;
}

.token-stat {
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.token-stat-top {
  min-height: 0 !important;
  height: auto !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(243,221,175,.84) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .20em !important;
  text-transform: uppercase !important;
  transform: none !important;
}

.token-stat-icon {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  color: rgba(243,221,175,.88) !important;
  opacity: .95 !important;
  transform: none !important;
}

.token-stat-value {
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.99) !important;
  font-size: clamp(31px, 8.4vw, 46px) !important;
  font-weight: 900 !important;
  line-height: .94 !important;
  letter-spacing: -.045em !important;
  text-shadow: 0 9px 28px rgba(0,0,0,.28) !important;
}

/* MC is the dominant top line. */
.token-stat:first-child .token-stat-value {
  font-size: clamp(34px, 9.2vw, 50px) !important;
}

/* Holder icon is LEFT of the holder count, matching the MC-label/value rhythm. */
.token-stat:nth-child(2) .token-stat-top {
  order: 0 !important;
}
.token-stat:nth-child(2) .token-stat-value {
  order: 1 !important;
}

/* 3D coin: centered and level at rest. JS inline transform still owns rotation,
   so swipe/inertia/idle spinning remain fully functional. */
.coin-mark {
  margin: 8px auto 13px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.coin-mark::before,
.coin-mark::after {
  background: transparent !important;
}
.giga-coin3d,
.giga-coin3d-object,
.giga-coin3d-face {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
.giga-coin3d-object {
  transform: rotateX(0deg) rotateY(0deg);
}

/* Remove the four ecosystem icons beneath the coin entirely. */
.official-brand-row,
.ecosystem-row {
  display: none !important;
}

/* Token title directly below the 3D coin. */
.buy-panel h2,
.buy h2 {
  width: 100% !important;
  max-width: 640px !important;
  margin: 4px auto 14px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  color: #fff !important;
  font-size: clamp(52px, 14vw, 76px) !important;
  font-weight: 920 !important;
  line-height: .90 !important;
  letter-spacing: -.055em !important;
}

/* MINT + address + COPY: no card, no border, no dark fill. */
.buy-actions {
  width: 100% !important;
}

.contract {
  width: min(94%, 660px) !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 auto !important;
  padding: 3px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.contract:hover,
.contract:focus,
.contract:focus-visible,
.contract:active {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contract-label {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: rgba(243,221,175,.80) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.contract-value {
  min-width: 0 !important;
  flex: 0 1 auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  margin: 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: .015em !important;
}

.contract-copy {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: rgba(243,221,175,.80) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

/* Keep the existing secondary links, just slightly tighter after Mint. */
.social-row {
  margin-top: 17px !important;
}

@media (max-width: 520px) {
  .token-stats-row {
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .token-stat {
    gap: 7px !important;
  }

  .token-stat-top {
    font-size: 11px !important;
  }

  .token-stat-icon {
    width: 17px !important;
    height: 17px !important;
  }

  .coin-mark {
    margin-top: 7px !important;
    margin-bottom: 12px !important;
  }

  .buy-panel h2,
  .buy h2 {
    margin-top: 2px !important;
    margin-bottom: 12px !important;
    font-size: clamp(50px, 14.4vw, 66px) !important;
  }

  .contract {
    width: 96% !important;
    gap: 8px !important;
  }

  .contract-label,
  .contract-copy {
    font-size: 9px !important;
  }

  .contract-value {
    font-size: 10px !important;
  }
}
