/* ==========================================================================
   RICHXSCAN — NEXT-GENERATION BLOCKCHAIN EXPLORER DESIGN SYSTEM
   Brand Identity: Electric Neon Yellow, Acid Lime Green, Pearl White,
                   Deep Natural Green, Glassmorphism, Subtle Black Details.
   Strict Rule: No blue-dominant, no orange, no red/pink/magenta, no pitch-black.
   ========================================================================== */

:root {
  /* Official Color Palette */
  --neon-yellow: #DFFF00;
  --neon-yellow-glow: rgba(223, 255, 0, 0.45);
  --acid-lime: #39FF14;
  --acid-lime-glow: rgba(57, 255, 20, 0.4);
  --lime-bright: #84CC16;
  --lime-soft: #A3E635;
  --yellow-green: #BEF264;
  --olive-green: #1F3D22;
  --deep-green: #081B0F;
  --deep-green-surface: #0C2415;
  --deep-green-card: rgba(12, 36, 21, 0.78);
  --pearl-white: #F8FAFC;
  --pearl-dim: #D1D9E0;
  --text-muted: #8EA898;
  --text-dark: #051208;
  
  /* Glassmorphism Specs */
  --glass-bg: rgba(12, 38, 22, 0.72);
  --glass-bg-hover: rgba(16, 48, 28, 0.85);
  --glass-border: rgba(223, 255, 0, 0.22);
  --glass-border-bright: rgba(57, 255, 20, 0.55);
  --glass-blur: blur(20px) saturate(180%);
  --glass-shadow: 0 16px 40px -8px rgba(3, 15, 7, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  
  /* Accents & Status */
  --status-success: #39FF14;
  --status-warning: #DFFF00;
  --status-offline: #7D8E81;
  --outline-subtle: rgba(5, 18, 8, 0.35);

  /* Typography */
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Orbitron', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Share Tech Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--deep-green);
  background-image: 
    radial-gradient(1200px 700px at 15% -10%, rgba(223, 255, 0, 0.12) 0%, transparent 60%),
    radial-gradient(900px 650px at 85% 15%, rgba(57, 255, 20, 0.10) 0%, transparent 55%),
    radial-gradient(1100px 800px at 50% 100%, rgba(14, 43, 22, 0.8) 0%, transparent 70%),
    linear-gradient(175deg, #07190D 0%, #0A2212 45%, #05140A 100%);
  background-attachment: fixed;
  color: var(--pearl-white);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Cyber Grid & Holographic Scanlines */
.skynet-cyber-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url('richxscanimg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  filter: saturate(160%) contrast(125%) blur(1px);
  mix-blend-mode: screen;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(223, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 100%);
}

.ambient-scanlines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(223, 255, 0, 0.015) 0px, rgba(223, 255, 0, 0.015) 1px, transparent 1px, transparent 4px);
  opacity: 0.7;
}

/* Skynet / DARPA / CIA / NSA Tactical HUD Strip */
.skynet-hud-strip {
  background: rgba(4, 14, 8, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 255, 0, 0.25);
  padding: 6px 20px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--acid-lime);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
  position: relative;
  z-index: 101;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.skynet-hud-strip span.classified {
  color: #041207;
  background: var(--neon-yellow);
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.skynet-hud-strip .hud-telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pearl-dim);
}

.skynet-hud-strip .hud-telemetry-item strong {
  color: var(--neon-yellow);
}

/* Frontpage Focal Thumbnail Centerpiece */
.frontpage-thumbnail-centerpiece {
  max-width: 240px;
  margin: 0 auto 24px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 35px var(--neon-yellow-glow);
  border: 1.5px solid var(--neon-yellow);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.35s ease;
  background: rgba(8, 27, 15, 0.8);
}

.frontpage-thumbnail-centerpiece:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 50px var(--acid-lime-glow);
  border-color: var(--acid-lime);
}

.frontpage-thumbnail-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Typography & Links */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--pearl-white);
}

a {
  color: var(--neon-yellow);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--acid-lime);
  text-shadow: 0 0 10px var(--acid-lime-glow);
}

