@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #070d1a;
  --bg-soft: #0f1a32;
  --panel: #10223f;
  --text: #f3f8ff;
  --muted: #b9c5d6;
  --accent: #07d3d0;
  --accent-2: #f6c344;
  --danger: #ff5f67;
  --ok: #4be07a;
  --ticker-height: 42px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #1a2f58, var(--bg));
  min-height: 100vh;
  overflow-x: hidden;
}

a,
a:hover,
a:focus,
a:active,
button,
button:hover,
button:focus,
button:active,
.btn,
.btn:hover,
.btn:focus,
.btn:active {
  text-decoration: none;
}

body.home-preloading {
  overflow: hidden !important;
}

.home-preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 30% 20%, #1c315f 0%, #0a1223 58%, #060b15 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.home-preloader.hidden,
body.home-ready .home-preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-preloader-inner {
  width: min(440px, 92vw);
  text-align: center;
}

.home-preloader-logo {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 8px rgba(7, 211, 208, 0.15);
  animation: preloaderPulse 1.4s ease-in-out infinite;
}

.home-preloader-inner h2 {
  margin: 14px 0 6px;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.home-preloader-inner p {
  margin: 0;
  color: #bad1ef;
}

.home-preloader-bar {
  margin: 16px auto 0;
  width: min(300px, 82vw);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.home-preloader-bar span {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #07d3d0, #f6c344);
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(7, 211, 208, 0.15);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(7, 211, 208, 0.08);
  }
}

@keyframes preloaderSlide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(340%);
  }
}

.stock-carousel {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 11, 25, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.stock-carousel-inner {
  overflow: hidden;
  white-space: nowrap;
}

.stock-carousel-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 18px;
  min-width: max-content;
  animation: stockTickerSlide 45s linear infinite;
}

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

.stock-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 18, 36, 0.9);
  padding: 6px 12px;
  font-size: 0.86rem;
}

.ticker-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.stock-ticker-item strong {
  color: #c3f8ff;
}

.stock-ticker-item .price {
  color: #e6eefc;
}

.stock-ticker-item .chg {
  font-weight: 700;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(5, 11, 25, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.topbar nav { display: flex; gap: 12px; align-items: center; }
.topbar a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.topbar-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.topbar-lang-switch label {
  color: #b8c9dc;
  font-size: 0.82rem;
}

.topbar-lang-switch select {
  width: auto;
  min-width: 120px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 14, 28, 0.92);
  color: #e8f3ff;
  padding: 7px 10px;
}

.topbar-mobile-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(7, 211, 208, 0.13);
  color: #d8feff;
  padding: 8px 10px;
  cursor: pointer;
}
.btn-link { padding: 8px 12px; background: var(--accent); color: #001b22 !important; border-radius: 8px; font-weight: 700; }

.app-shell {
  min-height: 100vh;
  display: flex;
  position: relative;
}

.sidebar {
  width: 260px;
  height: calc(100vh - var(--ticker-height));
  position: sticky;
  top: var(--ticker-height);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  background: linear-gradient(180deg, rgba(7, 16, 34, 0.96), rgba(6, 13, 28, 0.9));
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  overflow-y: auto;
}

.mobile-nav-bar,
.sidebar-backdrop {
  display: none;
}

.sidebar-brand {
  padding: 8px 10px 10px;
}

.sidebar-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-lang-switch {
  margin-top: 10px;
  display: grid;
  gap: 5px;
}

.sidebar-lang-switch label {
  color: #9eb3c9;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.sidebar-lang-switch select {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 16, 31, 0.9);
  color: #e8f3ff;
  padding: 8px 9px;
  font-size: 0.86rem;
}

.sidebar-nav {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-link,
.side-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 12px;
  transition: 0.18s ease;
  font-size: 0.95rem;
}

.side-link:hover,
.side-logout:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.side-link.active {
  background: rgba(7, 211, 208, 0.16);
  border-color: rgba(7, 211, 208, 0.45);
  color: #d8ffff;
}

.side-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.side-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.side-logout {
  color: #ffd2d5;
  border-color: rgba(255, 95, 103, 0.28);
  background: rgba(255, 95, 103, 0.08);
}

.container {
  width: 100%;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 90px);
}

.container-auth {
  width: min(1320px, calc(100vw - 320px));
  margin: 24px 24px 0;
  min-height: calc(100vh - 24px);
}

.hero {
  padding: 36px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(7, 211, 208, 0.15), rgba(246, 195, 68, 0.12));
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}

.hero h1 { margin-top: 0; }
.hero-actions { display: flex; gap: 10px; margin-top: 16px; }

