:root {
  --orange: #FF9B37;
  --orange-2: #F5841F;
  --red: #CC1E1E;
  --red-2: #B21717;
  --ink: #1A1A1A;
  --white: #FFFFFF;
  --cream: #F5F5F5;
  --font: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
.o { color: var(--orange-2); font-weight: 800; }

/* ---------- top bar ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 60px;
  padding: 0 22px;
  background: var(--orange);
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 24px; color: var(--white); letter-spacing: 0.01em; }
.brand img { width: 36px; height: 36px; }
.ca-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  max-width: 560px;
  padding: 6px 8px 6px 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
}
.ca-label { font-weight: 900; font-style: normal; font-size: 14px; letter-spacing: 0.08em; }
.ca-pill code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, Consolas, monospace;
  font-style: normal;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-copy {
  flex: none;
  width: 30px; height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 15px;
  cursor: pointer;
}
.ca-copy:hover { background: rgba(255, 255, 255, 0.55); }
.bar-btns { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bar-btns button, .bar-btns a {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-style: italic;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.bar-btns button:hover, .bar-btns a:hover { background: var(--white); color: var(--orange-2); }
.bar-btns .sound { gap: 8px; }
.bar-btns .sound .bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bar-btns .sound .bars i { width: 3px; height: 4px; background: currentColor; border-radius: 1px; }
.bar-btns .sound.playing .bars i { animation: eq 0.8s ease-in-out infinite; }
.bar-btns .sound.playing .bars i:nth-child(2) { animation-delay: 0.2s; }
.bar-btns .sound.playing .bars i:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.bar-btns a.main { background: var(--red); border-color: var(--red); }
.bar-btns a.main:hover { background: var(--red-2); border-color: var(--red-2); color: var(--white); }

/* ---------- hero ---------- */
.hero { background: #EB9440; }
.hero video {
  display: block;
  width: 100%;
  max-height: 86vh;
  aspect-ratio: 1168 / 784;
  object-fit: cover;
  object-position: center;
}

/* ---------- tape (marquee) ---------- */
.tape {
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
}
.track { display: inline-flex; width: max-content; animation: tape 40s linear infinite; }
.track span { padding-right: 0.4em; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
main section { position: relative; padding: 90px 24px; overflow: hidden; }
.white { background: var(--white); }
.orange { background: var(--orange); color: var(--white); }
.wrap { position: relative; max-width: 1180px; margin: 0 auto; }
.wrap.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.wrap.center { text-align: center; }
.wrap.narrow { max-width: 720px; }
.blob { position: absolute; border-radius: 50%; background: rgba(204, 30, 30, 0.06); pointer-events: none; }
.b1 { width: 260px; height: 260px; left: -120px; top: 120px; }
.b2 { width: 300px; height: 300px; right: -90px; top: 170px; background: rgba(245, 132, 31, 0.10); }
.b3 { width: 280px; height: 280px; right: -60px; bottom: -40px; background: rgba(245, 132, 31, 0.10); }

h2.pill {
  display: inline-block;
  margin: 0 0 30px;
  padding: 14px 36px;
  border-radius: 999px;
  background: rgba(204, 30, 30, 0.08);
  color: var(--red);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}
h2.pill.light { background: rgba(255, 255, 255, 0.18); color: var(--white); }
h2.pill.small { font-size: 20px; padding: 12px 26px; background: rgba(245, 132, 31, 0.10); color: var(--orange-2); }
main p { margin: 0 0 18px; font-size: 21px; }
.copy p:last-child { margin-bottom: 0; }
.sub { font-size: 22px; font-weight: 600; margin-top: -8px; }
.char img { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18)); }

/* tokenomics */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); justify-content: center; gap: 24px; margin-top: 10px; }
.card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  border-top: 8px solid var(--red);
  padding: 28px 18px 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}
.card img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 18px; }
.card .k { display: block; color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.card .v { display: block; margin-top: 6px; font-weight: 700; font-size: 26px; }

/* how to buy */
.steps-wrap { margin-top: 10px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 38px; }
.steps li {
  position: relative;
  background: var(--red);
  color: var(--white);
  border-radius: 18px;
  padding: 62px 28px 22px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(204, 30, 30, 0.25);
}
.steps .badge { position: absolute; left: 50%; top: -40px; width: 92px; height: 92px; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3)); }
.steps .badge img { width: 92px; height: 92px; border-radius: 22%; }
.steps .badge.round img { border-radius: 50%; }
.steps .badge i {
  position: absolute;
  right: -6px; bottom: -2px;
  min-width: 30px; height: 30px;
  padding: 0 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 999px;
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}
.buttons a.fomo-btn { gap: 10px; padding-left: 14px; }
.buttons a.fomo-btn img { width: 34px; height: 34px; border-radius: 22%; }
.steps b { display: block; font-weight: 800; font-size: 26px; letter-spacing: 0.02em; text-transform: uppercase; }
.steps span { display: block; margin-top: 4px; font-size: 19px; }
#buy .buttons { margin-top: 46px; }