.mono {
  font-family: var(--font-mono);
}

/* Header & Nav */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 27, 15, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(223, 255, 0, 0.4));
  transition: transform 0.25s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-title-badge {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--neon-yellow), var(--acid-lime));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-item a, .nav-item button {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pearl-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-item a:hover, .nav-item button:hover, .nav-item.active a {
  color: var(--neon-yellow);
  background: rgba(223, 255, 0, 0.08);
}

/* Nav Actions (Right) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.network-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 38, 22, 0.9);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-yellow);
  cursor: pointer;
  transition: all 0.2s;
}

.network-badge:hover {
  border-color: var(--acid-lime);
  box-shadow: 0 0 14px var(--acid-lime-glow);
}

.network-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid-lime);
  box-shadow: 0 0 8px var(--acid-lime);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.gas-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(223, 255, 0, 0.08);
  border: 1px solid rgba(223, 255, 0, 0.25);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pearl-white);
}

/* Glass Buttons */
.btn-glass {
  background: linear-gradient(135deg, rgba(223, 255, 0, 0.15), rgba(57, 255, 20, 0.08));
  border: 1px solid var(--glass-border);
  color: var(--pearl-white);
  padding: 8px 16px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-glass:hover {
  border-color: var(--neon-yellow);
  color: var(--neon-yellow);
  box-shadow: 0 0 20px rgba(223, 255, 0, 0.25);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-yellow), var(--acid-lime));
  border: 1px solid var(--neon-yellow);
  color: #051408;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(223, 255, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 26px rgba(57, 255, 20, 0.55);
  transform: translateY(-2px);
  color: #000;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--neon-yellow);
  font-size: 1.4rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* Main Container Layout */
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 24px 80px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 30px 10px 24px;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 38, 22, 0.85);
  border: 1px solid var(--glass-border);
  padding: 6px 18px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--neon-yellow);
  margin-bottom: 20px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(223, 255, 0, 0.08);
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-headline .highlight-neon {
  background: linear-gradient(135deg, var(--neon-yellow) 20%, var(--acid-lime) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(223, 255, 0, 0.3));
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: var(--pearl-dim);
  max-width: 820px;
  margin: 0 auto 24px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-banner-visual {
  max-width: 520px;
  margin: 0 auto 28px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.7), 0 0 40px rgba(223, 255, 0, 0.25);
  border: 1.5px solid var(--glass-border);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.hero-banner-visual:hover .hero-banner-img {
  transform: scale(1.03);
}

/* Master Search Bar (Large & Prominent) */
.search-wrapper {
  max-width: 920px;
  margin: 0 auto 20px;
  position: relative;
}

.search-bar-glass {
  display: flex;
  align-items: center;
  background: rgba(12, 38, 22, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid var(--glass-border);
  border-radius: 18px;
  padding: 8px 10px 8px 18px;
  box-shadow: var(--glass-shadow), 0 0 35px rgba(223, 255, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.search-bar-glass:focus-within {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 30px var(--neon-yellow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.search-filter-select {
  background: rgba(6, 20, 11, 0.75);
  border: 1px solid var(--glass-border);
  color: var(--neon-yellow);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  margin-right: 10px;
}

.search-filter-select option {
  background: var(--deep-green);
  color: var(--pearl-white);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--pearl-white);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  outline: none;
  padding: 12px 6px;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.search-btn-action {
  background: linear-gradient(135deg, var(--neon-yellow), var(--acid-lime));
  border: none;
  color: #041107;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(223, 255, 0, 0.35);
}

.search-btn-action:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px var(--acid-lime-glow);
  color: #000;
}

/* Quick Search Suggestions & Hints */
.search-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.suggestion-chip {
  background: rgba(12, 38, 22, 0.6);
  border: 1px solid rgba(223, 255, 0, 0.15);
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--neon-yellow);
  cursor: pointer;
  transition: all 0.2s;
}

.suggestion-chip:hover {
  border-color: var(--acid-lime);
  background: rgba(57, 255, 20, 0.12);
}

/* Chain Selector Bar */
.chain-switch-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 26px auto 0;
  max-width: 480px;
}

.chain-tab-btn {
  flex: 1;
  background: rgba(12, 38, 22, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s;
}

.chain-tab-btn:hover {
  border-color: var(--glass-border-bright);
}

.chain-tab-btn.active {
  background: linear-gradient(145deg, rgba(223, 255, 0, 0.16), rgba(12, 38, 22, 0.95));
  border-color: var(--neon-yellow);
  box-shadow: 0 0 20px rgba(223, 255, 0, 0.15);
}

.chain-tab-id {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--neon-yellow);
}

.chain-tab-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--pearl-dim);
  text-transform: uppercase;
}

/* Glass Card Component */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.glass-card:hover {
  border-color: rgba(223, 255, 0, 0.35);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-yellow), transparent);
  opacity: 0.25;
}

