:root {
--bg: #050505;
--panel: #151515;
--line: #2a2a2a;
--text: #f2f2f2;
--muted: #9a9a9a;
--cyan: #f7a52b;
--violet: #ff7a1a;
--orange: #ffd27a;
--radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0; background: var(--bg); color: var(--text);
font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, sans-serif;
}
.bg-grid {
position: fixed; inset: 0; z-index: -1; pointer-events: none;
background:
radial-gradient(900px 520px at 8% 0%, rgba(247,165,43,.22), transparent 62%),
radial-gradient(700px 500px at 100% 100%, rgba(255,122,26,.12), transparent 60%),
linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0/44px 44px,
linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0/44px 44px;
}
a { color: var(--cyan); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.mt { margin-top: 2.5rem; }
.muted { color: var(--muted); }

.top {
position: sticky; top: 0; z-index: 10;
display: flex; align-items: center; gap: 1.5rem;
padding: .9rem clamp(1rem, 4vw, 3rem);
background: rgba(8,8,8,.82); backdrop-filter: blur(10px);
border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; letter-spacing: .02em; }
.top nav { display: flex; gap: 1.2rem; margin-left: auto; }
.top nav a { color: var(--muted); font-size: .95rem; }
.top nav a:hover { color: var(--text); }
.top nav .x-link { display: inline-flex; align-items: center; }

.btn {
border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
padding: .65rem 1.2rem; font: inherit; font-weight: 600; color: var(--text); background: var(--panel);
transition: transform .1s, opacity .2s, border-color .2s;
}
.btn:hover { border-color: var(--cyan); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { border: 0; color: #050710; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.btn-block { width: 100%; padding: .9rem; font-size: 1.05rem; }
.btn-ghost.connected { border-color: var(--cyan); }

main { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
section { padding: 4rem 0; }

.hero { display: grid; grid-template-columns: 1.25fr 1fr; row-gap: 2rem; gap: 3rem; align-items: start; padding-top: 5rem; }
.badge {
display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px;
font-size: .8rem; letter-spacing: .12em; color: var(--cyan); background: rgba(124,247,255,.06);
}
h1 { font-size: clamp(1.7rem, 4.2vw, 3.4rem); margin: 1rem 0 0; white-space: nowrap; }
.grad { background: linear-gradient(90deg, var(--cyan), var(--violet) 60%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 36rem; }

.counter { margin-top: 2rem; max-width: 30rem; }
.counter-nums { display: flex; gap: 4.5rem; margin-bottom: 1.1rem; }
.counter-nums strong { display: block; font-size: 2.2rem; font-variant-numeric: tabular-nums; }
.counter-nums span { color: var(--muted); font-size: .9rem; display: block; margin-top: .35rem; }
.bar { height: 10px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet)); transition: width .8s ease; }

.mint-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.preview { aspect-ratio: 4 / 3; background: #000; }
.preview svg { display: block; width: 100%; height: 100%; }
.mint-body { padding: 1.4rem; }
.lbl { font-size: .85rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: .5rem; margin: .4rem 0 .6rem; }
.qty button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 1.3rem; cursor: pointer; }
.qty input { flex: 1; height: 44px; text-align: center; font: inherit; font-size: 1.2rem; font-weight: 700; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.hint { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.status { min-height: 1.4em; font-size: .9rem; margin: .8rem 0 0; color: var(--muted); word-break: break-word; }
.status.ok { color: #2dffb3; }
.status.err { color: #ff6b8a; }

.strip { overflow: hidden; padding: 1rem 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.strip-track { display: flex; gap: 1rem; width: max-content; animation: scroll 60s linear infinite; }
.strip-track > div { width: 140px; height: 140px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); flex: none; }
.strip-track svg { width: 100%; height: 100%; display: block; }
@keyframes scroll { to { transform: translateX(-50%); } }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { color: var(--cyan); }
.card p { color: var(--muted); margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps li { display: flex; gap: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.steps li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #050710; background: var(--cyan); }
.steps p { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }

.items-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.item svg { display: block; width: 100%; aspect-ratio: 1; }
.item .meta { padding: .5rem .7rem; font-size: .8rem; display: flex; justify-content: space-between; color: var(--muted); }
.item .meta b { color: var(--text); }

.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .7rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: .7rem 0 0; }

footer { display: flex; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 2rem) 3rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.modal-box { width: min(92vw, 380px); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; }
.modal-box h3 { margin-bottom: 1rem; }
.wallet-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: .6rem; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.wallet-opt:hover { border-color: var(--cyan); }
.wallet-opt small { color: var(--muted); font-weight: 400; }

@media (max-width: 860px) {
.hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
.cols, .steps { grid-template-columns: 1fr; }
.top nav a:not(.x-link) { display: none; }
.top #connectBtn { margin-left: auto; }
}

.top #connectBtn { border-radius: 10px; background: #1f1f1f; border: 1px solid #2a2a2a; color: #fff; padding: .6rem 1.3rem; font-weight: 600; }
.top #connectBtn:hover { background: #2a2a2a; border-color: var(--cyan); }
.top #connectBtn.connected { border-color: var(--cyan); }
.btn-primary { color: #1a1204; background: linear-gradient(90deg, #f7a52b, #ff7a1a); border-radius: 12px; }
.badge { background: rgba(247,165,43,.08); border-radius: 8px; }
.hero h1 .grad, .grad { background: linear-gradient(90deg, #ffd27a, #f7a52b 55%, #ff7a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mint-card, .card, .steps li, .faq details, .item { border-radius: 16px; }


.modal { background: rgba(0,0,0,.72); }
.modal-box.wm { position: relative; width: min(92vw, 500px); background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 22px; padding: 2rem 1.8rem 1.8rem; box-shadow: 0 30px 90px rgba(0,0,0,.7); }
.wm h3 { text-align: center; font-size: 1.5rem; margin: 0 0 .5rem; }
.wm .sub { text-align: center; color: var(--muted); margin: 0 0 1.4rem; font-size: .95rem; }
.wm .x { position: absolute; top: 1.2rem; right: 1.3rem; background: none; border: 0; color: #cfcfcf; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.wm .tabs { display: flex; gap: 1.8rem; border-bottom: 1px solid #2f2f2f; margin-bottom: 1.2rem; }
.wm .tab { background: none; border: 0; color: #cfcfcf; font: inherit; font-weight: 600; padding: 0 0 .7rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.wm .tab.on { color: var(--cyan); border-bottom-color: var(--cyan); }
.wm .opt { display: flex; align-items: center; gap: 1rem; width: 100%; margin: 0 0 .8rem; padding: .7rem .8rem; border-radius: 14px; border: 1px solid #333; background: #232323; color: #fff; font: inherit; font-size: 1.05rem; cursor: pointer; text-align: left; }
.wm .opt:hover { border-color: var(--cyan); background: #292929; }
.wm .opt small { margin-left: auto; color: var(--muted); font-size: .8rem; }
.wm .ico { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #000; }
.wm .none { color: var(--muted); text-align: center; padding: 1.2rem 0 .6rem; }

.mint-card { justify-self: end; width: 100%; max-width: 480px; }
@media (max-width: 860px) { h1 { white-space: normal; } .mint-card { justify-self: stretch; max-width: none; } }

.hero-head { grid-column: 1 / -1; }
.hero-copy { padding-top: .5rem; }

.counter { max-width: 34rem; }
.counter-row { display: flex; justify-content: space-between; margin-top: .6rem; color: var(--muted); font-size: .95rem; }
.counter-row b { color: #fff; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.bar { height: 10px; }
.bar-fill { background: linear-gradient(90deg, #f7a52b, #ff7a1a 60%, #ff5a3c); }


.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); padding-top: 3rem; row-gap: 1.5rem; }
.mint-card { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 680px; }
.mint-card .preview { aspect-ratio: auto; min-height: 100%; }
.mint-card .preview svg { height: 100%; }
.mint-body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .mint-card { grid-template-columns: 1fr; } .mint-card .preview { aspect-ratio: 4 / 3; } }


.claim { padding: 2rem 0 0; }
.claim-card { max-width: 480px; margin: 0 auto; background: #151515; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; }
.claim-card h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.claim-banner { margin: 1.2rem 0; padding: .9rem 1rem; border: 1px solid rgba(247,165,43,.45); background: rgba(247,165,43,.07); border-radius: 12px; font-size: .95rem; }
.cstep { border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1.3rem; }
.cstep.off { opacity: .45; pointer-events: none; }
.cstep h3 { font-size: 1rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.cstep .num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: #2a2a2a; border: 1px solid #3a3a3a; }
.cstep label { display: block; font-size: .85rem; color: var(--muted); margin: .6rem 0 .35rem; }
.cstep input { width: 100%; padding: .8rem .9rem; font: inherit; color: var(--text); background: #0d0d0d; border: 1px solid var(--line); border-radius: 12px; }
.cstep input:focus { outline: none; border-color: var(--cyan); }
.cstep .btn { margin-top: 1rem; }
.btn-gold { display: inline-block; color: #1a1204; background: linear-gradient(90deg, #f7a52b, #ff7a1a); border: 0; border-radius: 12px; }
.codebox { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem; border: 1px dashed #6b5a3a; border-radius: 12px; background: #0d0d0d; }
.codebox code { font-size: 1.15rem; letter-spacing: .08em; color: var(--cyan); }
.copy { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: .25rem .6rem; font-size: .8rem; cursor: pointer; }
.fine { color: var(--muted); font-size: .85rem; margin: .9rem 0 0; }
.cstep.check .btn { margin-top: .8rem; }
.btn-gold:disabled { opacity: .5; cursor: not-allowed; }
