/* ═══════════════════════════════════════════════
   $INCOME - Universal High Income
   Theme: Beige / Black - Luxury Editorial Brutalism
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,600;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ── VARIABLES ── */
:root {
  --beige:       #e8e0d0;
  --beige-light: #f2ece0;
  --beige-dark:  #c8bfad;
  --cream:       #faf6ef;
  --black:       #0c0b09;
  --ink:         #1a1814;
  --charcoal:    #2e2b26;
  --mid:         #3d3a33;
  --muted:       #7a7468;
  --gold:        #c4a862;
  --gold-dim:    #8a7240;

  --font-display: 'Rajdhani', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --font-body:    'DM Sans', sans-serif;

  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--beige);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 168, 98, 0.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--beige);
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-logo .ticker {
  color: var(--gold);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.nav-more {
  position: relative;
}
.nav-more-toggle {
  cursor: pointer;
  color: var(--gold-dim) !important;
}
.nav-more-toggle:hover { color: var(--gold) !important; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--ink);
  border: 1px solid rgba(196,168,98,0.12);
  list-style: none;
  padding: 8px 0;
  padding-top: 20px;
  min-width: 160px;
  z-index: 200;
}
.nav-more:hover .nav-dropdown,
.nav-more.open .nav-dropdown {
  display: block;
}
.nav-dropdown li a {
  display: block;
  padding: 8px 20px;
  white-space: nowrap;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--beige);
  color: var(--black);
  padding: 11px 24px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid var(--beige);
}

.nav-cta:hover {
  background: transparent;
  color: var(--beige);
}

#navToggle {
  display: none;
  background: none;
  border: 1px solid rgba(196,168,98,0.3);
  color: var(--beige);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 8px 14px;
  cursor: pointer;
}

#navLinks.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: rgba(12,11,9,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,168,98,0.15);
  padding: 32px 24px;
  gap: 24px;
  z-index: 499;
}

#navLinks.open a { font-size: 13px; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,168,98,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,168,98,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(12,11,9,0.7) 100%);
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(196,168,98,0.07) 0%, transparent 65%);
  animation: glow 6s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  position: relative;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '────';
  margin: 0 16px;
  opacity: 0.35;
  letter-spacing: -2px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 190px);
  line-height: 0.88;
  color: var(--beige-light);
  position: relative;
  animation: fadeUp 0.9s 0.1s ease both;
}

.hero-title .word-gold {
  color: var(--gold);
  font-style: italic;
  display: block;
}

.hero-title .word-outline {
  -webkit-text-stroke: 1px var(--beige-dark);
  color: transparent;
  display: block;
}

.hero-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 32px auto;
  opacity: 0.5;
  animation: fadeUp 0.9s 0.2s ease both;
  position: relative;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--beige-dark);
  max-width: 560px;
  line-height: 1.7;
  position: relative;
  animation: fadeUp 0.9s 0.25s ease both;
}

.hero-sub strong {
  color: var(--beige);
  font-style: normal;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  position: relative;
  animation: fadeUp 0.9s 0.35s ease both;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--beige);
  color: var(--black);
  padding: 16px 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid var(--beige);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(196,168,98,0.4);
  color: var(--gold);
  padding: 16px 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(196,168,98,0.08);
}

/* hero scroll indicator removed */

/* Hero ticker */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--beige);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  padding: 9px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}

.ticker-track .sep { color: var(--gold-dim); }

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   MARQUEE DIVIDERS
══════════════════════════════════════ */
.marquee-bar {
  background: var(--charcoal);
  border-top: 1px solid rgba(196,168,98,0.12);
  border-bottom: 1px solid rgba(196,168,98,0.12);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--beige-dark);
  animation: marquee 20s linear infinite;
}

.marquee-inner .m-gold { color: var(--gold); opacity: 0.7; }

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

/* ══════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════ */
section {
  padding: 110px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 56px;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 110px);
  line-height: 0.9;
  color: var(--beige-light);
  margin-bottom: 48px;
}

.section-title .gold { color: var(--gold); font-style: italic; }
.section-title .outline {
  -webkit-text-stroke: 1px var(--beige-dark);
  color: transparent;
}

.section-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 24px 0;
}