/* Network Overview Dashboard (Grid of Metrics) */
.metrics-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 32px 0 24px;
}

.metric-card {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(223, 255, 0, 0.1);
  border: 1px solid rgba(223, 255, 0, 0.2);
  display: grid;
  place-items: center;
  color: var(--neon-yellow);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--pearl-white);
  line-height: 1.15;
  margin-bottom: 4px;
}

.metric-value.highlight {
  background: linear-gradient(135deg, var(--neon-yellow), var(--acid-lime));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-footer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--lime-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Search Result View Container */
.search-result-container {
  display: none;
  margin: 28px 0;
  animation: fadeIn 0.3s ease;
}

.search-result-container.open {
  display: block;
}

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

.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.result-title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--acid-lime);
  background: rgba(57, 255, 20, 0.1);
  color: var(--acid-lime);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(223, 255, 0, 0.08);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-key {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  flex: 0 0 200px;
}

.detail-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--pearl-white);
  word-break: break-all;
  text-align: right;
  flex: 1;
}

.detail-val.bold-accent {
  color: var(--neon-yellow);
  font-weight: 700;
}

/* Dual Feed Grid (Latest Blocks & Latest Transactions) */
.feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}

.feed-title {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-list {
  display: flex;
  flex-direction: column;
}

.feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(223, 255, 0, 0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s;
}

.feed-item:hover {
  background: rgba(223, 255, 0, 0.05);
  transform: translateX(4px);
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(12, 38, 22, 0.9);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  color: var(--neon-yellow);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
}

.feed-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feed-item-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--neon-yellow);
}

.feed-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.feed-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.feed-item-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: var(--acid-lime);
}

.feed-item-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Skeleton Loading Effect */
.skeleton {
  background: linear-gradient(90deg, rgba(223, 255, 0, 0.05) 0%, rgba(57, 255, 20, 0.12) 50%, rgba(223, 255, 0, 0.05) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Sections & Tabs */
.tab-navigation {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.tab-btn {
  background: none;
  border: none;
  color: var(--pearl-dim);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--neon-yellow);
  background: rgba(223, 255, 0, 0.06);
}

.tab-btn.active {
  color: #06180c;
  background: linear-gradient(135deg, var(--neon-yellow), var(--acid-lime));
  box-shadow: 0 4px 16px rgba(223, 255, 0, 0.25);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* Native Coin Proof Grid */
.proof-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.proof-box {
  background: rgba(12, 38, 22, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.proof-box-header {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.proof-box-stat {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon-yellow);
  margin-bottom: 8px;
}

.proof-box-desc {
  font-size: 0.8rem;
  color: var(--pearl-dim);
  line-height: 1.5;
}

/* Modals & AI Assistant Floating Drawer */
.ai-assistant-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--neon-yellow), var(--acid-lime));
  border: none;
  color: #041207;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(57, 255, 20, 0.5), inset 0 2px 4px #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.ai-assistant-fab:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 10px 40px rgba(223, 255, 0, 0.7);
}

.ai-assistant-modal {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 420px;
  max-width: calc(100vw - 40px);
  height: 580px;
  max-height: calc(100vh - 120px);
  z-index: 1001;
  display: none;
  flex-direction: column;
  background: rgba(10, 31, 17, 0.94);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1.5px solid var(--neon-yellow);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 40px rgba(223, 255, 0, 0.2);
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.ai-assistant-modal.open {
  display: flex;
}

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

.ai-modal-header {
  padding: 16px 20px;
  background: rgba(6, 20, 11, 0.9);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-pulse-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-yellow);
  box-shadow: 0 0 10px var(--neon-yellow);
  animation: pulse-dot 1.5s infinite;
}

.ai-modal-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--neon-yellow);
}

