@font-face {
    font-family: "DM Sans Variable";
    src: url("fonts/dm-sans-latin-variable.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
}

:root {
    color-scheme: dark;
    font-family: "DM Sans Variable", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { overflow: hidden; background: #07090b; }

.mint-preview {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    color: #f5f7f6;
    background:
        radial-gradient(circle at 50% 58%, rgba(37, 108, 64, .2), transparent 35%),
        radial-gradient(circle at 14% 22%, rgba(31, 74, 49, .18), transparent 30%),
        #07090b;
}

.mint-preview::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(rgba(255,255,255,.12) .45px, transparent .55px);
    background-size: 16px 16px;
    content: "";
    opacity: .1;
}

.mint-stage { position: relative; flex: 1; min-height: 0; }
.mint-intro { position: absolute; z-index: 2; top: clamp(12px, 5vw, 28px); left: 50%; width: min(80%, 520px); text-align: center; transform: translateX(-50%); }
.mint-intro p { margin: 0; color: #59eb78; font-size: clamp(8px, 1.45vw, 12px); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.mint-intro h1 { margin: 6px 0 0; font-size: clamp(22px, 4.5vw, 40px); font-weight: 570; line-height: 1.03; letter-spacing: -.04em; }
.mint-intro span { display: block; margin-top: 7px; color: rgba(255,255,255,.48); font-size: clamp(8px, 1.4vw, 12px); }

.mint-flow { position: absolute; inset: clamp(82px, 34%, 128px) 0 0; }
.mint-flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 420px) {
    .mint-intro { width: 88%; }
    .mint-flow { inset: 92px -10px 0; }
}

@media (max-height: 240px) {
    .mint-intro { top: 8px; }
    .mint-intro span { margin-top: 3px; }
    .mint-flow { inset-block: 66px 0; }
}
