:root {
  --ink: #080a0c;
  --ink-soft: #101419;
  --paper: #f5f0e7;
  --muted: #a7adb4;
  --green: #a7ff2d;
  --green-dark: #6eb900;
  --purple: #b62cff;
  --pink: #ff3bc8;
  --gold: #ffc92f;
  --line: rgba(255,255,255,.14);
  --header-height: 78px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::selection { background: var(--green); color: #050705; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .045; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-height); padding: 0 4vw;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: linear-gradient(to bottom, rgba(5,7,8,.92), rgba(5,7,8,.55), transparent);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled { background: rgba(8,10,12,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; letter-spacing: -.05em; font-size: 1.28rem; width: max-content; }
.brand-mark { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border: 2px solid var(--green); color: var(--green); box-shadow: 0 0 20px rgba(167,255,45,.24); transform: rotate(-4deg); }
.nav { display: flex; gap: 28px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nav a { position: relative; padding: 10px 0; color: rgba(255,255,255,.78); }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--green); transition: right .25s; }
.nav a:hover { color: white; }
.nav a:hover::after { right: 0; }
.wallet-button { justify-self: end; color: var(--green); background: rgba(167,255,45,.06); border: 1px solid var(--green); border-radius: 999px; padding: 12px 18px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; box-shadow: 0 0 24px rgba(167,255,45,.12), inset 0 0 18px rgba(167,255,45,.07); transition: transform .2s, box-shadow .2s, background .2s; }
.wallet-button:hover { transform: translateY(-2px); background: rgba(167,255,45,.14); box-shadow: 0 0 28px rgba(167,255,45,.28); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: white; margin: 5px; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #0a0c12; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; transform: scale(1.015); animation: hero-in 1.8s cubic-bezier(.2,.65,.2,1) both; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,6,8,.94) 0%, rgba(4,6,8,.62) 33%, rgba(4,6,8,.08) 70%), linear-gradient(0deg, rgba(4,6,8,.9), transparent 45%), radial-gradient(circle at 58% 55%, transparent 10%, rgba(0,0,0,.14) 70%); }
.hero-copy { position: relative; z-index: 2; width: min(710px, 88vw); padding: 14vh 0 11vh 7vw; }
.eyebrow { margin: 0 0 18px; color: var(--green); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.072em; text-transform: uppercase; line-height: .86; }
h1 { font-size: clamp(4rem, 8.7vw, 9.7rem); margin-bottom: 28px; text-shadow: 0 8px 45px rgba(0,0,0,.6); }
h1 span { color: var(--paper); }
h1 em { color: var(--green); font-style: normal; text-shadow: 0 0 30px rgba(167,255,45,.3); }
.hero-intro { max-width: 580px; font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.65; color: rgba(255,255,255,.76); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-transform: uppercase; letter-spacing: .06em; font-weight: 900; font-size: .82rem; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #090b07; background: var(--green); box-shadow: 0 0 34px rgba(167,255,45,.25); }
.button-primary:hover { box-shadow: 0 0 42px rgba(167,255,45,.46); }
.button-ghost { border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: white; }
.scroll-cue { position: absolute; right: 4vw; bottom: 42px; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: .65rem; font-weight: 900; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 56px; background: linear-gradient(var(--green), transparent); animation: pulse-line 1.5s infinite; }

.ticker { overflow: hidden; color: #071000; background: var(--green); border-block: 1px solid rgba(0,0,0,.3); transform: rotate(-1deg) scale(1.02); position: relative; z-index: 4; }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { display: inline-block; padding: 16px 20px; font-weight: 950; font-size: clamp(.88rem, 1.5vw, 1.25rem); letter-spacing: .025em; }

.section { position: relative; padding: clamp(90px, 11vw, 170px) 6vw; }
.section-heading { margin-bottom: 60px; }
.section-heading.centered { text-align: center; }
h2 { margin-bottom: 0; font-size: clamp(3.2rem, 7vw, 8rem); }
h2 span { color: var(--green); }
.story { background: radial-gradient(circle at 20% 20%, rgba(182,44,255,.13), transparent 35%), var(--ink); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr); gap: 28px; align-items: stretch; }
.art-card { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-soft); }
.art-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.art-card:hover img { transform: scale(1.025); }
.art-card figcaption { position: absolute; left: 18px; bottom: 18px; padding: 9px 12px; color: var(--green); background: rgba(7,8,10,.75); backdrop-filter: blur(8px); border: 1px solid rgba(167,255,45,.2); border-radius: 999px; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; font-weight: 900; }
.story-copy { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, #12161b, #090b0d); }
.story-copy p { color: var(--muted); line-height: 1.75; }
.story-copy .lede { color: white; font-weight: 750; font-size: clamp(1.35rem, 2.4vw, 2.2rem); line-height: 1.24; letter-spacing: -.035em; }
.quote { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--green); font-weight: 900; font-style: italic; font-size: 1.15rem; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); align-items: center; gap: 7vw; min-height: 95vh; background: #0c0f13; overflow: hidden; }
.about::before { content: "JUNK"; position: absolute; right: -2vw; top: 4%; color: transparent; -webkit-text-stroke: 1px rgba(167,255,45,.11); font-size: 27vw; line-height: 1; font-weight: 1000; letter-spacing: -.1em; transform: rotate(4deg); }
.about-art { position: relative; z-index: 1; border-radius: 44% 56% 54% 46% / 52% 43% 57% 48%; overflow: hidden; border: 1px solid rgba(167,255,45,.25); box-shadow: 0 0 100px rgba(182,44,255,.15); }
.about-art img { width: 100%; aspect-ratio: 1.22; object-fit: cover; }
.coin-orbit { position: absolute; z-index: 3; width: 90px; aspect-ratio: 1; right: 7%; top: 9%; display: grid; place-items: center; color: #654400; font-size: 2.3rem; font-weight: 1000; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff2a0 0, #ffd84a 18%, #d88a00 58%, #704000 100%); border: 5px double #fff099; box-shadow: 0 0 35px rgba(255,201,47,.8); animation: coin-float 3s ease-in-out infinite; }
.about-copy { position: relative; z-index: 1; }
.about-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); line-height: 1.75; font-size: 1.04rem; }
.stat-strip { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.stat-strip div { padding: 22px 12px 22px 0; }
.stat-strip strong, .stat-strip span { display: block; }
.stat-strip strong { color: var(--green); font-size: clamp(1.55rem, 3vw, 2.9rem); letter-spacing: -.05em; }
.stat-strip span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; margin-top: 5px; }

.tokenomics { background: radial-gradient(circle at 50% 0%, rgba(167,255,45,.12), transparent 33%), #080a0c; }
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.token-card { position: relative; min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); }
.token-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(167,255,45,.16), transparent 30%); opacity: 0; transition: opacity .3s; }
.token-card:hover::before { opacity: 1; }
.card-number { position: absolute; top: 22px; right: 22px; color: var(--green); font-size: .68rem; letter-spacing: .15em; }
.token-card p { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.token-card h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.8rem); letter-spacing: -.055em; overflow-wrap: anywhere; }
.contract { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; padding: 24px 28px; border: 1px solid rgba(167,255,45,.22); border-radius: var(--radius); background: rgba(167,255,45,.045); }
.contract span { display: block; color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; margin-bottom: 7px; }
.contract code { color: rgba(255,255,255,.8); overflow-wrap: anywhere; }
.copy-button { border: 1px solid var(--green); background: transparent; color: var(--green); border-radius: 999px; padding: 11px 16px; cursor: pointer; font-weight: 850; text-transform: uppercase; font-size: .72rem; }

