/* SatMix DApp v2 - Global Styles
   Based on reference design: Deep Blue-Purple theme
*/

/* ========== FONTS ========== */
@font-face {
  font-family: 'Boldonse';
  src: url('./Boldonse-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('./GeistMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('./GeistMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('./InstrumentSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('./InstrumentSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========== CSS VARIABLES ========== */
:root {
  --bg-sidebar: #0D0D15;
  --bg-sidebar-hover: #16162A;
  --bg-sidebar-active: #1E1E3A;
  --bg-main: #12121C;
  --bg-card: #1A1A2E;
  --bg-card-alt: #1E1E36;
  --bg-input: #16162A;

  --primary: #7C5CFF;
  --primary-light: #9B7CFF;
  --primary-dark: #5A3FD4;
  --accent-purple: #B07CFF;
  --accent-purple-light: #D47CFF;
  --accent-gold: #9B7CFF;
  --accent-gold-light: #B08CFF;

  --text-primary: #EEEEF0;
  --text-secondary: #A0A0B8;
  --text-tertiary: #6B6B85;
  --text-sidebar: #8888AA;
  --text-sidebar-active: #FFFFFF;
  --text-white: #FFFFFF;

  --border-light: #2A2A42;
  --border-medium: #3A3A55;

  --green: #22C55E;
  --green-bg: rgba(34, 197, 94, 0.1);
  --red: #EF4444;
  --red-bg: rgba(239, 68, 68, 0.1);
  --yellow: #F59E0B;
  --yellow-bg: rgba(245, 158, 11, 0.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.4);

  --sidebar-width: 260px;
  --header-height: 56px;
}

/* ========== RESET ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ========== LAYOUT ========== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: var(--bg-sidebar);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-logo {
  padding: 18px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-logo .logo-full-img {
  width: 230px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translateX(24px);
  filter: drop-shadow(0 0 14px rgba(155,124,255,0.45));
}

.sidebar-section-label {
  padding: 20px 24px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(136,136,170,0.5);
  font-family: 'Instrument Sans', sans-serif;
}

.sidebar-nav {
  padding: 4px 12px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text-sidebar);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 13.5px;
  font-weight: 400;
  margin-bottom: 2px;
  user-select: none;
}
.nav-item:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-white);
}
.nav-item.active {
  background: var(--bg-sidebar-active);
  color: var(--text-white);
}
.nav-item .nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.nav-item.active .nav-icon {
  color: var(--primary-light);
}
.nav-item .nav-badge {
  margin-left: auto;
  background: var(--accent-gold);
  color: #000;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  font-family: 'Geist Mono', monospace;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.wallet-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s;
}
.wallet-pill:hover {
  background: rgba(255,255,255,0.08);
}
.wallet-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
}
.wallet-pill .addr {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--text-sidebar);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wallet-pill .bal {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--accent-gold);
  margin-left: auto;
}

/* ========== MAIN CONTENT ========== */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-header {
  height: var(--header-height);
  background: #16162A;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(108,92,231,0.15);
}
.main-header .page-title {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.main-header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Instrument Sans', sans-serif;
}
.header-btn:hover {
  background: var(--bg-card-alt);
  color: var(--text-primary);
  border-color: rgba(108,92,231,0.5);
}
.header-btn-primary {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}
.header-btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  box-shadow: 0 0 12px rgba(108,92,231,0.3);
}

.page-container {
  flex: 1;
  padding: 28px 32px 40px;
  max-width: 1200px;
  width: 100%;
}

/* ========== WELCOME BAR ========== */
.welcome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #1A2A44 0%, #0D0D15 100%);
  border-radius: var(--radius-lg);
  color: var(--text-white);
}
.welcome-bar h2 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.welcome-bar .sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-family: 'Geist Mono', monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}
.welcome-bar .sub .live-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
}
.welcome-bar .network-badge {
  padding: 5px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: rgba(255,255,255,0.7);
}

/* ========== KPI CARDS ========== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow 0.2s;
}
.kpi-card:hover {
  box-shadow: var(--shadow-md);
}
.kpi-card .kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.kpi-card .kpi-value {
  font-family: 'Geist Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.1;
}
.kpi-card .kpi-value.gold { color: var(--accent-gold); }
.kpi-card .kpi-value.purple { color: var(--accent-purple); }
.kpi-card .kpi-value.blue { color: var(--primary-light); }
.kpi-card .kpi-value.green { color: var(--green); }
.kpi-card .kpi-change {
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kpi-change.up { color: var(--green); }
.kpi-change.down { color: var(--red); }

/* ========== SECTION TITLE ========== */
.section-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title .title-accent {
  width: 3px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}
