:root {
  --bg: #050505;
  --panel: #090909;
  --panel-2: #0d0d0d;
  --red: #e20b2a;
  --red-deep: #650010;
  --red-dark: #240006;
  --green: #86ff65;
  --bone: #efeae2;
  --muted: #8d8782;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--bone);
  background:
    radial-gradient(circle at 50% -10%, rgba(132, 0, 20, 0.25), transparent 34rem),
    linear-gradient(180deg, #080506 0%, #030303 38%, #050505 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

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

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  box-shadow: inset 0 0 150px 30px rgba(0,0,0,.72);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 40px), var(--max));
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .18em;
}
.brand-mark { color: var(--red); text-shadow: 0 0 16px rgba(226,11,42,.8); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative;
  color: #b8b0ab;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--red);
  transition: right .2s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }

.hero {
  position: relative;
  min-height: 100svh;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 118px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}

.hero::before {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -90px;
  top: 18%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,11,42,.13) 0%, rgba(226,11,42,.05) 38%, transparent 70%);
  filter: blur(5px);
}

.hero-copy { position: relative; z-index: 8; max-width: 620px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #d4cdc7;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .24em;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(134,255,101,.65);
}

h1 {
  margin: 0 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 9.8vw, 9.4rem);
  line-height: .76;
  letter-spacing: -.075em;
  font-weight: 900;
  color: #f6f0e8;
  text-shadow: 0 1px 0 #fff, 0 18px 70px rgba(226,11,42,.13);
}

.hero-line {
  margin: 26px 0 28px;
  color: #908986;
  font-size: clamp(.95rem, 1.6vw, 1.12rem);
  letter-spacing: .08em;
}

.ca-strip {
  width: min(100%, 560px);
  min-height: 52px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,7,7,.72);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.ca-label {
  color: var(--red);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.ca-strip code {
  overflow: hidden;
  color: #c7c0bb;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .78rem;
}
.icon-action {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #ddd5cf;
  background: transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.icon-action:hover { color: #fff; background: rgba(255,255,255,.06); transform: translateY(-1px); }
.icon-action:disabled { opacity: .28; cursor: default; transform: none; }
.icon-action svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.action-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-sm);
  color: #e9e2dc;
  background: #0c0c0c;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.action-button:hover {
  transform: translateY(-2px);
  border-color: rgba(226,11,42,.62);
  background: #111;
  box-shadow: 0 9px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
}
.action-button:disabled,
.action-button[aria-disabled="true"] {
  opacity: .46;
  cursor: default;
  transform: none;
  border-color: rgba(255,255,255,.08);
}
.action-primary {
  color: #fff;
  border-color: rgba(226,11,42,.74);
  background: linear-gradient(180deg, #bd071f, #73000f);
}
.action-primary:hover { background: linear-gradient(180deg, #d80a27, #850012); }
.button-icon { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; }
.stroke-icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-icon { border-radius: 6px; }
.dex-icon { border-radius: 5px; }
.icon-box { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; overflow: hidden; }
.icon-box-light { background: #fff; }
.x-icon { width: 13px; height: 13px; filter: none; }

.hero-art { position: relative; z-index: 5; min-width: 0; }
.arch-frame {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 46% 46% 22px 22px / 42% 42% 22px 22px;
  background: #020202;
  box-shadow:
    0 0 0 1px rgba(226,11,42,.12),
    0 40px 90px rgba(0,0,0,.55),
    0 0 80px rgba(226,11,42,.09);
}
.arch-frame::before {
  content: "";
  position: absolute;
  inset: 11px;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(226,11,42,.24);
  border-radius: inherit;
}
.arch-frame::after {
  content: "";
  position: absolute;
  inset: auto 14% 0;
  height: 1px;
  z-index: 5;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 22px rgba(226,11,42,.55);
}
.arch-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
}
.arch-glass {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 48.5%, rgba(255,255,255,.032) 49.5%, rgba(255,255,255,.032) 50.5%, transparent 51.5%),
    linear-gradient(180deg, transparent 68%, rgba(0,0,0,.26));
  mix-blend-mode: screen;
}
.sigil {
  position: absolute;
  z-index: 6;
  top: 50%;
  color: rgba(226,11,42,.75);
  font-size: 12px;
  text-shadow: 0 0 18px rgba(226,11,42,.8);
}
.sigil-left { left: 17px; }
.sigil-right { right: 17px; }
.hero-shadow {
  width: 76%;
  height: 36px;
  margin: -10px auto 0;
  border-radius: 50%;
  background: rgba(226,11,42,.11);
  filter: blur(22px);
}

.hero-bats { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bat { position: absolute; width: 88px; opacity: .48; filter: drop-shadow(0 0 8px rgba(226,11,42,.22)); }
.bat-1 { top: 18%; left: 44%; width: 54px; transform: rotate(-14deg); animation: batFloatA 7s ease-in-out infinite; }
.bat-2 { top: 13%; right: 2%; width: 72px; opacity: .44; transform: rotate(9deg); animation: batFloatB 8.6s ease-in-out infinite -1.7s; }
.bat-3 { top: 67%; left: 38%; width: 46px; opacity: .32; transform: rotate(15deg); animation: batFloatA 9.2s ease-in-out infinite -2.6s; }
.bat-4 { bottom: 11%; right: 0; width: 92px; opacity: .28; transform: rotate(-11deg); animation: batFloatB 10s ease-in-out infinite -4s; }
.bat-5 { top: 8%; left: -20px; width: 62px; opacity: .24; transform: rotate(12deg); animation: batFloatA 8.2s ease-in-out infinite -3.2s; }

.scroll-mark {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.13);
  overflow: hidden;
}
.scroll-mark span { display: block; width: 1px; height: 12px; background: var(--red); animation: scrollLine 2s ease-in-out infinite; }

.content-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 110px 0;
}
.section-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}
.section-head > span { color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.section-head h2 { margin: 0; font-size: .72rem; letter-spacing: .2em; }
.section-head > div { height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.16), transparent); }

