/* ==========================================================================
   CANTON / CNT GLOBAL — Royal Metallic Gold & Obsidian Decentralized Theme
   Color palette derived directly from the CANTON CNT GLOBAL Crest Logo
   ========================================================================== */

:root {
  --bg-canvas: #050507;
  --bg-surface: #0D0E13;
  --bg-surface-elevated: #14161E;
  --bg-surface-hover: #191B24;

  --gold-100: #FFF4C2;
  --gold-300: #F5C451;
  --gold-400: #E5B842;
  --gold-500: #D4AF37;
  --gold-600: #B8860B;
  --gold-800: #6B4C06;

  --accent-gold: #E5B842;
  --accent-gold-hover: #F5C451;
  --accent-gold-dim: rgba(212, 175, 55, 0.14);

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-gold-subtle: rgba(212, 175, 55, 0.28);
  --border-gold-strong: rgba(245, 196, 81, 0.6);

  --text-ivory: #F8F5EC;
  --text-slate: #9CA0AE;
}

body.canton-home {
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 82% 22%, rgba(184, 134, 11, 0.10) 0%, transparent 42%),
    radial-gradient(circle at 50% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
}

/* Fullscreen Particle & Liquidity Canvas */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 16s ease-in-out infinite alternate;
}

.orb-top {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.18), transparent 70%);
}

.orb-mid {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: -140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.13), transparent 70%);
  animation-delay: -6s;
}

main, header, footer, .market-ticker {
  position: relative;
  z-index: 2;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold { color: var(--gold-300); }
.up { color: #10B981; }

.text-gold-gradient {
  background: linear-gradient(120deg, var(--gold-100) 0%, var(--gold-300) 35%, var(--gold-500) 65%, var(--gold-100) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 5s linear infinite;
}

/* Shimmering Gold Button */
.btn-gold-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-300) 38%, var(--gold-500) 75%, var(--gold-600) 100%);
  color: #070709;
  font-weight: 700;
  border: 1px solid rgba(255, 244, 194, 0.5);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.32);
}

.btn-gold-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-gold-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(245, 196, 81, 0.48);
}

.btn-gold-shimmer:hover::after {
  left: 140%;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 12px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-gold-subtle);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-ivory);
}

.brand-logo-wrap {
  width: 52px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(245, 196, 81, 0.38));
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo-wrap {
  transform: scale(1.06);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, var(--gold-100), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 10px;
  color: var(--gold-300);
  letter-spacing: 0.2em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  position: relative;
  color: var(--text-slate);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-600));
  transition: width 0.22s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 9px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-300);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-hairline);
  background: rgba(8, 9, 12, 0.96);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-ivory);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

/* Market Ticker */
.market-ticker {
  overflow: hidden;
  background: rgba(13, 14, 19, 0.9);
  border-bottom: 1px solid var(--border-hairline);
  padding: 10px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 34s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-slate);
  white-space: nowrap;
}

.ticker-item strong {
  color: var(--text-ivory);
  letter-spacing: 0.04em;
}

.dot.live,
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
  animation: pulseBeacon 2s infinite;
  display: inline-block;
}

/* Hero Section */
.hero-section {
  padding: 64px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-title {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 18px;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: 16px;
  color: var(--text-slate);
  max-width: 580px;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: var(--gold-100);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-metric-card {
  background: rgba(13, 14, 19, 0.85);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 14px;
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.14);
}

.metric-label {
  font-size: 11px;
  color: var(--text-slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-ivory);
  margin-top: 4px;
}

.metric-sub {
  font-size: 11px;
  color: var(--text-slate);
  margin-top: 3px;
}

/* Hero Emblem Showcase */
.emblem-stage {
  position: relative;
  min-height: 430px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.16) 0%, rgba(13, 14, 19, 0.92) 70%);
  border: 1px solid var(--border-gold-subtle);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 244, 194, 0.22);
}

