/* ==========================================================================
   ClaimVault Pro — Dark Mode Treasure Vault / Cyber Terminal Stylesheet
   NovaFortix Lab
   ========================================================================== */

:root {
  --bg-dark: #070a12;
  --bg-card: #0d1424;
  --bg-card-hover: #121c32;
  --bg-card-alt: #0a0f1c;
  --bg-input: #060b16;
  --bg-terminal: #050810;
  
  --border-color: #1a2742;
  --border-card: #1f3052;
  --border-focus: #fbbf24;
  --border-glow-gold: rgba(245, 158, 11, 0.3);
  --border-glow-cyan: rgba(0, 242, 254, 0.25);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Vault Cyber Color Accents */
  --vault-gold: #f59e0b;
  --vault-gold-light: #fbbf24;
  --vault-gold-glow: rgba(245, 158, 11, 0.22);

  --cyber-cyan: #00f2fe;
  --cyber-cyan-glow: rgba(0, 242, 254, 0.2);

  --cyber-green: #10b981;
  --cyber-green-glow: rgba(16, 185, 129, 0.2);

  --cyber-red: #ef4444;
  --cyber-red-glow: rgba(239, 68, 68, 0.25);

  --cyber-purple: #a855f7;
  --ton-blue: #0088cc;
  --stars-gold: #ffd700;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, "Courier New", monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-card: 0 4px 24px -2px rgba(0, 0, 0, 0.65);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.5;
  background-image:
    radial-gradient(circle at 10% 8%, rgba(245, 158, 11, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(0, 242, 254, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.04) 0%, transparent 55%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Required Specifications */
input, select, textarea {
  min-width: 0;
  font-family: inherit;
}

.brand {
  min-width: 0;
}

.brand-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-switcher {
  flex-shrink: 0;
}

/* App Container Layout */
.app-container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 18px 22px 64px 22px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

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

.logo-icon {
  font-size: 2.1rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(0, 242, 254, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff 0%, #fbbf24 65%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--vault-gold-light);
  border: 1px solid rgba(245, 158, 11, 0.4);
  -webkit-text-fill-color: var(--vault-gold-light);
}

.brand-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--cyber-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyber-green);
  box-shadow: 0 0 10px var(--cyber-green);
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.lang-switcher {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--vault-gold);
  color: #000;
}

/* Bybit Affiliate Quick Bar */
.affiliate-quick-bar {
  margin-bottom: 22px;
}

.affiliate-banner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #121d33 0%, #16243f 50%, #1a1728 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

.affiliate-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 260px;
}

.aff-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: #000;
  background: #f7a600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.aff-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aff-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.aff-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.aff-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.aff-action-btn.bybit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f7a600 0%, #e69500 100%);
  color: #000;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(247, 166, 0, 0.35);
  transition: all 0.2s ease;
}

.aff-action-btn.bybit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(247, 166, 0, 0.5);
}

.copy-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px dashed rgba(247, 166, 0, 0.6);
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.copy-code-chip:hover {
  background: rgba(247, 166, 0, 0.15);
  border-color: #f7a600;
}

/* Top Key Metrics HUD */
.hud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.hud-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.hud-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-card);
}

.hud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
}