.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.buttons a {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.buttons a:hover { transform: translateY(-2px); }
.buttons a.btn-main { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(204, 30, 30, 0.3); }
.buttons a.btn-main:hover { background: var(--red-2); border-color: var(--red-2); }

/* pfp generator */
.gen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  max-width: 980px;
  margin: 10px auto 0;
  padding: 26px;
  background: var(--white);
  color: var(--ink);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.stage {
  position: relative;
  aspect-ratio: 1;
  background: #F3EEE8;
  border: 2px dashed var(--orange-2);
  border-radius: 14px;
  overflow: hidden;
  touch-action: none;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.stage.has-photo canvas { cursor: move; }
.drop {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #9A8F84;
  font-weight: 700;
  font-size: 22px;
  cursor: pointer;
}
.drop small { font-size: 16px; font-weight: 500; }
.drop-icon { font-size: 34px; color: var(--orange-2); font-style: normal; }
.stage.has-photo .drop { display: none; }
.controls label { display: grid; grid-template-columns: 56px 1fr 52px; align-items: center; gap: 14px; margin-bottom: 14px; font-weight: 700; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; }
.controls output { text-align: right; font-weight: 600; font-size: 16px; }
.controls input[type=range] { width: 100%; accent-color: var(--red); }
.gen-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.gen-btns button, .gen-btns a {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 2px solid #E6E6E6;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-style: italic;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
}
.gen-btns .orange-btn { background: linear-gradient(90deg, var(--red), var(--orange-2)); border-color: transparent; color: var(--white); }
.gen-btns .orange-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.gen-btns .dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hint { margin: 16px 0 0; font-size: 15px; color: #6E6761; }

/* disclaimer + footer */
#disclaimer p { font-size: 22px; }
footer {
  padding: 22px 24px;
  background: var(--ink);
  color: #CFCFCF;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .wrap.two { grid-template-columns: 1fr; gap: 40px; }
  .char { order: -1; }
  .char img { max-width: 220px; }
  .steps-wrap .char { order: 0; }
  .cards { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .gen { grid-template-columns: 1fr; padding: 18px; }
}
@media (max-width: 720px) {
  body { font-size: 18px; }
  .bar { height: auto; flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .brand { font-size: 20px; }
  .ca-pill { order: 3; flex-basis: 100%; max-width: none; }
  .bar-btns { margin-left: auto; }
  .bar-btns button, .bar-btns a { padding: 6px 12px; font-size: 14px; }
  .hero video { max-height: none; }
  .tape { font-size: 15px; padding: 8px 0; }
  main section { padding: 64px 18px; }
  h2.pill { font-size: 22px; padding: 12px 24px; letter-spacing: 0.16em; }
  main p { font-size: 19px; }
  .steps li { padding: 64px 18px 20px; }
  .steps b { font-size: 22px; }
  .steps span { font-size: 17px; }
  .buttons a { padding: 12px 22px; font-size: 18px; }
  .controls label { grid-template-columns: 48px 1fr 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { animation: none; }
}

/* Build refinements: launch states, keyboard access, and compact screens. */
.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; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
[aria-disabled="true"] { cursor: default; opacity: .7; }
.notice { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 12px); z-index: 100; width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 12px 20px; border-radius: 12px; background: var(--ink); color: white; font-size: 18px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.notice.visible { opacity: 1; transform: translate(-50%, 0); }
.card .k { font-size: 14px; }
@media (max-width: 440px) {
  .bar { gap: 8px; }
  .brand { gap: 6px; font-size: 18px; }
  .brand img { width: 28px; height: 28px; }
  .bar-btns { gap: 5px; }
  .bar-btns button, .bar-btns a { padding: 6px 8px; letter-spacing: 0; }
  .bar-btns .sound { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar-btns .sound.playing .bars i { animation: none; }
}