.post-section { border-top: 1px solid rgba(255,255,255,.08); }
.post-layout { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(34px, 7vw, 110px); }
.post-copy { max-width: 420px; }
.section-kicker { margin: 0 0 12px; color: var(--green); font-size: .68rem; font-weight: 900; letter-spacing: .18em; }
.post-copy h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .94; letter-spacing: -.05em; }
.post-copy > p:not(.section-kicker) { margin: 22px 0 24px; color: var(--muted); line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #eee7e1; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.text-link span { color: var(--red); transition: transform .18s ease; }
.text-link:hover span { transform: translate(2px,-2px); }

.tweet-shell {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 38px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(226,11,42,.08), transparent 35%),
    #080808;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.tweet-shell .twitter-tweet { margin: 0 auto !important; width: 100% !important; }
.tweet-corner { position: absolute; width: 34px; height: 34px; pointer-events: none; }
.corner-tl { left: -1px; top: -1px; border-left: 1px solid var(--red); border-top: 1px solid var(--red); border-radius: var(--radius) 0 0 0; }
.corner-br { right: -1px; bottom: -1px; border-right: 1px solid var(--red); border-bottom: 1px solid var(--red); border-radius: 0 0 var(--radius) 0; }

.chart-section { padding-top: 90px; }
.chart-frame {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius);
  background: #060606;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}
.chart-topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: #0b0b0b;
}
.chart-brand { display: flex; align-items: center; gap: 10px; color: #d9d3ce; font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.chart-brand img { width: 24px; height: 24px; border-radius: 5px; }
.chart-topbar > a { color: #918b86; font-size: .66rem; font-weight: 900; letter-spacing: .12em; transition: color .18s ease; }
.chart-topbar > a:hover { color: var(--green); }
.chart-stage { position: relative; height: min(620px, 72vw); min-height: 420px; background: #050505; }
#dex-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; }
.chart-empty { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, rgba(9,9,9,.8), #050505); }
.chart-grid {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 58px 58px;
}
.chart-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(134,255,101,.035) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: scanner 6s linear infinite;
}
.chart-empty svg { position: absolute; inset: 18% 0 12%; width: 100%; height: 70%; }
.chart-line-glow { fill: none; stroke: rgba(226,11,42,.16); stroke-width: 13; filter: blur(9px); }
.chart-line { fill: none; stroke: var(--red); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: drawChart 3.5s ease forwards .4s; }
.chart-empty-mark {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: rgba(255,255,255,.22);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  min-height: 92px;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #7c7671;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.footer-bat { opacity: .55; }
.footer-bat img { width: 54px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 100;
  max-width: calc(100% - 32px);
  transform: translate(-50%, 18px);
  padding: 11px 15px;
  border: 1px solid rgba(226,11,42,.42);
  border-radius: 10px;
  color: #f6f0e8;
  background: rgba(8,8,8,.92);
  box-shadow: 0 16px 60px rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%,0); }

@keyframes batFloatA {
  0%,100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 7px -13px; rotate: 3deg; }
}
@keyframes batFloatB {
  0%,100% { translate: 0 0; rotate: 0deg; }
  50% { translate: -9px 10px; rotate: -4deg; }
}
@keyframes scrollLine {
  0% { transform: translateY(-13px); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(34px); opacity: 0; }
}
@keyframes scanner { to { transform: translateX(100%); } }
@keyframes drawChart { to { stroke-dashoffset: 0; } }

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 125px;
    text-align: center;
  }
  .hero-copy { margin: 0 auto; }
  .eyebrow { justify-content: center; }
  .ca-strip { margin-inline: auto; text-align: left; }
  .hero-actions { justify-content: center; }
  .hero-art { width: min(88vw, 620px); margin: 4px auto 0; }
  .arch-frame { margin-inline: auto; }
  .hero::before { width: 500px; height: 500px; right: 50%; transform: translateX(50%); top: 48%; }
  .bat-1 { left: 10%; top: 12%; }
  .bat-2 { right: 6%; top: 24%; }
  .bat-3 { left: 5%; top: 58%; }
  .bat-4 { right: -18px; bottom: 7%; }
  .post-layout { grid-template-columns: 1fr; }
  .post-copy { text-align: center; margin: 0 auto; }
}