.card-dark {
  background: var(--bg-sidebar);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-white);
}
.card-dark .card-dark-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.card-dark .card-dark-value {
  font-family: 'Geist Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Instrument Sans', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  user-select: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--text-white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,106,159,0.3);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: var(--bg-card-alt);
  border-color: var(--border-medium);
}
.btn-accent {
  background: var(--accent-purple);
  color: var(--text-white);
}
.btn-accent:hover {
  background: #5A4AD4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108,92,231,0.3);
}
.btn-gold {
  background: var(--accent-gold);
  color: #000;
}
.btn-gold:hover {
  background: var(--accent-gold-light);
  transform: translateY(-1px);
}
.btn-danger {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.2);
}
.btn-danger:hover {
  background: rgba(239,68,68,0.15);
}
.btn-sm { padding: 6px 12px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-lg { padding: 12px 24px; font-size: 14px; }

/* ========== FORM INPUTS ========== */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-input);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,159,0.12);
}
.form-input::placeholder { color: var(--text-tertiary); }

.input-with-token {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: border-color 0.15s;
}
.input-with-token:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,159,0.12);
}
.input-with-token input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 16px;
  color: var(--text-primary);
}
.input-with-token .token-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.max-btn {
  font-size: 11px;
  color: var(--primary-light);
  cursor: pointer;
  font-weight: 600;
}

/* ========== BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Geist Mono', monospace;
}
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-yellow { background: var(--yellow-bg); color: var(--yellow); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-blue { background: rgba(45,106,159,0.1); color: var(--primary); }
.badge-purple { background: rgba(108,92,231,0.1); color: var(--accent-purple); }
.badge-gold { background: rgba(155,124,255,0.1); color: var(--accent-gold); }
.badge .badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ========== TABLES ========== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.data-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border-light);
}
.data-table tbody td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background 0.1s; }
.data-table tbody tr:hover { background: var(--bg-card-alt); }
.data-table .mono { font-family: 'Geist Mono', monospace; font-size: 12px; }

.token-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.token-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.token-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.token-cell .token-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.token-cell .token-symbol {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ========== TABS ========== */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  margin-bottom: 20px;
  width: fit-content;
}
.tab {
  padding: 8px 18px;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 7px;
  transition: all 0.15s;
  font-family: 'Instrument Sans', sans-serif;
  white-space: nowrap;
}
.tab:hover {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
}
.tab.active {
  background: var(--bg-main);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ========== TOKEN TABLE (Lending) ========== */
.token-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.token-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-card-alt);
}
.token-table thead th:first-child {
  border-top-left-radius: 8px;
}
.token-table thead th:last-child {
  border-top-right-radius: 8px;
}
.token-table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.token-table tbody tr:last-child td {
  border-bottom: none;
}
.token-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}
.apy-high {
  font-family: 'Geist Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
}
.text-mono {
  font-family: 'Geist Mono', monospace;
}

/* ========== FORM UPGRADE ========== */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-input);
  outline: none;
  transition: all 0.15s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
  font-size: 13px;
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

/* ========== BADGE UPGRADE ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-green {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.badge-gold {
  background: rgba(201, 162, 74, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(201, 162, 74, 0.2);
}
.badge-purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple-light);
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ========== GRIDS ========== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

/* ========== INFO ROWS ========== */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--text-secondary); }
.info-row .value {
  font-family: 'Geist Mono', monospace;
  font-weight: 600;
  color: var(--text-primary);
}
.info-row .value.gold { color: var(--accent-gold); }
.info-row .value.green { color: var(--green); }
.info-row .value.red { color: var(--red); }
.info-row .value.blue { color: var(--primary-light); }
.info-row .value.purple { color: var(--accent-purple); }

.divider {
  height: 1px;
  background: var(--border-light);
  margin: 16px 0;
}

/* ========== PROGRESS BAR ========== */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-input);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar .progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}
.progress-fill.blue { background: var(--primary); }
.progress-fill.purple { background: var(--accent-purple); }
.progress-fill.gold { background: var(--accent-gold); }
.progress-fill.green { background: var(--green); }

