:root {
  --bg: #050508;
  --bg-soft: #0a0a0e;
  --surface: #0f0f14;
  --surface-2: #16161e;
  --surface-3: #1c1c26;
  --border: #2a2a34;
  --border-soft: rgba(212, 175, 55, 0.12);
  --text: #faf8f2;
  --muted: #a8a29e;
  --muted-2: #78716c;
  --primary: #d4af37;
  --primary-bright: #f0dc82;
  --primary-dark: #8a7020;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #38bdf8;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --sidebar: 280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(212, 175, 55, 0.07), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}
/* addded */
.investors-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.12), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(125, 211, 252, 0.10), transparent 24%),
    linear-gradient(180deg, #040508 0%, #07080d 55%, #050508 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}

.investors-section::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  content: "";
  height: 100%;
  left: -28%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  width: 20%;
  animation: investors-sheen 10s linear infinite;
  pointer-events: none;
}

.investors-header {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  color: #ffd700;                 /* Yellow accent like your LXP logo */
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 700;
  max-width: 940px;
  margin: 0 auto;
  color: #ffffff;
}

.investors-content {
  display: grid;
  align-items: start;
  gap: 44px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  margin: 0 auto;
}

.investors-description {
  color: #cfcfd6;
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 420px;
  padding-top: 18px;
}

.investors-showcase {
  min-width: 0;
}

.investors-panel {
  background:
    linear-gradient(180deg, rgba(15, 17, 25, 0.94), rgba(8, 10, 15, 0.98)),
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.10), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.investors-panel::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
  position: absolute;
}

.investors-panel-head,
.investors-spotlight-grid {
  position: relative;
  z-index: 1;
}