.how-to-buy { background: var(--green); color: #080a0c; }
.how-to-buy .eyebrow, .how-to-buy h2 span { color: #6044ff; }
.steps { border-top: 2px solid rgba(0,0,0,.72); }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,.27); }
.step > span { font-weight: 950; font-size: 1.7rem; }
.step h3 { margin: 0 0 7px; font-size: clamp(1.4rem, 2.7vw, 2.6rem); letter-spacing: -.05em; text-transform: uppercase; }
.step p { margin: 0; max-width: 700px; color: rgba(0,0,0,.65); line-height: 1.6; }
.disclaimer { margin: 28px 0 0; font-size: .76rem; font-weight: 700; color: rgba(0,0,0,.55); }

.roadmap { background: radial-gradient(circle at center, rgba(182,44,255,.13), transparent 50%), #0c0f13; overflow: hidden; }
.roadmap-line { position: absolute; left: 9vw; right: 9vw; top: 59%; height: 1px; background: linear-gradient(90deg, transparent, var(--purple), var(--green), transparent); }
.roadmap-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.roadmap-card { min-height: 330px; padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,10,12,.88); backdrop-filter: blur(10px); }
.roadmap-card:nth-child(2) { transform: translateY(55px); }
.roadmap-card span { color: var(--green); text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; font-weight: 900; }
.roadmap-card h3 { margin: 80px 0 15px; font-size: clamp(1.7rem, 3vw, 3rem); text-transform: uppercase; letter-spacing: -.06em; }
.roadmap-card p { color: var(--muted); line-height: 1.65; }