.btn {
  border: 0;
  background: var(--accent);
  color: #032028;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.btn.secondary { background: var(--accent-2); color: #2e2500; }
.btn.tiny { padding: 6px 10px; font-size: 0.85rem; }

.grid { display: grid; gap: 16px; margin-top: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Mobile-first homepage layout for guest users */
.guest-home .home-page .grid.two,
.guest-home .home-page .grid.three,
.guest-home .home-page .grid.four {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .guest-home .home-page .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guest-home .home-page .grid.three,
  .guest-home .home-page .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .guest-home .home-page .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .guest-home .home-page .grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  background: rgba(16, 34, 63, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(7, 211, 208, 0.45);
  background: rgba(18, 38, 70, 0.92);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.home-page .card {
  border: 0;
}

.home-page .card:hover,
.home-page .card:focus-within {
  border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  .card:hover,
  .card:focus-within {
    transform: none;
    box-shadow: none;
  }
}

.card.narrow { width: min(520px, 100%); margin: 20px auto; }
.card h2, .card h3, .card h4 { margin-top: 0; }
.stat p { font-size: 1.6rem; margin: 0; }

label { display: block; margin: 12px 0 6px; color: var(--muted); }
input, select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2a456e;
  background: #08162f;
  color: var(--text);
}

textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2a456e;
  background: #08162f;
  color: var(--text);
  resize: vertical;
  min-height: 120px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th, td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 4px;
  text-align: left;
}

.table-wrap {
  overflow-x: auto;
  width: 100%;
}

.table-wrap table {
  min-width: 640px;
}

.quote-board { display: grid; gap: 10px; }
.quote-row {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-radius: 10px;
  background: rgba(7, 14, 28, 0.8);
}

.alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.alert.success { background: rgba(75, 224, 122, 0.15); color: #9df3b8; }
.alert.error { background: rgba(255, 95, 103, 0.17); color: #ffb6bb; }

.small-note { margin-top: 12px; color: var(--muted); }
.muted-inline { color: var(--muted); font-size: 0.82rem; }
.red { color: var(--danger); }
.green { color: var(--ok); }

.popular-stocks-grid {
  margin-top: 12px;
}

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

.popular-stock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.popular-stock-symbol {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.popular-change-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.popular-change-chip.green {
  color: #9ef6ba;
  border-color: rgba(75, 224, 122, 0.45);
  background: rgba(75, 224, 122, 0.14);
}

.popular-change-chip.red {
  color: #ffb6bb;
  border-color: rgba(255, 95, 103, 0.45);
  background: rgba(255, 95, 103, 0.14);
}

.popular-stock-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.popular-stock-metric {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 10px;
  background: rgba(3, 8, 17, 0.7);
}

.popular-stock-metric span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.popular-stock-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 1.02rem;
}

.popular-stock-trade-btn {
  margin-top: auto;
  text-align: center;
  text-decoration: none;
}
.hash { max-width: 220px; overflow-wrap: anywhere; }
.mono-list { font-family: Consolas, monospace; line-height: 1.7; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.trade-shell {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.trade-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(3, 8, 17, 0.72);
  min-width: 0;
}

.trade-pair-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.asset-picker-trigger {
  min-width: 240px;
  max-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(8, 13, 24, 0.92);
  color: #eef6ff;
  padding: 10px 12px;
  text-align: left;
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.asset-picker-trigger[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.asset-picker-trigger:not([disabled]):hover {
  border-color: rgba(53, 212, 210, 0.45);
}

.asset-picker-title {
  font-size: 0.8rem;
  color: #9cb0c7;
}

.asset-picker-trigger strong {
  font-size: 1.03rem;
}

.asset-picker-current {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.asset-picker-current-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.asset-inline-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.asset-inline-logo.large {
  width: 30px;
  height: 30px;
}

.asset-picker-type {
  font-size: 0.82rem;
  color: #8ad2d0;
}

.asset-hidden-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.asset-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(2, 7, 14, 0.72);
}

.asset-modal-dialog {
  width: min(430px, 96vw);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #060c16;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  padding: 12px;
}

.asset-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.asset-modal-head h3 {
  margin: 0;
  font-size: 1.55rem;
}

.asset-modal-close {
  border: 0;
  background: transparent;
  color: #d8e6f8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}

.asset-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.asset-list-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #e8f3ff;
  padding: 10px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.asset-list-btn:hover {
  border-color: rgba(53, 212, 210, 0.46);
}

.asset-list-btn.active {
  border-color: rgba(53, 212, 210, 0.58);
  background: rgba(53, 212, 210, 0.17);
}

.asset-list-symbol {
  font-weight: 700;
}

.asset-list-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.asset-list-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.asset-list-name {
  font-size: 0.85rem;
  color: #b3c4d8;
}

.asset-modal[hidden] {
  display: none;
}

body.asset-modal-open {
  overflow: hidden;
}

.asset-type-toggle {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.asset-type-btn {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9caac0;
  padding: 13px 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.asset-type-btn.active {
  color: #042426;
  background: #35d4d2;
}

.asset-search-input {
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid rgba(53, 212, 210, 0.5);
  background: rgba(6, 14, 28, 0.95);
  color: #eaf6ff;
  padding: 10px 12px;
}

.asset-search-input::placeholder {
  color: #7f95b0;
}

.trade-pair-meta {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.market-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #ffb561;
  background: rgba(255, 151, 32, 0.16);
  border: 1px solid rgba(255, 151, 32, 0.2);
}

.market-tag.inline {
  margin-left: 8px;
}

.trade-pair-select {
  min-width: 200px;
  background: #0b111f;
  border-color: rgba(255, 255, 255, 0.12);
}

.trade-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.metric-pill {
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(13, 22, 40, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.metric-pill span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.metric-pill strong {
  font-size: 1.1rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trade-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(320px, 0.9fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.trade-main-panel {
  padding: 12px;
  background: #060b14;
  border-color: rgba(80, 124, 190, 0.24);
  min-width: 0;
}

.trade-main-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(8, 16, 29, 0.9);
}

.trade-main-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.trade-main-pair h2 {
  margin: 0;
  font-size: 1.65rem;
}

.trade-main-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trade-main-price span:first-child {
  font-size: 2rem;
  font-weight: 800;
}

.change-badge {
  border-radius: 8px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 700;
}

.tf-strip {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tf-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b1222;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.tf-btn.active {
  border-color: #2799ff;
  color: #cde9ff;
  background: rgba(39, 153, 255, 0.16);
}

.chart-frame {
  margin-top: 10px;
  border: 1px solid #1d5a91;
  border-radius: 10px;
  overflow: hidden;
  background: #02060d;
}

.chart-stage {
  height: 520px;
}

.tv-widget,
.chart-fallback {
  width: 100%;
  height: 100%;
}

.chart-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.trade-side-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.balance-panel,
.order-panel {
  background: #050b14;
  border-color: rgba(80, 124, 190, 0.24);
}

.balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.balance-top h3 {
  margin: 0;
}

.mode-badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  background: rgba(246, 195, 68, 0.18);
  color: #ffc95f;
}

.mode-badge.live {
  background: rgba(75, 224, 122, 0.18);
  color: #8ef4b2;
}

.balance-amount {
  margin: 10px 0 12px;
  font-size: 2rem;
  font-weight: 800;
}

.mode-banner {
  border: 1px solid rgba(246, 195, 68, 0.35);
  border-radius: 10px;
  background: rgba(246, 195, 68, 0.09);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.mode-banner strong {
  color: #ffc95f;
}

.mode-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  background: rgba(3, 8, 17, 0.75);
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-card strong {
  font-size: 1.5rem;
}

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-head h3 {
  margin: 0;
}

.order-form {
  margin-top: 10px;
}

.side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.side-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #09101f;
  color: var(--text);
  border-radius: 10px;
  padding: 12px;
  font-size: 1.15rem;
  cursor: pointer;
}

.side-btn.buy.active {
  border-color: rgba(75, 224, 122, 0.6);
  background: rgba(75, 224, 122, 0.16);
  color: #9ef3bb;
}

.side-btn.sell.active {
  border-color: rgba(255, 95, 103, 0.6);
  background: rgba(255, 95, 103, 0.16);
  color: #ffb2b8;
}

.order-submit {
  width: 100%;
  margin-top: 14px;
}

.market-board {
  background: rgba(9, 19, 36, 0.9);
}

.market-board-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}

.market-board-head h2 {
  margin: 0;
}

.market-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.market-search-wrap input {
  width: min(360px, 52vw);
}

.market-summary-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.market-summary-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  background: rgba(8, 16, 30, 0.84);
}

.market-summary-card h3 {
  margin: 4px 0 4px;
  font-size: 1.18rem;
}

.market-summary-card p {
  margin: 0;
}

.market-summary-card.gainer {
  border-color: rgba(75, 224, 122, 0.36);
  background: rgba(75, 224, 122, 0.08);
}

.market-summary-card.loser {
  border-color: rgba(255, 95, 103, 0.32);
  background: rgba(255, 95, 103, 0.08);
}

.market-summary-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.market-summary-meta strong {
  font-size: 0.95rem;
}

.market-filter-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.market-filter-row label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.market-filter-row select {
  width: auto;
  min-width: 260px;
}

.market-table td,
.market-table th {
  vertical-align: middle;
}

.market-type-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.market-type-badge.stock {
  border-color: rgba(7, 211, 208, 0.42);
  background: rgba(7, 211, 208, 0.14);
  color: #bcffff;
}

.market-type-badge.crypto {
  border-color: rgba(246, 195, 68, 0.42);
  background: rgba(246, 195, 68, 0.14);
  color: #ffd88b;
}

.home-market {
  margin-top: 16px;
  background: rgba(9, 19, 36, 0.9);
}

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

.home-market-head h2 {
  margin: 0;
}

.home-market-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-market-controls label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-market-controls select {
  width: auto;
  min-width: 160px;
}

.home-stocks-chart {
  height: 500px;
  border: 1px solid rgba(39, 153, 255, 0.35);
  border-radius: 12px;
  overflow: hidden;
  background: #02060d;
}

.tn-home {
  display: grid;
  gap: 16px;
}

.tn-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 0.5px solid rgba(120, 172, 255, 0.24);
  background:
    linear-gradient(125deg, rgba(5, 14, 28, 0.93) 0%, rgba(8, 19, 37, 0.9) 45%, rgba(9, 24, 45, 0.88) 100%),
    radial-gradient(circle at 88% 8%, rgba(50, 115, 204, 0.56), transparent 48%),
    url('/assets/images/hero-chart.svg');
  background-repeat: no-repeat;
  background-size: auto, auto, cover;
  background-position: center, top right, 72% center;
}

.tn-kicker {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: #7ed8ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.tn-hero h1 {
  margin: 0;
  line-height: 1.08;
  font-size: clamp(2rem, 9vw, 3.35rem);
}

.tn-lead {
  margin-top: 10px;
  color: #c2cde0;
  font-size: 1.02rem;
  max-width: 64ch;
}

.tn-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tn-trust-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tn-trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8e3f6;
  font-size: 0.82rem;
}

.tn-hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 17, 33, 0.74);
  padding: 14px;
}

.tn-hero-panel h3 {
  margin: 0 0 10px;
}

.tn-hero-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #c8d5ea;
  display: grid;
  gap: 8px;
}

.tn-hero-panel .btn {
  margin-top: 12px;
}

.tn-game-changers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background:
    radial-gradient(circle at left top, rgba(7, 211, 208, 0.17), transparent 38%),
    rgba(9, 19, 36, 0.9);
}

.tn-game-media {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(7, 15, 30, 0.74);
  min-height: 180px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
}

.tn-game-media img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.tn-game-media p {
  margin: 0;
  color: #d5def0;
  font-size: 0.92rem;
}

.tn-game-copy h2 {
  margin-top: 0;
}

.tn-game-copy p {
  color: #c0cde0;
}

.tn-saver-box {
  margin-top: 12px;
  border: 1px solid rgba(123, 170, 240, 0.32);
  border-radius: 12px;
  background: rgba(11, 23, 43, 0.74);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.tn-saver-row label {
  margin-top: 0;
}

.tn-market-card,
.tn-platform-card,
.tn-knowledge-card {
  background: rgba(10, 22, 42, 0.88);
}

.tn-market-card p,
.tn-platform-card p,
.tn-knowledge-card p {
  color: #c3cee1;
}

.tn-market-card a {
  display: inline-block;
  margin-top: 8px;
  color: #7fdcff;
  text-decoration: none;
  font-weight: 600;
}

.tn-market-card a:hover {
  color: #b8efff;
}

.tn-chart-panel {
  border-color: rgba(129, 187, 255, 0.24);
}

.tn-cta {
  text-align: center;
  background:
    radial-gradient(circle at center top, rgba(7, 211, 208, 0.18), transparent 40%),
    rgba(9, 19, 36, 0.9);
}

.tn-cta h2 {
  margin: 0 0 8px;
}

.tn-cta p {
  margin: 0 0 14px;
  color: #c2cfdf;
}

@media (min-width: 980px) {
  .tn-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
    align-items: stretch;
    padding: 24px;
    background-size: auto, auto, 115%;
    background-position: center, top right, center;
  }
  .tn-game-changers {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    align-items: center;
  }
}

.value-strip {
  margin-top: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1a3a62 0%, #132947 45%, #0f223d 100%);
  border: 1px solid rgba(129, 186, 255, 0.26);
  padding: 20px 18px;
  color: #eaf3ff;
}

.value-strip-intro {
  margin: 0;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 600;
}

.value-strip-divider {
  margin: 16px auto 10px;
  height: 1px;
  width: min(86%, 980px);
  background: rgba(163, 206, 255, 0.48);
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-item {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.value-item:nth-child(1),
.value-item:nth-child(2),
.value-item:nth-child(4),
.value-item:nth-child(5) {
  border-right: 1px solid rgba(255, 255, 255, 0.48);
}

.value-item:nth-child(-n + 3) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.value-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8fddff;
}

.value-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

.value-item h3 {
  margin: 0 0 8px;
  font-size: 1.34rem;
  line-height: 1.1;
}

.value-item p {
  margin: 0;
  color: rgba(223, 236, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.4;
}

.stripe-funding-card {
  background: rgba(9, 19, 36, 0.9);
}

.stripe-funding-form {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.home-counters {
  margin-top: 16px;
}

.counter-card {
  text-align: center;
  background: rgba(10, 21, 40, 0.85);
}

.counter-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.counter-value {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  font-weight: 800;
  color: #d9f8ff;
}

.why-choose {
  margin-top: 16px;
}

.section-headline {
  margin-bottom: 10px;
}

.section-headline h2 {
  margin: 0;
}

.dashboard-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-action-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 17, 33, 0.85);
  color: #d6ecff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dashboard-action-link:hover {
  border-color: rgba(7, 211, 208, 0.5);
  background: rgba(7, 211, 208, 0.14);
  transform: translateY(-1px);
}

.dashboard-action-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.dashboard-action-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #ff5f67;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dashboard-sx-page .container-auth {
  width: calc(100vw - 304px);
  max-width: none;
  margin: 14px 16px 0;
}

.dashboard-sx-layout {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.dashboard-sx-left-col {
  display: grid;
  gap: 14px;
  align-content: start;
}

.dashboard-sx-account-card {
  background: linear-gradient(145deg, rgba(2, 19, 24, 0.96), rgba(3, 12, 18, 0.92));
  border-color: rgba(7, 211, 208, 0.22);
}

.dashboard-sx-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-sx-eyebrow {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: #b2c2d6;
}

.dashboard-sx-account-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  line-height: 1.1;
  color: #eef9ff;
}

.dashboard-sx-eye {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #adb8c6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dashboard-sx-eye svg {
  width: 17px;
  height: 17px;
}

.dashboard-sx-eye.masked {
  color: #2ee6de;
  border-color: rgba(46, 230, 222, 0.42);
}

.dashboard-sx-balance-label {
  margin: 18px 0 8px;
  color: #a9b7c8;
  font-size: 1.06rem;
}

.dashboard-sx-balance-value {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #35e1da;
  font-weight: 800;
}

.dashboard-sx-bonus-line {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #f8ca3d;
  font-size: 1.04rem;
}

.dashboard-sx-bonus-line strong {
  color: #ffd243;
  font-size: 1.82rem;
  line-height: 1;
}

.dashboard-sx-kpi-card {
  background: rgba(25, 30, 40, 0.94);
  border-color: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 116px;
}

.dashboard-sx-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(53, 225, 218, 0.16);
  color: #35e1da;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}

.dashboard-sx-kpi-icon svg {
  width: 20px;
  height: 20px;
}

.dashboard-sx-kpi-icon.bonus {
  color: #ffd243;
  background: rgba(255, 210, 67, 0.14);
}

.dashboard-sx-kpi-card p {
  margin: 0 0 8px;
  color: #aeb8c6;
  font-size: 1.16rem;
}

.dashboard-sx-kpi-card strong {
  font-size: 2.15rem;
  line-height: 1;
  color: #ecf5ff;
}

.dashboard-sx-market-card {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(8, 14, 22, 0.98), rgba(2, 7, 12, 0.98));
  border-color: rgba(7, 211, 208, 0.18);
  display: flex;
  flex-direction: column;
}

.dashboard-sx-market-head {
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-sx-market-head h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 2.15rem;
  line-height: 1;
}

.dashboard-sx-market-icon {
  width: 24px;
  height: 24px;
  color: #2ee6de;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-sx-market-icon svg {
  width: 22px;
  height: 22px;
}

.dashboard-sx-market-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dashboard-sx-range-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
}

.dashboard-sx-range-toggle button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #a9b5c5;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 7px 12px;
  cursor: pointer;
}

.dashboard-sx-range-toggle button.active {
  color: #001819;
  background: #2ee6de;
}

.dashboard-sx-expand-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d9e8ff;
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-sx-expand-btn svg {
  width: 18px;
  height: 18px;
}

.dashboard-sx-mini-grid {
  padding: 14px 14px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-mini-empty {
  grid-column: 1 / -1;
  background: rgba(17, 26, 36, 0.86);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.dashboard-mini-empty strong {
  display: block;
  margin-bottom: 4px;
}

.dashboard-mini-empty p {
  margin: 0;
  color: #9fb0c3;
  font-size: 0.9rem;
}

.dashboard-mini-stock {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(29, 31, 37, 0.92);
  color: #eef6ff;
  text-align: left;
  padding: 12px 11px 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.dashboard-mini-stock:hover {
  border-color: rgba(46, 230, 222, 0.5);
  transform: translateY(-2px);
}

.dashboard-mini-stock.active {
  border-color: rgba(46, 230, 222, 0.78);
  background: rgba(8, 26, 31, 0.94);
}

.dashboard-mini-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dashboard-mini-head img {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.dashboard-mini-head strong {
  font-size: 1.08rem;
  line-height: 1;
}

.dashboard-mini-head span {
  margin-left: auto;
  font-size: 0.96rem;
  font-weight: 700;
}

.dashboard-mini-price {
  margin: 9px 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
}

.dashboard-mini-delta {
  margin: 0;
  font-size: 0.97rem;
}

.dashboard-sx-focus-card {
  margin: 14px;
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 24, 31, 0.92);
  overflow: hidden;
}

.dashboard-sx-focus-head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-sx-focus-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dashboard-sx-focus-title img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.dashboard-sx-focus-title h4 {
  margin: 0;
  font-size: 2.05rem;
  line-height: 1;
}

.dashboard-sx-focus-title p {
  margin: 5px 0 0;
  color: #32dcd7;
  font-size: 1.2rem;
  max-width: 36ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sx-focus-price {
  text-align: right;
}

.dashboard-sx-focus-price strong {
  font-size: 2.25rem;
  line-height: 1;
}

.dashboard-sx-focus-price p {
  margin: 8px 0 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.dashboard-sx-focus-chart {
  padding: 12px 14px 14px;
}

.dashboard-sx-focus-chart svg {
  width: 100%;
  height: 350px;
  display: block;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(1, 8, 11, 0.98), rgba(2, 13, 19, 0.98));
  border: 1px solid rgba(46, 230, 222, 0.2);
}

.dashboard-sx-focus-chart .small-note {
  margin: 9px 2px 0;
  color: #9db0c4;
}

.dashboard-sx-extension {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.sx-quick-actions-card {
  background: linear-gradient(145deg, rgba(8, 12, 20, 0.96), rgba(4, 10, 16, 0.96));
  border-color: rgba(7, 211, 208, 0.17);
}

.sx-quick-actions-card h3,
.sx-sentiment-card h3,
.sx-movers-card h3,
.sx-trending-card h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
  line-height: 1.1;
}

.sx-section-icon {
  width: 21px;
  height: 21px;
  color: #2ee6de;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sx-section-icon svg {
  width: 21px;
  height: 21px;
}

.sx-quick-actions-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sx-quick-action-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(27, 30, 37, 0.95);
  padding: 18px 12px 14px;
  color: #e7f3ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 134px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sx-quick-action-item:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 230, 222, 0.45);
  background: rgba(8, 23, 31, 0.95);
}

.sx-quick-action-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(46, 230, 222, 0.13);
  color: #2ee6de;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sx-quick-action-icon svg {
  width: 21px;
  height: 21px;
}

.sx-quick-action-item span:last-child {
  font-size: 1.35rem;
  font-weight: 600;
}

.sx-market-widgets {
  display: grid;
  gap: 12px;
}

.sx-market-widgets-top {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 12px;
}

.sx-sentiment-card,
.sx-movers-card,
.sx-trending-card {
  background: linear-gradient(145deg, rgba(8, 12, 20, 0.96), rgba(5, 11, 17, 0.97));
  border-color: rgba(255, 255, 255, 0.09);
}

.sx-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sx-sentiment-pill {
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 5px 10px;
  line-height: 1;
}

.sx-sentiment-pill.fear {
  background: rgba(255, 95, 103, 0.2);
  color: #ffb0b5;
}

.sx-sentiment-pill.neutral {
  background: rgba(246, 195, 68, 0.2);
  color: #f6c344;
}

.sx-sentiment-pill.greed {
  background: rgba(75, 224, 122, 0.2);
  color: #8eecab;
}

.sx-sentiment-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #b8c6d8;
  font-size: 1.26rem;
}

.sx-sentiment-meta strong {
  color: #e9f4ff;
  font-size: 1.34rem;
}

.sx-sentiment-bar {
  margin-top: 10px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sx-sentiment-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff595d 0%, #f6c344 50%, #4be07a 100%);
}

.sx-sentiment-scale {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  color: #8ea0b5;
  font-size: 1.02rem;
}

.sx-sentiment-scale span:nth-child(2) {
  text-align: center;
}

.sx-sentiment-scale span:last-child {
  text-align: right;
}

.sx-movers-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.sx-movers-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.26rem;
}

.sx-mover-asset {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sx-mover-asset img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.sx-mover-asset strong {
  font-size: 1.2rem;
}

.sx-trending-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sx-trending-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(28, 32, 40, 0.94);
  padding: 12px;
  color: #ecf5ff;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sx-trending-item:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 230, 222, 0.46);
}

.sx-trending-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.sx-trending-meta {
  min-width: 0;
}

.sx-trending-meta strong {
  margin: 0;
  display: block;
  font-size: 1.18rem;
  font-weight: 700;
  color: #eff7ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sx-trending-meta strong span {
  font-weight: 800;
}

.sx-trending-meta p {
  margin: 5px 0 0;
  font-size: 1rem;
  color: #9fb0c4;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1320px) {
  .dashboard-sx-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-sx-left-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  .dashboard-sx-account-card {
    grid-column: 1 / -1;
  }
  .dashboard-sx-extension {
    grid-template-columns: 1fr;
  }
  .sx-market-widgets-top {
    grid-template-columns: 1fr;
  }
  .sx-trending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .dashboard-sx-left-col {
    grid-template-columns: 1fr;
  }
  .dashboard-sx-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sx-trending-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .dashboard-sx-market-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-sx-market-head h3 {
    font-size: 1.46rem;
  }
  .dashboard-sx-focus-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-sx-focus-price {
    text-align: left;
  }
  .dashboard-sx-focus-price strong {
    font-size: 1.6rem;
  }
  .dashboard-sx-focus-price p {
    font-size: 1rem;
  }
  .dashboard-sx-focus-title h4 {
    font-size: 1.4rem;
  }
  .dashboard-sx-focus-title p {
    font-size: 0.96rem;
  }
  .dashboard-sx-mini-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-sx-focus-chart svg {
    height: 250px;
  }
  .sx-quick-actions-grid {
    grid-template-columns: 1fr;
  }
  .sx-quick-action-item {
    min-height: 110px;
  }
  .sx-quick-actions-card h3,
  .sx-sentiment-card h3,
  .sx-movers-card h3,
  .sx-trending-card h3 {
    font-size: 1.35rem;
  }
  .sx-sentiment-meta {
    font-size: 1rem;
  }
  .sx-sentiment-meta strong {
    font-size: 1.08rem;
  }
  .sx-movers-list li {
    font-size: 1rem;
  }
  .sx-trending-meta strong {
    font-size: 1rem;
  }
  .sx-trending-meta p {
    font-size: 0.9rem;
  }
}

.dashboard-terminal-page .container-auth {
  width: min(1540px, calc(100vw - 306px));
  margin-top: 16px;
}

.dashboard-terminal {
  margin-top: 2px;
}

.dashboard-trade-header {
  background: rgba(4, 10, 20, 0.9);
  border-color: rgba(55, 111, 171, 0.34);
}

.dashboard-symbol-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(12, 20, 36, 0.9);
  padding: 9px 12px;
  min-width: 220px;
}

.dashboard-symbol-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-symbol-meta strong {
  font-size: 1.2rem;
  line-height: 1;
}

.dashboard-main-panel {
  padding: 12px;
}

.dashboard-chart-note {
  margin: 12px 4px 6px;
  color: #97adc8;
}

.dashboard-chart-frame {
  border-color: rgba(43, 111, 177, 0.48);
}

.dashboard-main-panel .chart-stage {
  height: 560px;
}

.dashboard-side-column .card {
  padding: 16px;
}

.dashboard-balance-panel .balance-amount {
  margin-top: 12px;
  font-size: 2.2rem;
}

.dashboard-order-panel .side-grid {
  margin-top: 8px;
}

.dashboard-order-panel .side-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.dashboard-order-panel .side-btn.buy {
  border-color: rgba(75, 224, 122, 0.45);
  background: rgba(75, 224, 122, 0.12);
  color: #a3f3be;
}

.dashboard-order-panel .side-btn.sell {
  border-color: rgba(255, 95, 103, 0.45);
  background: rgba(255, 95, 103, 0.12);
  color: #ffb6bc;
}

.dashboard-order-panel .order-submit {
  text-decoration: none;
  text-align: center;
  display: block;
}

@media (max-width: 1280px) {
  .dashboard-main-panel .chart-stage {
    height: 470px;
  }
}

@media (max-width: 980px) {
  .dashboard-trade-header {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-symbol-pill {
    width: 100%;
  }

  .dashboard-trade-header .trade-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-main-panel .chart-stage {
    height: 360px;
  }
}

@media (max-width: 620px) {
  .dashboard-main-panel .chart-stage {
    height: 300px;
  }

  .dashboard-balance-panel .balance-amount {
    font-size: 1.8rem;
  }
}

.why-card {
  background: rgba(10, 21, 40, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

.investment-plans {
  margin-top: 16px;
}

.plan-card {
  background: rgba(10, 21, 40, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.plan-card h3 {
  margin-bottom: 10px;
}

.plan-card p {
  margin: 8px 0;
  color: var(--muted);
}

.plan-btn {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
}

.faq-section {
  margin-top: 16px;
  border-radius: 14px;
  padding: 22px 18px;
  background: rgba(18, 31, 68, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-list {
  margin-top: 6px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  color: #c6cee0;
  font-size: 1.12rem;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: #75d2ff;
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-answer {
  color: var(--muted);
  padding: 0 0 14px;
  line-height: 1.55;
}

.page-hero h1 {
  margin: 0 0 10px;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.info-card p {
  color: var(--muted);
}

.contact-form .btn {
  margin-top: 12px;
}

.admin-shortcuts {
  margin-top: 16px;
}

.admin-actions-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-actions-inline form {
  margin: 0;
}

.feature-catalog {
  margin-top: 12px;
}

.strategy-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(7, 14, 28, 0.74);
  padding: 14px;
}

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

.strategy-head h3 {
  margin: 0;
}

.risk-chip {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.risk-chip.risk-low {
  background: rgba(75, 224, 122, 0.16);
  border-color: rgba(75, 224, 122, 0.45);
  color: #9ef6ba;
}

.risk-chip.risk-medium {
  background: rgba(246, 195, 68, 0.16);
  border-color: rgba(246, 195, 68, 0.45);
  color: #ffd885;
}

.risk-chip.risk-high {
  background: rgba(255, 95, 103, 0.16);
  border-color: rgba(255, 95, 103, 0.45);
  color: #ffbec2;
}

.strategy-metrics {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.strategy-metrics span {
  color: var(--muted);
}

.strategy-metrics strong {
  color: var(--text);
}

.strategy-form {
  margin-top: 12px;
}

.strategy-form .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.deposit-pay-box {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 14, 28, 0.72);
}

.pay-network-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pay-address-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.pay-address {
  display: block;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 8, 17, 0.75);
  color: #bfe9ff;
  white-space: pre-line;
  word-break: break-all;
}

.pay-actions {
  margin-top: 10px;
}

.pay-actions .btn.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.pay-qr-wrap {
  margin-top: 10px;
  border-radius: 10px;
  background: #ffffff;
  width: 248px;
  max-width: 100%;
  padding: 4px;
}

.pay-qr-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.deposit-result-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 7, 14, 0.72);
}

.deposit-result-modal.open {
  display: flex;
}

.deposit-result-dialog {
  width: min(420px, 94vw);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #060c16;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
  padding: 18px 16px 14px;
  position: relative;
}

.deposit-result-dialog.success {
  border-color: rgba(75, 224, 122, 0.45);
}

.deposit-result-dialog.error {
  border-color: rgba(255, 95, 103, 0.45);
}

.deposit-result-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #d2e3f7;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.deposit-result-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.deposit-result-icon.success {
  background: rgba(75, 224, 122, 0.18);
  color: #8ef4b2;
}

.deposit-result-icon.error {
  background: rgba(255, 95, 103, 0.18);
  color: #ffb6bb;
}

.deposit-result-dialog h3 {
  margin: 0 0 8px;
}

.deposit-result-dialog p {
  margin: 0;
  color: #b8c9dc;
  line-height: 1.45;
}

.deposit-result-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

body.deposit-result-open {
  overflow: hidden;
}

.site-footer {
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: #121f44;
  padding: 34px 26px 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.45fr;
  gap: 20px 34px;
}

.footer-col h4,
.footer-quick h4 {
  margin: 0 0 14px;
  font-size: 0.96rem;
  color: #f0f5ff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-list a,
.footer-quick-links a {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  color: #b7c3d8;
  text-decoration: none;
}

.footer-list a::before,
.footer-quick-links a::before {
  content: "\203A";
  position: absolute;
  left: 0;
  top: 0;
  color: #75d2ff;
  font-weight: 700;
}

.footer-list a:hover,
.footer-quick-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin: 0 0 8px;
  color: #c3cede;
  line-height: 1.35;
}

.footer-contact a {
  color: #8edcb1;
  text-decoration: none;
}

.footer-divider {
  height: 1px;
  margin: 18px 0 16px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-quick-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-copy {
  margin: 12px 0 0;
  color: #a8b5cb;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  body.sidebar-open {
    overflow: hidden;
  }
  .app-shell {
    display: block;
    min-height: calc(100vh - var(--ticker-height));
  }
  .mobile-nav-bar {
    position: sticky;
    top: var(--ticker-height);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(5, 11, 25, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-nav-title {
    font-weight: 700;
    letter-spacing: 0.03em;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(7, 211, 208, 0.13);
    color: #d8feff;
    padding: 8px 10px;
    cursor: pointer;
  }
  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: var(--ticker-height) 0 0 0;
    z-index: 1120;
    background: rgba(1, 3, 8, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .sidebar {
    width: min(82vw, 300px);
    height: calc(100vh - var(--ticker-height));
    position: fixed;
    inset: var(--ticker-height) auto 0 0;
    z-index: 1130;
    padding: 14px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 18px 0 38px rgba(0, 0, 0, 0.42);
  }
  .app-shell.sidebar-open .sidebar {
    transform: translateX(0);
  }
  .app-shell.sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .sidebar-nav {
    margin-top: 10px;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .side-link {
    flex: 0 0 auto;
  }
  .sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
  }
  .container-auth {
    width: min(1120px, 94vw);
    margin: 14px auto 0;
    min-height: calc(100vh - 20px);
  }
  .dashboard-sx-page .container-auth {
    width: min(1120px, 94vw);
    margin: 14px auto 0;
  }
  .trade-pair-box {
    flex-wrap: wrap;
    width: 100%;
  }
  .asset-picker-trigger {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .trade-pair-meta {
    width: 100%;
    min-width: 0;
  }
  .trade-pair-select {
    width: 100%;
    min-width: 0;
  }
  .metric-pill strong {
    font-size: 1rem;
  }
  .balance-amount {
    font-size: 1.8rem;
  }
  .trade-header-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .trade-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trade-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .trade-main-panel,
  .balance-panel,
  .order-panel {
    padding: 12px;
  }
  .chart-stage {
    height: 420px;
  }
  .market-board-head {
    flex-direction: column;
    align-items: stretch;
  }
  .market-search-wrap {
    width: 100%;
  }
  .market-search-wrap input {
    width: 100%;
  }
  .market-summary-grid {
    grid-template-columns: 1fr;
  }
  .market-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .market-filter-row select {
    width: 100%;
    min-width: 0;
  }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-market-head {
    flex-direction: column;
    align-items: stretch;
  }
  .home-stocks-chart {
    height: 420px;
  }
  .value-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value-item {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.48) !important;
  }
  .value-item:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }
  .value-item h3 {
    font-size: 1.25rem;
  }
  .value-item p {
    font-size: 1rem;
  }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .topbar-head {
    width: 100%;
    justify-content: space-between;
  }
  .topbar-mobile-toggle {
    display: inline-flex;
  }
  .topbar nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .topbar.open nav {
    display: flex;
  }
  .topbar nav a {
    width: 100%;
  }
  .topbar-lang-switch {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar-lang-switch select {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .site-footer {
    padding: 26px 18px 18px;
  }
}

@media (max-width: 620px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .dashboard-actions-row {
    margin-bottom: 8px;
  }
  .dashboard-action-link {
    width: 38px;
    height: 38px;
  }
  .trade-main-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .asset-type-btn {
    padding: 11px 8px;
    font-size: 0.9rem;
  }
  .asset-modal {
    padding: 10px;
    align-items: flex-start;
  }
  .asset-modal-dialog {
    width: 100%;
    margin-top: 42px;
    border-radius: 12px;
  }
  .asset-modal-head h3 {
    font-size: 1.25rem;
  }
  .trade-main-pair {
    flex-wrap: wrap;
    gap: 6px;
  }
  .trade-main-price {
    width: 100%;
    justify-content: space-between;
  }
  .trade-metrics {
    grid-template-columns: 1fr;
  }
  .trade-shell {
    gap: 10px;
  }
  .trade-main-panel {
    padding: 10px;
  }
  .order-panel,
  .balance-panel {
    padding: 10px;
  }
  .tf-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .tf-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .trade-main-pair h2 {
    font-size: 1.15rem;
  }
  .trade-main-price span:first-child {
    font-size: 1.45rem;
  }
  .chart-stage {
    height: 300px;
  }
  .trade-header-bar {
    padding: 10px;
  }
  .trade-main-top {
    padding: 8px 10px;
  }
  .trade-main-price span:first-child,
  .balance-amount {
    word-break: break-word;
  }
  .side-btn {
    padding: 10px;
    font-size: 1rem;
  }
  .market-search-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .market-search-wrap .btn {
    width: 100%;
  }
  .grid.four { grid-template-columns: 1fr; }
  .counter-value {
    font-size: 1.7rem;
  }
  .mini-metrics {
    grid-template-columns: 1fr;
  }
  .popular-stock-metrics {
    grid-template-columns: 1fr;
  }
  .mode-banner .btn {
    width: 100%;
  }
  .pay-address-row {
    grid-template-columns: 1fr;
  }
  .pay-actions .btn {
    width: 100%;
    text-align: center;
  }
  .pay-qr-wrap {
    width: 220px;
  }
  .value-strip {
    border-radius: 16px;
    padding: 16px 12px;
  }
  .value-strip-intro {
    font-size: 1rem;
  }
  .value-strip-grid {
    grid-template-columns: 1fr;
  }
  .value-item {
    padding: 12px 8px;
    grid-template-columns: 40px 1fr;
  }
  .value-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.48) !important;
  }
  .value-item:last-child {
    border-bottom: 0 !important;
  }
  .value-icon {
    width: 34px;
    height: 34px;
  }
  .value-icon svg {
    width: 26px;
    height: 26px;
  }
  .value-item h3 {
    font-size: 1.08rem;
  }
  .value-item p {
    font-size: 0.94rem;
  }
  .faq-item summary {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-quick-links {
    gap: 8px 16px;
  }
.home-stocks-chart {
    height: 340px;
  }
}

/* SpaceXOptions-inspired homepage revamp */
.sx-theme {
  font-family: 'Manrope', sans-serif;
  background: #020406;
  color: #f5fbff;
}

.sx-theme .stock-carousel {
  background: rgba(3, 8, 11, 0.96);
  border-bottom-color: rgba(47, 230, 222, 0.14);
}

.sx-theme .stock-ticker-item {
  background: rgba(47, 230, 222, 0.08);
  border-color: rgba(47, 230, 222, 0.22);
}

.sx-theme .stock-ticker-item .price {
  color: #dffdfa;
}

.sx-theme .container {
  width: min(2200px, 96vw);
  max-width: none;
  margin-top: 18px;
}

.guest-home.sx-theme .topbar {
  width: min(2200px, 96vw);
  max-width: none;
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(47, 230, 222, 0.16);
  border-radius: 14px;
  background: rgba(4, 9, 13, 0.88);
  backdrop-filter: blur(10px);
}

@media (min-width: 1700px) {
  .sx-theme .container,
  .guest-home.sx-theme .topbar {
    width: min(2400px, 98vw);
  }
}

.guest-home.sx-theme .brand {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.guest-home.sx-theme .topbar a {
  color: #dce7f2;
  font-weight: 600;
}

.guest-home.sx-theme .topbar a:hover {
  color: #2fe6de;
}

.guest-home.sx-theme .btn-link,
.guest-home.sx-theme .btn,
.guest-home.sx-theme .btn.secondary {
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.guest-home.sx-theme .btn,
.guest-home.sx-theme .btn-link {
  background: #2fe6de;
  color: #031214 !important;
}

.guest-home.sx-theme .btn:hover,
.guest-home.sx-theme .btn-link:hover {
  background: #43f0e8;
  transform: translateY(-1px);
}

.guest-home.sx-theme .btn.secondary {
  background: rgba(47, 230, 222, 0.1);
  border-color: rgba(47, 230, 222, 0.42);
  color: #8ff7f1 !important;
}

.guest-home.sx-theme .btn.secondary:hover {
  background: rgba(47, 230, 222, 0.2);
  color: #cffffa !important;
}

.sx-home {
  display: grid;
  gap: 22px;
  padding-bottom: 8px;
}

.sx-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  overflow: hidden;
  background: linear-gradient(140deg, #080f14 0%, #090d11 45%, #030506 100%);
  border: 1px solid rgba(47, 230, 222, 0.16);
  border-radius: 18px;
  padding: 22px;
}

.sx-hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(54px);
  z-index: 0;
}

.sx-hero-glow-a {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -70px;
  background: rgba(47, 230, 222, 0.13);
}

.sx-hero-glow-b {
  width: 300px;
  height: 300px;
  right: -80px;
  bottom: -120px;
  background: rgba(47, 230, 222, 0.1);
}

.sx-hero-copy,
.sx-hero-visual {
  position: relative;
  z-index: 1;
}

.sx-hero-kicker {
  margin: 0 0 8px;
  color: #67f1ea;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.sx-hero-slider {
  min-height: 192px;
}

.sx-hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.sx-hero-slide.active {
  display: block;
  opacity: 1;
}

.sx-hero-slide h1 {
  margin: 0;
  font-size: clamp(2rem, 5.1vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.sx-hero-slide p {
  margin: 14px 0 0;
  max-width: 64ch;
  color: #aebfce;
  font-size: 1.04rem;
}

.sx-hero-dots {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
}

.sx-hero-dot {
  width: 30px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  padding: 0;
  background: rgba(47, 230, 222, 0.25);
  cursor: pointer;
}

.sx-hero-dot.active {
  background: #2fe6de;
}

.sx-hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sx-hero-trust {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sx-hero-trust span {
  border: 1px solid rgba(47, 230, 222, 0.22);
  background: rgba(47, 230, 222, 0.08);
  color: #b7fdf8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.sx-hero-visual {
  display: grid;
  align-items: center;
}

.sx-terminal {
  border-radius: 14px;
  background: rgba(8, 12, 14, 0.86);
  border: 1px solid rgba(47, 230, 222, 0.2);
  padding: 12px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}

.sx-terminal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #d0d9e4;
}

.sx-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7af6ce;
  font-size: 0.8rem;
}

.sx-live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4be07a;
  box-shadow: 0 0 0 4px rgba(75, 224, 122, 0.15);
}

.sx-terminal-chart {
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid rgba(47, 230, 222, 0.18);
  height: 220px;
  background:
    linear-gradient(160deg, rgba(4, 9, 12, 0.88), rgba(4, 8, 10, 0.94)),
    url('/assets/images/hero-chart.svg');
  background-size: auto, cover;
  background-repeat: no-repeat;
  background-position: center, center;
}

.sx-terminal-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.sx-terminal-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #cfdceb;
  font-size: 0.84rem;
}

.sx-terminal-row span:first-child {
  color: #7bece6;
  font-weight: 700;
}

.sx-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sx-stat-item {
  background: #0b1014;
  border: 1px solid rgba(47, 230, 222, 0.17);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.sx-stat-item p {
  margin: 0;
  color: #9fb1c2;
  font-size: 0.88rem;
}

.sx-stat-item h3 {
  margin: 8px 0 0;
  color: #6cf9f0;
  font-size: clamp(1.4rem, 3.5vw, 2.05rem);
  line-height: 1.1;
}

.sx-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 14px;
  align-items: stretch;
}

.sx-tools-chart {
  background: #0b1014;
  border-color: rgba(47, 230, 222, 0.2);
}

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

.sx-tools-head h2 {
  margin: 0;
}

.sx-chart-control label {
  color: #90a8bb;
}

.sx-home-chart {
  border-color: rgba(47, 230, 222, 0.28);
  background: #030708;
}

.sx-symbol-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.sx-symbol-btn {
  border: 1px solid rgba(47, 230, 222, 0.25);
  background: rgba(47, 230, 222, 0.08);
  color: #9ffaf5;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.sx-symbol-btn.active {
  background: #2fe6de;
  color: #051112;
  border-color: #2fe6de;
}

.sx-tools-copy {
  border: 1px solid rgba(47, 230, 222, 0.16);
  border-radius: 14px;
  padding: 18px;
  background: #0b1014;
}

.sx-tools-copy h2 {
  margin: 0;
  color: #6afaf1;
}

.sx-tools-copy h3 {
  margin: 10px 0 0;
  font-size: 1.6rem;
  line-height: 1.15;
}

.sx-tools-copy p {
  margin: 12px 0 0;
  color: #aebecf;
}

.sx-feature-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sx-feature-list li {
  position: relative;
  padding-left: 18px;
  color: #d2e0ef;
}

.sx-feature-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fe6de;
  position: absolute;
  left: 0;
  top: 0.58em;
}

.sx-tools-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sx-popular {
  background: linear-gradient(180deg, #070b0e, #05080a);
  border: 1px solid rgba(47, 230, 222, 0.14);
  border-radius: 16px;
  padding: 18px;
}

.sx-headline-centered {
  text-align: center;
}

.sx-market-status {
  margin: 10px auto 0;
  width: fit-content;
  border: 1px solid rgba(47, 230, 222, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  color: #9ed1cf;
  font-size: 0.86rem;
}

.sx-popular-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sx-stock-card {
  border: 1px solid rgba(47, 230, 222, 0.18);
  background: #0b1014;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.sx-stock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sx-stock-top strong {
  font-size: 1.05rem;
}

.sx-stock-card p {
  margin: 0;
  color: #a6b6c6;
  min-height: 2.4em;
}

.sx-stock-metrics {
  display: grid;
  gap: 7px;
}

.sx-stock-metrics span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #9cb0c1;
  font-size: 0.84rem;
}

.sx-stock-metrics strong {
  color: #ecf6ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.sx-stock-card .btn.tiny {
  justify-self: start;
}

.sx-value-strip {
  border-radius: 18px;
  padding: 22px 18px;
  background: linear-gradient(130deg, #ad712f 0%, #bf7e35 48%, #c98737 100%);
  border: 0;
  color: #fff8ec;
}

.sx-value-intro {
  margin: 0;
  text-align: center;
  font-size: 1.22rem;
  font-weight: 600;
}

.sx-value-divider {
  width: min(90%, 980px);
  margin: 14px auto 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.sx-value-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sx-value-item {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 0 8px 12px;
}

.sx-value-item:nth-child(3n + 1) {
  border-left: 0;
  padding-left: 0;
}

.sx-value-item h3 {
  margin: 0;
  font-size: 1.15rem;
}

.sx-value-item p {
  margin: 8px 0 0;
  color: rgba(255, 251, 242, 0.95);
  font-size: 1rem;
  line-height: 1.4;
}

.sx-faq {
  background: #0c1218;
  border: 1px solid rgba(47, 230, 222, 0.16);
}

.sx-faq .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.sx-faq .faq-answer {
  color: #aebdcb;
}

.sx-home-cta {
  text-align: center;
  background: linear-gradient(135deg, #0d1a1e, #0a1417);
  border: 1px solid rgba(47, 230, 222, 0.2);
}

.sx-home-cta h2 {
  margin: 0;
}

.sx-home-cta p {
  margin: 10px 0 14px;
  color: #b4c8d8;
}

.sx-theme .site-footer {
  background: #070c11;
  border-top: 1px solid rgba(47, 230, 222, 0.14);
}

.sx-theme .footer-col h4,
.sx-theme .footer-quick h4 {
  color: #f0f8ff;
}

.sx-theme .footer-list a,
.sx-theme .footer-quick-links a {
  color: #a9bdd0;
}

.sx-theme .footer-list a::before,
.sx-theme .footer-quick-links a::before {
  color: #2fe6de;
}

.sx-theme .footer-list a:hover,
.sx-theme .footer-quick-links a:hover,
.sx-theme .footer-contact a:hover {
  color: #f4fcff;
}

.sx-theme .footer-contact p {
  color: #b9c8d8;
}

.sx-theme .footer-contact a {
  color: #8be9de;
}

@media (max-width: 1160px) {
  .sx-hero {
    grid-template-columns: 1fr;
  }
  .sx-tools {
    grid-template-columns: 1fr;
  }
  .sx-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .guest-home.sx-theme .topbar {
    width: min(94vw, 1240px);
  }
  .sx-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sx-value-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sx-value-item,
  .sx-value-item:nth-child(3n + 1) {
    border-left: 0;
    padding-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    padding-bottom: 10px;
  }
  .sx-value-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 680px) {
  .sx-theme .container {
    margin-top: 14px;
  }
  .sx-hero {
    padding: 16px;
  }
  .sx-hero-slide h1 {
    font-size: clamp(1.72rem, 8.6vw, 2.4rem);
  }
  .sx-terminal-chart {
    height: 172px;
  }
  .sx-tools-head {
    flex-direction: column;
    align-items: stretch;
  }
  .sx-chart-control select {
    width: 100%;
  }
  .sx-popular-grid {
    grid-template-columns: 1fr;
  }
}

/* SpaceXOptions full homepage clone layer */
.sx-clone-home {
  display: grid;
  gap: 18px;
}

.sx-clone-home .small-note {
  margin: 0;
}

.sx-clone-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(47, 230, 222, 0.12);
  background: #0a0a0a;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 16px;
}

.sx-clone-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(47, 230, 222, 0.15), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(47, 230, 222, 0.09), transparent 35%);
  pointer-events: none;
}

.sx-clone-hero-left,
.sx-clone-hero-right {
  position: relative;
  z-index: 1;
}

.sx-hero-slider-content {
  min-height: 250px;
}

.sx-clone-home .sx-hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sx-clone-home .sx-hero-slide.active {
  display: block;
  opacity: 1;
}

.sx-clone-home .sx-hero-slide h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sx-clone-home .sx-hero-slide h1 .accent {
  color: #2fe6de;
}

.sx-clone-home .sx-hero-slide p {
  margin: 14px 0 0;
  color: #c0cad5;
  font-size: 1.02rem;
  max-width: 62ch;
}

.sx-clone-hero-cta {
  margin-top: 12px;
  width: min(320px, 100%);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(47, 230, 222, 0.16);
  background: rgba(26, 26, 26, 0.55);
}

.sx-clone-hero-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 16px;
  font-size: 1.03rem;
}

.sx-clone-hero-right {
  display: grid;
  align-items: center;
}

.sx-hero-illustration {
  display: none;
}

.sx-hero-illustration.active {
  display: block;
  animation: sxFloat 5.5s ease-in-out infinite;
}

.sx-hero-svg {
  display: block;
  width: min(100%, 520px);
  margin-inline: auto;
  height: auto;
}

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

.sx-clone-stats {
  background: #000;
  border: 1px solid rgba(47, 230, 222, 0.1);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sx-clone-stats article {
  text-align: center;
  border: 1px solid rgba(47, 230, 222, 0.08);
  border-radius: 10px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.02);
}

.sx-clone-stats h3 {
  margin: 0;
  color: #2fe6de;
  font-size: clamp(1.25rem, 4vw, 2rem);
}

.sx-clone-stats p {
  margin: 8px 0 0;
  color: #bdc8d4;
  font-size: 0.9rem;
}

.sx-clone-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: stretch;
  background: linear-gradient(180deg, #000 0%, #0f151a 100%);
  border: 1px solid rgba(47, 230, 222, 0.1);
  border-radius: 16px;
  padding: 16px;
}

.sx-clone-chart-card {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(47, 230, 222, 0.16);
  background: rgba(0, 0, 0, 0.9);
  padding: 12px;
}

.sx-clone-chart-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(47, 230, 222, 0.14), rgba(149, 76, 233, 0.14));
  filter: blur(28px);
  opacity: 0.25;
  pointer-events: none;
}

.sx-clone-chart-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.sx-clone-chart-head h3 {
  margin: 0;
  color: #fff;
  font-size: 1.12rem;
}

.sx-clone-chart-head p {
  margin: 2px 0 0;
  color: #2fe6de;
  font-size: 0.86rem;
}

.sx-chart-price-box {
  text-align: right;
}

.sx-chart-price-box strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.sx-home-chart {
  position: relative;
  z-index: 1;
  height: 420px;
  border-color: rgba(47, 230, 222, 0.2);
  background: #000;
}

.sx-hidden-select-wrap {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sx-clone-tools-copy {
  border: 1px solid rgba(47, 230, 222, 0.16);
  border-radius: 14px;
  padding: 18px;
  background: rgba(5, 8, 12, 0.88);
}

.sx-clone-tools-copy h2 {
  margin: 0;
  color: #2fe6de;
  font-size: 2rem;
}

.sx-clone-tools-copy h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1.16;
}

.sx-clone-tools-copy p {
  margin: 12px 0 0;
  color: #b9c3cf;
  line-height: 1.5;
}

.sx-clone-tools-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sx-clone-tools-highlights {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sx-clone-tools-highlights span {
  display: block;
  border: 1px solid rgba(47, 230, 222, 0.17);
  border-radius: 9px;
  padding: 8px 10px;
  color: #d5dde7;
  background: rgba(47, 230, 222, 0.06);
}

.sx-clone-popular {
  background: linear-gradient(180deg, #000, #0a0a0a);
  border: 1px solid rgba(47, 230, 222, 0.1);
  border-radius: 16px;
  padding: 16px;
}

.sx-clone-section-head {
  text-align: center;
}

.sx-clone-section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4.2vw, 2.2rem);
}

.sx-clone-section-head h2 span {
  color: #2fe6de;
}

.sx-clone-section-head p {
  margin: 10px auto 0;
  max-width: 66ch;
  color: #aebdcb;
}

.sx-market-status-wrap {
  margin: 14px auto 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(47, 230, 222, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(26, 26, 26, 0.65);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4be07a;
  box-shadow: 0 0 0 0 rgba(75, 224, 122, 0.55);
  animation: sxPulseDot 1.4s infinite;
}

@keyframes sxPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(75, 224, 122, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(75, 224, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 224, 122, 0); }
}

.sx-stock-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  display: block;
}

.sx-stock-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(47, 230, 222, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}

.sx-stock-table th,
.sx-stock-table td {
  padding: 12px 10px;
  text-align: left;
}

.sx-stock-table thead th {
  font-size: 0.83rem;
  color: #8ea1b3;
  background: #0a0a0a;
  font-weight: 600;
}

.sx-stock-table tbody td {
  border-top: 1px solid rgba(47, 230, 222, 0.08);
  color: #dde8f4;
  font-size: 0.92rem;
}

.sx-stock-company {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sx-stock-company img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(47, 230, 222, 0.25);
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.sx-stock-table td.num,
.sx-stock-table th.num {
  text-align: right;
}

.sx-stock-table tbody tr:hover {
  background: rgba(47, 230, 222, 0.06);
}

.sx-stock-cards {
  display: none;
  margin-top: 12px;
  gap: 10px;
}

.sx-stock-card-mobile {
  background: #1a1a1a;
  border: 1px solid rgba(47, 230, 222, 0.14);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.sx-stock-card-mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.sx-stock-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sx-stock-card-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(47, 230, 222, 0.25);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.sx-stock-card-mobile p {
  margin: 2px 0 0;
  color: #a8b8c8;
}

.sx-stock-card-mobile-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sx-stock-card-mobile-metrics span {
  display: block;
  border: 1px solid rgba(47, 230, 222, 0.12);
  border-radius: 8px;
  padding: 8px;
  color: #a7b8c9;
}

.sx-stock-card-mobile-metrics strong {
  display: block;
  margin-top: 4px;
  color: #edf5ff;
}

.sx-quick-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sx-quick-metrics article {
  border: 1px solid rgba(47, 230, 222, 0.14);
  border-radius: 10px;
  background: #1a1a1a;
  text-align: center;
  padding: 10px 8px;
}

.sx-quick-metrics strong {
  display: block;
  color: #2fe6de;
  font-size: 1.12rem;
}

.sx-quick-metrics span {
  color: #9cb0c3;
  font-size: 0.82rem;
}

.sx-market-link-wrap {
  margin-top: 12px;
  text-align: center;
}

.sx-market-link {
  display: inline-block;
  border: 1px solid rgba(47, 230, 222, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  color: #2fe6de;
  background: rgba(47, 230, 222, 0.08);
}

.sx-market-link:hover {
  background: rgba(47, 230, 222, 0.2);
}

.sx-clone-options,
.sx-clone-features {
  border: 1px solid rgba(47, 230, 222, 0.1);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #000, #0a0a0a);
}

.sx-option-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sx-option-card,
.sx-feature-card {
  border: 1px solid rgba(47, 230, 222, 0.12);
  border-radius: 12px;
  padding: 14px;
  background: #1a1a1a;
}

.sx-option-card h3,
.sx-feature-card h3 {
  margin: 0;
}

.sx-option-card p,
.sx-feature-card p {
  margin: 8px 0 0;
  color: #a9b8c8;
}

.sx-option-card a {
  display: inline-block;
  margin-top: 10px;
  color: #2fe6de;
  font-weight: 600;
}

.sx-option-card:hover,
.sx-feature-card:hover {
  border-color: rgba(47, 230, 222, 0.35);
}

.sx-feature-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sx-clone-cta {
  border: 1px solid rgba(47, 230, 222, 0.14);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  background: linear-gradient(140deg, #1a1a1a, #0a0a0a);
}

.sx-clone-cta h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.sx-clone-cta p {
  margin: 12px auto 0;
  max-width: 64ch;
  color: #b7c6d5;
}

.sx-clone-cta-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .sx-clone-hero,
  .sx-clone-tools {
    grid-template-columns: 1fr;
  }
  .sx-clone-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sx-option-grid {
    grid-template-columns: 1fr;
  }
  .sx-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sx-clone-home {
    gap: 14px;
  }
  .sx-stock-table-wrap {
    display: none;
  }
  .sx-stock-cards {
    display: grid;
  }
  .sx-quick-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sx-clone-tools-copy h2 {
    font-size: 1.7rem;
  }
  .sx-clone-tools-copy h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 620px) {
  .sx-clone-hero {
    padding: 16px 14px;
  }
  .sx-hero-slider-content {
    min-height: 210px;
  }
  .sx-clone-home .sx-hero-slide h1 {
    font-size: clamp(1.7rem, 9vw, 2.3rem);
  }
  .sx-home-chart {
    height: 310px;
  }
  .sx-clone-tools-highlights {
    grid-template-columns: 1fr;
  }
  .sx-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* About page clone styling */
.about-clone-page .container {
  width: min(2200px, 96vw);
  max-width: none;
}

.about-clone {
  display: grid;
  gap: 18px;
  width: 100%;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(47, 230, 222, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8cf8f1;
  background: rgba(47, 230, 222, 0.12);
}

.about-badge.small {
  font-size: 0.74rem;
  padding: 5px 10px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(47, 230, 222, 0.18);
  background:
    radial-gradient(circle at 16% 12%, rgba(47, 230, 222, 0.22), transparent 42%),
    radial-gradient(circle at 84% 0, rgba(67, 151, 255, 0.16), transparent 32%),
    linear-gradient(140deg, #0d1317 8%, #020608 72%);
  padding: clamp(28px, 6vw, 66px) clamp(14px, 3vw, 28px);
}

.about-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
}

.about-hero h1 span,
.about-center-head h2 span,
.about-stats-head h3 span,
.about-cta h2 span {
  color: #2fe6de;
}

.about-hero p {
  margin: 0 auto;
  max-width: 72ch;
  color: #b2c4d6;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.about-purpose {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 16px;
}

.about-purpose-copy,
.about-stats-card {
  border: 1px solid rgba(47, 230, 222, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(11, 18, 24, 0.96), rgba(2, 8, 12, 0.96));
  padding: clamp(16px, 2.8vw, 24px);
}

.about-purpose-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
}

.about-panel {
  margin-top: 14px;
  border: 1px solid rgba(47, 230, 222, 0.16);
  border-radius: 12px;
  padding: 14px;
  background: rgba(47, 230, 222, 0.04);
}

.about-panel h3 {
  margin: 0;
  font-size: 1.06rem;
}

.about-panel p,
.about-long-copy {
  margin: 8px 0 0;
  color: #b3c4d5;
  line-height: 1.65;
}

.about-long-copy {
  margin-top: 16px;
}

.about-stats-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.about-stats-head h3 {
  margin: 0;
  font-size: 1.5rem;
}

.about-year {
  font-size: 0.82rem;
  color: #a6bad0;
}

.about-stats-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-stats-grid article {
  border: 1px solid rgba(47, 230, 222, 0.16);
  border-radius: 10px;
  background: rgba(47, 230, 222, 0.05);
  padding: 12px;
}

.about-stats-grid strong {
  display: block;
  color: #f4fbff;
  font-size: 1.3rem;
}

.about-stats-grid p {
  margin: 6px 0 0;
  color: #a9bdd1;
  font-size: 0.9rem;
}

.about-stats-grid span {
  display: block;
  margin-top: 6px;
  color: #8ea6bf;
  font-size: 0.8rem;
}

.about-stats-grid span.green {
  color: #58e485;
}

.about-story,
.about-advantages,
.about-markets,
.about-testimonials,
.about-partners {
  border: 1px solid rgba(47, 230, 222, 0.13);
  border-radius: 16px;
  padding: clamp(16px, 2.8vw, 26px);
  background: linear-gradient(180deg, rgba(6, 11, 16, 0.95), rgba(2, 7, 10, 0.96));
}

.about-center-head {
  text-align: center;
}

.about-center-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
}

.about-center-head p {
  margin: 10px auto 0;
  max-width: 70ch;
  color: #aebfd0;
}

.about-timeline {
  position: relative;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 91px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(47, 230, 222, 0.5), rgba(47, 230, 222, 0.1));
}

.about-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
}

.about-time {
  z-index: 1;
  align-self: start;
  text-align: center;
  border: 1px solid rgba(47, 230, 222, 0.34);
  border-radius: 999px;
  background: #0d1f24;
  color: #8ffbf4;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 10px;
}

.about-time-card {
  border: 1px solid rgba(47, 230, 222, 0.16);
  border-radius: 12px;
  background: rgba(47, 230, 222, 0.04);
  padding: 14px;
}

.about-time-card h3 {
  margin: 0;
}

.about-time-card p {
  margin: 8px 0 0;
  color: #afc1d4;
}

.about-adv-grid,
.about-market-grid,
.about-testimonial-grid,
.about-partner-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.about-adv-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-adv-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-adv-card,
.about-market-grid article,
.about-testimonial-grid article,
.about-partner-grid article {
  border: 1px solid rgba(47, 230, 222, 0.15);
  border-radius: 12px;
  background: rgba(47, 230, 222, 0.04);
  padding: 14px;
}

.about-adv-card h3,
.about-market-grid h3,
.about-partner-grid h3 {
  margin: 0;
}

.about-adv-card p,
.about-market-grid p,
.about-partner-grid p {
  margin: 8px 0 0;
  color: #aec0d3;
}

.about-adv-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #97afc6;
}

.about-adv-card li + li {
  margin-top: 6px;
}

.about-market-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-market-grid strong {
  display: inline-flex;
  margin-top: 10px;
  border: 1px solid rgba(47, 230, 222, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  color: #8bfaf2;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-testimonial-grid p {
  margin: 0;
  color: #d8e5f2;
  line-height: 1.65;
}

.about-testimonial-grid h4 {
  margin: 12px 0 2px;
}

.about-testimonial-grid span {
  color: #8ea8c1;
  font-size: 0.88rem;
}

.about-partner-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-partner-grid article {
  text-align: center;
  background: rgba(47, 230, 222, 0.06);
}

.about-cta {
  text-align: center;
  border: 1px solid rgba(47, 230, 222, 0.2);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 34px) clamp(16px, 3vw, 30px);
  background:
    radial-gradient(circle at 20% 24%, rgba(47, 230, 222, 0.16), transparent 42%),
    linear-gradient(160deg, rgba(7, 18, 24, 0.96), rgba(3, 8, 12, 0.98));
}

.about-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.9vw, 2.55rem);
}

.about-cta p {
  margin: 10px auto 0;
  max-width: 72ch;
  color: #b2c4d6;
}

.about-cta-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .about-purpose {
    grid-template-columns: 1fr;
  }
  .about-adv-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-testimonial-grid,
  .about-partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .about-timeline::before {
    left: 26px;
  }
  .about-timeline-item {
    grid-template-columns: 1fr;
    padding-left: 44px;
  }
  .about-time {
    position: absolute;
    left: 0;
    top: 2px;
    width: 56px;
    padding: 6px 0;
    font-size: 0.78rem;
  }
  .about-adv-grid.three,
  .about-adv-grid.two,
  .about-testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .about-clone-page .container {
    width: min(96vw, 1200px);
  }
  .about-hero {
    border-radius: 14px;
  }
  .about-stats-grid,
  .about-market-grid,
  .about-partner-grid {
    grid-template-columns: 1fr;
  }
  .about-time-card,
  .about-adv-card {
    padding: 12px;
  }
}

/* SpaceXOptions-inspired login page */
.login-clone-page {
  background: #000;
}

.login-clone-page .stock-carousel,
.login-clone-page #guestTopbar,
.login-clone-page .site-footer {
  display: none;
}

.login-clone-page .container {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100vh;
  padding: 0;
}

.login-clone-page .alert {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 560px);
  margin: 0;
  z-index: 30;
}

.login-clone-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
}