/* ══════════════════════════════════════
   QUOTE SECTION
══════════════════════════════════════ */
.quote-section {
  background: var(--ink);
  border-top: 1px solid rgba(196,168,98,0.1);
  border-bottom: 1px solid rgba(196,168,98,0.1);
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}

.quote-drop {
  position: absolute;
  top: -60px; left: 24px;
  font-family: var(--font-display);
  font-size: 400px;
  color: rgba(196,168,98,0.04);
  line-height: 1;
  font-style: italic;
  pointer-events: none;
  user-select: none;
}

.quote-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1.25;
  color: var(--beige-light);
  margin-bottom: 32px;
}

.quote-text em {
  color: var(--gold);
  font-style: italic;
}

.quote-attr {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.quote-attr::before,
.quote-attr::after { content: '—'; color: var(--gold-dim); }

/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: rgba(196,168,98,0.1);
  border: 1px solid rgba(196,168,98,0.1);
}

.how-card {
  background: var(--ink);
  padding: 52px 40px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.how-card:hover { background: var(--charcoal); }

.how-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.5s ease;
}

.how-card:hover::after { width: 100%; }

.how-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 96px;
  color: rgba(196,168,98,0.07);
  line-height: 1;
  margin-bottom: 8px;
  user-select: none;
}

.how-icon { font-size: 28px; margin-bottom: 18px; }

.how-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--beige-light);
  margin-bottom: 14px;
}

.how-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}

.how-desc strong { color: var(--beige-dark); font-weight: 600; }

/* ══════════════════════════════════════
   TERMINAL
══════════════════════════════════════ */
.terminal-section {
  background: var(--black);
  border-top: 1px solid rgba(196,168,98,0.08);
  padding: 100px 48px;
}

.terminal-inner {
  max-width: 860px;
  margin: 0 auto;
}

.terminal-section .section-label,
.terminal-section .section-title { text-align: center; }

.terminal-section .section-label { justify-content: center; }
.terminal-section .section-label::after { display: none; }

.terminal {
  background: #080806;
  border: 1px solid rgba(196,168,98,0.2);
  overflow: hidden;
  margin-top: 48px;
}