.emblem-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.28), transparent 70%);
  filter: blur(28px);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(245, 196, 81, 0.32);
  pointer-events: none;
}

.orbit-outer {
  width: 350px;
  height: 350px;
  animation: orbitSpin 28s linear infinite;
}

.orbit-outer::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 14px var(--gold-300);
}

.orbit-inner {
  width: 268px;
  height: 268px;
  border-style: solid;
  border-color: rgba(212, 175, 55, 0.16);
  animation: orbitSpinReverse 18s linear infinite;
}

.emblem-logo-box {
  position: relative;
  z-index: 2;
  width: 300px;
  max-width: 78%;
  animation: logoFloat 5s ease-in-out infinite;
}

.emblem-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 24px rgba(245, 196, 81, 0.28));
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(10, 11, 15, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold-subtle);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.chip-top-left {
  top: 22px;
  left: 22px;
  animation: logoFloat 6s ease-in-out infinite reverse;
}

.chip-bottom-right {
  bottom: 22px;
  right: 22px;
  animation: logoFloat 5.5s ease-in-out infinite;
}

.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 10px var(--gold-300);
}

.chip-dot.emerald {
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.chip-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-slate);
}

.chip-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-ivory);
}

/* Sections */
.section {
  padding: 58px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-ivory);
}

.section-desc {
  font-size: 15px;
  color: var(--text-slate);
  max-width: 700px;
}

/* Card Spotlight & Tilt */
.card {
  position: relative;
  background: rgba(13, 14, 19, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card-gold {
  border-color: var(--border-gold-subtle);
  background: linear-gradient(165deg, rgba(212, 175, 55, 0.10) 0%, rgba(13, 14, 19, 0.95) 55%);
}

.card-tilt:hover {
  border-color: var(--border-gold-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6), 0 0 28px rgba(212, 175, 55, 0.12);
}

/* Trading Terminal Grid */
.trading-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.trading-chart-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.pair-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pair-icon {
  width: 44px;
  height: 36px;
  object-fit: contain;
}

.pair-title {
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pair-sub {
  font-size: 12px;
  color: var(--text-slate);
}

.pair-price-wrap {
  text-align: right;
}

.pair-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-100);
}

.pair-change {
  font-size: 12px;
  font-weight: 700;
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tf-group {
  display: inline-flex;
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 3px;
}

.tf-btn {
  border: none;
  background: transparent;
  color: var(--text-slate);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.tf-btn.active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #070709;
}

.chart-stats-inline {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--text-slate);
}

.chart-stats-inline strong {
  color: var(--text-ivory);
}

.chart-canvas-wrap {
  position: relative;
  height: 250px;
  width: 100%;
  background: rgba(5, 5, 7, 0.72);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  overflow: hidden;
}

#tradingChart {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(13, 14, 19, 0.94);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-100);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  display: none;
  z-index: 5;
}

.chart-footer-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-stat {
  background: rgba(5, 5, 7, 0.65);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-ivory);
}

.trading-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.list-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #070709;
  background: linear-gradient(135deg, var(--gold-200, #FFE89E), var(--gold-500));
}

.feature-list strong {
  font-size: 14px;
  color: var(--text-ivory);
}

.feature-list p {
  font-size: 13px;
  color: var(--text-slate);
  margin-top: 2px;
}

.feed-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trade-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(5, 5, 7, 0.72);
  border: 1px solid var(--border-hairline);
  animation: fadeSlideIn 0.35s ease;
}

/* About, Mission & Vision */
.about-banner-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.about-logo-badge {
  flex-shrink: 0;
  width: 112px;
  height: 88px;
  border-radius: 16px;
  background: rgba(5, 5, 7, 0.78);
  border: 1px solid var(--border-gold-subtle);
  display: grid;
  place-items: center;
  padding: 10px;
}

.about-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-100);
}

.about-text {
  font-size: 14px;
  color: var(--text-slate);
  margin-top: 8px;
  line-height: 1.7;
}

