/* ExpressShop — premium palette: white, black, gold */
:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --black-soft: #141414;
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --gold-dim: rgba(201, 162, 39, 0.15);
  --gray: #8a8a8a;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--black);
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 8px;
}
.skip-link:focus {
  left: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
  letter-spacing: 0.02em;
}

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

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--gray);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--gray);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
  border-color: var(--gold);
}

.cart-pill {
  position: relative;
  font-size: 0.85rem !important;
  padding: 0.45rem 0.9rem !important;
}

.cart-badge {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0 0.35rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(ellipse at 30% 0%, var(--gold-dim), transparent 55%), var(--black);
}

.hero-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-copy p {
  color: var(--gray);
  max-width: 36ch;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.75rem;
  background: linear-gradient(160deg, var(--black-soft), var(--black));
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}

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

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.35rem;
}

.hero-card-subtitle {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.hero-card-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  font-size: 0.8rem;
  color: var(--gold-bright);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.muted {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Product grid */
.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--black-soft);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}

.product-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-4px);
}

.product-thumb {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--black);
  background: linear-gradient(145deg, var(--gold-bright), #a88418);
}

.product-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.product-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.price {
  font-weight: 700;
  color: var(--gold-bright);
}

.stars {
  font-size: 0.8rem;
  color: var(--gold);
}

/* Filters */
.filters-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 1.5rem;
}

.filter-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.field label,
.field .label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.35rem;
}

.field select,
.field input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
  font-family: inherit;
}

.range-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--gray);
}

/* Cart & tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.cart-table th,
.cart-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.cart-table th {
  color: var(--gray);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--black-soft);
  color: var(--white);
  cursor: pointer;
}

.qty-control button:hover {
  border-color: var(--gold);
}

/* Cards (checkout, profile) */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.02);
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.85rem;
  word-break: break-all;
  background: var(--black-soft);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.notice {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: var(--gold-dim);
  color: var(--gold-bright);
  font-size: 0.9rem;
}

/* Reviews */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  background: var(--black-soft);
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.review-form .field {
  margin-bottom: 0.75rem;
}

.review-form textarea {
  width: 100%;
  min-height: 90px;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
  font-family: inherit;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.5rem;
  background: var(--black-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand,
.footer-social,
.footer-title {
  display: none !important;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-title {
  font-weight: 700;
}

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

.footer-links a:not(.btn),
.footer-social a {
  color: var(--gray);
  font-size: 0.9rem;
}

.btn-dark {
  background: rgba(20, 20, 20, 0.9);
  border-color: var(--line);
  color: var(--white);
}

.btn-dark:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.footer-links a:not(.btn):hover,
.footer-social a:hover {
  color: var(--gold-bright);
}

.footer-copy {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  padding-bottom: 30px;
}

.footer-nav {
  margin-top: 1.25rem;
}

.footer-nav .footer-links {
  justify-content: center;
}

/* Page shell */
.page-main {
  flex: 1;
  padding-bottom: 3rem;
}

.page-title {
  padding: 2.25rem 0 1rem;
}

.page-title h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Utilities */
.text-right {
  text-align: right;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}

/* Trading page */
.trading-card-head {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.trading-timeframes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trading-tf.is-active {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.trading-chart-wrap {
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-soft);
  overflow: hidden;
}

.trading-chart-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 520px) {
  .trading-chart-wrap {
    height: 320px;
  }
}

/* TradeX modern homepage */
.tradex-home {
  background: radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.2), transparent 35%), #070b14;
}

.tradex-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96, 165, 250, 0.25);
}

.tradex-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tradex-brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.tradex-nav nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tradex-nav nav a {
  color: #dbeafe;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.tradex-nav nav a:hover {
  color: #93c5fd;
  border-color: #3b82f6;
}

.tradex-main {
  flex: 1;
}

.tradex-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: calc(100vh - 72px);
}

.tradex-slides {
  display: flex;
  width: 100%;
  transition: transform 650ms ease;
}

.tradex-slide {
  flex: 0 0 100%;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, #0b1220 0%, #0f172a 45%, #111827 100%);
}

.tradex-slide:nth-child(2) {
  background: linear-gradient(140deg, #0a1325 0%, #10213f 45%, #0f172a 100%);
}

.tradex-slide:nth-child(3) {
  background: linear-gradient(140deg, #071024 0%, #0b1d3f 45%, #111827 100%);
}

.tradex-slide-inner {
  padding: 4rem 0;
}

.tradex-kicker {
  margin: 0 0 0.75rem;
  color: #60a5fa;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.tradex-slide h1,
.tradex-slide h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  max-width: 16ch;
}

.tradex-desc {
  margin: 0 0 1.5rem;
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 46ch;
}

.tradex-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 1px solid rgba(147, 197, 253, 0.45);
  color: #eff6ff;
}

.tradex-btn:hover {
  filter: brightness(1.08);
}

.tradex-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.tradex-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.35);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  cursor: pointer;
}

.tradex-dots {
  display: flex;
  gap: 0.5rem;
}

.tradex-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(148, 163, 184, 0.5);
  cursor: pointer;
}

.tradex-dot.is-active {
  background: #3b82f6;
}

