:root {
  color-scheme: dark;
  --page: #100c16;
  --panel: #181220;
  --ink: #fff7f1;
  --muted: #baadbf;
  --line: #36283d;
  --pink: #ff82b6;
  --peach: #ffb384;
  --mint: #81e6c3;
  --red: #ff9aa7;
  --display: "Space Grotesk", sans-serif;
  --body: Manrope, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 14px/1.55 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .58; cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
img { max-width: 100%; }
.wrap { width: min(100% - 80px, 1232px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 8; padding: 10px 18px; background: var(--page); transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { position: sticky; top: 0; z-index: 5; background: #100c16f2; border-bottom: 1px solid var(--line); }
.topbar { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font: 700 18px var(--display); letter-spacing: .14em; }
.wordmark img, .launch-copy > img { border: 1px solid #fe8ad370; border-radius: 10px; object-fit: cover; box-shadow: 0 0 30px #eb459728; }
nav { display: flex; gap: clamp(16px, 3vw, 44px); }
nav a, .footer > a:last-child { color: var(--muted); font-weight: 700; }
nav a:hover, .footer a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 45px; padding: 10px 16px; border-radius: 9px; border: 1px solid transparent; color: var(--ink); font-weight: 800; white-space: nowrap; transition: background .18s, border-color .18s, box-shadow .18s; }
.button.primary { color: #250e21; background: linear-gradient(110deg, var(--peach), var(--pink)); box-shadow: 0 5px 30px #ff69a62a; }
.button.primary:hover:not(:disabled) { box-shadow: 0 4px 35px #ff69a661; }
.button.ghost { background: #17101aca; border-color: #6d4d67; }
.button.ghost:hover, .button.wallet:hover { border-color: var(--pink); }
.button.wallet { background: #29172c; border-color: #5d3459; }
.button.compact { min-height: 36px; padding: 5px 13px; }
.hero {
  --scene-light: #ff6cae;
  --scene-warm: #ffaf7f;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #190f20;
}
.hero[data-scene="sunset"] { --scene-light: #ff8d9c; --scene-warm: #ffd29b; }
.hero[data-scene="night"] { --scene-light: #8bedda; --scene-warm: #ffa3ca; }
.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #1b1120 url("assets/neon-coast.webp") center 54% / cover no-repeat;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#130d18fc 3%,#130d18db 31%,#160e1988 68%,#160d1940),
    linear-gradient(0deg,#110b17 0%,#110b1710 35%,#110b1736);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg,transparent,var(--scene-light),var(--scene-warm),transparent);
  box-shadow: 0 0 20px var(--scene-light);
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(24px, 4vw, 62px);
  min-height: clamp(540px, 48vw, 690px);
  padding-block: 56px 65px;
}
.hero-content { position: relative; z-index: 1; min-width: 0; animation: arrive .5s ease-out both; }
.hero-content .overline { color: #ffb7ce; font-size: 11px; line-height: 1.45; }
.hero-content .overline span { flex: 0 0 25px; box-shadow: 0 0 12px var(--scene-light); }
.hero-visual { min-width: 0; animation: arrive .65s .07s ease-out both; }
.scene {
  position: relative;
  margin: 0;
  isolation: isolate;
  outline: 0;
}
.scene::before {
  content: "";
  position: absolute;
  inset: 12% -4% -6% 3%;
  border-radius: 50%;
  background: var(--scene-light);
  opacity: .32;
  filter: blur(55px);
  z-index: -1;
}
.scene-media {
  --cut: clamp(17px, 3vw, 42px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.38;
  clip-path: polygon(var(--cut) 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%,0 var(--cut));
  background: linear-gradient(135deg, var(--scene-warm), #ff73ab 35%, #432448 70%, var(--scene-light));
}
.scene-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg,#140e1ccd,transparent 27%);
}
.scene-art {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  object-position: 53% 39%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .35s ease, transform .5s ease;
}
.scene-art[data-frame="sunset"] { object-position: 61% 35%; }
.scene-art[data-frame="night"] { object-position: 66% 53%; }
.hero[data-scene="crew"] [data-frame="crew"],
.hero[data-scene="sunset"] [data-frame="sunset"],
.hero[data-scene="night"] [data-frame="night"] { opacity: 1; transform: none; }
.scene-credit {
  position: absolute;
  bottom: 13px;
  left: 15px;
  color: #fff1f6;
  font: 600 11px var(--display);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.scene-switcher { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; padding-top: 8px; }
.scene-switcher button {
  min-height: 39px;
  padding-inline: 5px;
  border: 1px solid #8e526f69;
  border-radius: 5px;
  background: #180e1dde;
  color: #e3c8da;
  font: 700 12px var(--display);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.scene-switcher button:hover { border-color: #e895c6; }
.scene-switcher button[aria-pressed="true"] {
  border-color: var(--scene-light);
  background: color-mix(in srgb,var(--scene-light) 21%,#190c1d);
  color: #fff;
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.overline { display: flex; align-items: center; gap: 10px; color: var(--pink); font: 700 11px var(--display); letter-spacing: .18em; }
.overline span { display: inline-block; width: 30px; height: 1px; background: var(--pink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.055em; line-height: 1.04; }
h1 {
  margin: 12px 0 19px;
  font: italic 900 clamp(62px, 8.3vw, 128px)/.84 "Barlow Condensed", var(--display);
  text-transform: uppercase;
  letter-spacing: -.035em;
  text-wrap: nowrap;
  text-shadow: 0 8px 26px #170a1d9c;
}
h1 em, .launch-copy em { font-style: normal; color: var(--pink); background: linear-gradient(110deg,#ffb78d 0%, #ff82bc 70%); background-clip: text; -webkit-text-fill-color: transparent; }
h1 em {
  display: block;
  padding: 0 .1em .13em 0;
  font-style: inherit;
  text-shadow: none;
  filter: drop-shadow(0 5px 18px #f46b9d36);
  background-image: linear-gradient(112deg,var(--scene-warm),#ff86bb 68%,var(--scene-light));
}
.intro { max-width: 390px; color: #e3d5e1; line-height: 1.65; font-size: 17px; }
.hero-actions, .dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 27px; }
.hero-actions .button { min-height: 49px; }
.tape { border-block: 1px solid var(--line); background: #19111f; }
.tape-inner { display: flex; align-items: stretch; min-height: 53px; }
.tape-label, .tape-items>a { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.tape-label { padding-right: 22px; text-transform: uppercase; font: 700 11px var(--display); letter-spacing: .14em; color: var(--muted); }
.tape-label i { width: 7px; height: 7px; border-radius: 100%; background: var(--pink); box-shadow: 0 0 9px #ff75ac; }
.tape-items { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #69425d transparent; }
.tape-items>a { padding-inline: 20px; border-left: 1px solid var(--line); font: 600 13px var(--display); }
.tape-items>a:hover { background: #2b1b30; }
.section { padding-top: 76px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 22px; }
h2 { margin-top: 8px; font-size: clamp(33px, 4.5vw, 58px); }
.terminal, .coin-card, .launch-panel { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.toolbar, .terminal-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 17px; }
.filters { display: flex; gap: 4px; }
.filters button { padding: 7px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font-weight: 800; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--pink); background: #352037; border-color: #55324f; }
.search { display: flex; align-items: center; gap: 8px; color: var(--muted); background: #100c16; border: 1px solid var(--line); border-radius: 8px; padding-inline: 11px; }
.search span { font-size: 21px; }
.search input { background: transparent; border: 0; color: var(--ink); min-width: 0; width: 100%; padding-block: 9px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 18px; border-top: 1px solid var(--line); white-space: nowrap; }
th { font: 600 11px var(--display); letter-spacing: .08em; color: var(--muted); background: #120e19; text-transform: uppercase; }
tbody tr:hover { background: #201728; }
th:last-child, td:last-child { text-align: right; }
.token { display: flex; align-items: center; gap: 11px; text-align: left; }
.token-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; overflow: hidden; border: 1px solid #80547a; border-radius: 9px; color: #ffe0ee; background: #3c2541; font: 700 16px var(--display); }
.token-icon img { width: 100%; height: 100%; object-fit: cover; }
.token strong { display: block; max-width: 250px; overflow: hidden; text-overflow: ellipsis; }
.token small, .preview small { display: block; color: var(--muted); font: 600 11px var(--display); }
.up { color: var(--mint); }
.down, .error { color: var(--red) !important; }
.terminal-foot { min-height: 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.text-button { border: 0; background: none; color: var(--pink); padding: 4px 0; font-weight: 800; }
.text-button:hover, .dialog-actions a:hover { text-decoration: underline; }
.trade-button { color: #ffb4d4; background: #2d1c32; padding: 6px 12px; min-height: 34px; border-color: #53314c; }
.trade-button:hover { border-color: var(--pink); }
.featured { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.coin-card { padding: 18px; min-width: 0; background: linear-gradient(150deg,#221629,#16101d 80%); }
.coin-card .token-icon { width: 46px; height: 46px; }
.coin-card .token > div { min-width: 0; }
.coin-card .address { margin-top: 12px; color: var(--muted); font: 600 12px var(--display); }
.coin-card .facts { display: flex; flex-wrap: wrap; gap: 5px 16px; margin: 13px 0 17px; font: 600 13px var(--display); font-variant-numeric: tabular-nums; }
.coin-card .facts span:first-child { color: var(--ink); }
.coin-card .links { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); }
.coin-card a, .dialog-actions > a, .receipt a { color: var(--pink); font-weight: 800; }
.dialog-actions a.primary { color: #250e21; }
.subhead { font-size: 23px; margin: 26px 0 12px; }
.empty { grid-column: 1/-1; border: 1px dashed var(--line); border-radius: 10px; padding: 18px; color: var(--muted); }
.launch-panel { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(28px,5vw,74px); padding: clamp(22px,5vw,58px); background: radial-gradient(ellipse at 0% 5%,#4a2343 0%,transparent 60%), var(--panel); }
.launch-copy .overline { margin-top: 22px; }
.launch-copy h2 { font-size: clamp(47px,6vw,82px); }
.launch-copy p:not(.overline) { margin-top: 16px; color: var(--muted); max-width: 330px; }
.preview { display: flex; align-items: center; gap: 12px; width: fit-content; padding: 12px 16px 12px 12px; margin-top: 22px; background: #200f25a6; border: 1px solid #6d3b63; border-radius: 12px; }
.preview div { min-width: 0; overflow-wrap: anywhere; }
.launch-form, #trade-form { display: grid; gap: 13px; }
.launch-form .row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.launch-form label, #trade-form label { display: grid; align-content: start; gap: 6px; color: var(--ink); font-weight: 800; }
.launch-form label small { color: var(--muted); font-weight: 500; text-transform: none; }
.launch-form input, .launch-form textarea, #trade-form input { width: 100%; min-width: 0; border: 1px solid #59435d; border-radius: 8px; background: #120d18; color: var(--ink); padding: 10px 12px; }
.launch-form textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #a697ad; opacity: 1; }
input::file-selector-button { border: 0; border-radius: 5px; margin-right: 8px; background: #4c2d48; color: var(--ink); padding: 4px 8px; cursor: pointer; }
.form-status { color: var(--muted); font-size: 12px; }
.form-status:empty { display: none; }
.receipt { color: var(--mint); background: #112720; border: 1px solid #2e503e; padding: 10px 13px; border-radius: 8px; font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr .65fr; gap: 10px; }
.gallery-grid a { position: relative; display: block; overflow: hidden; height: clamp(160px, 18vw, 250px); border: 1px solid var(--line); border-radius: 12px; }
.gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .25s; }
.gallery-grid a:hover img { transform: scale(1.035); }
.gallery-grid a span {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  padding: 18px 12px 10px;
  background: linear-gradient(transparent,#160d1bd9);
  font: 700 13px var(--display);
}
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-block: 25px; margin-top: 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer .wordmark { color: var(--ink); }
dialog { width: min(460px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; padding: 25px; border: 1px solid #6c4b68; border-radius: 15px; background: #21172a; color: var(--ink); }
dialog::backdrop { background: #0c0710bf; backdrop-filter: blur(6px); }
dialog h2 { font-size: 34px; overflow-wrap: anywhere; margin-bottom: 12px; }
dialog .dialog-actions { margin-top: 14px; }
dialog button.close { position: absolute; top: 11px; right: 11px; border: 0; background: transparent; color: var(--ink); min-width: 35px; min-height: 35px; font-size: 27px; }
.swap-panel { margin-top: 16px; padding: 18px; }
.swap-head { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.swap-head h3 { margin-top: 8px; font-size: 32px; }
.swap-head .dialog-actions { margin-top: 8px; font-size: 12px; }
#swap-widget { width: min(100%, 480px); margin-inline: auto; }
#toast { position: fixed; z-index: 7; right: 18px; bottom: 18px; max-width: calc(100% - 36px); overflow-wrap: anywhere; background: #33223a; border: 1px solid #6d4b6a; border-radius: 9px; padding: 11px 16px; box-shadow: 0 10px 30px #0007; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 44px); }
  .hero-layout { gap: 18px; min-height: 490px; padding-block: 42px; }
  h1 { font-size: clamp(45px,8.5vw,76px); }
  .section { padding-top: 56px; }
  .featured { grid-template-columns: repeat(2,minmax(0,1fr)); }
  th, td { padding-inline: 11px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 112px; }
  .wrap { width: calc(100% - 32px); }
  .topbar { min-height: 94px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding-block: 8px; }
  .topbar .wordmark { font-size: 15px; gap: 7px; }
  .topbar .wordmark img { width: 33px; height: 33px; }
  .topbar nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; }
  .topbar .wallet { min-height: 38px; font-size: 12px; padding-inline: 10px; }
  .hero-layout { grid-template-columns: minmax(0,1fr); min-height: auto; gap: 24px; padding-block: 31px 19px; }
  .hero-media { background-position: 64% center; }
  .hero-media::after { background: linear-gradient(0deg,#110b17 0%,#110b1780 44%,#110b17d1 83%); }
  .scene-media { aspect-ratio: 1.53; }
  .scene-switcher button { min-height: 42px; }
  h1 { font-size: clamp(43px, 14vw, 84px); margin-block: 9px; }
  .intro { font-size: 14px; }
  .hero-actions { margin-top: 16px; gap: 7px; }
  .hero-actions .button { font-size: 12px; padding-inline: 11px; }
  .tape-label { padding-right: 8px; font-size: 9px; gap: 6px; }
  .tape-items>a { padding-inline: 10px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 11px; }
  .filters button { padding: 7px 8px; font-size: 11px; }
  th:nth-child(4), td:nth-child(4), th:nth-child(5), td:nth-child(5) { display: none; }
  th, td { font-size: 11px; padding: 10px 7px; }
  td .token { gap: 6px; }
  td .token strong { max-width: 92px; }
  td .token-icon { width: 27px; height: 27px; border-radius: 5px; }
  td .trade-button { padding: 3px 7px; min-height: 29px; }
  .featured, .launch-panel { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid a { height: 125px; }
  .gallery-grid a:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
