@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Patrick+Hand&family=Inter:wght@700;900&display=swap');

*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{
  color:#101010;
  background:#111;
  font-family:"Patrick Hand", Inter, Arial, sans-serif;
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.05), transparent 20%),
    repeating-radial-gradient(circle at 30% 30%, rgba(255,255,255,.08) 0 1px, transparent 1px 5px),
    #111;
  z-index:-3;
}
.stage{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:42px 18px;
}
.paper{
  position:relative;
  width:min(1190px,100%);
  min-height:680px;
  display:grid;
  grid-template-columns:1.45fr .95fr;
  gap:34px;
  padding:38px 42px 36px;
  background:
    repeating-linear-gradient(0deg, rgba(82,143,160,.26) 0 2px, transparent 2px 37px),
    linear-gradient(90deg, transparent 0 9%, rgba(220,75,75,.18) 9% 9.4%, transparent 9.4%),
    #f4ebca;
  border:0;
  box-shadow:0 0 0 1px rgba(0,0,0,.35), 0 24px 90px rgba(0,0,0,.45);
  isolation:isolate;
}
.paper:before{
  content:"";
  position:absolute;
  inset:-10px;
  z-index:-1;
  background:#f4ebca;
  filter:url(#none);
  clip-path:polygon(1% 2%,4% 0,9% 1%,14% 0,20% 1%,26% 0,32% 1%,38% 0,44% 1%,50% 0,56% 1%,62% 0,68% 1%,74% 0,80% 1%,86% 0,92% 1%,99% 0,98% 7%,100% 15%,98% 24%,100% 34%,98% 44%,100% 52%,98% 61%,100% 72%,98% 82%,100% 91%,98% 99%,91% 98%,84% 100%,76% 98%,68% 100%,59% 98%,50% 100%,41% 98%,32% 100%,23% 98%,14% 100%,6% 98%,0 99%,2% 91%,0 82%,2% 73%,0 64%,2% 55%,0 47%,2% 38%,0 29%,2% 20%,0 11%);
}
.paper:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:repeating-radial-gradient(circle at 45% 30%, rgba(0,0,0,.08) 0 1px, transparent 1px 6px);
  opacity:.25;
  mix-blend-mode:multiply;
}
.doodle{
  position:absolute;
  font-weight:900;
  font-size:58px;
  color:#111;
  z-index:1;
}
.doodle-zap{left:48px;top:86px;transform:rotate(-22deg)}
.doodle-x{left:492px;top:52px;font-size:44px}
.doodle-skull{left:600px;top:50px;font-size:78px}
.left,.right{position:relative;z-index:2}
.left{text-align:center}
h1{
  margin:0;
  font-family:"Archivo Black", Inter, sans-serif;
  line-height:.78;
  letter-spacing:-4px;
  text-transform:uppercase;
  text-shadow:8px 8px 0 #111;
  -webkit-text-stroke:4px #111;
  color:white;
}
h1 span{
  display:block;
  font-size:clamp(64px,7vw,104px);
  letter-spacing:8px;
}
h1 strong{
  display:block;
  font-size:clamp(90px,10vw,150px);
}
.subtitle{
  margin:22px 0 20px;
  font-size:24px;
  font-weight:900;
  letter-spacing:1px;
}
.subtitle em{
  color:#e13022;
  font-style:normal;
}
.gallery{
  width:100%;
  max-width:650px;
  height:332px;
  margin:0 auto;
  border:5px solid #111;
  border-radius:6px;
  overflow:hidden;
  background:#f4ebca;
  box-shadow:4px 4px 0 rgba(0,0,0,.18);
}
.gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.bottom-buttons{
  width:100%;
  max-width:650px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin:28px auto 0;
}
.paper-btn{
  min-height:58px;
  display:grid;
  place-items:center;
  border:4px solid #111;
  color:#111;
  text-decoration:none;
  font-family:"Patrick Hand", Inter, sans-serif;
  font-size:23px;
  font-weight:900;
  letter-spacing:1px;
  box-shadow:5px 5px 0 #111;
  cursor:pointer;
}
.blue{background:#c6e2ef}
.green{background:#cfe4b1}
.right{
  display:flex;
  align-items:stretch;
}
.mint-box{
  width:100%;
  border:5px solid #111;
  border-radius:7px;
  padding:34px 30px 26px;
  background:rgba(244,235,202,.38);
}
.mint-box h2{
  display:inline-block;
  margin:0 0 28px;
  padding:4px 18px 6px;
  background:#f7d933;
  font-size:45px;
  line-height:1;
  transform:rotate(-1deg);
}
.stat-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:28px;
  font-weight:900;
  margin:20px 0;
}
.stat-line b{font-size:30px}
.amount-card{
  margin:36px 0 20px;
  border:4px solid #111;
  padding:18px;
  text-align:center;
}
.amount-card p{
  margin:0 0 14px;
  font-size:28px;
  font-weight:900;
}
.counter{
  display:grid;
  grid-template-columns:70px 1fr 70px;
  border:3px solid #111;
}
.counter button,.counter input{
  height:54px;
  border:0;
  background:transparent;
  color:#111;
  text-align:center;
  font-family:"Patrick Hand", Inter, sans-serif;
  font-size:34px;
  font-weight:900;
}
.counter button{
  cursor:pointer;
  border-right:3px solid #111;
}
.counter button:last-child{
  border-right:0;
  border-left:3px solid #111;
}
.note{
  text-align:center;
  font-size:22px;
  font-weight:900;
  line-height:1.08;
  margin:16px 0 20px;
}
.note span{
  background:#cfe6f1;
  padding:0 12px;
}
.big{
  width:100%;
  height:62px;
  border:4px solid #111;
  font-family:"Patrick Hand", Inter, sans-serif;
  font-size:31px;
  font-weight:900;
  letter-spacing:1px;
  box-shadow:5px 5px 0 #111;
  cursor:pointer;
  margin-top:14px;
}
.yellow{background:#f7d933}
.red{background:#ec4639}
.hiddenBtn{display:none}
#wallet,#status{
  margin:10px 0 0;
  font-size:18px;
  font-weight:900;
  text-align:center;
}
.progress-label{
  margin:22px 0 6px;
  font-size:22px;
  font-weight:900;
}
.progress-wrap{
  height:26px;
  border:4px solid #111;
  background:#f8f0d2;
}
#progressBar{
  height:100%;
  width:0%;
  background:#ec4639;
}
.supply-line{
  display:flex;
  justify-content:space-between;
  margin-top:8px;
  font-size:23px;
  font-weight:900;
}
.floating-connect{
  position:fixed;
  top:18px;
  right:18px;
  z-index:20;
  padding:9px 14px;
  border:3px solid #111;
  background:#f7d933;
  box-shadow:4px 4px 0 #111;
  font-family:"Patrick Hand", Inter, sans-serif;
  font-size:20px;
  font-weight:900;
  cursor:pointer;
}
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.68);
  display:grid;
  place-items:center;
  z-index:100;
}
.hidden{display:none}
.modal-card{
  width:min(390px,92vw);
  background:#f4ebca;
  border:5px solid #111;
  box-shadow:8px 8px 0 #111;
  padding:24px;
  position:relative;
}
.modal-card h3{margin:0 0 12px;font-size:34px}
.modal-card button{
  width:100%;
  height:50px;
  margin-top:10px;
  border:3px solid #111;
  background:#f7d933;
  font-family:"Patrick Hand", Inter, sans-serif;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
}
.close{
  position:absolute;
  right:8px;
  top:4px;
  width:32px!important;
  height:32px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:30px!important;
}
@media(max-width:980px){
  .paper{grid-template-columns:1fr;gap:26px;padding:28px}
  .right{display:block}
  .gallery{height:auto;aspect-ratio:1.4/1}
  .doodle{display:none}
}
@media(max-width:560px){
  .paper{padding:20px}
  h1 span{font-size:56px}
  h1 strong{font-size:82px}
  .bottom-buttons{grid-template-columns:1fr;gap:12px}
  .mint-box{padding:22px 16px}
  .mint-box h2{font-size:36px}
  .stat-line{font-size:22px}.stat-line b{font-size:22px}
}