.terminal-header {
  background: var(--charcoal);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(196,168,98,0.1);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-amber  { background: #febc2e; }
.dot-green  { background: #27c93f; }

.terminal-title-bar {
  flex: 1; text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.terminal-body {
  padding: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2.1;
  min-height: 300px;
}

.t-line { display: block; }
.t-gold    { color: var(--gold); }
.t-beige   { color: var(--beige); }
.t-dim     { color: #4a4640; }
.t-burn    { color: #d4845a; }
.t-muted   { color: var(--muted); }

.t-cursor {
  display: inline-block;
  width: 8px; height: 13px;
  background: var(--gold);
  vertical-align: middle;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%,100% { opacity: 0; }
}

/* ══════════════════════════════════════
   TOKENOMICS
══════════════════════════════════════ */
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(196,168,98,0.1);
  border: 1px solid rgba(196,168,98,0.1);
}

.token-card {
  background: var(--ink);
  padding: 44px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.token-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.token-card:hover { background: var(--charcoal); }
.token-card:hover::before { opacity: 1; }

.token-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(36px, 4.5vw, 58px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

#live-supply {
  font-size: clamp(22px, 3.5vw, 42px);
}

.token-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════════════
   CALCULATOR
══════════════════════════════════════ */
.calc-section {
  background: var(--ink);
  border-top: 1px solid rgba(196,168,98,0.1);
  padding: 110px 48px;
}

.calc-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.calc-inner .section-label {
  justify-content: center;
}

.calc-inner .section-label::after { display: none; }

.calc-intro {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 300;
}

.calc-box {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(196,168,98,0.15);
  padding: 52px;
  margin-top: 52px;
  text-align: left;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.calc-field label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.calc-field input,
.calc-field select {
  width: 100%;
  background: rgba(196,168,98,0.04);
  border: 1px solid rgba(196,168,98,0.2);
  color: var(--beige);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.calc-field input::placeholder { color: var(--muted); }

.calc-field input:focus,
.calc-field select:focus { border-color: var(--gold); }

.calc-field select option { background: var(--ink); }

.calc-mcap-live {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 0 4px;
}
.calc-mcap-live span {
  color: var(--gold);
}

.calc-btn {
  width: 100%;
  background: var(--beige);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 18px;
  border: 1px solid var(--beige);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 12px;
}

.calc-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.calc-results {
  display: none;
  gap: 1px;
  background: rgba(196,168,98,0.1);
  border: 1px solid rgba(196,168,98,0.12);
  margin-top: 32px;
}

.calc-results.show {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.result-card {
  background: var(--black);
  padding: 28px 20px;
  text-align: center;
}

.result-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.result-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-disclaimer {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
  opacity: 0.6;
}

/* ══════════════════════════════════════
   ROADMAP
══════════════════════════════════════ */
.roadmap-wrap {
  position: relative;
  margin-top: 64px;
  padding-left: 2px;
}

.roadmap-line {
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  opacity: 0.3;
}

.roadmap-item {
  display: flex;
  gap: 48px;
  margin-bottom: 56px;
  padding-left: 72px;
  position: relative;
}

.roadmap-dot {
  position: absolute;
  left: 12px; top: 6px;
  width: 18px; height: 18px;
  border: 1.5px solid var(--gold-dim);
  background: var(--black);
  border-radius: 50%;
  transition: all var(--transition);
}

.roadmap-dot.done {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(196,168,98,0.4);
}

.roadmap-item:hover .roadmap-dot {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(196,168,98,0.3);
}

.roadmap-phase {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.roadmap-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--beige-light);
  margin-bottom: 14px;
}

.roadmap-desc {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  max-width: 580px;
}

/* ══════════════════════════════════════
   COMMUNITY
══════════════════════════════════════ */
.community-section { text-align: center; }

.community-intro {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(196,168,98,0.1);
  border: 1px solid rgba(196,168,98,0.1);
  margin-top: 64px;
}

.social-card {
  background: var(--ink);
  padding: 52px 28px;
  text-decoration: none;
  color: var(--beige);
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.social-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.social-card:hover { background: var(--charcoal); }
.social-card:hover::after { transform: scaleX(1); }

.social-icon { font-size: 36px; margin-bottom: 16px; display: block; }

.social-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 8px;
}

.social-handle {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
}

/* ══════════════════════════════════════
   LISTINGS SECTION
══════════════════════════════════════ */
.listings-section {
  text-align: center;
  padding: 100px 48px;
  border-top: 1px solid rgba(196,168,98,0.1);
}

.listings-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.listing-card {
  background: var(--ink);
  border: 1px solid rgba(196,168,98,0.12);
  padding: 40px 48px;
  text-align: center;
  text-decoration: none;
  flex: 1 1 260px;
  max-width: 320px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.listing-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.listing-card:hover { background: var(--charcoal); border-color: rgba(196,168,98,0.25); }
.listing-card:hover::after { transform: scaleX(1); }

.listing-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(0.85);
}

.listing-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
}

.listing-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--beige);
  margin-bottom: 8px;
}

.listing-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4ade80;
}

/* ══════════════════════════════════════
   BUY SECTION
══════════════════════════════════════ */
.buy-section {
  background: var(--charcoal);
  border-top: 1px solid rgba(196,168,98,0.1);
  padding: 110px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.buy-section::before {
  content: '$';
  position: absolute;
  top: -80px; right: -40px;
  font-family: var(--font-display);
  font-size: 500px;
  color: rgba(196,168,98,0.03);
  font-weight: 700;
  font-style: italic;
  user-select: none;
  pointer-events: none;
}

.buy-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.buy-inner .section-label { justify-content: center; }
.buy-inner .section-label::after { display: none; }

.buy-inner .section-title {
  font-size: clamp(64px, 11vw, 130px);
  margin-bottom: 20px;
}

.contract-addr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contract-addr .ca-val {
  color: var(--gold);
  cursor: pointer;
  transition: color var(--transition);
}

.contract-addr .ca-val:hover { color: var(--beige); }

.copy-hint {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s;
  margin-left: 8px;
}

.copy-hint.show { opacity: 1; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(196,168,98,0.08);
  padding: 72px 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--beige);
  text-decoration: none;
  display: block;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-logo .ticker { color: var(--gold); font-style: italic; }

.footer-tagline {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  line-height: 1.9;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }

.footer-col a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--beige); }

.footer-bottom {
  max-width: 1200px;
  margin: 52px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(196,168,98,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: #3a3730;
}

.footer-bottom em { color: var(--gold-dim); font-style: normal; }

.disclaimer-bar {
  background: #080806;
  border-top: 1px solid rgba(196,168,98,0.05);
  padding: 20px 48px;
}

.disclaimer-bar p {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: #2e2b26;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 2.2;
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   VIDEO SLIDESHOW
══════════════════════════════════════ */
.video-section {
  background: var(--black);
  border-top: 1px solid rgba(196,168,98,0.08);
  padding: 56px 0 0;
}

.video-section .section-label {
  margin-bottom: 24px;
}

.video-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--black);
}

.video-track {
  display: flex;
  width: 100%;
  position: relative;
  /* 3:1 aspect ratio */
  aspect-ratio: 3 / 1;
}

.video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.video-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-slide .video-loader {
  position: absolute;
  inset: 0;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.4s ease;
}
.video-slide .video-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.video-loader .spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(196,168,98,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Placeholder shown when no video file is found */
.video-slide .video-placeholder {
  width: 100%;
  height: 100%;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed rgba(196,168,98,0.2);
}

.video-placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}

/* Prev / Next buttons */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(12,11,9,0.7);
  border: 1px solid rgba(196,168,98,0.3);
  color: var(--gold);
  font-size: 18px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.slide-btn:hover {
  background: rgba(196,168,98,0.15);
  border-color: var(--gold);
}

.slide-prev { left: 20px; }
.slide-next { right: 20px; }

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(196,168,98,0.3);
  border: 1px solid rgba(196,168,98,0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.slide-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

/* ══════════════════════════════════════
   DEXSCREENER CHART SECTION
══════════════════════════════════════ */
.chart-section {
  background: var(--black);
  border-top: 1px solid rgba(196,168,98,0.08);
  padding: 100px 0 0;
}

.chart-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.chart-inner .section-label { justify-content: center; }
.chart-inner .section-label::after { display: none; }

.dex-wrap {
  margin-top: 40px;
  border: 1px solid rgba(196,168,98,0.15);
  overflow: hidden;
}

/* Override dexscreener embed default */
#dexscreener-embed {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
}

@media (min-width: 1400px) {
  #dexscreener-embed { padding-bottom: 65%; }
}

#dexscreener-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  border: 0;
}

/* ══════════════════════════════════════
   BUYBACK AGENT TOAST
══════════════════════════════════════ */
.agent-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9000;
  background: var(--ink);
  border: 1px solid rgba(196,168,98,0.2);
  border-left: 3px solid var(--gold);
  padding: 18px 40px 18px 20px;
  min-width: 280px;
  max-width: 360px;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.agent-toast.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.agent-toast-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.agent-toast-label svg { flex-shrink: 0; color: #27c93f; }

.agent-toast-amount {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--beige);
  margin-bottom: 6px;
}

.agent-toast-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.agent-toast-meta a {
  color: var(--gold-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.agent-toast-meta a:hover { color: var(--gold); }

.agent-toast-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}

.agent-toast-close:hover { color: var(--beige); }

/* ══════════════════════════════════════
   MOBILE
══════════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  #navToggle { display: block; }
  .nav-more-toggle { display: none !important; }
  .nav-dropdown {
    display: block !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
    min-width: 0;
  }
  .nav-dropdown li a { padding: 10px 0; }
  section { padding: 72px 24px; }
  .quote-section { padding: 72px 24px; }
  .terminal-section { padding: 72px 24px; }
  .calc-section { padding: 72px 24px; }
  .buy-section { padding: 72px 24px; }
  footer { padding: 56px 24px 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-results.show { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .roadmap-item { gap: 24px; }
  .calc-box { padding: 32px 24px; }
  .disclaimer-bar { padding: 20px 24px; }
  .chart-inner { padding: 0 24px; }
  .video-track { aspect-ratio: 3 / 1; }
  .slide-btn { width: 36px; height: 36px; font-size: 14px; }
  .slide-prev { left: 10px; }
  .slide-next { right: 10px; }
  .agent-toast { left: 12px; right: 12px; max-width: none; min-width: 0; bottom: 12px; }
}