@media (max-width: 760px) {
  .tradex-nav {
    padding: 0.75rem 0;
  }

  .tradex-slider,
  .tradex-slide {
    min-height: calc(100vh - 88px);
  }

  .tradex-controls {
    bottom: 1.25rem;
  }
}

/* ---------- Authentication (Login / Register) ---------- */
.auth-page-body {
  min-height: 100vh;
  background: radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.18), transparent 45%), var(--black);
}

.auth-main {
  display: flex;
  justify-content: center;
  padding: 2rem 0 4rem;
}

.auth-shell {
  width: min(460px, 94vw);
}

.auth-brand-block {
  text-align: center;
  margin-bottom: 1.25rem;
}

.auth-brand-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-brand-sub {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.auth-card {
  padding: 1.5rem 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-tab {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gray);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.auth-tab.is-active {
  border-color: rgba(59, 130, 246, 0.65);
  color: var(--white);
  background: rgba(37, 99, 235, 0.18);
}

.auth-panel.is-hidden {
  display: none;
}

.auth-alert {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.auth-alert.is-error {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}

.auth-alert.is-success {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(6, 78, 59, 0.35);
  color: #d1fae5;
}

.field-error {
  color: #fca5a5;
  font-size: 0.82rem;
  margin: 0.35rem 0 0;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--gray);
  margin: 0.35rem 0 0;
}

.auth-switch {
  text-align: center;
  margin: 1rem 0 0;
}

.auth-link {
  background: none;
  border: 0;
  color: #93c5fd;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  padding: 0;
}

.auth-link.is-hidden {
  display: none;
}

.auth-footer-note {
  text-align: center;
  font-size: 0.78rem;
  margin-top: 1.25rem;
  max-width: 420px;
  margin-inline: auto;
}

.auth-submit {
  position: relative;
  margin-top: 18px;
}

.auth-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-left: 0.5rem;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.input-readonly {
  opacity: 0.85;
  cursor: not-allowed;
}

@media (prefers-color-scheme: light) {
  .auth-page-body {
    background: radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.12), transparent 45%), #f8fafc;
    color: #0f172a;
  }

  .auth-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }

  .auth-tab {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
  }

  .auth-tab.is-active {
    background: #eff6ff;
    color: #1e3a8a;
    border-color: #93c5fd;
  }

  .field-error {
    color: #b91c1c;
  }
}

/* ---------- Profile wallet & withdraw ---------- */
.profile-page-body {
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.12), transparent 55%), var(--black);
}

.profile-balance-card {
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.55), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.profile-balance-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.profile-balance-label {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.profile-balance-amount {
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.profile-balance-equiv {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.profile-currency-toggle {
  display: flex;
  gap: 0.35rem;
}

.profile-ccy-btn.is-active {
  border-color: rgba(147, 197, 253, 0.8);
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.35);
}

.profile-trc-row {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.profile-trc-addr {
  word-break: break-all;
}

.profile-balance-actions {
  margin-top: 1.25rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-sheet {
  width: min(480px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 1.25rem 1.35rem;
}

.modal-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.modal-close {
  flex-shrink: 0;
}

@media (prefers-color-scheme: light) {
  .profile-balance-card {
    border-color: #bfdbfe;
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
  }

  .profile-balance-label {
    color: #1e40af;
  }

  .profile-balance-amount {
    color: #0f172a;
  }

  .profile-ccy-btn.is-active {
    background: #dbeafe;
    color: #1e3a8a;
  }
}

/* ---------- Dashboard deposit / withdraw sections ---------- */
.dash-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dash-section {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

.dash-section-title {
  margin: 0;
  font-size: 1.15rem;
}

.dash-section-text {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
}

.btn-dash-deposit,
.btn-dash-withdraw {
  align-self: flex-start;
  border-radius: 12px;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform var(--transition),
    filter var(--transition),
    box-shadow var(--transition);
}

/* Profile form spacing */
#profileSaveBtn {
  margin-top: 20px;
}

/* Live chart (Lightweight Charts) */
.live-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.live-chart-title {
  margin: 0;
}

.live-chart-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #93c5fd;
}

.live-chart-loading {
  color: var(--gray);
  font-size: 0.9rem;
}

.chart-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #000;
}

.btn-dash-deposit {
  background: linear-gradient(165deg, #1d4ed8 0%, #172554 100%);
  color: #eff6ff;
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.28);
}

.btn-dash-deposit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(29, 78, 216, 0.38);
}

.btn-dash-withdraw {
  background: linear-gradient(165deg, #047857 0%, #052e16 100%);
  color: #ecfdf5;
  border-color: rgba(110, 231, 183, 0.35);
  box-shadow: 0 10px 28px rgba(4, 120, 87, 0.26);
}

.btn-dash-withdraw:hover {
  filter: brightness(1.09);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(4, 120, 87, 0.34);
}

.btn-dash-deposit:active,
.btn-dash-withdraw:active {
  transform: translateY(0);
}

@media (prefers-color-scheme: light) {
  .btn-dash-deposit {
    background: linear-gradient(165deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
  }

  .btn-dash-withdraw {
    background: linear-gradient(165deg, #059669 0%, #065f46 100%);
    color: #fff;
  }
}