@media (max-width: 640px) {
  .site-header { width: min(calc(100% - 28px), var(--max)); padding-top: 18px; }
  .nav { gap: 15px; }
  .nav a { font-size: .64rem; }
  .hero,
  .content-section,
  .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 104px; padding-bottom: 56px; gap: 26px; }
  h1 { margin-bottom: 22px; font-size: clamp(3.9rem, 21vw, 6.3rem); }
  .hero-line { margin: 18px 0 22px; }
  .ca-strip { min-height: 48px; gap: 10px; padding-left: 12px; }
  .ca-strip code { font-size: .69rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .action-button { width: 100%; min-height: 52px; padding: 0 10px; font-size: .65rem; }
  .hero-art { width: 100%; }
  .arch-frame { border-radius: 42% 42% 16px 16px / 34% 34% 16px 16px; }
  .scroll-mark { display: none; }
  .content-section { padding: 78px 0; }
  .section-head { margin-bottom: 34px; }
  .tweet-shell { padding: 10px; min-height: 320px; }
  .chart-section { padding-top: 54px; }
  .chart-stage { min-height: 410px; height: 115vw; max-height: 560px; }
  .chart-empty-mark { right: 16px; bottom: 16px; }
  .site-footer { min-height: 76px; }
  .footer-bat img { width: 42px; }
}

@media (max-width: 390px) {
  .hero-actions { grid-template-columns: 1fr; }
  .brand { font-size: .72rem; }
  .nav a { font-size: .58rem; }
}

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