.hud-card.gold::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.hud-card.cyan::before { background: linear-gradient(90deg, #00f2fe, #06b6d4); }
.hud-card.red::before { background: linear-gradient(90deg, #ef4444, #f87171); }
.hud-card.green::before { background: linear-gradient(90deg, #10b981, #34d399); }

.hud-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-icon {
  font-size: 1.3rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.hud-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hud-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-value {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.hud-card.gold .hud-value { color: #fbbf24; }
.hud-card.cyan .hud-value { color: #00f2fe; }
.hud-card.red .hud-value { color: #f87171; }
.hud-card.green .hud-value { color: #34d399; }

.hud-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hud-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #19243c;
  color: #e2e8f0;
  border: 1px solid #28395a;
}

.btn-secondary:hover {
  background: #223254;
  color: #fff;
  border-color: #3b507d;
}

.btn-outline {
  background: transparent;
  color: var(--cyber-cyan);
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--cyber-cyan);
}

.btn-bybit {
  background: linear-gradient(135deg, #f7a600 0%, #d48e00 100%);
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(247, 166, 0, 0.35);
}

.btn-bybit:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-telegram-stars {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
}

/* Scanner Console Section */
.scanner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.scanner-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.scanner-title-icon {
  font-size: 1.8rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  color: var(--cyber-cyan);
}

.scanner-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.scanner-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.search-box-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid #223354;
  border-radius: var(--radius-lg);
  padding: 6px 8px 6px 14px;
  margin-bottom: 14px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.search-box-wrap:focus-within {
  border-color: var(--vault-gold);
  box-shadow: 0 0 16px var(--border-glow-gold);
}

.input-prefix-icon {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-right: 8px;
}

.input-control {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.98rem;
  padding: 8px 0;
}

.input-control::placeholder {
  color: #475569;
}

.clear-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 10px;
  transition: color 0.2s;
  display: none;
}

.clear-btn:hover {
  color: #fff;
}

/* Input Meta Bar & Presets */
.input-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.detected-chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}

.detected-chain-badge.evm .badge-dot { background: #627eea; box-shadow: 0 0 8px #627eea; }
.detected-chain-badge.solana .badge-dot { background: #14f195; box-shadow: 0 0 8px #14f195; }
.detected-chain-badge.starknet .badge-dot { background: #ff7200; box-shadow: 0 0 8px #ff7200; }

.sample-presets-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.presets-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #141c2f;
  border: 1px solid #233454;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-chip:hover {
  background: #1c2844;
  border-color: var(--vault-gold);
  transform: translateY(-1px);
}

.preset-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.preset-badge.highlight {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.preset-badge.highlight-blue {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
}

.preset-badge.highlight-green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* Live Terminal Radar Scan Visualizer */
.terminal-scan-panel {
  margin-top: 18px;
  background: var(--bg-terminal);
  border: 1px solid #203152;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-size: 0.8rem;
  color: var(--cyber-cyan);
  flex: 1;
}

.terminal-percent {
  font-size: 0.85rem;
  color: var(--vault-gold);
  font-weight: 700;
}

.terminal-progress-track {
  height: 4px;
  background: #131b2e;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.terminal-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00f2fe, #f59e0b);
  transition: width 0.1s linear;
}

.terminal-logs {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #8ae8ff;
  max-height: 100px;
  overflow-y: hidden;
  opacity: 0.9;
}

.terminal-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal-line.found {
  color: #34d399;
  font-weight: 700;
}

/* Results Section */
.results-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.results-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 6px;
  background: var(--bg-dark);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.filter-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill:hover {
  color: #fff;
}

.filter-pill.active {
  background: #1e2c4a;
  color: var(--cyber-cyan);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.results-sort-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.filter-select {
  background: var(--bg-dark);
  border: 1px solid #233454;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--cyber-cyan);
}

/* Vault Cards Grid */
.vault-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

.vault-item-card {
  background: var(--bg-card-alt);
  border: 1px solid #1c2b48;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}

.vault-item-card:hover {
  border-color: #2e4370;
  background: #0f1629;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.vault-item-card.urgent {
  border-color: rgba(239, 68, 68, 0.45);
}

.vault-item-card.urgent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #f59e0b);
}

.vault-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

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

.vault-token-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: #162035;
  border: 1px solid #28395a;
}

.vault-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vault-protocol-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.vault-chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
}

.chain-tag {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vault-status-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.vault-status-badge.ready {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.vault-status-badge.expiring {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  animation: pulseExpiring 2.5s infinite ease-in-out;
}

@keyframes pulseExpiring {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.vault-status-badge.claimed {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.vault-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #1a2845;
}

.amount-left {
  display: flex;
  flex-direction: column;
}

.token-amount-val {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
}

.token-category {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.amount-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.usd-estimate-val {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fbbf24;
}

.usd-label {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.vault-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.meta-k {
  color: var(--text-dim);
}

.meta-v {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.meta-v.urgent-countdown {
  color: #f87171;
  font-weight: 700;
}

.vault-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.btn-card-action {
  flex: 1;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.empty-icon {
  font-size: 3rem;
  opacity: 0.7;
}

.empty-title {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
}

.empty-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
}

/* Monetization & Cash-Out Gateway Grid */
.monetization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.gateway-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.gateway-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--vault-gold);
}

.gateway-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gateway-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.gateway-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.gateway-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.gateway-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card-alt);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid #1c2b48;
}

.gw-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #e2e8f0;
}

.gw-feat-icon {
  color: var(--cyber-green);
}

.gateway-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.pricing-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing-label {
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.pricing-amount {
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fbbf24;
}

.pricing-or {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* Bybit Specific Gateway Card */
.bybit-gateway-card {
  border-color: rgba(247, 166, 0, 0.35);
  background: linear-gradient(145deg, #0e1627 0%, #151d32 100%);
}

.bybit-gateway-card .gateway-tag {
  color: #f7a600;
}

.bybit-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bybit-perk {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(247, 166, 0, 0.2);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.perk-val {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #f7a600;
}

.perk-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.gateway-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.gateway-action-row .btn-bybit {
  flex: 1;
}

/* Educational Section */
.info-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.info-header {
  margin-bottom: 24px;
}

.info-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cyber-cyan);
  letter-spacing: 0.08em;
}

.info-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 6px 0;
}

.info-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.info-card {
  background: var(--bg-card-alt);
  border: 1px solid #1a2846;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.ic-num {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--vault-gold);
  opacity: 0.85;
}

.info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.info-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Portal Return Link */
.portal-backlink-wrap {
  text-align: center;
  padding: 24px 0 12px 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.88rem;
}

.portal-backlink {
  color: var(--cyber-cyan);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.portal-backlink:hover {
  color: #fff;
  text-decoration: underline;
}

.portal-sub {
  color: var(--text-dim);
  margin-left: 8px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 6, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-dialog {
  background: #0d1526;
  border: 1px solid #233558;
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #1a2948;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  font-size: 1.6rem;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.unlock-benefit-box {
  background: #090e1b;
  border: 1px solid #1c2b48;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.benefit-check {
  color: var(--cyber-green);
  font-weight: bold;
}

.payment-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.pay-option-card {
  background: #090e1b;
  border: 1px solid #1e3054;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.pay-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.ton-badge {
  background: rgba(0, 136, 204, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(0, 136, 204, 0.4);
}

.stars-badge {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.pay-price {
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
}

.pay-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.copy-address-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #04070e;
  border: 1px solid #1a2846;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  overflow: hidden;
}

.wallet-address-text {
  font-size: 0.76rem;
  color: #38bdf8;
  word-break: break-all;
}

.verify-tx-box {
  background: #090e1b;
  border: 1px solid #1e3054;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.verify-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.verify-input-row {
  display: flex;
  gap: 8px;
}

.verify-input-row .input-control {
  background: #04070e;
  border: 1px solid #1a2846;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid #1a2948;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Detail Modal Specifics */
.detail-item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: #090e1b;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid #1c2b48;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-k {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.detail-v {
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
}

.detail-guide-box {
  background: #090e1b;
  border: 1px solid #1c2b48;
  border-radius: var(--radius-md);
  padding: 14px;
}

.detail-guide-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--vault-gold);
  margin-bottom: 8px;
}

.detail-guide-steps {
  list-style-type: decimal;
  padding-left: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.detail-guide-steps li {
  margin-bottom: 4px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #10b981;
  color: #000;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  animation: toastFade 0.3s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .monetization-grid {
    grid-template-columns: 1fr;
  }
  .bybit-perks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .app-container {
    padding: 12px 14px 48px 14px;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-right {
    width: 100%;
    justify-content: space-between;
  }
  .hud-grid {
    grid-template-columns: 1fr;
  }
  .vault-cards-grid {
    grid-template-columns: 1fr;
  }
  .results-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .results-sort-group {
    justify-content: space-between;
  }
  .detail-item-grid {
    grid-template-columns: 1fr;
  }
}