/* ========== STRATEGY CARD ========== */
.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.strategy-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-purple);
}
.strategy-card .strat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.strategy-card .strat-name {
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.strategy-card .strat-name .strat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.strategy-card .strat-amount {
  font-family: 'Geist Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.strategy-card .strat-change {
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
}

/* ========== PROPOSAL CARD ========== */
.proposal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.proposal-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.proposal-card .proposal-id {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.proposal-card .proposal-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.proposal-card .proposal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.proposal-card .proposal-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.proposal-card .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.proposal-card .vote-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-card-alt);
  margin-bottom: 8px;
}
.proposal-card .vote-for {
  background: var(--green);
  border-radius: 4px 0 0 4px;
  transition: width 1s ease;
}
.proposal-card .vote-against {
  background: var(--red);
  border-radius: 0 4px 4px 0;
  transition: width 1s ease;
}
.proposal-card .vote-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: var(--text-tertiary);
}

/* ========== TIER CARDS ========== */
.tier-compare {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.tier-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all 0.15s;
  background: var(--bg-card);
  cursor: pointer;
}
.tier-card:hover {
  border-color: var(--primary);
}
.tier-card.featured {
  border-color: var(--accent-gold);
  background: rgba(155,124,255,0.03);
  position: relative;
}
.tier-card.featured::after {
  content: 'CURRENT';
  position: absolute;
  top: -1px;
  right: 12px;
  background: var(--accent-gold);
  color: #000;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0 0 6px 6px;
  font-family: 'Geist Mono', monospace;
}
.tier-card .tier-level {
  font-family: 'Boldonse', sans-serif;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.tier-card .tier-name {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.tier-card .tier-stat {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 11px;
  color: var(--text-secondary);
}
.tier-card .tier-stat:last-child { border-bottom: none; }
.tier-card .tier-stat-value {
  font-family: 'Geist Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  display: block;
  margin-top: 2px;
}

/* ========== TX ROW ========== */
.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}
.tx-row:last-child { border-bottom: none; }
.tx-row .tx-type {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tx-row .tx-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--bg-card-alt);
  color: var(--primary-light);
}
.tx-row .tx-info .tx-sub {
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: 'Geist Mono', monospace;
  margin-top: 2px;
}
.tx-row .tx-amount {
  font-family: 'Geist Mono', monospace;
  font-weight: 700;
  text-align: right;
}
.tx-row .tx-amount.plus { color: var(--green); }
.tx-row .tx-amount.minus { color: var(--red); }
.tx-row .tx-amount.gold { color: var(--accent-gold); }
.tx-row .tx-hash {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--text-tertiary);
  text-align: right;
  margin-top: 2px;
}

/* ========== LOCK SELECTOR ========== */
.lock-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.lock-option {
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--bg-input);
}
.lock-option:hover {
  border-color: var(--primary);
  background: rgba(45,106,159,0.03);
}
.lock-option.selected {
  border-color: var(--accent-purple);
  background: rgba(108,92,231,0.06);
  box-shadow: 0 0 0 2px rgba(108,92,231,0.15);
}
.lock-option .lock-period {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.lock-option .lock-boost {
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: var(--primary);
  margin-top: 2px;
}

/* ========== UTILITIES ========== */
.text-muted { color: var(--text-tertiary); }
.text-secondary { color: var(--text-secondary); }
.text-mono { font-family: 'Geist Mono', monospace; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-blue { color: var(--primary-light); }
.text-purple { color: var(--accent-purple); }
.text-gold { color: var(--accent-gold); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-gap-8 { gap: 8px; }
.flex-gap-12 { gap: 12px; }
.w-full { width: 100%; }

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease; }

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Instrument Sans', sans-serif;
}
.lang-btn:hover {
  border-color: var(--primary);
  background: var(--bg-card-alt);
}
.lang-btn .flag {
  font-size: 14px;
}
.lang-btn .arrow {
  font-size: 9px;
  color: var(--text-tertiary);
  margin-left: 2px;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s ease;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.1s;
  font-size: 13px;
  color: var(--text-secondary);
}
.lang-option:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-primary);
}
.lang-option.active {
  background: var(--bg-sidebar-active);
  color: var(--primary-light);
}
.lang-option .flag {
  font-size: 16px;
}

