@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:#15111d;
  color:#eee;
  font-family:"Press Start 2P","Courier New",monospace;
  overflow-x:hidden;
  image-rendering:pixelated;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 10% 20%,rgba(90,255,85,.10),transparent 22%),
    radial-gradient(circle at 90% 70%,rgba(67,207,255,.08),transparent 22%),
    linear-gradient(#15111d,#100d16);
  z-index:-2;
}
body:after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.08;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:18px 18px;
  z-index:-1;
}
.topbar{
  min-height:74px;
  border-bottom:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  background:rgba(17,14,25,.94);
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(10px);
  padding:12px 18px;
}
.mini{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  font-size:11px;
}
.mini img{
  width:42px;
  height:42px;
  object-fit:cover;
  image-rendering:pixelated;
}
.topbar nav{
  display:flex;
  gap:24px;
}
.topbar nav a{
  color:#a8a1b7;
  text-decoration:none;
  font-size:10px;
}
.topbar nav a:hover{color:#7cff4e}
.topbar button{
  background:#22202d;
  color:#fff;
  border:1px solid #4d485b;
  padding:12px 16px;
  border-radius:4px;
  font-family:inherit;
  font-size:9px;
}
main{
  width:min(1320px,90vw);
  margin:0 auto;
}
.hero{
  padding:135px 0 70px;
}
.live{
  color:#7cff4e;
  font-size:11px;
  margin:0 0 22px;
}
.hero h1{
  font-size:72px;
  line-height:1.05;
  margin:0 0 28px;
  color:#f4eefc;
  letter-spacing:-4px;
  text-shadow:7px 7px 0 rgba(0,0,0,.35);
}
.desc{
  max-width:860px;
  color:#c3bdd0;
  font-size:13px;
  line-height:2;
}
.punk-wall{
  display:grid;
  grid-template-columns:repeat(15,1fr);
  gap:7px;
  margin-top:34px;
}
.punk-wall img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  background:#5d8592;
  image-rendering:pixelated;
}
.actions{
  display:flex;
  gap:12px;
  margin-top:28px;
  flex-wrap:wrap;
}
.actions a,.mint-btn{
  display:inline-block;
  text-decoration:none;
  border:1px solid #4b4657;
  padding:16px 20px;
  border-radius:4px;
  color:#fff;
  background:#191621;
  cursor:pointer;
  font-family:inherit;
  font-size:10px;
}
.actions .primary{
  background:#64d1e9;
  color:#101018;
  border-color:#64d1e9;
}
.actions .green{
  background:#7cff4e;
  color:#101018;
  border-color:#7cff4e;
}
.mint{
  display:grid;
  grid-template-columns:1fr 430px;
  gap:50px;
  padding:64px 0;
  border-top:1px solid rgba(255,255,255,.14);
  border-bottom:1px solid rgba(255,255,255,.14);
  align-items:center;
}
.mint h2,.gallery h2,.perks h2{
  font-size:36px;
  line-height:1.35;
  margin:0 0 18px;
}
.mint h2 span,.gallery h2,.perks h2{color:#7cff4e}
.mint p{color:#c3bdd0;font-size:12px;line-height:2}
.mint-card{
  background:#1d1927;
  border:1px solid #393343;
  border-radius:8px;
  padding:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.mint-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  image-rendering:pixelated;
  border-radius:4px;
}
.mint-info{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:14px 0;
}
.mint-info div{
  background:#14111c;
  border:1px solid #383341;
  border-radius:4px;
  padding:12px;
}
.mint-info small{
  display:block;
  color:#8f879e;
  font-size:8px;
  margin-bottom:10px;
}
.mint-info b{font-size:10px;line-height:1.5}
.counter{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin:18px 0;
}
.counter button{
  width:50px;
  height:50px;
  background:#15111d;
  color:#fff;
  border:1px solid #595364;
  border-radius:4px;
  font-size:22px;
  font-family:inherit;
}
.counter input{
  height:50px;
  width:90px;
  background:#111;
  color:#fff;
  border:1px solid #595364;
  border-radius:4px;
  text-align:center;
  font-size:16px;
  font-family:inherit;
}
.total{
  text-align:center;
  margin:14px 0;
  font-size:10px;
}
.hiddenBtn{display:none}
#wallet,#status{
  text-align:center;
  color:#aaa;
  font-size:8px;
  line-height:1.6;
}
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  padding:38px 0;
}
.stats div{
  background:#1d1927;
  border:1px solid #393343;
  border-radius:6px;
  padding:24px;
}
.stats b{
  display:block;
  font-size:18px;
  color:#7cff4e;
  line-height:1.5;
}
.stats span{
  color:#bbb;
  font-size:9px;
}
.gallery,.perks{padding:60px 0}
.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:8px;
}
.grid img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  image-rendering:pixelated;
}
.perk-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.perk-grid div{
  background:#1d1927;
  border:1px solid #393343;
  border-radius:8px;
  padding:26px;
}
.perk-grid b{
  color:#64d1e9;
  font-size:18px;
}
.perk-grid h3{
  font-size:15px;
  line-height:1.4;
}
.perk-grid p{
  color:#bdb6c9;
  font-size:10px;
  line-height:1.8;
}
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:50;
}
.hidden{display:none}
.modal-card{
  width:min(430px,92vw);
  background:#1d1927;
  border:1px solid #7cff4e;
  border-radius:8px;
  padding:26px;
  position:relative;
}
.modal-card h3{
  font-size:18px;
}
.modal-card button{
  width:100%;
  margin-top:12px;
  padding:14px;
  background:#64d1e9;
  border:0;
  border-radius:4px;
  font-family:inherit;
  font-size:9px;
}
.close{
  position:absolute!important;
  right:10px;
  top:6px;
  width:auto!important;
  background:#111!important;
  color:#fff!important;
}
@media(max-width:900px){
  .topbar{height:auto;flex-wrap:wrap;padding:14px}
  .topbar nav{gap:12px;flex-wrap:wrap;justify-content:center}
  .hero{padding:70px 0 40px}
  .hero h1{font-size:38px;letter-spacing:-2px}
  .punk-wall{grid-template-columns:repeat(5,1fr)}
  .mint{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr}
  .grid{grid-template-columns:repeat(4,1fr)}
  .perk-grid{grid-template-columns:1fr}
}
