/* REALSTONK — Robinhood Chain stock-paired memecoin */
:root {
  --bg-deep: #050d1a;
  --bg: #0a1628;
  --bg-mid: #0f2340;
  --bg-card: rgba(12, 32, 58, 0.72);
  --navy: #132848;
  --yellow: #ffe600;
  --yellow-hot: #fff24a;
  --yellow-dim: rgba(255, 230, 0, 0.15);
  --green: #76b900;
  --green-bright: #8fd914;
  --green-dim: rgba(118, 185, 0, 0.18);
  --text: #e8eef8;
  --muted: #8fa3c0;
  --white: #ffffff;
  --line: rgba(255, 230, 0, 0.22);
  --line-green: rgba(118, 185, 0, 0.45);
  --glow-y: 0 0 28px rgba(255, 230, 0, 0.45);
  --glow-g: 0 0 28px rgba(118, 185, 0, 0.4);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --radius: 4px;
  --shell: min(1180px, calc(100% - 2.5rem));
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.nvda {
  color: var(--green-bright);
  font-weight: 700;
}

.accent-yellow {
  color: var(--yellow);
}

.accent-green {
  color: var(--green-bright);
}

/* ========== FX LAYER ========== */
.fx-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(20, 60, 120, 0.55), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(118, 185, 0, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(255, 230, 0, 0.06), transparent 50%),
    linear-gradient(180deg, #071222 0%, #0a1628 40%, #081420 100%);
}

#tickerCanvas,
#candleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.grid-floor {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 150, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 150, 220, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  opacity: 0.35;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orbFloat 14s ease-in-out infinite;
}

.glow-orb-a {
  width: 420px;
  height: 420px;
  top: 10%;
  left: -8%;
  background: rgba(255, 230, 0, 0.22);
}

.glow-orb-b {
  width: 380px;
  height: 380px;
  bottom: 15%;
  right: -6%;
  background: rgba(118, 185, 0, 0.2);
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(2, 6, 14, 0.75) 100%);
}

.arrow-rain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.arrow-rain span {
  position: absolute;
  display: block;
  opacity: 0;
  animation: arrowRise linear infinite;
  filter: drop-shadow(0 0 8px rgba(255, 230, 0, 0.7));
}

.arrow-rain span svg {
  display: block;
}

@keyframes arrowRise {
  0% { transform: translateY(110vh) rotate(-35deg); opacity: 0; }
  10% { opacity: 0.55; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-20vh) rotate(-35deg); opacity: 0; }
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(8, 18, 36, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
  box-shadow: var(--glow-y);
  animation: logoPulse 3.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 230, 0, 0.4); }
  50% { box-shadow: 0 0 28px rgba(255, 230, 0, 0.75); }
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.brand-copy small {
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav a {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
  box-shadow: var(--glow-y);
}

.nav a:hover {
  color: var(--yellow);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--yellow);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: var(--yellow-dim);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--yellow);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-yellow {
  background: var(--yellow);
  color: #0a1628;
  box-shadow: var(--glow-y);
}

.btn-yellow img {
  filter: brightness(0) saturate(100%);
}

.btn-yellow:hover {
  background: var(--yellow-hot);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 40px rgba(255, 230, 0, 0.65);
}

.btn-green {
  background: var(--green);
  color: #06100a;
  box-shadow: var(--glow-g);
}

.btn-green:hover {
  background: var(--green-bright);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-outline:hover {
  background: var(--yellow-dim);
  transform: translateY(-3px);
  box-shadow: var(--glow-y);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-bright);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

/* ========== SECTIONS ========== */
main {
  position: relative;
  z-index: 2;
}

.section {
  padding: 6.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--green-bright);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-style: italic;
  margin-bottom: 0.65rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 36rem;
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 2.5rem) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-frame {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transition: transform 0.35s ease-out;
}

.hero-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.35), transparent 70%);
  animation: heroGlow 4s ease-in-out infinite;
  filter: blur(20px);
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 88%;
  border-radius: 18px;
  border: 2px solid rgba(255, 230, 0, 0.55);
  box-shadow:
    0 0 0 1px rgba(118, 185, 0, 0.25),
    0 20px 60px rgba(0, 0, 0, 0.55),
    var(--glow-y);
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--green);
  border-style: solid;
  z-index: 3;
  animation: cornerBlink 2.5s ease-in-out infinite;
}

.c-tl { top: 0; left: 0; border-width: 3px 0 0 3px; }
.c-tr { top: 0; right: 0; border-width: 3px 3px 0 0; animation-delay: 0.4s; }
.c-bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; animation-delay: 0.8s; }
.c-br { bottom: 0; right: 0; border-width: 0 3px 3px 0; animation-delay: 1.2s; }

@keyframes cornerBlink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 12px var(--green); }
}

.hero-arrow {
  position: absolute;
  right: -6%;
  bottom: 12%;
  z-index: 4;
  width: 110px;
  height: 110px;
  color: var(--yellow);
  filter: drop-shadow(0 0 16px rgba(255, 230, 0, 0.8));
  animation: arrowPump 1.8s ease-in-out infinite;
}

