:root {
  --yellow: #f6c900;
  --yellow-bright: #ffd900;
  --ink: #090a0b;
  --ink-2: #111316;
  --paper: #f7f2e7;
  --muted: #a8a9ac;
  --green: #00e676;
  --line: rgba(255,255,255,.12);
  --shell: min(1220px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: var(--ink);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.noise {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .035;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 76px; padding: 0 max(20px, calc((100vw - 1220px)/2));
  display: flex; align-items: center; justify-content: space-between;
  color: white; background: linear-gradient(to bottom, rgba(5,6,7,.94), rgba(5,6,7,.72));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  transition: height .25s ease, background .25s ease;
}
.site-nav.scrolled { height: 64px; background: rgba(5,6,7,.96); }
.brand { display: flex; gap: 10px; align-items: center; font-family: Impact, "Arial Black", sans-serif; letter-spacing: .02em; line-height: .84; }
.brand-mark {
  width: 38px; height: 38px; border: 2px solid var(--yellow); color: var(--yellow); border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; transform: skew(-8deg);
}
.brand-copy { font-size: 18px; }
.brand-copy b { color: var(--yellow); }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.nav-links a:not(.nav-cta) { opacity: .78; transition: .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { padding: 12px 17px; background: var(--yellow); color: #090a0b; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.5) inset; }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: white; margin: 5px 0; }

.hero { position: relative; margin-top: 76px; background: var(--yellow); overflow: hidden; }
.hero-image { width: 100vw; max-width: none; height: auto; object-fit: contain; object-position: center top; background: var(--yellow); }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.16), transparent 22%); pointer-events: none; }
.hero-ca {
  position: absolute; z-index: 3; top: 88%; left: 50%; transform: translateX(-50%);
  width: min(760px, 72vw); color: #090a0b;
}
.hero-ca-label {
  display: block; margin: 0 0 7px 3px; font-size: 10px; line-height: 1;
  font-weight: 950; letter-spacing: .18em; text-transform: uppercase;
}
.hero-ca-copy {
  width: 100%; min-height: 54px; padding: 8px 9px 8px 17px;
  display: flex; align-items: center; gap: 12px; border-radius: 9px;
  border: 2px solid #0a0b0c; color: #0a0b0c; background: rgba(255,216,0,.84);
  box-shadow: 5px 5px 0 #0a0b0c; cursor: pointer; text-align: left;
  backdrop-filter: blur(5px); transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.hero-ca-copy:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #0a0b0c; background: #ffe11a; }
.hero-ca-copy code {
  min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 800 13px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.copy-label {
  flex: 0 0 auto; min-width: 78px; padding: 10px 12px; border-radius: 6px;
  color: #fff; background: #0a0b0c; text-align: center; font-size: 10px;
  font-weight: 950; letter-spacing: .11em; text-transform: uppercase;
}

.hero-actions {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 20px; width: var(--shell);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hero-pill {
  color: white; background: rgba(6,7,8,.84); border: 1px solid rgba(255,255,255,.13); border-radius: 999px;
  padding: 12px 16px; font-size: 12px; font-weight: 900; letter-spacing: .1em; backdrop-filter: blur(12px);
}
.live-dot { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 12px var(--green); display: inline-block; border-radius: 50%; margin-right: 8px; }
.hero-buttons { display: flex; gap: 10px; }
.btn {
  min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .055em; font-size: 13px; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: #0b0c0e; color: white; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn-glass { color: white; background: rgba(9,10,11,.72); border-color: rgba(255,255,255,.2); backdrop-filter: blur(12px); }
.btn-black { background: #0b0c0e; color: white; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-outline { color: white; border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.2); }
.text-link { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid #111; padding-bottom: 4px; }

.origin { position: relative; min-height: 650px; background: var(--yellow); overflow: hidden; isolation: isolate; }
.origin-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; }
.origin-copy {
  width: min(620px, 47vw); margin-left: auto; margin-right: max(24px, calc((100vw - 1220px)/2)); padding: 98px 0 84px;
}
.eyebrow { display: inline-block; font-size: 12px; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.origin h1, h2 { margin: 0; font-family: Impact, "Arial Black", sans-serif; font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.02em; }
.origin h1 { font-size: clamp(46px, 5.6vw, 84px); max-width: 720px; }
.origin h1 em, h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px currentColor; text-shadow: none; }
.origin h1 em { color: #111; -webkit-text-stroke: 0; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; font-weight: 700; margin-top: 28px; max-width: 570px; }
.origin p:not(.lead) { max-width: 560px; line-height: 1.65; font-size: 15px; }
.scribble { font-family: "Comic Sans MS", cursive; font-style: italic; font-weight: 900; font-size: clamp(18px, 2vw, 28px); transform: rotate(-2deg); margin: 28px 0; width: max-content; max-width: 100%; border-bottom: 4px solid #111; }
.origin-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.token-bar { background: #111315; padding: 20px 0; border-block: 1px solid #292b2f; }
.token-grid { display: grid; grid-template-columns: .8fr 1.35fr .8fr .8fr 1fr; gap: 10px; }
.token-stat {
  min-height: 102px; padding: 18px 18px; display: flex; flex-direction: column; justify-content: center; gap: 7px;
  border: 1px solid #303236; border-radius: 10px; background: linear-gradient(145deg, #15171a, #0d0e10); color: white;
}
.token-stat span { color: #888c92; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 900; }
.token-stat strong { font-family: Impact, "Arial Black", sans-serif; color: var(--yellow); font-size: clamp(20px, 2vw, 30px); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.token-stat small { color: #60646a; font-size: 9px; letter-spacing: .13em; }
.chain-green { color: var(--green) !important; }

.dark-section { background: #0a0c0e; color: white; }
.statement { padding: 105px 0 110px; position: relative; overflow: hidden; }
.statement::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(246,201,0,.13), transparent 30%); pointer-events: none; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.gold { color: var(--yellow); }
h2 { font-size: clamp(48px, 6.5vw, 94px); }
.dark-section h2 em { -webkit-text-stroke: 1px var(--yellow); color: transparent; }
.split-heading p { margin: 0 0 7px; color: #b7b9bd; line-height: 1.7; font-size: 17px; max-width: 520px; }
.card-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.feature-card { min-height: 250px; border: 1px solid #272a2f; border-radius: 13px; padding: 24px; background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); transition: transform .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(246,201,0,.45); }
.card-number { color: var(--yellow); font-family: Impact, sans-serif; font-size: 18px; }
.feature-card h3 { margin: 52px 0 11px; font-family: Impact, "Arial Black", sans-serif; font-size: 26px; }
.feature-card p { color: #9da0a5; line-height: 1.6; margin: 0; font-size: 14px; }

.gallery-section { background: var(--paper); color: #111; padding: 100px 0 90px; overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.gallery-head h2 { font-size: clamp(58px, 8vw, 118px); }
.gallery-head p { max-width: 420px; line-height: 1.65; margin: 0 0 8px; font-weight: 600; }
.gallery-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 30vw); gap: 16px; overflow-x: auto; padding: 0 max(20px, calc((100vw - 1220px)/2)) 18px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.gallery-rail::-webkit-scrollbar { display: none; }
.gallery-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-card { padding: 0; border: 0; background: #111; border-radius: 14px; overflow: hidden; height: 400px; scroll-snap-align: start; cursor: zoom-in; box-shadow: 0 12px 35px rgba(0,0,0,.12); }
.gallery-card.wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-hint { text-align: center; font-size: 10px; letter-spacing: .18em; font-weight: 900; opacity: .45; margin-top: 10px; }

.meme-tape { overflow: hidden; background: var(--yellow); border-block: 2px solid #111; transform: rotate(-.5deg) scale(1.01); position: relative; z-index: 2; }
.tape-track { width: max-content; display: flex; gap: 32px; align-items: center; padding: 13px 0; animation: ticker 22s linear infinite; font-family: Impact, "Arial Black", sans-serif; font-size: 20px; letter-spacing: .06em; }
.tape-track b { font-size: 12px; }
@keyframes ticker { to { transform: translateX(-50%); } }


.community { position: relative; min-height: 620px; display: grid; place-items: center; color: white; background: url('assets/gallery/mic.webp') center 35% / cover no-repeat; }
.community-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,7,.93) 0%, rgba(5,6,7,.72) 45%, rgba(5,6,7,.22) 100%); }
.community-inner { position: relative; z-index: 1; }
.community h2 { max-width: 800px; font-size: clamp(64px, 9vw, 128px); }
.community p { max-width: 540px; color: #d6d6d6; font-size: 18px; line-height: 1.6; }
.community-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }


footer { background: #050607; color: white; padding: 54px 0 34px; border-top: 1px solid #222; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand { font-family: Impact, "Arial Black", sans-serif; font-size: 30px; line-height: .82; }
.footer-brand strong { color: var(--yellow); }
.footer-links { display: flex; gap: 24px; font-size: 13px; text-transform: uppercase; font-weight: 900; }
.footer-links a:hover { color: var(--yellow); }
.legal { border-top: 1px solid #202226; margin-top: 36px; padding-top: 24px; display: flex; justify-content: space-between; gap: 30px; color: #74777d; font-size: 11px; line-height: 1.6; }
.legal p:first-child { max-width: 800px; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translate(-50%, 25px); opacity: 0; pointer-events: none; background: #0d0e10; color: white; border: 1px solid #333; padding: 13px 18px; border-radius: 9px; font-size: 12px; font-weight: 800; transition: .2s; box-shadow: 0 15px 50px rgba(0,0,0,.3); }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(0,0,0,.92); opacity: 0; pointer-events: none; transition: opacity .2s; padding: 30px; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; right: 24px; top: 18px; color: white; background: none; border: 0; font-size: 44px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 28px, 760px); }
  .site-nav { height: 66px; padding: 0 14px; }
  .hero { margin-top: 66px; }
  .brand-copy { font-size: 15px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; left: 14px; right: 14px; top: 74px; padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 8px; background: rgba(8,9,10,.98); border: 1px solid #282a2e; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; }
  .hero-image { width: 100vw; height: auto; min-height: 0; object-fit: contain; object-position: center top; }
  .hero-ca { top: 88%; left: 50%; width: min(640px, calc(100vw - 40px)); transform: translateX(-50%); }
  .hero-actions { bottom: 12px; flex-direction: column; align-items: stretch; }
  .hero-pill { display: none; }
  .hero-buttons { justify-content: center; }
  .origin { min-height: 720px; }
  .origin-image { object-position: 31% center; opacity: .9; }
  .origin::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(90deg, transparent 15%, rgba(246,201,0,.2) 43%, rgba(246,201,0,.96) 67%); }
  .origin-copy { width: 50%; margin-right: 24px; padding-top: 70px; }
  .origin h1 { font-size: clamp(40px, 7vw, 64px); }
  .token-grid { grid-template-columns: repeat(3,1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 30px; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-rail { grid-auto-columns: minmax(300px, 72vw); }
}

@media (max-width: 650px) {
  .hero-image { width: 100vw; height: auto; min-height: 0; object-fit: contain; object-position: center top; }
  .hero-ca { position: static; transform: none; width: auto; padding: 12px 14px 4px; background: var(--yellow); }
  .hero-ca-label { margin-left: 0; }
  .hero-ca-copy { min-height: 50px; box-shadow: 4px 4px 0 #0a0b0c; }
  .hero-ca-copy code { font-size: 11px; }
  .copy-label { min-width: 70px; padding-inline: 9px; }
  .hero-actions { position: static; transform: none; padding: 12px 14px 16px; width: 100%; background: var(--yellow); }
  .hero-buttons { width: 100%; flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .origin { min-height: 940px; display: flex; align-items: flex-end; }
  .origin-image { height: 560px; top: 0; object-fit: cover; object-position: 30% 0; }
  .origin::after { background: linear-gradient(to bottom, transparent 32%, rgba(246,201,0,.88) 53%, var(--yellow) 69%); }
  .origin-copy { width: auto; margin: 0; padding: 520px 18px 60px; }
  .origin h1 { font-size: 46px; }
  .lead { font-size: 18px; }
  .token-grid { grid-template-columns: repeat(2,1fr); }
  .token-stat { min-height: 92px; padding: 14px; }
  .token-stat strong { font-size: 22px; }
  .statement, .gallery-section { padding-block: 72px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 35px; }
  .gallery-head { display: block; }
  .gallery-head p { margin-top: 18px; }
  .gallery-rail { grid-auto-columns: 84vw; padding-inline: 14px; }
  .gallery-card { height: 330px; }
  .community { min-height: 620px; background-position: 58% center; }
  .community-overlay { background: linear-gradient(to right, rgba(5,6,7,.95), rgba(5,6,7,.7)); }
  .community h2 { font-size: 62px; }
  .footer-top, .legal { flex-direction: column; align-items: flex-start; }
  .legal { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


@media (min-width: 981px) {
  .hero { width: 100vw; }
  .hero-image { width: 100vw; height: auto; }
}