.gallery { background: #07090b; }
.gallery-header { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 40px; margin-bottom: 48px; }
.gallery-header p:last-child { color: var(--muted); line-height: 1.7; }
.storyboard { position: relative; width: 100%; padding: 0; border: 1px solid var(--line); background: #0b0d0f; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.storyboard img { width: 100%; transition: transform .6s; }
.storyboard:hover img { transform: scale(1.012); }
.storyboard span { position: absolute; right: 18px; bottom: 18px; padding: 11px 15px; border-radius: 999px; background: rgba(8,10,12,.8); color: white; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .11em; font-size: .65rem; font-weight: 900; backdrop-filter: blur(8px); }

.final-cta { position: relative; min-height: 82vh; padding: 120px 6vw; display: grid; place-items: center; text-align: center; overflow: hidden; background: #0a0d0e; }
.final-cta::before { content: ""; position: absolute; width: min(760px, 90vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(167,255,45,.2); box-shadow: 0 0 120px rgba(167,255,45,.13), inset 0 0 130px rgba(182,44,255,.08); }
.final-glow { position: absolute; width: 260px; aspect-ratio: 1; border-radius: 50%; background: var(--green); filter: blur(120px); opacity: .14; animation: glow-breathe 4s ease-in-out infinite; }
.final-content { position: relative; z-index: 1; }
.final-content .button { margin-top: 28px; }
.social-links { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.social-links a { display: grid; place-items: center; width: 54px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); font-weight: 900; transition: transform .2s, border-color .2s, color .2s; }
.social-links a:hover { transform: translateY(-4px) rotate(-4deg); border-color: var(--green); color: var(--green); }

footer { padding: 28px 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
footer .footer-note { justify-self: end; text-align: right; max-width: 410px; }

.modal, .lightbox { color: var(--paper); border: 1px solid rgba(167,255,45,.28); border-radius: var(--radius); background: #0e1215; box-shadow: 0 35px 100px rgba(0,0,0,.75); }
.modal { width: min(560px, calc(100% - 30px)); padding: 45px; }
.modal::backdrop, .lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.modal h2 { font-size: clamp(2.7rem, 7vw, 5rem); }
.modal > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.modal-close { position: absolute; top: 15px; right: 17px; width: 40px; aspect-ratio: 1; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: white; font-size: 1.5rem; cursor: pointer; }
.lightbox { width: min(96vw, 1700px); padding: 12px; }
.lightbox img { width: 100%; border-radius: calc(var(--radius) - 10px); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes hero-in { from { opacity: 0; transform: scale(1.09); } to { opacity: 1; transform: scale(1.015); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes coin-float { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(5deg); } }
@keyframes pulse-line { 0%,100% { opacity: .25; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes glow-breathe { 0%,100% { opacity: .1; transform: scale(.8); } 50% { opacity: .2; transform: scale(1.15); } }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; justify-self: end; cursor: pointer; }
  .nav { position: fixed; top: var(--header-height); left: 15px; right: 15px; display: grid; gap: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8,10,12,.96); backdrop-filter: blur(18px); transform: translateY(-20px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 8px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .wallet-button { display: none; }
  .story-grid, .about, .gallery-header { grid-template-columns: 1fr; }
  .about { padding-top: 110px; }
  .about-art { max-width: 800px; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .roadmap-card:nth-child(2) { transform: none; }
  .roadmap-line { display: none; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer .footer-note { justify-self: center; text-align: center; }
}

@media (max-width: 650px) {
  :root { --header-height: 68px; --radius: 18px; }
  .site-header { padding-inline: 18px; }
  .brand { font-size: 1.08rem; }
  .brand-mark { width: 30px; }
  .hero { min-height: 880px; align-items: flex-end; }
  .hero-image { object-position: 66% center; }
  .hero-vignette { background: linear-gradient(0deg, #06080a 0%, rgba(6,8,10,.68) 55%, rgba(6,8,10,.15) 100%), linear-gradient(90deg, rgba(6,8,10,.55), transparent); }
  .hero-copy { padding: 115px 22px 90px; width: 100%; }
  h1 { font-size: clamp(3.8rem, 18vw, 6rem); }
  h2 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-intro { font-size: .96rem; }
  .hero-actions .button { flex: 1 1 160px; }
  .scroll-cue { display: none; }
  .section { padding: 90px 20px; }
  .section-heading { margin-bottom: 38px; }
  .story-grid { gap: 16px; }
  .art-card { min-height: 330px; }
  .art-card img { object-position: center; }
  .story-copy { padding: 28px; }
  .about { gap: 45px; }
  .about-art { border-radius: 28px; }
  .about-art img { aspect-ratio: .92; object-position: 56% center; }
  .coin-orbit { width: 66px; font-size: 1.7rem; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip div { border-bottom: 1px solid var(--line); }
  .stat-strip div:last-child { border: 0; }
  .token-grid { grid-template-columns: 1fr; }
  .token-card { min-height: 200px; }
  .contract { align-items: flex-start; flex-direction: column; }
  .step { grid-template-columns: 48px 1fr; }
  .roadmap-card { min-height: 280px; }
  .roadmap-card h3 { margin-top: 55px; }
  .gallery-header { gap: 20px; }
  .final-cta { min-height: 720px; }
  .modal { padding: 38px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
