:root {
  --bg-obsidian: #05060a;
  --bg-onyx: #0b0d14;
  --bg-panel: rgba(13, 16, 26, 0.72);
  --bg-panel-strong: rgba(16, 20, 32, 0.92);

  --gold-light: #fff0b8;
  --gold-main: #e5c158;
  --gold-deep: #9c7424;

  --hl-cyan: #50e3c2;
  --el-violet: #a78bfa;
  --el-emerald: #34d399;

  --text-primary: #f7f8fc;
  --text-secondary: #b4bcd0;
  --text-muted: #78829d;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(229, 193, 88, 0.34);

  --font-display: "Cinzel", Georgia, serif;
  --font-heading: "Syne", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(229, 193, 88, 0.11), transparent 36%),
    radial-gradient(circle at 86% 18%, rgba(80, 227, 194, 0.09), transparent 38%),
    radial-gradient(circle at 75% 78%, rgba(167, 139, 250, 0.08), transparent 40%),
    var(--bg-obsidian);
  overflow-x: hidden;
}

#ambient-4d-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

.luxury-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 45%, rgba(3, 4, 7, 0.82) 100%);
}

.container {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0;
}

/* Typography & Accents */
.text-gold-gradient {
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold-main) 48%, #c99738 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-hl,
.text-hl {
  color: var(--hl-cyan);
}

.accent-el,
.text-el {
  color: var(--el-violet);
}

.mono-tag,
.mono-gold {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.mono-gold {
  color: var(--gold-main);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 6, 10, 0.76);
  border-bottom: 1px solid rgba(229, 193, 88, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-crest {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(229, 193, 88, 0.15), rgba(80, 227, 194, 0.06));
  border: 1px solid rgba(229, 193, 88, 0.35);
  box-shadow: 0 0 24px rgba(229, 193, 88, 0.15);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.network-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(80, 227, 194, 0.28);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.network-pill:hover {
  border-color: var(--hl-cyan);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hl-cyan);
  box-shadow: 0 0 10px var(--hl-cyan);
  animation: pulseAnim 2s infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 0.98rem;
}

.btn-full {
  width: 100%;
  padding: 1rem 1.4rem;
  font-size: 1rem;
}

.btn-gold-primary {
  background: linear-gradient(135deg, #fff0b8 0%, #e5c158 45%, #b58429 100%);
  color: #090b10;
  box-shadow: 0 10px 30px rgba(229, 193, 88, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-gold-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(229, 193, 88, 0.42);
}

.btn-gold-outline {
  background: rgba(229, 193, 88, 0.08);
  border-color: rgba(229, 193, 88, 0.45);
  color: var(--gold-light);
}

.btn-gold-outline:hover {
  background: rgba(229, 193, 88, 0.18);
  border-color: var(--gold-main);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(229, 193, 88, 0.45);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 3.6rem;
  padding-bottom: 4.2rem;
}

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

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(229, 193, 88, 0.35);
  background: rgba(229, 193, 88, 0.07);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 1.3rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-main);
  box-shadow: 0 0 12px var(--gold-main);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.4vw, 3.95rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.35rem;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(229, 193, 88, 0.03));
  border: 1px solid var(--border-subtle);
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.trust-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.trust-value {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
}

.trust-value small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-delta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.trust-delta.up {
  color: var(--hl-cyan);
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* 4D Stage Frame */
.stage-frame {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(22, 26, 40, 0.88), rgba(7, 9, 14, 0.94));
  border: 1px solid var(--border-gold);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 240, 184, 0.22);
}

.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-light);
}

.live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hl-cyan);
  box-shadow: 0 0 10px var(--hl-cyan);
}

.tesseract-viewport {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(229, 193, 88, 0.08), rgba(5, 6, 10, 0.96) 72%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: grab;
}

.tesseract-viewport:active {
  cursor: grabbing;
}

#tesseract-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 460;
}

.orbital-hud {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.7rem;
  border-radius: 9px;
  background: rgba(5, 7, 12, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.orbital-hud.top-left { top: 12px; left: 12px; }
.orbital-hud.top-right { top: 12px; right: 12px; text-align: right; }
.orbital-hud.bottom-left { bottom: 12px; left: 12px; }
.orbital-hud.bottom-right { bottom: 12px; right: 12px; text-align: right; }

.hud-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hud-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.stage-controls {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  border: 2px solid #05060a;
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.75);
  cursor: pointer;
}

.btn-overclock {
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
  background: rgba(80, 227, 194, 0.1);
  border: 1px solid rgba(80, 227, 194, 0.4);
  color: var(--hl-cyan);
}

.btn-overclock.active,
.btn-overclock:hover {
  background: rgba(80, 227, 194, 0.22);
  box-shadow: 0 0 22px rgba(80, 227, 194, 0.35);
}

/* Ticker */
.luxury-ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid rgba(229, 193, 88, 0.18);
  background: rgba(11, 13, 20, 0.88);
  padding: 0.8rem 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  animation: tickerScroll 32s linear infinite;
}