.about-text strong {
  color: var(--gold-300);
}

.bento-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mv-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mv-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gold-dim);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.mv-icon svg {
  width: 22px;
  height: 22px;
}

.mv-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-ivory);
}

.mv-desc {
  font-size: 14px;
  color: var(--text-slate);
  line-height: 1.65;
}

.mv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.mv-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-100);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-300);
}

.pillar-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-ivory);
}

.pillar-card p {
  font-size: 13px;
  color: var(--text-slate);
}

/* Simulator */
.sim-showcase {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.sim-title {
  font-size: 20px;
  font-weight: 700;
}

.cap-toggle {
  display: inline-flex;
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 3px;
}

.cap-btn {
  border: none;
  background: transparent;
  color: var(--text-slate);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cap-btn.active {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #070709;
}

.sim-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: center;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-canvas);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 12px;
  padding: 12px 16px;
}

.sim-input-row label {
  font-size: 13px;
  color: var(--text-slate);
}

.sim-amount-input {
  background: transparent;
  border: none;
  color: var(--gold-300);
  font-size: 24px;
  font-weight: 700;
  text-align: right;
  width: 140px;
  outline: none;
}

.sim-slider {
  width: 100%;
  accent-color: var(--gold-300);
  cursor: pointer;
}

.sim-split-title {
  font-size: 12px;
  color: var(--text-slate);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sim-split-bar {
  display: flex;
  height: 10px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--bg-canvas);
  gap: 3px;
}

.split-lp { width: 10%; background: #6B7280; }
.split-treasury { width: 10%; background: var(--gold-100); }
.split-dex { width: 80%; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }

.sim-split-legend {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-slate);
  margin-top: 8px;
}

.sim-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sim-stat-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 16px;
}

.sim-stat-box .val {
  font-size: 20px;
  font-weight: 700;
  margin-top: 4px;
}

/* Clickable Cards & Table */
.clickable-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-ivory);
}

.card-desc {
  font-size: 14px;
  color: var(--text-slate);
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-hairline);
  font-size: 13px;
  color: var(--gold-300);
  font-weight: 600;
}

.table-wrap { overflow-x: auto; }

.institutional-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.institutional-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-slate);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-hairline);
}

.institutional-table td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-hairline);
}

.institutional-table tbody tr {
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.institutional-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.06);
}

/* CTA Banner */
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-gold-subtle);
  padding: 36px 0;
  margin-top: 24px;
  background: rgba(5, 5, 7, 0.85);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 48px;
  height: 38px;
  object-fit: contain;
}

.footer-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-100);
  letter-spacing: 0.1em;
}

.footer-sub {
  font-size: 12px;
  color: var(--text-slate);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-slate);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--gold-300);
}

/* Side Drawer & Toast */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: none;
}

.drawer-backdrop.open { display: block; }

.side-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-gold-subtle);
  z-index: 70;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  transition: right 0.25s ease;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75);
}

.side-drawer.open { right: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-hairline);
}

.drawer-close {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  color: var(--text-ivory);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.drawer-kv {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.web3-toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 290px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.toast-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-300);
}

.toast-msg {
  font-size: 13px;
  color: var(--text-ivory);
}

/* Scroll Reveal Animations */
.reveal-up,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up { transform: translateY(28px); }
.reveal-scale { transform: scale(0.94); }

.reveal-up.in-view,
.reveal-scale.in-view {
  opacity: 1;
  transform: none;
}

/* Keyframes */
@keyframes goldShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

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

@keyframes pulseGlow {
  0% { transform: scale(0.92); opacity: 0.65; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes pulseBeacon {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes orbDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 30px); }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid,
  .trading-grid,
  .sim-body-grid,
  .bento-3,
  .bento-2,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero-metrics,
  .chart-footer-metrics,
  .sim-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .emblem-stage {
    min-height: 340px;
  }

  .float-chip {
    display: none;
  }
}

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