/* ========== HERO BANNER ========== */
.hero-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 40px 36px;
  background: linear-gradient(135deg, rgba(201, 162, 74, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(201, 162, 74, 0.1);
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px 0;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 360px;
  flex-shrink: 0;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.hero-stat:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.hero-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  opacity: 0.8;
}

.hero-stat.stat-gold::before { background: var(--accent-gold); }
.hero-stat.stat-blue::before { background: var(--primary-light); }
.hero-stat.stat-green::before { background: var(--green); }
.hero-stat.stat-purple::before { background: var(--accent-purple-light); }

.hero-stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
  font-weight: 500;
}

.hero-stat-value {
  font-family: 'Geist Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-stat-value.text-gold { color: var(--accent-gold); }
.hero-stat-value.text-green { color: var(--green); }
.hero-stat-value.text-blue { color: var(--primary-light); }
.hero-stat-value.text-purple { color: var(--accent-purple-light); }

/* ========== NODE TIER CARDS (Redesigned) ========== */
.node-tiers-section {
  margin-bottom: 40px;
}

.node-tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

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

.tier-card.tier-gold {
  border: 1px solid var(--accent-gold);
  box-shadow: 0 0 40px rgba(201, 162, 74, 0.1);
}

.tier-card.tier-gold:hover {
  box-shadow: 0 8px 60px rgba(201, 162, 74, 0.2);
}

.tier-card.tier-purple {
  border: 1px solid var(--accent-purple);
}

.tier-card.tier-purple:hover {
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.15);
}

.tier-card.tier-blue:hover {
  box-shadow: 0 8px 40px rgba(59, 130, 246, 0.1);
}

/* Card header with hexagon visual */
.tier-card-header {
  position: relative;
  padding: 40px 24px 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  overflow: hidden;
}

.tier-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.tier-card.tier-gold .tier-card-header {
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.1) 0%, transparent 100%);
}

.tier-card.tier-gold .tier-card-header::before {
  background: radial-gradient(circle, rgba(201, 162, 74, 0.08) 0%, transparent 70%);
}

.tier-card.tier-purple .tier-card-header {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, transparent 100%);
}

