/* CHADBOT landing page sections (hero styles live in hero.css; tokens shared) */
:root {
  --panel: #110b1d;
  --panel-2: #170f27;
  --gold: #e8b45a;
  --section-pad: clamp(72px, 10vw, 140px);
  --wrap: 1180px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { padding-bottom: var(--player-h); }
img { max-width: 100%; display: block; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--hot); color: #fff; padding: 10px 14px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* nav: solid once you leave the hero */
.nav { transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 4, 13, 0.9); border-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .25s ease, top .25s ease; }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* shared section scaffolding */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: var(--section-pad); position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.kicker { margin: 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: "// "; color: var(--hot); }
.section h2 {
  margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95;
  font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -.01em; text-wrap: balance;
}
.section h2 em { font-style: normal; font-family: var(--marker); text-transform: none; color: var(--hot); text-shadow: 0 0 22px rgba(255, 46, 154, .55); letter-spacing: 0; }
.lede { margin: 0; color: #d9d3e6; font-size: 16px; line-height: 1.6; max-width: 58ch; }

/* ticker band */
.ticker { background: var(--hot); color: #0a0610; overflow: hidden; border-block: 2px solid #0a0610; transform: rotate(-1.2deg); margin: -18px -10px 0; position: relative; z-index: 3; }
.ticker-track { display: flex; gap: 28px; width: max-content; padding: 14px 0; animation: tick 38s linear infinite; font-family: var(--display); text-transform: uppercase; font-size: clamp(16px, 2vw, 22px); white-space: nowrap; }
.ticker-track i { font-style: normal; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* music */
.music { background: radial-gradient(60% 50% at 85% 10%, rgba(255, 46, 154, .14), transparent 70%), var(--bg); }
.release { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.release-art { margin: 0; position: relative; }
.release-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -20px rgba(255, 46, 154, .45); }
.release-art figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: t; }
.tracklist li { border-bottom: 1px solid var(--line); }
.track {
  width: 100%; display: grid; grid-template-columns: 34px 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  background: none; border: 0; color: var(--ink); text-align: left; padding: 16px 6px; cursor: pointer; font: inherit;
  transition: background .2s ease;
}
.track:hover, .track[aria-current="true"] { background: rgba(255, 46, 154, .08); }
.track .num { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.track .pb { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; color: var(--hot); }
.track:hover .pb, .track[aria-current="true"] .pb { border-color: var(--hot); box-shadow: 0 0 14px rgba(255, 46, 154, .4); }
.track .tt { font-family: var(--display); font-size: clamp(16px, 1.9vw, 21px); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track .soon { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); margin-left: 8px; text-transform: uppercase; }
.track .len { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.release-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* videos */
.videos { background: linear-gradient(to bottom, var(--bg), #0b0716); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.video-grid > a:first-child { grid-column: span 2; grid-row: span 2; }
.vcard { position: relative; display: block; text-decoration: none; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.vcard img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease, filter .3s ease; filter: saturate(1.05); }
.vcard:hover img { transform: scale(1.04); filter: saturate(1.25); }
.vcard .vmeta { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(to top, rgba(7, 4, 13, .95), rgba(7, 4, 13, 0)); display: grid; gap: 4px; }
.vcard .vmeta small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.vcard .vmeta strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(16px, 2vw, 24px); }
.vcard .vplay { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 4, 13, .55); border: 2px solid var(--hot); box-shadow: 0 0 24px rgba(255, 46, 154, .5); font-size: 18px; }
.vcard[aria-disabled="true"] .vplay::after { content: "Soon"; position: absolute; top: 72px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.vcard:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* lore */
.lore { background: radial-gradient(50% 60% at 10% 40%, rgba(40, 236, 255, .09), transparent 70%), #0b0716; }
.lore-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.lore-art { margin: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.lore-art img { width: 100%; height: auto; border: 1px solid var(--line); }
.lore-art figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lore-art b { color: var(--cyan); font-weight: 600; }
.lore-body { display: grid; gap: 18px; }
.log { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; border-left: 1px solid var(--line); }
.log li { padding: 0 0 28px 26px; position: relative; }
.log li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--hot); box-shadow: 0 0 10px rgba(255, 46, 154, .6); }
.log h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: clamp(18px, 2vw, 24px); text-transform: uppercase; }
.log h3 span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--cyan); margin-bottom: 4px; }
.log p { margin: 0; color: #cfc8dd; line-height: 1.65; max-width: 58ch; }

/* token */
.token { background: radial-gradient(70% 60% at 50% 0%, rgba(255, 46, 154, .16), transparent 70%), var(--bg); }
.token h2 { font-family: var(--marker); text-transform: none; color: #fff; text-shadow: 0 0 26px rgba(255, 46, 154, .8); }
.token-card { border: 1px solid rgba(255, 46, 154, .45); background: linear-gradient(160deg, var(--panel-2), var(--panel)); padding: clamp(20px, 3.5vw, 40px); display: grid; gap: 26px; box-shadow: 0 0 60px -20px rgba(255, 46, 154, .5); }
.token-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.token-stats div { background: var(--panel); padding: 18px; display: grid; gap: 6px; min-width: 0; }
.token-stats dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.token-stats dd { margin: 0; font-family: var(--display); font-size: clamp(18px, 2.2vw, 26px); overflow-wrap: anywhere; }
.contract { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px dashed var(--line); }
.contract-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contract code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: 14px; color: var(--cyan); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.token-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.utility { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.utility li { padding: 22px; border-top: 2px solid var(--cyan); background: rgba(255, 255, 255, .02); }
.utility h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 18px; }
.utility p { margin: 0; color: #cfc8dd; line-height: 1.6; font-size: 14px; }
.disclaimer { margin: 28px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 80ch; }

/* community */
.community { background: linear-gradient(135deg, #12081f 0%, #07040d 60%); border-block: 1px solid var(--line); }
.community-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.community-grid > div { display: grid; gap: 18px; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.waitlist input {
  flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 0 16px; font: 15px var(--mono); color: var(--ink);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .3); border-radius: 2px;
}
.waitlist input:focus { outline: 2px solid var(--cyan); outline-offset: 2px; border-color: transparent; }
.waitlist .btn { min-height: 50px; }
.form-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; min-height: 1.4em; color: var(--cyan); }
.form-msg.err { color: #ff7a9c; }
.socials { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.socials a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px; min-height: 64px;
  border: 1px solid var(--line); text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  transition: border-color .2s ease, background .2s ease;
}
.socials a:hover { border-color: var(--hot); background: rgba(255, 46, 154, .07); }
.socials a b { font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: .02em; }
.socials a[aria-disabled="true"] { opacity: .55; }
.socials a small { color: var(--muted); font-size: 10px; }
.socials.compact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 4px; }
.socials.compact a { min-height: 0; padding: 8px 10px; border: 0; }
.socials.compact a b { font-size: 12px; font-family: var(--mono); letter-spacing: .14em; }
.socials.compact small { display: none; }

/* merch */
.merch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.mcard { border: 1px solid var(--line); background: var(--panel); display: grid; grid-template-rows: auto 1fr; }
.mcard img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.mcard .mbody { padding: 18px; display: grid; gap: 8px; align-content: start; }
.mcard h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 20px; }
.mcard p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mcard .mfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
.mcard .price { font-family: var(--display); font-size: 18px; }
.mcard .tag { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(40, 236, 255, .4); padding: 4px 8px; }

/* footer */
.site-footer { padding-block: 56px 28px; background: #05030a; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.footer-grid p { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; padding-top: 8px; }
.site-footer nav a { text-decoration: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-footer nav a:hover { color: var(--ink); }
.legal { margin-top: 36px; font-size: 11px; color: #7d7590; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 16px); transform: translateX(-50%); z-index: 40; background: #1a1028; color: var(--ink); border: 1px solid var(--hot); padding: 12px 18px; font-size: 13px; max-width: calc(100vw - 32px); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }

/* responsive */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav nav {
    display: flex; position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: rgba(7, 4, 13, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  }
  .nav nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav nav a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav nav a[aria-current] { border-color: var(--line); color: var(--hot); }
  .nav .join { margin-left: auto; }
}
@media (max-width: 900px) {
  .release, .lore-grid, .community-grid { grid-template-columns: minmax(0, 1fr); }
  .lore-art { position: static; max-width: 420px; }
  .video-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .video-grid > a:first-child { grid-column: span 2; grid-row: auto; }
  .token-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility { grid-template-columns: minmax(0, 1fr); }
  .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer nav { justify-content: flex-start; }
  .socials.compact { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .video-grid > a:first-child { grid-column: auto; }
  .merch-grid { grid-template-columns: minmax(0, 1fr); }
  .socials { grid-template-columns: minmax(0, 1fr); }
  .track { grid-template-columns: 24px 34px minmax(0, 1fr) auto; gap: 10px; }
  .ticker { margin-top: -10px; }
}
main { overflow-x: clip; }
