/* GAINS mint page — place this file at css/mint.css */

.mint-page-body {
  background: #000;
  color: #fff;
  min-height: 100%;
}

.mint-wrapper {
  min-height: 100vh;
  background: #000;
}

.mint-nav-active {
  color: #ffda3e;
  text-shadow: 0 0 .55rem rgba(255,218,62,.35);
}

.mint-main {
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

.mint-hero {
  position: relative;
  min-height: calc(100vh - 3rem);
  padding: 9.25rem 0 7rem;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,218,62,.075), transparent 30rem),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #000;
  background-size: auto, 46px 46px, 46px 46px, auto;
}

.mint-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .4;
  background: url(../img/BGHERO.jpg) center/cover no-repeat;
  filter: grayscale(1) contrast(1.25) brightness(.34);
}

.mint-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,0,0,.25), #000 95%);
}

.mint-hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,.045) 4px);
  mix-blend-mode: soft-light;
}

.mint-hero__glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  z-index: -1;
  filter: blur(7rem);
  background: rgba(255,218,62,.08);
  pointer-events: none;
}

.mint-hero__glow--left { left: -15rem; top: 28%; }
.mint-hero__glow--right { right: -15rem; bottom: 2%; }

.mint-heading {
  max-width: 58rem;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.mint-heading__eyebrow {
  display: inline-block;
  margin-bottom: 1.15rem;
  color: #ffda3e;
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mint-heading h1 {
  color: #fff;
  font-family: "Muller Next ExtraCond Trial", "Muller Next Expanded Trial", sans-serif;
  font-size: clamp(4.6rem, 8vw, 8rem);
  font-weight: 750;
  line-height: .79;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.mint-heading h1 span {
  color: #ffda3e;
  text-shadow: 0 0 1.7rem rgba(255,218,62,.18);
}

.mint-heading p {
  max-width: 42rem;
  margin: 1.55rem auto 0;
  color: rgba(255,255,255,.72);
  font-family: "Muller Next Trial", "Muller Next Expanded Trial", sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: -.025em;
}

.mint-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 31rem) minmax(27rem, 39rem);
  justify-content: center;
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
}

.mint-preview-wrap { width: 100%; }

.mint-preview {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border: .125rem solid rgba(255,255,255,.9);
  border-radius: .5rem;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,218,62,.18), transparent 35%),
    linear-gradient(145deg, #15130c 0%, #050505 54%, #0d0c07 100%);
  box-shadow: 0 0 0 .45rem rgba(0,0,0,.9), 0 0 0 .58rem rgba(255,218,62,.55), 0 0 3rem rgba(255,218,62,.11);
}

.mint-preview::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255,218,62,.25);
  border-radius: .25rem;
  pointer-events: none;
}

.mint-preview__grid {
  position: absolute;
  inset: 0;
  opacity: .28;
  background:
    linear-gradient(rgba(255,218,62,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,218,62,.07) 1px, transparent 1px);
  background-size: 1.45rem 1.45rem;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.mint-preview__coin {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 62%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: .16rem solid #ffda3e;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,218,62,.16), rgba(0,0,0,.97) 68%);
  box-shadow: inset 0 0 2rem rgba(255,218,62,.13), 0 0 2.5rem rgba(255,218,62,.17);
}

.mint-preview__coin::before,
.mint-preview__coin::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,218,62,.45);
}

.mint-preview__coin::before { inset: 8%; }
.mint-preview__coin::after { inset: 18%; }

.mint-preview__coin img {
  position: relative;
  z-index: 2;
  width: 72%;
  max-height: 45%;
  object-fit: contain;
  filter: drop-shadow(0 0 1rem rgba(255,218,62,.25));
}