.tier-card.tier-purple .tier-card-header::before {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

.tier-card.tier-blue .tier-card-header::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

/* Hexagon node icon */
.tier-hex {
  width: 72px;
  height: 80px;
  margin: 0 auto 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tier-hex svg {
  width: 100%;
  height: 100%;
}

.tier-hex-icon {
  position: absolute;
  font-size: 28px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tier-label {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tier-gold .tier-label {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: #1a1a2e;
}

.tier-purple .tier-label {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
  color: #fff;
}

.tier-blue .tier-label {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.tier-symbol {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 8px;
}

.tier-gold .tier-symbol {
  color: var(--accent-gold);
}

.tier-purple .tier-symbol {
  color: var(--accent-purple-light);
}

.tier-blue .tier-symbol {
  color: var(--primary-light);
}

.tier-price {
  font-family: 'Geist Mono', monospace;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.tier-gold .tier-price {
  color: var(--accent-gold);
}

.tier-purple .tier-price {
  color: var(--accent-purple-light);
}

.tier-blue .tier-price {
  color: var(--primary-light);
}

.tier-price-sub {
  font-size: 12px;
  color: var(--text-tertiary);
}

.tier-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.tier-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.tier-gold .tier-badge {
  background: rgba(201, 162, 74, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(201, 162, 74, 0.2);
}

.tier-purple .tier-badge {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple-light);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.tier-blue .tier-badge {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Card body */
.tier-card-body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tier-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0;
}

.tier-features-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  text-align: left;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tier-features li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 0px;
}

.tier-gold .tier-features li .check {
  background: rgba(201, 162, 74, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(201, 162, 74, 0.25);
}

.tier-purple .tier-features li .check {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple-light);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.tier-blue .tier-features li .check {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.tier-features li.disabled {
  opacity: 0.35;
}

.tier-features li.disabled .check {
  background: transparent;
  color: var(--text-tertiary);
  border: 1px solid var(--border-light);
}

/* Progress section */
.tier-progress-section {
  margin-top: auto;
}

.tier-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

.tier-progress-label span:first-child {
  color: var(--text-tertiary);
}

.tier-gold .tier-progress-label span:last-child {
  color: var(--accent-gold);
  font-weight: 600;
}

.tier-purple .tier-progress-label span:last-child {
  color: var(--accent-purple-light);
  font-weight: 600;
}

.tier-blue .tier-progress-label span:last-child {
  color: var(--primary-light);
  font-weight: 600;
}

.tier-buy-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Instrument Sans', sans-serif;
  letter-spacing: 0.3px;
}

.tier-gold .tier-buy-btn {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(201, 162, 74, 0.25);
}

.tier-gold .tier-buy-btn:hover {
  box-shadow: 0 6px 28px rgba(201, 162, 74, 0.4);
  transform: translateY(-1px);
}

.tier-purple .tier-buy-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
  color: #fff;
}

.tier-purple .tier-buy-btn:hover {
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}

.tier-blue .tier-buy-btn {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid var(--primary);
}

.tier-blue .tier-buy-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary-light);
}

/* Featured card (middle one - genesis) */
.tier-card.featured {
  transform: scale(1.04);
  z-index: 2;
}

.tier-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tier-compare { grid-template-columns: repeat(2, 1fr); }
  .node-tiers-grid { grid-template-columns: 1fr 1fr; }
  .tier-card.featured { transform: none; }
  .tier-card.featured:hover { transform: translateY(-6px); }
  .hero-banner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 28px; }
  .hero-stats { min-width: 100%; width: 100%; }
}
/* ========== BTC RESERVE CARD ========== */
.btc-reserve-card {
  background: linear-gradient(135deg, rgba(247,147,26,0.08) 0%, rgba(247,147,26,0.02) 50%, rgba(108,92,231,0.03) 100%);
  border: 1px solid rgba(247,147,26,0.2);
  position: relative;
  overflow: hidden;
}
.btc-reserve-card::before {
  content: '₿';
  position: absolute;
  right: -20px;
  top: -30px;
  font-size: 180px;
  color: rgba(247,147,26,0.06);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.btc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}
.btc-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F7931A, #FFB347);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 15px rgba(247,147,26,0.3);
}
.btc-title-group {
  flex: 1;
}
.btc-title {
  font-size: 18px;
  font-weight: 700;
  color: #F7931A;
  margin-bottom: 2px;
}
.btc-subtitle {
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: 'Geist Mono', monospace;
}
.btc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.2);
}
.btc-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.btc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
}
.btc-stat {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(247,147,26,0.1);
  border-radius: 10px;
  padding: 14px;
}
.btc-stat-label {
  font-size: 10px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.btc-stat-value {
  font-family: 'Geist Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.btc-stat-value.btc-color { color: #F7931A; }
.btc-stat-value.green { color: #22c55e; }
.btc-stat-sub {
  font-size: 10px;
  color: var(--text-tertiary);
  font-family: 'Geist Mono', monospace;
}

.btc-progress-section {
  position: relative;
}
.btc-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.btc-progress-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}
.btc-progress-info {
  font-size: 10px;
  color: var(--text-tertiary);
  font-family: 'Geist Mono', monospace;
}
.btc-progress-bar {
  height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.btc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F7931A, #FFB347);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.btc-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(247,147,26,0.1);
  position: relative;
}
.btc-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: var(--text-tertiary);
}
.btc-address-copy {
  cursor: pointer;
  color: #F7931A;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(247,147,26,0.1);
  border: 1px solid rgba(247,147,26,0.2);
}
.btc-view-details {
  font-size: 11px;
  color: #F7931A;
  cursor: pointer;
  font-weight: 500;
}

@media (max-width: 900px) {
  .btc-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .btc-stat-value { font-size: 16px; }
  .btc-header { flex-wrap: wrap; }
}

/* ========== REVENUE STREAMS ========== */
.revenue-streams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.revenue-pie-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.revenue-pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.revenue-pie-center .total-label {
  font-size: 10px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.revenue-pie-center .total-value {
  font-family: 'Geist Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.revenue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.revenue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.revenue-item:hover {
  background: var(--bg-input);
}
.revenue-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.revenue-info {
  flex: 1;
  min-width: 0;
}
.revenue-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.revenue-sub {
  font-size: 10px;
  color: var(--text-tertiary);
  font-family: 'Geist Mono', monospace;
}
.revenue-pct {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .page-container { padding: 20px 16px 30px; }
  .main-header { padding: 0 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .tier-compare { grid-template-columns: 1fr; }
  .welcome-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .node-tiers-grid { grid-template-columns: 1fr; }
  .tier-card.featured { transform: none; }
  .tier-price { font-size: 36px; }
  .hero-banner { padding: 24px 20px; }
  .hero-title { font-size: 28px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat-value { font-size: 18px; }
  .revenue-streams { grid-template-columns: 1fr; gap: 20px; }
  .revenue-pie-wrap { width: 180px; height: 180px; }
}