.ai-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
}

.ai-close-btn:hover {
  color: var(--pearl-white);
}

.ai-messages-pane {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.85rem;
}

.ai-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 16px;
  line-height: 1.5;
}

.ai-bubble.bot {
  align-self: flex-start;
  background: rgba(14, 43, 24, 0.85);
  border: 1px solid rgba(223, 255, 0, 0.2);
  color: var(--pearl-white);
  border-bottom-left-radius: 4px;
}

.ai-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--neon-yellow), var(--acid-lime));
  color: #051408;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.ai-input-bar {
  padding: 12px 16px;
  background: rgba(6, 20, 11, 0.95);
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 8px;
}

.ai-input {
  flex: 1;
  background: rgba(12, 38, 22, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--pearl-white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
}

.ai-input:focus {
  border-color: var(--neon-yellow);
}

.ai-send-btn {
  background: var(--neon-yellow);
  border: none;
  color: #041207;
  font-weight: 800;
  padding: 0 16px;
  border-radius: 12px;
  cursor: pointer;
}

/* Footer Section */
.footer-glass {
  background: rgba(6, 20, 11, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 60px 24px 40px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 400px;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--neon-yellow);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--pearl-dim);
  transition: all 0.2s;
}

.footer-links a:hover {
  color: var(--neon-yellow);
  padding-left: 4px;
}

.footer-security-notice {
  background: rgba(12, 38, 22, 0.6);
  border: 1px solid rgba(223, 255, 0, 0.15);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--pearl-dim);
}

.footer-security-notice strong {
  color: var(--neon-yellow);
  font-family: var(--font-mono);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(223, 255, 0, 0.08);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Quantum Security Tag */
.quantum-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quantum-tag.safe {
  background: rgba(57, 255, 20, 0.12);
  border: 1px solid var(--acid-lime);
  color: var(--acid-lime);
}

.quantum-tag.exposed {
  background: rgba(223, 255, 0, 0.12);
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-menu.open-mobile {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 27, 15, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 24px;
    gap: 8px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
  }
  .nav-menu.open-mobile .nav-item {
    width: 100%;
  }
  .nav-menu.open-mobile .nav-item a {
    display: block;
    width: 100%;
    padding: 10px 14px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .search-bar-glass {
    flex-direction: column;
    padding: 12px;
    border-radius: 16px;
    gap: 10px;
  }
  .search-filter-select, .search-input, .search-btn-action {
    width: 100%;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .detail-row {
    flex-direction: column;
    gap: 4px;
  }
  .detail-val {
    text-align: left;
  }
}

/* Contact & Directory Grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.directory-card {
  background: rgba(12, 38, 22, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.2s;
}

.directory-card:hover {
  border-color: var(--neon-yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.directory-card-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-yellow);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.directory-card-email {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--acid-lime);
  display: block;
  margin-bottom: 6px;
  word-break: break-all;
}

.directory-card-desc {
  font-size: 0.76rem;
  color: var(--pearl-dim);
  line-height: 1.4;
}

/* ==========================================================================
   PWA & ADVANCED SECURITY CLEARANCE STYLES (ADMIN / ILLUMINATIX)
   ========================================================================== */

/* PWA Install Button */
.btn-pwa-install {
  background: linear-gradient(135deg, rgba(223, 255, 0, 0.25), rgba(57, 255, 20, 0.15));
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(223, 255, 0, 0.2);
  transition: all 0.2s ease;
}

.btn-pwa-install:hover {
  background: var(--neon-yellow);
  color: #041207;
  box-shadow: 0 0 24px var(--neon-yellow-glow);
  transform: translateY(-1px);
}

/* Admin Auth Button States */
.auth-admin-active {
  border-color: var(--neon-yellow) !important;
  color: var(--neon-yellow) !important;
  background: rgba(223, 255, 0, 0.15) !important;
  box-shadow: 0 0 18px rgba(223, 255, 0, 0.3) !important;
}

/* Admin Level 5 Clearance Alert Banner */
.admin-clearance-banner {
  background: linear-gradient(90deg, rgba(223, 255, 0, 0.18), rgba(12, 38, 22, 0.95), rgba(57, 255, 20, 0.18));
  border-bottom: 1.5px solid var(--neon-yellow);
  padding: 8px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--neon-yellow);
  letter-spacing: 0.12em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 99;
}

/* Classified Feature Lock Overlay */
.classified-lock-wrapper {
  position: relative;
}

.classified-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(8, 27, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px dashed rgba(223, 255, 0, 0.4);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
}

.lock-shield-icon {
  font-size: 2.2rem;
  color: var(--neon-yellow);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(223, 255, 0, 0.5));
}

.lock-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--neon-yellow);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.lock-subtitle {
  font-size: 0.85rem;
  color: var(--pearl-dim);
  max-width: 480px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.content-locked {
  filter: blur(5px) opacity(0.35);
  pointer-events: none;
  user-select: none;
}

/* Cybernetic Security Login Modal */
.security-login-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 12, 6, 0.85);
  backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.security-login-modal.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.security-login-box {
  background: rgba(10, 31, 17, 0.96);
  border: 1.5px solid var(--neon-yellow);
  border-radius: 22px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(223, 255, 0, 0.25);
  position: relative;
}