.login-clone-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.login-clone-showcase {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(47, 230, 222, 0.16);
  background:
    radial-gradient(circle at 20% 8%, rgba(47, 230, 222, 0.13), transparent 42%),
    radial-gradient(circle at 82% 80%, rgba(47, 230, 222, 0.08), transparent 44%),
    #000;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.login-clone-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eff8ff;
}

.login-clone-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.login-clone-floating {
  position: relative;
  min-height: 390px;
}

.login-float-card {
  position: absolute;
  width: min(260px, 76%);
  border-radius: 16px;
  border: 1px solid rgba(47, 230, 222, 0.2);
  background: rgba(26, 26, 26, 0.82);
  padding: 18px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  animation: loginFloat 4.2s ease-in-out infinite;
}

.login-float-card h3 {
  margin: 0;
  color: #2fe6de;
  font-size: 1.2rem;
}

.login-float-card p {
  margin: 8px 0 0;
  color: #a8bacd;
}

.login-float-card.card-a {
  left: 8%;
  top: 36%;
  transform: rotate(-5deg);
  animation-delay: 0s;
}

.login-float-card.card-b {
  right: 8%;
  top: 40%;
  transform: rotate(5deg);
  animation-delay: 0.45s;
}

.login-float-card.card-c {
  left: 50%;
  top: 12%;
  transform: translateX(-50%) rotate(-7deg);
  animation-delay: 0.8s;
}