@keyframes arrowPump {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, -10px) scale(1.08); }
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-green);
  background: var(--green-dim);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-bright);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green);
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.hero-copy .eyebrow {
  text-align: left;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.word-real {
  color: var(--white);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
}

.word-stonk {
  color: var(--yellow);
  text-shadow: var(--glow-y);
  animation: stonkFlicker 4s ease-in-out infinite;
}

@keyframes stonkFlicker {
  0%, 100% { filter: brightness(1); }
  48% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
  52% { filter: brightness(0.92); }
  54% { filter: brightness(1.2); }
  56% { filter: brightness(1); }
}

.hero-symbol {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contract-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
  padding: 0.7rem 0.85rem;
  background: rgba(5, 14, 28, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contract-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--yellow);
  flex-shrink: 0;
}

.contract-addr {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a1628;
  background: var(--yellow);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.copy-btn:hover {
  background: var(--yellow-hot);
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: var(--green);
  color: #06100a;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.hero-meta li {
  padding: 0.85rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 230, 0, 0.12);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.hero-meta li:hover::before {
  transform: scaleX(1);
}

.hero-meta span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.hero-meta strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Marquee */
.marquee {
  margin-top: auto;
  border-block: 1px solid var(--line);
  background: rgba(255, 230, 0, 0.04);
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--yellow);
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span {
  padding-right: 2rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hud-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(118, 185, 0, 0.25);
  backdrop-filter: blur(10px);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.hud-card:hover {
  transform: translateY(-8px);
  border-color: var(--yellow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), var(--glow-y);
}

.hud-corners::before,
.hud-corners::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--green);
  border-style: solid;
}

.hud-corners::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hud-corners::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.hud-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
}

.hud-icon svg {
  width: 40px;
  height: 40px;
}

.hud-icon.yellow { color: var(--yellow); filter: drop-shadow(0 0 8px rgba(255, 230, 0, 0.6)); }
.hud-icon.green { color: var(--green-bright); filter: drop-shadow(0 0 8px rgba(118, 185, 0, 0.6)); }

.hud-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.hud-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-banner-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(90deg, rgba(255, 230, 0, 0.08), rgba(118, 185, 0, 0.1));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.about-banner-strip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 230, 0, 0.12), transparent);
  animation: stripShine 5s ease-in-out infinite;
}

@keyframes stripShine {
  0% { left: -40%; }
  100% { left: 120%; }
}

.strip-logo-wrap {
  flex-shrink: 0;
}

.strip-logo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid var(--yellow);
  object-fit: cover;
}

.strip-copy {
  flex: 1;
  position: relative;
  z-index: 1;
}

.strip-copy h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.strip-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ========== HOW TO BUY ========== */
.howto {
  background: linear-gradient(180deg, transparent, rgba(118, 185, 0, 0.04), transparent);
}

.steps {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 230, 0, 0.12);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.step:hover {
  border-color: var(--yellow);
  transform: translateX(8px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  color: var(--yellow);
  text-shadow: var(--glow-y);
  line-height: 1;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.step-body p {
  color: var(--muted);
}

.step-pulse {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(118, 185, 0, 0.6);
  animation: stepPulse 2s ease-out infinite;
  transform: translateY(-50%);
}

@keyframes stepPulse {
  0% { box-shadow: 0 0 0 0 rgba(118, 185, 0, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(118, 185, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(118, 185, 0, 0); }
}

.howto-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ========== CHART ========== */
.chart-frame {
  border: 1px solid var(--line-green);
  background: rgba(5, 12, 24, 0.85);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(118, 185, 0, 0.12);
}

.chart-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(10, 28, 48, 0.95);
  border-bottom: 1px solid rgba(118, 185, 0, 0.25);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

.chart-label {
  margin-left: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  flex: 1;
}

.chart-external {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-bright);
  transition: color 0.25s;
}

.chart-external img {
  width: 16px;
  height: 16px;
  color: var(--green-bright);
}

.chart-external:hover {
  color: var(--yellow);
}

.chart-embed {
  position: relative;
  width: 100%;
  height: min(640px, 72vh);
  background: #0b1524;
}

.chart-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== JOIN US ========== */
.join-banner {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
  border: 2px solid rgba(255, 230, 0, 0.35);
  box-shadow: var(--glow-y), 0 24px 60px rgba(0, 0, 0, 0.45);
}

.join-banner-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: bannerKen 18s ease-in-out infinite alternate;
}

@keyframes bannerKen {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.join-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 13, 26, 0.55) 100%);
  pointer-events: none;
}

.join-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.join-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 230, 0, 0.15);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.join-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 0.35rem;
  color: var(--yellow);
  filter: drop-shadow(0 0 8px rgba(255, 230, 0, 0.4));
  transition: transform 0.3s;
}

.join-card span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.join-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.join-card:hover {
  transform: translateY(-8px);
  border-color: var(--yellow);
  background: rgba(255, 230, 0, 0.06);
  box-shadow: var(--glow-y);
}

.join-card:hover img {
  transform: scale(1.15);
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 20, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-disclaimer {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 36rem;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--yellow);
  transition: background 0.25s, transform 0.25s;
}

.footer-socials img {
  width: 18px;
  height: 18px;
}

.footer-socials a:hover {
  background: var(--yellow-dim);
  transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-copy .eyebrow {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .contract-box {
    margin-inline: auto;
  }

  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-arrow {
    right: 4%;
    width: 80px;
    height: 80px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-banner-strip {
    flex-direction: column;
    text-align: center;
  }

  .join-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: min(1180px, calc(100% - 1.5rem));
  }

  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: rgba(8, 18, 36, 0.97);
    border-bottom: 1px solid var(--line);
    gap: 1rem;
    align-items: stretch;
  }

  .nav.open a {
    padding: 0.75rem;
    border: 1px solid rgba(255, 230, 0, 0.1);
    text-align: center;
  }

  .header-actions.open {
    display: flex;
    position: absolute;
    top: calc(var(--header-h) + 14rem);
    left: 0;
    right: 0;
    padding: 0 1.25rem 1.25rem;
    background: rgba(8, 18, 36, 0.97);
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .chart-external span,
  .chart-label {
    display: none;
  }

  .chart-external {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .join-links {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .btn {
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