.ticker-track strong {
  color: var(--gold-light);
}

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

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

/* Section Headers */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.2rem;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--gold-main);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.18;
  margin-bottom: 0.9rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Glass Panels & 4D Tilt */
.glass-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.tilt-4d {
  transition: transform 0.22s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}

.tilt-4d:hover {
  border-color: rgba(229, 193, 88, 0.36);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.panel-top h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

/* Console Section */
.console-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.75rem;
}

.status-pill {
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.status-pill.online {
  background: rgba(80, 227, 194, 0.12);
  border: 1px solid rgba(80, 227, 194, 0.45);
  color: var(--hl-cyan);
}

.status-pill.paused {
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid rgba(229, 193, 88, 0.4);
  color: var(--gold-main);
}

.rig-selector {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.rig-card {
  width: 100%;
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rig-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(229, 193, 88, 0.35);
}

.rig-card.active {
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.14), rgba(80, 227, 194, 0.06));
  border-color: var(--gold-main);
  box-shadow: 0 0 24px rgba(229, 193, 88, 0.16);
}

.rig-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.rig-name {
  font-weight: 600;
  font-size: 0.98rem;
}

.rig-mult {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.rig-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.console-slider {
  margin-bottom: 1.45rem;
}

.console-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.console-actions .btn {
  padding: 0.85rem 1rem;
}

/* Telemetry */
.telemetry-hero-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.1), rgba(11, 13, 20, 0.9));
  border: 1px solid rgba(229, 193, 88, 0.28);
  margin-bottom: 1.15rem;
}

.telemetry-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold-main);
  margin-bottom: 0.3rem;
}

.telemetry-big {
  font-family: var(--font-mono);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--gold-light);
}

.telemetry-big small {
  font-size: 0.88rem;
  color: var(--gold-main);
}

.telemetry-usd {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.purity-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(80, 227, 194, 0.08);
  border: 1px solid rgba(80, 227, 194, 0.32);
}

.purity-ring {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--hl-cyan);
}

.purity-caption {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.telemetry-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.metric-box {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.m-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.m-val {
  font-family: var(--font-mono);
  font-size: 1.04rem;
  font-weight: 600;
}

.live-block-feed {
  border-radius: var(--radius-sm);
  background: rgba(5, 6, 10, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.9rem 1rem;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.feed-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.feed-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-secondary);
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.feed-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Token Quality Section */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.quality-card {
  position: relative;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(16, 20, 32, 0.85), rgba(8, 10, 16, 0.94));
  border: 1px solid var(--border-subtle);
}

.q-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 1rem;
}

.q-icon.gold {
  background: rgba(229, 193, 88, 0.14);
  border: 1px solid rgba(229, 193, 88, 0.45);
  color: var(--gold-light);
}

.q-icon.hl {
  background: rgba(80, 227, 194, 0.12);
  border: 1px solid rgba(80, 227, 194, 0.4);
  color: var(--hl-cyan);
}

.q-icon.el {
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: var(--el-violet);
}

.q-badge {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}

.quality-card h3 {
  font-family: var(--font-heading);
  font-size: 1.24rem;
  margin-bottom: 0.65rem;
}

.quality-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.q-specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.q-specs li {
  display: flex;
  flex-direction: column;
}

.q-specs span {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.q-specs strong {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-primary);
}

/* Matrix Table */
.matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

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

.quality-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.quality-table th,
.quality-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.quality-table th {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.quality-table .highlight-col {
  background: rgba(229, 193, 88, 0.07);
  color: var(--gold-light);
}

/* Ecosystems */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1.5rem;
}

.eco-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
}

.eco-card.hyperliquid {
  border-color: rgba(80, 227, 194, 0.25);
}

.eco-card.elysium {
  border-color: rgba(167, 139, 250, 0.28);
}

.eco-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
  color: var(--gold-main);
}

.eco-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
}

.eco-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.eco-features {
  display: grid;
  gap: 0.75rem;
}

.eco-feat {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
}

.eco-bridge-center {
  display: grid;
  place-items: center;
}

.bridge-orb {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.28), rgba(11, 13, 20, 0.95));
  border: 1px solid var(--gold-main);
  box-shadow: 0 0 36px rgba(229, 193, 88, 0.26);
}