@keyframes loginFloat {
  0%, 100% {
    translate: 0 -12px;
  }
  50% {
    translate: 0 0;
  }
}

.login-clone-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.login-clone-metrics article {
  text-align: center;
}

.login-clone-metrics strong {
  display: block;
  color: #2fe6de;
  font-size: 1.45rem;
}

.login-clone-metrics span {
  color: #9fb0c3;
  font-size: 0.88rem;
}

.login-clone-security {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.login-clone-security span {
  height: 60px;
  border-radius: 12px;
  border: 1px solid rgba(47, 230, 222, 0.14);
  background:
    radial-gradient(circle at 35% 28%, rgba(47, 230, 222, 0.2), transparent 38%),
    rgba(26, 26, 26, 0.85);
}

.login-clone-form-wrap {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4.2vw, 36px);
}

.login-clone-mobile-brand {
  display: none;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.login-clone-mobile-brand img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(47, 230, 222, 0.2);
}

.login-clone-mobile-brand p {
  margin: 0;
  color: #9eb4ca;
  font-size: 0.94rem;
}

.login-lang-switch {
  width: min(480px, 100%);
  margin: 0 0 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.login-lang-switch label {
  color: #9eb4ca;
  font-size: 0.84rem;
}

.login-lang-switch select {
  width: auto;
  min-width: 130px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #121212;
  color: #e9f5ff;
  padding: 8px 10px;
}

.login-clone-card {
  width: min(480px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.92), rgba(0, 0, 0, 0.98));
  padding: clamp(18px, 3vw, 28px);
}