.login-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 12px;
}

/* Architecture Benchmark Table */
.benchmark-table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}

.benchmark-table th {
  background: rgba(6, 20, 11, 0.9);
  padding: 12px 16px;
  color: var(--neon-yellow);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--glass-border);
}

.benchmark-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(223, 255, 0, 0.08);
  color: var(--pearl-dim);
}

.benchmark-table tr:hover td {
  background: rgba(223, 255, 0, 0.04);
}

.benchmark-badge-win {
  background: rgba(57, 255, 20, 0.15);
  border: 1px solid var(--acid-lime);
  color: var(--acid-lime);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.benchmark-badge-old {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--pearl-dim);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* ==========================================================================
   TOKEN LISTING & KYC VERIFICATION PORTAL STYLING
   ========================================================================== */
.listing-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.listing-modal.open {
  display: flex;
}

.listing-modal-box {
  background: rgba(8, 26, 15, 0.96);
  border: 1.5px solid var(--neon-yellow);
  box-shadow: 0 0 50px rgba(223, 255, 0, 0.25), inset 0 0 20px rgba(223, 255, 0, 0.05);
  border-radius: 18px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tier-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .tier-select-grid {
    grid-template-columns: 1fr;
  }
}

.tier-select-card {
  background: rgba(6, 20, 11, 0.7);
  border: 1.5px solid var(--glass-border);
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.tier-select-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 255, 0, 0.5);
  box-shadow: 0 8px 24px rgba(223, 255, 0, 0.12);
}

.tier-select-card.selected {
  border-color: var(--neon-yellow);
  background: rgba(223, 255, 0, 0.08);
  box-shadow: 0 0 25px rgba(223, 255, 0, 0.25);
}

.tier-select-card.selected::after {
  content: '✓ SELECTED';
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--neon-yellow);
  color: #05140a;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.tier-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}

.badge-gold {
  background: rgba(223, 255, 0, 0.18);
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
}

.badge-diamond {
  background: rgba(57, 255, 20, 0.18);
  border: 1px solid var(--acid-lime);
  color: var(--acid-lime);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.badge-silver {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--pearl-dim);
}

.treasury-display-box {
  background: rgba(4, 14, 8, 0.95);
  border: 1px solid var(--glass-border-bright);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.admin-table th {
  background: rgba(6, 20, 11, 0.9);
  padding: 10px 12px;
  color: var(--neon-yellow);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(223, 255, 0, 0.08);
  color: var(--pearl-white);
}

.admin-table tr:hover td {
  background: rgba(223, 255, 0, 0.04);
}