.mint-preview__label {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 82%;
  padding: .72rem 1rem .6rem;
  border: .125rem solid #ffda3e;
  border-radius: .25rem;
  color: #ffda3e;
  background: rgba(0,0,0,.87);
  box-shadow: 0 0 1rem rgba(255,218,62,.12);
  font-size: clamp(.78rem, 1.2vw, 1rem);
  font-weight: 750;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.mint-preview__serial {
  position: absolute;
  top: 1.65rem;
  right: 1.65rem;
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  letter-spacing: .1em;
}

.mint-preview__corner {
  position: absolute;
  width: 2.3rem;
  height: 2.3rem;
  z-index: 5;
  pointer-events: none;
}
.mint-preview__corner--tl { top: .45rem; left: .45rem; border-top: .18rem solid #ffda3e; border-left: .18rem solid #ffda3e; }
.mint-preview__corner--tr { top: .45rem; right: .45rem; border-top: .18rem solid #ffda3e; border-right: .18rem solid #ffda3e; }
.mint-preview__corner--bl { bottom: .45rem; left: .45rem; border-bottom: .18rem solid #ffda3e; border-left: .18rem solid #ffda3e; }
.mint-preview__corner--br { bottom: .45rem; right: .45rem; border-bottom: .18rem solid #ffda3e; border-right: .18rem solid #ffda3e; }

.mint-preview-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 1.05rem;
  color: rgba(255,255,255,.47);
  font-size: .68rem;
  letter-spacing: .1em;
}

.mint-panel {
  position: relative;
  padding: clamp(1.65rem, 3vw, 2.5rem);
  border: .125rem solid #ffda3e;
  border-radius: .5rem;
  background: rgba(3,3,3,.92);
  box-shadow: 0 0 .5rem rgba(255,218,62,.38), 0 0 2.2rem rgba(255,218,62,.08);
}

.mint-panel::before {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  top: -.125rem;
  left: -.125rem;
  border-top: .35rem solid #ffda3e;
  border-left: .35rem solid #ffda3e;
}

.mint-panel::after {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  right: -.125rem;
  bottom: -.125rem;
  border-right: .35rem solid #ffda3e;
  border-bottom: .35rem solid #ffda3e;
}

.mint-panel__topline,
.mint-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.42);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mint-panel__topline { padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.mint-panel__foot { padding-top: 1.15rem; }

.mint-status { color: #ffda3e; }
.mint-status i {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-right: .35rem;
  border-radius: 50%;
  background: #ffda3e;
  box-shadow: 0 0 .6rem #ffda3e;
  animation: mintPulse 1.5s ease infinite;
}

@keyframes mintPulse { 50% { opacity: .35; } }

.mint-stat {
  min-height: 6.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.mint-stat--supply {
  display: block;
  padding: 1.7rem 0 1.55rem;
}

.mint-stat__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.mint-stat__label {
  color: rgba(255,255,255,.55);
  font-size: clamp(.72rem, 1vw, .9rem);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mint-stat strong {
  color: #fff;
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.mint-stat--total strong { color: #ffda3e; text-shadow: 0 0 .9rem rgba(255,218,62,.22); }

.mint-progress {
  height: .46rem;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,218,62,.5);
  background: rgba(255,255,255,.06);
}

.mint-progress span {
  display: block;
  min-width: .28rem;
  height: 100%;
  background: #ffda3e;
  box-shadow: 0 0 .8rem #ffda3e;
}

.mint-quantity {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.mint-quantity button {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: .125rem solid rgba(255,218,62,.75);
  border-radius: .25rem;
  color: #ffda3e;
  background: rgba(255,218,62,.035);
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.mint-quantity button:disabled { opacity: .3; cursor: not-allowed; }
.mint-quantity span { min-width: 1.5rem; color: #fff; text-align: center; font-size: 1.3rem; font-weight: 750; }

.mint-wallet {
  width: 100%;
  min-height: 4.65rem;
  margin-top: 2rem;
  padding: .8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: .1875rem solid #ffda3e;
  border-radius: .5rem;
  background: #ffda3e;
  color: #000;
  box-shadow: 0 0 .45rem #ffda3e, 0 0 1.4rem rgba(255,218,62,.32);
  font-weight: 900;
  font-size: clamp(.85rem, 1.2vw, 1.05rem);
  letter-spacing: -.03em;
  text-align: center;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.mint-wallet:disabled {
  opacity: .4;
  cursor: not-allowed;
  box-shadow: none;
}

.mint-tx-status {
  margin-top: .75rem;
  min-height: 1.1em;
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  text-align: center;
}

.mint-ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: .125rem solid #fff;
  border-bottom: .125rem solid #fff;
  background: #ffda3e;
  color: #000;
}

.mint-ticker__track {
  width: max-content;
  padding: .7rem 0 .55rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: -.04em;
  text-transform: uppercase;
  animation: mintTicker 22s linear infinite;
}

.mint-ticker__track b { font-size: .72em; }

@keyframes mintTicker { to { transform: translateX(-50%); } }

@media (any-hover:hover) {
  .mint-wallet:hover {
    transform: translateY(-.15rem);
    background: #000;
    color: #ffda3e;
    box-shadow: 0 0 .65rem #ffda3e, 0 0 2rem rgba(255,218,62,.38);
  }
  .mint-quantity button:not(:disabled):hover {
    transform: translateY(-.1rem);
    background: rgba(255,218,62,.12);
    box-shadow: 0 0 .7rem rgba(255,218,62,.28);
  }
}

@media (max-width: 61.99875em) {
  .mint-hero { padding-top: 8.5rem; }
  .mint-layout { grid-template-columns: minmax(18rem, 26rem) minmax(24rem, 1fr); gap: 2.5rem; }
}

@media (max-width: 47.99875em) {
  .mint-hero {
    padding: 8.5rem 0 4rem;
    min-height: auto;
  }

  .mint-heading { margin-bottom: 3rem; }
  .mint-heading h1 { font-size: clamp(4rem, 18vw, 6.6rem); }
  .mint-heading p { padding: 0 .55rem; }

  .mint-layout {
    grid-template-columns: 1fr;
    max-width: 31rem;
    margin: 0 auto;
    gap: 3rem;
  }

  .mint-preview-wrap { width: 88%; margin: 0 auto; }
  .mint-panel { padding: 1.35rem; }
  .mint-stat { min-height: 5.5rem; }
  .mint-panel__topline, .mint-panel__foot { font-size: .58rem; }

  .header__container { padding-right: .9375rem; }
}

@media (max-width: 29.99875em) {
  .mint-heading__eyebrow { font-size: .72rem; }
  .mint-heading h1 { font-size: 3.75rem; }
  .mint-heading p { font-size: .94rem; }
  .mint-preview-wrap { width: 93%; }
  .mint-stat { gap: .8rem; }
  .mint-quantity { gap: .65rem; }
  .mint-quantity button { width: 2.25rem; height: 2.25rem; }
  .mint-wallet { min-height: 4.25rem; }
}