.login-clone-card-head {
  text-align: center;
  margin-bottom: 16px;
}

.login-clone-card-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  margin: 0 auto 10px;
  background:
    radial-gradient(circle at 50% 35%, rgba(47, 230, 222, 0.34), transparent 60%),
    rgba(47, 230, 222, 0.08);
  border: 1px solid rgba(47, 230, 222, 0.24);
}

.login-clone-card-icon.register-icon {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 182, 92, 0.34), transparent 60%),
    rgba(255, 150, 69, 0.1);
  border: 1px solid rgba(255, 182, 92, 0.3);
}

.login-clone-card-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  color: #f2f9ff;
}

.login-clone-card-head p {
  margin: 8px 0 0;
  color: #93a8bf;
}

.login-clone-form {
  display: grid;
  gap: 12px;
}

.login-clone-form label {
  margin: 0;
  color: #9cb0c4;
  font-size: 0.9rem;
}

.login-input-wrap {
  position: relative;
}

.login-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #7f93a6;
  width: 18px;
  height: 18px;
}

.login-input-icon svg {
  width: 100%;
  height: 100%;
}

.login-clone-form input[type="text"],
.login-clone-form input[type="email"],
.login-clone-form input[type="password"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #1a1a1a;
  color: #edf5ff;
  padding: 12px 44px 12px 42px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-clone-form input[type="text"]:focus,
.login-clone-form input[type="email"]:focus,
.login-clone-form input[type="password"]:focus {
  outline: none;
  border-color: rgba(47, 230, 222, 0.74);
  box-shadow: 0 0 0 3px rgba(47, 230, 222, 0.15);
}

.login-clone-form input::placeholder {
  color: #6f8398;
}

.register-policy-note {
  margin: 2px 0 2px;
  color: #8ba0b5;
  font-size: 0.82rem;
  line-height: 1.45;
}

.register-policy-note a {
  color: #9dd8ff;
}

.register-policy-note a:hover,
.register-policy-note a:focus-visible {
  color: #d7f0ff;
}

.login-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8ca0b5;
  background: transparent;
  cursor: pointer;
}