.bridge-orb span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-light);
}

.bridge-orb small {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--hl-cyan);
}

/* Tokenomics */
.tokenomics-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
}

.token-bars-card h3,
.token-utility-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 1.35rem;
}

.alloc-list {
  display: grid;
  gap: 1.15rem;
}

.alloc-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.alloc-head strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-light);
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
}

.bar-fill.gold { background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); }
.bar-fill.hl { background: linear-gradient(90deg, #1b8c76, var(--hl-cyan)); }
.bar-fill.el { background: linear-gradient(90deg, #6d4aff, var(--el-violet)); }
.bar-fill.silver { background: linear-gradient(90deg, #6b7280, #d1d5db); }
.bar-fill.bronze { background: linear-gradient(90deg, #7c4d25, #d99b52); }

.utility-pillars {
  display: grid;
  gap: 1.25rem;
}

.u-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.u-num {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(229, 193, 88, 0.14);
  border: 1px solid rgba(229, 193, 88, 0.35);
}

.u-pillar h4 {
  margin-bottom: 0.25rem;
}

.u-pillar p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Acquire / Swap */
.acquire-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 2.5rem;
}

.acquire-pitch .section-title,
.acquire-pitch .section-desc {
  text-align: left;
  margin-inline: 0;
}

.tier-highlights {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.tier-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-chip.featured {
  border-color: var(--border-gold);
  background: linear-gradient(120deg, rgba(229, 193, 88, 0.12), rgba(80, 227, 194, 0.05));
}

.tier-chip strong {
  font-family: var(--font-mono);
  color: var(--gold-light);
}

.tier-chip span {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.swap-box {
  border-color: var(--border-gold);
}

.swap-field {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(5, 7, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.swap-field-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.swap-input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
}

.swap-input-row input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.swap-input-row select {
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: #141824;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
  cursor: pointer;
}

.swap-arrow-divider {
  display: grid;
  place-items: center;
  margin: -0.55rem 0;
  position: relative;
  z-index: 2;
}

.swap-arrow-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #141824;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}

.yards-token-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid rgba(229, 193, 88, 0.45);
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.mini-crest {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-main);
  color: #05060a;
  font-size: 0.72rem;
  font-weight: 800;
}

.swap-summary {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 1.25rem;
  font-size: 0.84rem;
}

.swap-summary div {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.swap-disclaimer {
  min-height: 1.3rem;
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--hl-cyan);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.9), #040508);
  border-top: 1px solid rgba(229, 193, 88, 0.25);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  max-width: 390px;
}

.footer-tagline {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-social-showcase {
  flex: 1;
  min-width: 300px;
  max-width: 620px;
}

.social-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold-main);
  margin-bottom: 0.85rem;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.x-profile-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(229, 193, 88, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  transition: all 0.24s ease;
}

.x-profile-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-main);
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.14), rgba(80, 227, 194, 0.08));
  box-shadow: 0 12px 32px rgba(229, 193, 88, 0.18);
}

.x-logo-wrap {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #07090f;
  color: #ffffff;
  flex-shrink: 0;
}

.x-logo-wrap.hl-ring {
  border: 1px solid rgba(80, 227, 194, 0.55);
  box-shadow: 0 0 18px rgba(80, 227, 194, 0.22);
}

.x-logo-wrap.gold-ring {
  border: 1px solid rgba(229, 193, 88, 0.65);
  box-shadow: 0 0 18px rgba(229, 193, 88, 0.24);
}

.x-card-info {
  display: flex;
  flex-direction: column;
}

.x-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  font-weight: 700;
}

.x-handle {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.x-arrow {
  margin-left: auto;
  font-size: 1.15rem;
  color: var(--gold-main);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* Modal */
.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(3, 4, 8, 0.78);
  backdrop-filter: blur(8px);
  padding: 1rem;
}

.modal-card {
  width: min(440px, 100%);
  border-color: var(--border-gold);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.modal-close {
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.wallet-options {
  display: grid;
  gap: 0.7rem;
}

.wallet-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
}

.wallet-opt:hover {
  border-color: var(--gold-main);
  background: rgba(229, 193, 88, 0.1);
}

/* Responsive */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .hero-grid,
  .console-grid,
  .quality-grid,
  .eco-grid,
  .tokenomics-layout,
  .acquire-grid {
    grid-template-columns: 1fr;
  }
  .eco-bridge-center {
    padding: 0.5rem 0;
  }
}

@media (max-width: 640px) {
  .social-cards,
  .stage-controls,
  .console-actions {
    grid-template-columns: 1fr;
  }
  .network-pill,
  .trust-divider {
    display: none;
  }
}