.investors-panel-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.investor-live-pill {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  color: var(--primary-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.investor-live-note {
  color: #b5b5bf;
  font-size: 0.88rem;
  max-width: 420px;
  text-align: right;
}

.investors-marquee {
  margin: 0 -26px;
  overflow: hidden;
  padding: 8px 0 18px;
  position: relative;
  z-index: 1;
}

.investors-marquee::before,
.investors-marquee::after {
  content: "";
  inset: 0 auto 0 0;
  pointer-events: none;
  position: absolute;
  width: 72px;
  z-index: 2;
}

.investors-marquee::before {
  background: linear-gradient(90deg, rgba(9, 10, 15, 1), rgba(9, 10, 15, 0));
  left: 0;
}

.investors-marquee::after {
  background: linear-gradient(270deg, rgba(9, 10, 15, 1), rgba(9, 10, 15, 0));
  right: 0;
}

.investors-track {
  animation: investors-marquee 26s linear infinite;
  display: flex;
  gap: 18px;
  width: max-content;
}

.investor-logo-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: flex;
  flex: 0 0 168px;
  height: 98px;
  justify-content: center;
  padding: 16px 20px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.investor-logo-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
  transform: translateY(-4px);
}

.investor-logo-card img {
  height: 40px;
  max-width: 100%;
  width: auto;
  filter: grayscale(1) brightness(0.95) contrast(1.05);
  opacity: 0.88;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.investor-logo-card:hover img {
  filter: grayscale(0) brightness(1.08);
  opacity: 1;
  transform: scale(1.04);
}

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

.investor-spotlight-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 16px 18px;
}

.spotlight-label {
  color: #9e9ea8;
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.investor-spotlight-card strong {
  color: #f5f5f7;
  display: block;
  font-size: 0.98rem;
  line-height: 1.55;
}

.slider-dots {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.dot {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-block;
  height: 12px;
  transition: width 0.32s ease, background 0.32s ease, box-shadow 0.32s ease;
  width: 12px;
}

.dot.active {
  background: linear-gradient(90deg, #d4af37, #f0dc82);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.34);
  width: 42px;
}

@keyframes investors-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes investors-sheen {
  0% {
    left: -28%;
  }

  100% {
    left: 132%;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .investors-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .investors-description {
    margin: 0 auto;
    max-width: 620px;
    padding-top: 0;
    text-align: center;
  }

  .investors-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .investor-live-note {
    max-width: none;
    text-align: left;
  }

  .investors-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.2rem;
  }
}
/* end added */
a {
  color: inherit;
  text-decoration: none;
}

.container {
  margin: auto;
  width: min(1180px, 92%);
}

.site-header {
  background: rgba(8, 10, 15, 0.88);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}

@supports ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
  .site-header {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

.navbar,
.site-nav,
.hero-actions,
.card-heading,
.support-row,
.footer-grid,
.topbar-actions,
.modal-heading {
  align-items: center;
  display: flex;
}

.navbar {
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--primary);
  border-radius: 6px;
  color: #121212;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 42px;
}

.site-nav {
  gap: 18px;
}

.site-nav a,
.nav-button,
.link-button {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
}

.site-nav a:hover,
.nav-button:hover,
.link-button:hover {
  color: var(--text);
}

.btn {
  align-items: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  transition: 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.btn-primary {
  background: var(--primary);
  color: #141414;
}

.btn-primary:hover {
  background: var(--primary-bright);
}

.btn-secondary {
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.btn-small {
  font-size: 0.85rem;
  min-height: 34px;
  padding: 7px 12px;
}

.hero {
  background:
    linear-gradient(105deg, rgba(5, 5, 8, 0.97) 0%, rgba(12, 10, 6, 0.85) 45%, rgba(5, 5, 8, 0.92) 100%),
    url("https://images.unsplash.com/photo-1640340434855-6084b1f4901c?auto=format&fit=crop&w=1800&q=80") center/cover;
  overflow: hidden;
  padding: 86px 0 72px;
  position: relative;
}

.hero-fx {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.coin {
  animation: coin-drift 14s ease-in-out infinite;
  border-radius: 50%;
  box-shadow:
    inset -3px -4px 10px rgba(0, 0, 0, 0.45),
    inset 4px 4px 12px rgba(255, 236, 168, 0.35),
    0 8px 28px rgba(212, 175, 55, 0.22);
  display: block;
  position: absolute;
}

.coin::after {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  inset: 18%;
  position: absolute;
}

.coin-a {
  animation-delay: 0s;
  background: radial-gradient(circle at 32% 28%, #fff5c8, #d4af37 42%, #5c4812);
  height: 42px;
  left: 8%;
  opacity: 0.85;
  top: 22%;
  width: 42px;
}

.coin-b {
  animation-delay: -2.5s;
  background: radial-gradient(circle at 30% 30%, #ffeaa3, #c9a227 50%, #4a3a10);
  height: 28px;
  left: 72%;
  opacity: 0.65;
  top: 18%;
  width: 28px;
}

.coin-c {
  animation-delay: -5s;
  background: radial-gradient(circle at 35% 25%, #fff7d6, #d4af37 48%, #6b5418);
  height: 36px;
  left: 58%;
  opacity: 0.72;
  top: 62%;
  width: 36px;
}

.coin-d {
  animation-delay: -7s;
  background: radial-gradient(circle at 28% 32%, #faf0c8, #b8922e 46%, #3d3010);
  height: 22px;
  left: 22%;
  opacity: 0.55;
  top: 68%;
  width: 22px;
}

.coin-e {
  animation-delay: -10s;
  background: radial-gradient(circle at 30% 28%, #fff2b8, #d4af37 44%, #524018);
  height: 32px;
  left: 88%;
  opacity: 0.58;
  top: 48%;
  width: 32px;
}

@keyframes coin-drift {
  0%,
  100% {
    opacity: 0.55;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  33% {
    opacity: 0.88;
    transform: translate3d(12px, -18px, 0) rotate(120deg);
  }

  66% {
    opacity: 0.62;
    transform: translate3d(-8px, 10px, 0) rotate(260deg);
  }
}

.chart-glow {
  animation: chart-pulse 6s ease-in-out infinite;
  border-radius: 4px;
  filter: blur(28px);
  opacity: 0.35;
  position: absolute;
}

.chart-glow-a {
  animation-delay: 0s;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
  height: 120px;
  left: 35%;
  top: 40%;
  transform: rotate(-8deg);
  width: min(44%, 380px);
}

.chart-glow-b {
  animation-delay: -3s;
  background: linear-gradient(90deg, transparent, rgba(240, 220, 130, 0.45), transparent);
  height: 80px;
  left: 15%;
  top: 55%;
  transform: rotate(6deg);
  width: min(36%, 280px);
}

@keyframes chart-pulse {
  0%,
  100% {
    opacity: 0.22;
    transform: rotate(-8deg) scaleX(1);
  }

  50% {
    opacity: 0.42;
    transform: rotate(-8deg) scaleX(1.06);
  }
}

.hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  grid-template-rows: auto auto;
}

.market-card {
  grid-column: 2;
  grid-row: 1;
}

.spark-strip {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spark-card {
  align-items: center;
  background: rgba(15, 15, 20, 0.82);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  padding: 14px 18px;
}

.spark-label {
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.spark-chart-wrap {
  flex: 1;
  height: 72px;
  min-width: 0;
  position: relative;
}

.spark-chart-wrap canvas {
  display: block;
  height: 72px !important;
  width: 100% !important;
}

.hero-copy {
  align-self: center;
  grid-column: 1;
  grid-row: 1;
  max-width: 720px;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.4rem, 7vw, 5.7rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.98;
  margin-bottom: 20px;
}

.hero p,
.section-heading p,
.support-row p,
.helper-text {
  color: var(--muted);
}

.hero-copy > p {
  font-size: 1.08rem;
  max-width: 640px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.risk-strip {
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid rgba(245, 197, 66, 0.25);
  border-radius: var(--radius);
  color: #f8e6a7;
  max-width: 680px;
  padding: 14px 16px;
}

.market-card,
.panel,
.stat-card {
  background: rgba(17, 24, 39, 0.96);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.market-card,
.panel {
  padding: 24px;
}

  .market-strip {
    grid-column: 2;
    grid-row: 1;
    background: rgba(17, 24, 39, 0.96);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
  }

  .market-strip-top {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

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

  .ticker-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    display: grid;
    gap: 10px;
  }

  .ticker-symbol {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .ticker-value {
    font-size: 1.6rem;
    line-height: 1;
  }

  .ticker-change {
    font-weight: 700;
  }

  .ticker-change.positive {
    color: var(--success);
  }

  .ticker-change.negative {
    color: var(--danger);
  }

  @media (max-width: 900px) {
    .market-strip-grid {
      grid-template-columns: 1fr;
    }
  }


.card-heading h2,
.section-heading h2,
.support-row h2,
.panel h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  letter-spacing: 0;
}

.status-dot {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 999px;
  color: #86efac;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  white-space: nowrap;
}

.chart-box {
  height: 300px;
}

.market-metrics,
.stats-grid,
.plans-grid,
.dashboard-grid,
.info-grid,
.form-grid,
.insights-grid {
  display: grid;
  gap: 18px;
}

.market-metrics {
  border-top: 1px solid var(--border-soft);
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  padding-top: 18px;
}

.market-metrics span,
.stat-card span,
.wallet-card span {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
}

.market-metrics strong {
  display: block;
  margin-top: 4px;
}

.exchange-card {
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.98), rgba(9, 10, 16, 0.98)),
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.10), transparent 35%);
  overflow: hidden;
  position: relative;
}

.exchange-card::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  height: 100%;
  left: -45%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  width: 32%;
  animation: exchange-sheen 7s linear infinite;
}

.exchange-topbar {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.exchange-topbar h2 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.exchange-screen {
  background:
    linear-gradient(180deg, rgba(12, 17, 28, 0.98), rgba(8, 10, 15, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.12), transparent 32%);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 14px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.exchange-screen::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
}

.exchange-header-row,
.exchange-depth,
.depth-row,
.exchange-ticker-track {
  display: flex;
}

.exchange-header-row {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.exchange-pair {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.exchange-price {
  color: var(--text);
  display: block;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.exchange-change {
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 10px;
}

.exchange-change.up {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
}

.exchange-chart-panel {
  background: linear-gradient(180deg, rgba(11, 17, 28, 0.86), rgba(7, 10, 15, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  height: 240px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

.exchange-gridlines {
  bottom: 18px;
  display: grid;
  gap: 44px;
  left: 52px;
  position: absolute;
  right: 14px;
  top: 16px;
}

.exchange-gridlines span {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.exchange-axis {
  color: rgba(250, 248, 242, 0.46);
  display: grid;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  gap: 35px;
  left: 12px;
  position: absolute;
  top: 18px;
  z-index: 1;
}

.exchange-wave {
  bottom: 0;
  left: 48px;
  position: absolute;
  right: 0;
  top: 16px;
  width: calc(100% - 48px);
  z-index: 2;
}

.exchange-area {
  fill: url("#exchangeFill");
  opacity: 0.95;
}

.exchange-line {
  fill: none;
  stroke: url("#exchangeStroke");
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  animation: draw-exchange-line 3.8s ease-out forwards, exchange-line-float 6s ease-in-out infinite 3.8s;
}

.exchange-pulse {
  border-radius: 999px;
  filter: blur(1px);
  position: absolute;
  z-index: 1;
}

.exchange-pulse-a {
  animation: exchange-pulse 3.2s ease-in-out infinite;
  background: rgba(212, 175, 55, 0.34);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
  height: 12px;
  right: 72px;
  top: 42px;
  width: 12px;
}

.exchange-pulse-b {
  animation: exchange-pulse 4.2s ease-in-out infinite 0.8s;
  background: rgba(125, 211, 252, 0.28);
  box-shadow: 0 0 20px rgba(125, 211, 252, 0.24);
  height: 10px;
  left: 120px;
  top: 118px;
  width: 10px;
}

.exchange-depth {
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.depth-side {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  flex: 1;
  min-width: 0;
  padding: 12px;
}

.depth-title {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.depth-row {
  align-items: center;
  color: var(--text);
  font-size: 0.82rem;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.depth-row:last-child {
  margin-bottom: 0;
}

.depth-bar {
  border-radius: 999px;
  flex: 0 0 var(--depth);
  height: 7px;
  max-width: 92px;
}

.depth-bar-buy {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.84));
  animation: depth-breathe 3.4s ease-in-out infinite;
}

.depth-bar-sell {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0.84));
  animation: depth-breathe 3.8s ease-in-out infinite 0.4s;
}

.exchange-ticker {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding-top: 14px;
  position: relative;
  z-index: 1;
}

.exchange-ticker-track {
  animation: ticker-slide 18s linear infinite;
  color: rgba(250, 248, 242, 0.8);
  gap: 26px;
  white-space: nowrap;
  width: max-content;
}

.exchange-ticker-track span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.exchange-metrics {
  position: relative;
  z-index: 1;
}

@keyframes draw-exchange-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes exchange-line-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

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

  50% {
    opacity: 0.95;
    transform: scale(1.6);
  }
}

@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes depth-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scaleX(0.96);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes exchange-sheen {
  0% {
    left: -45%;
  }

  100% {
    left: 130%;
  }
}

.section-band {
  padding: 76px 0;
}

.section-band.quiet {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  border-top: 1px solid var(--border-soft);
}

.section-heading {
  margin-bottom: 26px;
  max-width: 760px;
}

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

.plans-grid.compact {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.plan-card.selected {
  border-color: rgba(245, 197, 66, 0.7);
  box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.12);
}

.plan-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.plan-price {
  color: var(--primary);
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-meta {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 54px;
}

.plan-card .btn {
  margin-top: 16px;
  width: 100%;
}

.info-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-list > div {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px;
}

.info-list span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.info-list.subtle {
  margin-top: 18px;
}

.support-row,
.footer-grid {
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  padding: 28px 0;
}

.site-footer a {
  margin-left: 16px;
}

.license-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 520px);
}

.license-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 12px;
}

.license-preview img {
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
  height: auto;
  width: 100%;
}

.chat-fab {
  align-items: center;
  background: linear-gradient(155deg, rgba(22, 22, 30, 0.98), rgba(12, 12, 18, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  height: 52px;
  inset-inline-end: 22px;
  justify-content: center;
  position: fixed;
  width: 52px;
  z-index: 55;
}

.chat-fab:hover {
  border-color: rgba(212, 175, 55, 0.55);
  color: var(--primary-bright);
}

.chat-fab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.chat-fab-public {
  bottom: 88px;
}

.chat-fab-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.chatbot-layout {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  min-height: min(70vh, 720px);
}

.chat-sessions-panel {
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}

.chat-sessions-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  min-height: 120px;
  overflow-y: auto;
}

.chat-session-row {
  background: rgba(15, 15, 20, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.chat-session-row:hover {
  border-color: rgba(212, 175, 55, 0.28);
}

.chat-session-row.active {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.chat-session-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.chat-session-date {
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-main-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 70vh;
}

.chat-messages {
  background: rgba(8, 10, 15, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  overflow-y: auto;
  padding: 16px;
}

.chat-bubble {
  border-radius: 12px;
  max-width: min(720px, 92%);
  padding: 12px 14px;
}

.chat-bubble-user {
  align-self: flex-end;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.chat-bubble-bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-soft);
}

.chat-bubble-role {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.chat-bubble p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-input-row {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chat-input-row .chat-input {
  flex: 1;
  min-height: 52px;
  min-width: 0;
  resize: vertical;
}

.chat-input-label {
  flex: 1;
  min-width: 0;
}

.chat-source-hint:empty {
  display: none;
}

.app-shell {
  display: none;
  min-height: 100vh;
}

.app-shell.active {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.sidebar {
  background: #090d14;
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px;
  position: sticky;
  top: 0;
}

.app-brand {
  margin-bottom: 30px;
}

.app-nav {
  display: grid;
  gap: 8px;
}

.app-nav-item {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
}

.app-nav-item.active,
.app-nav-item:hover {
  background: var(--surface);
  color: var(--text);
}

.sidebar-note {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius);
  color: var(--primary-bright);
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 14px;
}

.sidebar-note span {
  color: rgba(250, 248, 242, 0.72);
  font-size: 0.86rem;
}

.app-main {
  min-width: 0;
}

.app-topbar {
  align-items: center;
  background: rgba(8, 10, 15, 0.86);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  min-height: 88px;
  padding: 18px 28px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.app-topbar h1 {
  font-size: 1.8rem;
}

.topbar-actions {
  gap: 10px;
}

.view-stack {
  padding: 28px;
}

.app-view {
  display: none;
}

.app-view.active {
  display: grid;
  gap: 22px;
}

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

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

.stat-card,
.mini-panel {
  padding: 20px;
}

.mini-panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.stat-card strong,
.mini-panel strong {
  color: var(--text);
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: 0;
  margin: 8px 0;
}

.mini-panel strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.stat-card small,
.mini-panel small {
  color: var(--muted-2);
}

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

.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
}

.step-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.step {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 10px;
}

.step span {
  align-items: center;
  background: var(--surface-3);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.step.active span {
  background: var(--primary);
  color: #111111;
}

.form-stack {
  display: grid;
  gap: 16px;
}

.form-grid {
  align-items: end;
  grid-template-columns: minmax(220px, 1fr) auto;
  margin-top: 22px;
}

label {
  color: var(--text);
  display: grid;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 8px;
}

.input {
  background: #0b111c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.12);
  outline: none;
}

.password-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.wallet-card {
  background: #0b111c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  padding: 16px;
}

.wallet-card strong {
  color: var(--primary);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.wallet-card.large {
  padding: 20px;
}

.wallet-card.large strong {
  font-size: 1.12rem;
}

.helper-text {
  margin-top: 14px;
}

.activity-list {
  display: grid;
}

.activity-item {
  align-items: center;
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 14px 0;
}

.activity-item:first-child {
  border-top: 0;
}

.activity-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 3px;
}

.badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  justify-content: center;
  min-width: 82px;
  padding: 6px 10px;
  text-transform: capitalize;
}

.badge.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.badge.approved {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.badge.rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.segmented {
  background: #0b111c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: inline-flex;
  padding: 4px;
}

.segmented button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 7px 10px;
}

.segmented button.active {
  background: var(--surface-3);
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.data-table th,
.data-table td {
  border-top: 1px solid var(--border-soft);
  padding: 14px 10px;
  text-align: left;
}

.data-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.empty-state {
  color: var(--muted);
  padding: 24px 0;
  text-align: center;
}

.narrow-panel {
  max-width: 760px;
}

.referral-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.profile-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.profile-list > div {
  background: #0b111c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.profile-list span {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.profile-list strong {
  overflow-wrap: anywhere;
}

.profile-form {
  margin-top: 18px;
}

.profile-form .input[readonly] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: not-allowed;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.check-list label {
  align-items: center;
  background: #0b111c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: row;
  font-weight: 700;
  gap: 10px;
  padding: 14px;
}

.support-form {
  border-top: 1px solid var(--border-soft);
  margin-top: 22px;
  padding-top: 22px;
}

.support-landing {
  background:
    radial-gradient(ellipse 80% 120% at 80% 50%, rgba(212, 175, 55, 0.06), transparent),
    var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  border-top: 1px solid var(--border-soft);
}

.support-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.support-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
}

.support-new-panel,
.support-inbox-panel {
  max-width: none;
}

.support-new-panel {
  padding-bottom: 4px;
}

.support-inbox-panel {
  min-height: 580px;
}

.support-ticket-list {
  min-height: 160px;
}

.support-thread-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 18px;
}

.support-messages {
  max-height: min(48vh, 420px);
}

@media (max-width: 900px) {
  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-inbox-panel {
    min-height: auto;
  }
}

.is-hidden {
  display: none !important;
}

.support-ticket-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.support-ticket-row {
  background: #0b0b10;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.support-ticket-row:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.support-ticket-row.active {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.12);
}

.support-ticket-topic {
  font-weight: 700;
}

.support-ticket-meta {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.support-thread-section {
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
}

.support-thread-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.support-thread-head h3 {
  font-size: 1.15rem;
}

.support-messages {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding-right: 6px;
}

.support-bubble {
  border-radius: var(--radius);
  padding: 12px 14px;
}

.support-bubble-from {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.support-bubble p {
  margin: 0;
  white-space: pre-wrap;
}

.support-bubble time {
  color: var(--muted-2);
  display: block;
  font-size: 0.78rem;
  margin-top: 8px;
}

.support-bubble-user {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.support-bubble-user .support-bubble-from {
  color: var(--primary-bright);
}

.support-bubble-staff {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
}

.support-bubble-staff .support-bubble-from {
  color: var(--muted);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.modal {
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  inset: 0;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: max(16px, env(safe-area-inset-top, 0px) + 8px) 18px max(16px, env(safe-area-inset-bottom, 0px) + 8px);
  position: fixed;
  z-index: 100;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-shrink: 0;
  margin-inline: auto;
  max-height: min(92vh, calc(100dvh - 48px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  width: min(460px, 100%);
}

.auth-modal-content {
  align-items: stretch;
  display: flex;
  min-height: 0;
  padding: 0;
}

.auth-brand-panel {
  align-items: flex-start;
  background: linear-gradient(165deg, #050c18 0%, #0a1628 55%, #0f1f38 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: none;
  flex: 0 0 42%;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
  padding: 2rem 1.75rem;
}

.auth-mode-register .auth-brand-panel:not(.is-hidden) {
  display: flex;
}

.auth-brand-hex {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  flex-shrink: 0;
  height: 44px;
  width: 44px;
}

.auth-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.auth-brand-panel .auth-brand-mark {
  background: none;
  border-radius: 0;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0;
}

.auth-brand-name {
  color: #f8fafc;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.auth-form-wrap {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 24px;
}

.auth-mode-register .auth-form-wrap {
  flex: 1 1 0%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.auth-mode-register.auth-modal,
.auth-mode-register .auth-modal-content {
  color: #e2e8f0;
}

.auth-mode-register .auth-modal-content {
  background: #0a1628;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  display: flex;
  max-height: min(92vh, calc(100dvh - 48px));
  overflow: hidden;
  width: min(900px, 100%);
}

.auth-mode-register .auth-brand-panel:not(.is-hidden) {
  align-self: stretch;
  display: flex;
  flex: 0 0 42%;
  flex-direction: column;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto;
}

.auth-mode-register .auth-form-wrap label {
  color: #cbd5e1;
}

.auth-input-navy {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #f8fafc;
}

.auth-mode-register .auth-input-navy:focus {
  border-color: rgba(255, 255, 255, 0.75);
  outline: none;
}

.auth-mode-register .auth-input-navy::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.auth-register-head .auth-signup-title {
  color: #f8fafc;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
}

.auth-register-head .auth-signup-sub {
  color: #dc2626;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0.4rem 0 0;
}

.auth-upline {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0;
}

.auth-terms {
  align-items: flex-start;
  flex-direction: row;
  font-weight: 500;
  gap: 10px;
}

label.auth-terms:not(.is-hidden) {
  display: flex;
}

.auth-terms input[type="checkbox"] {
  margin-top: 4px;
}

.auth-inline-link {
  color: #38bdf8;
}

.auth-inline-link:hover {
  color: #7dd3fc;
}

.auth-btn-register {
  background: #dc2626 !important;
  border-color: #b91c1c !important;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.auth-btn-register:hover:not(:disabled) {
  filter: brightness(1.06);
}

.auth-mode-register .message.success {
  color: #86efac;
}

.auth-mode-register .message.error {
  color: #fecaca;
}

.auth-mode-register .icon-button {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.auth-mode-register .auth-link-stack .link-button {
  color: #38bdf8;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.auth-mode-register .link-button:hover {
  color: #7dd3fc;
}

@media (max-width: 720px) {
  .auth-mode-register .auth-modal-content {
    flex-direction: column;
    max-height: min(92vh, calc(100dvh - 48px));
    width: min(460px, 100%);
  }

  .auth-mode-register .auth-brand-panel:not(.is-hidden) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    flex: 0 0 auto;
    max-height: none;
    overflow-y: visible;
    padding: 1.25rem 1.5rem;
  }

  .auth-mode-register .auth-form-wrap {
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

.modal-heading {
  justify-content: space-between;
  margin-bottom: 20px;
}

.icon-button {
  align-items: center;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.loader,
.message,
.auth-code-display {
  margin-top: 14px;
}

.loader {
  color: var(--primary);
  display: none;
  font-size: 0.9rem;
}

.auth-code-display {
  color: var(--primary-bright);
  font-size: 0.95rem;
  line-height: 1.4;
  min-height: 1.25em;
}

.message.success {
  color: var(--success);
}

.message.error {
  color: var(--danger);
}

.message.warning {
  color: var(--warning);
}

.link-button {
  display: block;
  margin: 18px auto 0;
}

.toast-region {
  display: grid;
  gap: 10px;
  position: fixed;
  right: 18px;
  top: 18px;
  width: min(380px, calc(100vw - 36px));
  z-index: 120;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 14px 16px;
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.warning {
  border-left-color: var(--warning);
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.lang-switcher {
  align-items: center;
  display: flex;
  gap: 8px;
}

.lang-select {
  font-size: 0.82rem;
  min-height: 38px;
  padding: 6px 10px;
  width: auto;
}

.site-nav .lang-switcher .lang-select {
  max-width: 130px;
}

.references-band {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  border-top: 1px solid var(--border-soft);
}

.ref-outlets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ref-outlets a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ref-outlets a:hover {
  color: var(--primary-bright);
}

.ref-outlets-compact {
  margin-top: 12px;
}

.sidebar-lang {
  margin-top: 14px;
}

.sidebar-lang .lang-select {
  width: 100%;
}

.home-dashboard-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.home-metrics-panel,
.home-refs-panel {
  grid-column: 1 / -1;
}

.summary-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  min-height: 124px;
  padding: 22px;
}

.summary-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-card strong {
  color: var(--text);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.summary-card small {
  color: var(--muted-2);
}

@media (max-width: 1100px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

.market-rates-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  margin-top: 12px;
}

.rate-card {
  background: #0b0b10;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.rate-card-top {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.rate-name {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.rate-price {
  color: var(--primary-bright);
  font-size: 1.25rem;
  font-weight: 800;
}

.rate-foot {
  color: var(--muted-2);
  font-size: 0.76rem;
  margin-top: 6px;
}

.rate-change {
  font-size: 0.82rem;
  font-weight: 700;
}

.rate-change.up {
  color: #86efac;
}

.rate-change.down {
  color: #fca5a5;
}

.rates-updated {
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-top: 8px;
}

/* Enhanced Animations */

/* Fade-in animations */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

/* Pulse animation */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Glow pulse animation */
@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2), inset 0 0 8px rgba(212, 175, 55, 0.1);
  }
  50% {
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.4), inset 0 0 12px rgba(212, 175, 55, 0.2);
  }
}

/* Scale on hover animation */
@keyframes scale-up {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Slide-up animation */
@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Animation utility classes */
.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fade-in-up 0.7s ease-out forwards;
}

.animate-fade-in-down {
  animation: fade-in-down 0.7s ease-out forwards;
}

.animate-fade-in-left {
  animation: fade-in-left 0.7s ease-out forwards;
}

.animate-fade-in-right {
  animation: fade-in-right 0.7s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse-subtle 2s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.animate-slide-up {
  animation: slide-up 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Stagger animations for multiple elements */
.animate-stagger-1 {
  animation-delay: 0s;
}

.animate-stagger-2 {
  animation-delay: 0.1s;
}

.animate-stagger-3 {
  animation-delay: 0.2s;
}

.animate-stagger-4 {
  animation-delay: 0.3s;
}

.animate-stagger-5 {
  animation-delay: 0.4s;
}

/* Card and element enhancements */
.market-card {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.market-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

.panel {
  transition: all 0.3s ease-out;
}

.panel:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.12);
}

.stat-card {
  transition: all 0.3s ease-out;
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  background: rgba(255, 255, 255, 0.2);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

/* Hero section animation */
.hero-copy {
  animation: fade-in-left 0.8s ease-out forwards;
}

.hero-copy > p:first-of-type {
  animation: fade-in 0.6s ease-out 0.1s forwards;
  opacity: 0;
}

.hero h1 {
  animation: fade-in 0.7s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-copy > p:nth-of-type(2) {
  animation: fade-in 0.7s ease-out 0.3s forwards;
  opacity: 0;
}

.hero-actions {
  animation: fade-in-up 0.7s ease-out 0.4s forwards;
  opacity: 0;
}

.risk-strip {
  animation: fade-in-up 0.7s ease-out 0.5s forwards;
  opacity: 0;
}

.market-card {
  animation: fade-in-right 0.8s ease-out forwards;
}

.spark-strip > div {
  animation: fade-in-up 0.7s ease-out forwards;
  opacity: 0;
}

.spark-strip .spark-card:nth-child(1) {
  animation-delay: 0.5s;
}

.spark-strip .spark-card:nth-child(2) {
  animation-delay: 0.6s;
}

/* Section animations */
.section-band {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.section-band.is-hidden {
  opacity: 0.5;
  pointer-events: none;
}

/* Reference outlets animation */
.ref-outlets li {
  animation: fade-in-up 0.5s ease-out forwards;
  opacity: 0;
}

.ref-outlets li:nth-child(1) {
  animation-delay: 0s;
}

.ref-outlets li:nth-child(2) {
  animation-delay: 0.1s;
}

.ref-outlets li:nth-child(3) {
  animation-delay: 0.2s;
}

.ref-outlets li:nth-child(4) {
  animation-delay: 0.3s;
}

/* Plan cards animation */
.plan-card {
  animation: fade-in-up 0.6s ease-out forwards;
  opacity: 0;
  transition: all 0.3s ease-out;
}

.plan-card:nth-child(1) {
  animation-delay: 0s;
}

.plan-card:nth-child(2) {
  animation-delay: 0.1s;
}

.plan-card:nth-child(3) {
  animation-delay: 0.2s;
}

.plan-card:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.2);
  transform: translateY(-6px);
}

/* Info list animation */
.info-list > div {
  animation: fade-in-up 0.5s ease-out forwards;
  opacity: 0;
}

.info-list > div:nth-child(1) {
  animation-delay: 0s;
}

.info-list > div:nth-child(2) {
  animation-delay: 0.1s;
}

.info-list > div:nth-child(3) {
  animation-delay: 0.2s;
}

/* Badge animations */
.badge {
  transition: all 0.2s ease;
}

.badge:hover {
  transform: scale(1.08);
}

/* Rate card animations */
.rate-card {
  animation: fade-in-up 0.5s ease-out forwards;
  opacity: 0;
  transition: all 0.3s ease;
}

.rate-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
  transform: translateY(-3px);
}

/* Support ticket animations */
.support-ticket-row {
  animation: fade-in-left 0.4s ease-out forwards;
  opacity: 0;
}

.support-ticket-row:nth-child(1) {
  animation-delay: 0s;
}

.support-ticket-row:nth-child(2) {
  animation-delay: 0.1s;
}

.support-ticket-row:nth-child(3) {
  animation-delay: 0.2s;
}

/* Modal animations */
.modal {
  animation: fade-in 0.3s ease-out;
}

.modal-content {
  animation: slide-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Loading spinner animation */
.loader {
  animation: pulse-subtle 1.5s ease-in-out infinite;
}

/* Transition for smooth theme changes */
* {
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

button,
a {
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .market-card {
    grid-column: 1;
    grid-row: auto;
  }

  .spark-strip {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .exchange-depth {
    flex-direction: column;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .home-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .chatbot-layout {
    grid-template-columns: 1fr;
  }

  .license-grid {
    grid-template-columns: 1fr;
  }

  .chat-sessions-panel,
  .chat-main-panel {
    max-height: none;
  }

  .info-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid,
  .plans-grid.compact,
  .stats-grid,
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell.active {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
    position: static;
  }

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

  .sidebar-note {
    margin-top: 18px;
  }
}

/* Inspired By Section Styles */
.inspired-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.inspired-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.inspired-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.inspired-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

.inspired-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.inspired-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Investor Feedback Section Styles */
.feedback-section {
  padding: 80px 0;
  background: var(--bg);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.feedback-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feedback-card::before {
  content: '"';
  position: absolute;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.1;
  top: -10px;
  left: 10px;
}

.feedback-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

.feedback-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.feedback-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.feedback-author strong {
  color: var(--primary);
  font-size: 0.95rem;
}

.feedback-author span {
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* About Us Section Styles */
.about-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
  border-top: 1px solid var(--border-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}

.about-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.about-content h3:first-child {
  margin-top: 0;
}

.about-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-list li {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  padding: 16px;
  border-radius: 4px;
}

.about-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.about-list span {
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.6;
  display: block;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-highlight {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-highlight:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

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

/* Daily Returns Section Styles */
.returns-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.return-stat {
  background: #0b111c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}

.return-stat span {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.return-stat strong {
  color: var(--primary);
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.return-stat small {
  color: var(--muted-2);
  display: block;
  font-size: 0.78rem;
}

/* Weekly Withdrawal Section Styles */
.withdraw-schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.withdraw-stat {
  background: #0b111c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.withdraw-stat:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.12);
}

.withdraw-stat span {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.withdraw-stat strong {
  color: var(--text);
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.withdraw-stat small {
  color: var(--muted-2);
  display: block;
  font-size: 0.78rem;
}

#withdrawMessage {
  border-radius: var(--radius);
  margin-top: 12px;
  padding: 10px 12px;
  display: none;
}

#withdrawMessage.show {
  display: block;
}

#withdrawMessage.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #86efac;
}

#withdrawMessage.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #fca5a5;
}

#withdrawMessage.warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .inspired-grid,
  .feedback-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 720px) {
  .site-nav a {
    display: none;
  }

  .inspired-section,
  .feedback-section,
  .about-section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .inspired-grid,
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .navbar,
  .app-topbar,
  .support-row,
  .footer-grid,
  .card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .topbar-actions {
    width: 100%;
  }

  .site-nav .btn,
  .topbar-actions .btn {
    flex: 1;
  }

  .hero {
    padding: 64px 0;
  }

  .plans-grid,
  .plans-grid.compact,
  .stats-grid,
  .insights-grid,
  .market-metrics,
  .form-grid,
  .referral-stats {
    grid-template-columns: 1fr;
  }

  .exchange-screen {
    padding: 16px;
  }

  .exchange-wave {
    left: 34px;
    width: calc(100% - 34px);
  }

  .exchange-gridlines {
    left: 38px;
  }

  .exchange-axis {
    font-size: 0.66rem;
    gap: 38px;
    left: 8px;
  }

  .exchange-header-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .view-stack,
  .app-topbar,
  .sidebar {
    padding: 18px;
  }

  .app-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-item {
    grid-template-columns: 1fr;
  }
}

/* Slider styles */
.feedback-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.feedback-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

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

/* Admin portal (standalone /admin) */
.admin-page {
  min-height: 100vh;
  background: var(--bg, #050508);
}

.admin-login-gate {
  display: none;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login-gate.active {
  display: grid;
}

.admin-login-panel {
  width: min(420px, 100%);
}

.admin-shell {
  display: none;
}

.admin-shell.active {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar-note {
  border-color: rgba(212, 175, 55, 0.35);
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.admin-search-field {
  flex: 1 1 240px;
}

.admin-support-grid {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
}

.admin-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-wrap {
  overflow-x: auto;
}

.admin-shell .data-table {
  min-width: 100%;
  width: 100%;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.data-table th {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 28px 14px !important;
}

.table-sub {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.table-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  word-break: break-all;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-deposit {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.badge-withdrawal {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.badge-status-pending {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.badge-status-approved {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.badge-status-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.badge-admin {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
}

.support-bubble-staff {
  border-left: 3px solid var(--gold);
}

.support-ticket-item.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

@media (max-width: 960px) {
  .admin-shell.active {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
    width: 100%;
  }

  .app-main {
    min-width: 0;
  }

  .admin-support-grid {
    grid-template-columns: 1fr;
  }

  .app-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .topbar-actions .btn {
    flex: 1 1 200px;
    min-width: 0;
  }

  .admin-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-filters label,
  .admin-filters button {
    width: 100%;
  }

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

  .app-nav .app-nav-item {
    width: 100%;
  }

  .admin-support-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sidebar-note {
    margin-top: 18px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-actions {
    flex-direction: column;
  }

  .app-nav {
    grid-template-columns: 1fr;
  }

  .admin-filters {
    gap: 12px;
  }

  .admin-sidebar {
    padding: 18px 18px 0;
  }

  .app-topbar {
    padding: 18px;
  }

  .view-stack {
    padding: 18px;
  }
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

.dot:hover {
  background-color: var(--primary);
}