.login-password-toggle svg {
  width: 18px;
  height: 18px;
}

.login-password-toggle .eye-close {
  display: none;
}

.login-password-toggle.is-open .eye-open {
  display: none;
}

.login-password-toggle.is-open .eye-close {
  display: block;
}

.login-clone-row {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9db1c5;
  font-size: 0.88rem;
  cursor: pointer;
}

.login-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2fe6de;
}

.login-clone-row a {
  color: #2fe6de;
  font-size: 0.88rem;
}

.login-clone-row a:hover,
.login-signup-link a:hover {
  color: #7afcf6;
}

.login-submit-btn {
  margin-top: 8px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  color: #031315;
  background: linear-gradient(90deg, #2fe6de, #8afcf7);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
}

.login-submit-btn:hover {
  filter: brightness(1.06);
}

.login-submit-btn .progress {
  display: none;
}

.login-submit-btn.is-loading .label {
  display: none;
}

.login-submit-btn.is-loading .progress {
  display: inline;
}

.login-signup-link {
  margin: 6px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  text-align: center;
  color: #8fa5bc;
  font-size: 0.9rem;
}

.login-signup-link a {
  color: #2fe6de;
  font-weight: 700;
}

.login-clone-dots {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.login-clone-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(47, 230, 222, 0.28);
  animation: loginDotsPulse 1.5s ease-in-out infinite;
}

.login-clone-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.login-clone-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loginDotsPulse {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .login-clone-layout {
    grid-template-columns: 1fr;
  }
  .login-clone-showcase {
    display: none;
  }
  .login-clone-mobile-brand {
    display: flex;
  }
  .login-clone-form-wrap {
    min-height: 100vh;
  }
}

@media (max-width: 620px) {
  .login-lang-switch {
    justify-content: space-between;
  }
  .login-lang-switch select {
    min-width: 0;
    width: 62%;
  }
  .login-clone-card {
    border-radius: 16px;
    padding: 16px 14px;
  }
  .login-clone-form input[type="text"],
  .login-clone-form input[type="email"],
  .login-clone-form input[type="password"] {
    padding-top: 11px;
    padding-bottom: 11px;
  }
}

/* Feature batch: withdrawal, investments, profile, notifications, asset pictures */
.market-asset-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.asset-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.asset-cell.compact {
  gap: 7px;
}

.asset-cell-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.asset-cell.compact .asset-cell-logo {
  width: 20px;
  height: 20px;
}

.popular-stock-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.popular-stock-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.form-card h3 {
  margin-bottom: 10px;
}

.settings-form-grid {
  display: grid;
  gap: 10px;
}

.settings-form-grid textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(8, 17, 33, 0.92);
  color: #f2f8ff;
  padding: 10px 12px;
  resize: vertical;
}

.plan-inline-form {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.trade-table-card {
  margin-top: 12px;
}

.recent-trades-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.recent-trades-head h3 {
  margin: 0;
}

.demo-trades-empty {
  text-align: center;
  padding: 26px 10px;
}

.demo-trades-empty strong {
  display: block;
  font-size: 1.1rem;
}

.demo-trades-empty .small-note {
  margin: 8px 0 0;
}

@media (max-width: 620px) {
  .recent-trades-head {
    flex-direction: column;
    align-items: stretch;
  }
  .recent-trades-head .btn {
    width: 100%;
    text-align: center;
  }
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(8, 16, 30, 0.74);
  padding: 12px;
}

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

.notification-item p {
  margin: 8px 0 0;
}

/* Investment plans clone styling */
.invest-clone-shell {
  display: grid;
  gap: 14px;
}

.invest-clone-head h2 {
  margin: 0;
}

.invest-clone-head p {
  margin: 6px 0 0;
}

.invest-clone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.invest-clone-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #06090f;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.invest-clone-top {
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(28, 28, 28, 0.92), rgba(18, 18, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.invest-clone-top h3 {
  margin: 0;
  font-size: 1.12rem;
  color: #f6fbff;
}

.invest-min-amount {
  margin: 10px 0 2px;
  font-size: clamp(1.8rem, 3vw, 2.15rem);
  font-weight: 800;
  color: #34e6de;
  line-height: 1;
}

.invest-min-label {
  margin: 0;
  color: #a4b9d1;
  font-size: 0.95rem;
}

.invest-plan-tagline {
  margin: 0;
  color: #f0f6ff;
  font-size: 1.02rem;
}

.invest-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.invest-meta-box {
  border-radius: 12px;
  background: #171d27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 12px;
  text-align: center;
}

.invest-meta-box span {
  display: block;
  color: #8ea8c6;
  font-size: 0.9rem;
}

.invest-meta-box strong {
  display: block;
  margin-top: 6px;
  color: #2fe6de;
  font-size: 1.4rem;
  line-height: 1.2;
}

.invest-meta-box:first-child strong {
  color: #f5fbff;
}

.invest-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.invest-benefits li {
  position: relative;
  padding-left: 20px;
  color: #e8f3ff;
}

.invest-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #34e6de;
  font-weight: 700;
}

.invest-support-btn {
  display: block;
  text-align: center;
  border-radius: 14px;
  border: 0;
  padding: 11px 12px;
  font-weight: 700;
  color: #042a2a;
  background: linear-gradient(90deg, #2fe6de, #45bcb9);
}

.invest-support-btn:hover {
  filter: brightness(1.05);
}

.invest-quick-form {
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  padding-top: 10px;
}

.invest-quick-form label {
  font-size: 0.82rem;
  color: #90a7c2;
}

.invest-quick-form input {
  background: rgba(8, 15, 28, 0.9);
}

.invest-quick-toggle {
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  padding-top: 9px;
}

.invest-quick-toggle summary {
  list-style: none;
  cursor: pointer;
  color: #8fb4d4;
  font-size: 0.86rem;
  user-select: none;
}

.invest-quick-toggle summary::-webkit-details-marker {
  display: none;
}

.invest-quick-toggle[open] summary {
  margin-bottom: 8px;
  color: #c9def3;
}

.invest-quick-toggle .invest-quick-form {
  border-top: 0;
  padding-top: 0;
}

@media (max-width: 1080px) {
  .invest-clone-grid {
    grid-template-columns: 1fr;
  }
}
