@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,800&display=swap');

:root {
  --primary: #22c55e;
  --tradr-background: #11151d;
  --tradr-card: #171c25;
  --tradr-surface: #151a22;
  --tradr-surface-elevated: #1d2430;
  --tradr-border: #303844;
  --tradr-muted: #8b96a8;
  --tradr-green: #22c55e;
  --tradr-green-soft: rgba(34, 197, 94, 0.15);
  --tradr-red: #ef4444;
  --tradr-red-soft: rgba(239, 68, 68, 0.15);
  --bg-dark: #050505;
  --panel-bg: #0f172a;
  --chart-up: #10b981;
  --chart-down: #e11d48;
  --font-main: 'Inter', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  --app-viewport-height: 100vh;
  --mobile-trade-controls-height: 185px;
  --mobile-chart-height: calc(var(--app-viewport-height) - 64px - var(--mobile-trade-controls-height));
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: #f1f5f9;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.app-loading {
  overflow: hidden;
}

body.app-loading #app {
  opacity: 0;
  visibility: hidden;
}

body.app-ready #app {
  opacity: 1;
  visibility: visible;
}

#boot-screen {
  opacity: 1;
  transition: opacity 180ms ease;
}

body.app-ready #boot-screen {
  opacity: 0;
  pointer-events: none;
}

.boot-loader-image {
  filter: drop-shadow(0 16px 42px rgba(0, 0, 0, 0.38));
}

/* Nexus landing page */
.nexus-landing {
  min-height: 100vh;
  overflow: hidden;
  color: #eceae9;
  background:
    radial-gradient(circle at 50% 46%, rgba(93, 70, 54, 0.2), transparent 38%),
    #1b1817;
  font-family: 'Inter', 'Plus Jakarta Sans', Arial, sans-serif;
}

.nexus-header {
  position: relative;
  z-index: 20;
  height: 72px;
}

.nexus-header-inner {
  width: 100%;
  height: 72px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nexus-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 180px;
  border: 0;
  padding: 0;
  color: #eceae9;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.nexus-brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  background: #ff7a20;
  box-shadow: 0 4px 18px rgba(255, 106, 20, 0.22);
}

.nexus-brand-mark i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: #fff;
}

.nexus-brand-mark i:nth-child(1) { height: 9px; }
.nexus-brand-mark i:nth-child(2) { height: 15px; }
.nexus-brand-mark i:nth-child(3) { height: 20px; }

.nexus-brand-name {
  font-size: 25px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -1.5px;
}

.nexus-nav {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nexus-nav-link,
.nexus-language,
.nexus-login-button,
.nexus-register-button {
  height: 40px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eceae9;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.nexus-nav-link {
  gap: 7px;
  padding: 0 18px;
}

.nexus-nav-link span,
.nexus-language span {
  color: #8d8885;
  font-size: 13px;
}

.nexus-nav-link:hover,
.nexus-language:hover,
.nexus-login-button:hover {
  background: rgba(255, 255, 255, 0.055);
}

.nexus-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 0;
  min-width: 300px;
}

.nexus-language {
  gap: 6px;
  padding: 0 12px;
}

.nexus-login-button {
  padding: 0 17px;
  color: #ff8b31;
}

.nexus-register-button {
  padding: 0 18px;
  color: #fafafa;
  background: linear-gradient(103deg, #ffa33a 0.37%, #ff8516 15.31%, #ff5500 100%);
}

.nexus-register-button:hover,
.nexus-primary-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.nexus-mobile-menu {
  display: none;
  position: relative;
}

.nexus-mobile-menu summary {
  width: 40px;
  height: 40px;
  list-style: none;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  background: #38312e;
}

.nexus-mobile-menu summary::-webkit-details-marker { display: none; }
.nexus-mobile-menu summary span { width: 17px; height: 2px; border-radius: 2px; background: #eceae9; }

.nexus-mobile-menu-panel {
  position: absolute;
  top: 48px;
  right: 0;
  width: 210px;
  padding: 8px;
  display: grid;
  gap: 4px;
  border: 1px solid #4b423e;
  border-radius: 16px;
  background: rgba(38, 33, 31, 0.98);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.nexus-mobile-menu-panel button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  color: #eceae9;
  background: transparent;
  text-align: left;
  font-weight: 600;
}

.nexus-mobile-menu-panel button:hover { background: rgba(255, 255, 255, 0.06); }

.nexus-hero {
  position: relative;
  width: 100%;
  min-height: 1129px;
  padding: 32px 32px 0;
}

.nexus-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  width: min(1000px, 88vw);
  height: 580px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 125, 42, 0.065), transparent 69%);
}

.nexus-hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
}

.nexus-asset-rotator {
  position: relative;
  width: 260px;
  height: 32px;
  margin: 0 auto;
}

.nexus-market-pill {
  position: absolute;
  top: 10px;
  left: 50%;
  width: max-content;
  min-width: 211px;
  height: 48px;
  padding: 4px 27px 4px 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #eceae9;
  background: #26211f;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.96);
  animation: nexusMarketCycle 16s infinite;
}

.nexus-market-pill.market-pill-2 { animation-delay: 4s; }
.nexus-market-pill.market-pill-3 { animation-delay: 8s; }
.nexus-market-pill.market-pill-4 { animation-delay: 12s; }

@keyframes nexusMarketCycle {
  0%, 22% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  25%, 97% { opacity: 0; transform: translate(-50%, -8px) scale(0.96); }
  98%, 100% { opacity: 0; transform: translate(-50%, 8px) scale(0.96); }
}

.nexus-asset-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.nexus-asset-icon.amazon { background: #edf1f5; color: #161616; font-size: 22px; }
.nexus-asset-icon.bitcoin { background: #f7931a; }
.nexus-asset-icon.eur { background: #4254cf; }
.nexus-asset-icon.gold { background: #b58a35; font-size: 14px; }
.nexus-asset-name { font-size: 16px; line-height: 20px; font-weight: 600; }
.nexus-asset-change { margin-left: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.nexus-asset-change.up { color: #58bd8b; }
.nexus-asset-change.down { color: #ff6b6b; }
.nexus-asset-change b { font-size: 15px; }

.nexus-hero-title {
  width: min(1112px, 100%);
  margin: 0 auto;
  padding: 24px 0 36px;
  color: transparent;
  background: linear-gradient(92deg, rgba(255, 247, 240, 0.08) -15%, #eceae9 33%, #eceae9 61%, rgba(255, 247, 240, 0.42) 98%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(64px, 6.9vw, 88px);
  line-height: 1.045;
  font-weight: 500;
  letter-spacing: -4.7px;
}

.nexus-hero-subtitle {
  max-width: 920px;
  margin: 0 auto;
  color: #afadac;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}

.nexus-hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.nexus-primary-cta,
.nexus-secondary-cta {
  height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fafafa;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, background-color 160ms ease;
}

.nexus-primary-cta {
  min-width: 163px;
  background: linear-gradient(103deg, #ffa33a 0.37%, #ff8516 15.31%, #ff5500 100%);
}

.nexus-secondary-cta {
  min-width: 137px;
  color: #eceae9;
  background: #38312e;
}

.nexus-secondary-cta:hover { background: #463d39; }

.nexus-trust-line {
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #afadac;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.nexus-trust-star {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: #219653;
  font-size: 13px;
}

.nexus-video-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 8.04;
  max-height: 680px;
  margin-top: 64px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(circle at 54% 44%, rgba(217, 84, 26, 0.65), transparent 24%),
    linear-gradient(145deg, #271e1a, #0d0c0c 72%);
}

.nexus-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.nexus-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(27, 24, 23, 0.12), transparent 32%, rgba(15, 12, 11, 0.12)),
    linear-gradient(90deg, rgba(27, 24, 23, 0.12), transparent 22%, transparent 78%, rgba(27, 24, 23, 0.12));
}

@media (max-width: 900px) {
  .nexus-header-inner { padding-inline: 20px; }
  .nexus-nav { display: none; }
  .nexus-brand { min-width: 0; }
  .nexus-header-actions { min-width: 0; }
  .nexus-mobile-menu { display: block; }
  .nexus-login-button { display: none; }
  .nexus-hero { padding-inline: 20px; }
  .nexus-hero-title { font-size: clamp(50px, 8.5vw, 72px); letter-spacing: -3.6px; }
}

@media (max-width: 640px) {
  .nexus-header,
  .nexus-header-inner { height: 64px; }
  .nexus-header-inner { padding: 12px 16px; }
  .nexus-brand-mark { width: 30px; height: 30px; }
  .nexus-brand-name { font-size: 23px; }
  .nexus-language { display: none; }
  .nexus-register-button { height: 40px; padding-inline: 14px; font-size: 13px; }
  .nexus-hero {
    min-height: calc(100svh - 64px);
    padding: 26px 16px 0;
  }
  .nexus-asset-rotator { height: 24px; }
  .nexus-market-pill { top: 5px; min-width: 190px; height: 42px; padding-right: 20px; }
  .nexus-asset-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 16px; }
  .nexus-asset-name { font-size: 14px; }
  .nexus-asset-change { font-size: 12px; margin-left: 3px; }
  .nexus-hero-title {
    width: 100%;
    padding: 24px 0 22px;
    font-size: clamp(42px, 12.2vw, 60px);
    line-height: 1.02;
    letter-spacing: -2.8px;
  }
  .nexus-hero-subtitle { max-width: 360px; font-size: 16px; line-height: 23px; }
  .nexus-hero-actions { margin-top: 28px; gap: 10px; }
  .nexus-primary-cta,
  .nexus-secondary-cta { height: 46px; padding: 11px 14px; font-size: 14px; }
  .nexus-primary-cta { min-width: 150px; }
  .nexus-secondary-cta { min-width: 118px; }
  .nexus-trust-line { margin-top: 24px; font-size: 13px; }
  .nexus-video-wrap {
    width: calc(100% + 32px);
    min-height: 340px;
    margin: 36px -16px 0;
    border-radius: 24px 24px 0 0;
  }
  .nexus-hero-video { object-position: 52% top; }
}

@media (max-width: 370px) {
  .nexus-brand-name { font-size: 21px; }
  .nexus-register-button { padding-inline: 11px; }
  .nexus-mobile-menu summary { width: 38px; }
  .nexus-hero-title { font-size: 39px; letter-spacing: -2.3px; }
  .nexus-hero-actions { flex-direction: column; }
  .nexus-primary-cta,
  .nexus-secondary-cta { width: min(100%, 240px); }
}

/* Custom Scrollbar */
.scroll-custom::-webkit-scrollbar {
  width: 5px;
}
.scroll-custom::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
}
.scroll-custom::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

/* Animations */
@keyframes modalSlideUp {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-content {
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Lightweight Charts Customization */
.tv-lightweight-charts {
  width: 100% !important;
  height: 100% !important;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
  #trading-view {
    height: auto !important;
    min-height: var(--app-viewport-height, 100dvh) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .tradr-layout {
    min-height: auto !important;
    overflow: visible !important;
  }
  .tradr-main,
  .tradr-chart-panel {
    flex: 0 0 auto !important;
    min-height: 0 !important;
  }
  .chart-stage {
    flex: 0 0 var(--mobile-chart-height, clamp(220px, 30dvh, 300px)) !important;
    height: var(--mobile-chart-height, clamp(220px, 30dvh, 300px)) !important;
    min-height: 220px !important;
    padding-bottom: 0;
  }
  #trade-controls {
    position: relative;
    inset: auto;
    z-index: 1;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.97));
    padding-bottom: calc(0.55rem + env(safe-area-inset-bottom));
    width: 100% !important;
    max-height: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  #chart-container {
    height: 100% !important;
    min-height: 0 !important;
  }
  #center-timer {
    font-size: 1rem !important;
  }
  #trade-controls label {
    font-size: 9px !important;
  }
}

/* Chart Control Active State */
.chart-type-btn.active {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

/* 3D Glassmorphism effects */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 20px -5px rgba(99, 102, 241, 0.3);
}

/* Timer Pulsating Animation */
#center-timer {
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
}


.chart-stage {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.92)),
    url('./uae6dq12h96cprd0.png') center center / cover no-repeat;
}

.chart-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.08), transparent 42%),
    rgba(3, 7, 18, 0.28);
  pointer-events: none;
  z-index: 0;
}

.chart-surface > * {
  position: relative;
  z-index: 1;
}


.chart-stage {
  background-color: #050505 !important;
}

#chart-container.chart-surface {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.74)),
    url('./uae6dq12h96cprd0.png') center center / cover no-repeat !important;
  overflow: hidden;
}

@media (max-width: 768px) {
  #chart-container.chart-surface {
    background-position: center top !important;
    background-size: auto 100% !important;
    background-repeat: no-repeat !important;
  }

  #chart-container.chart-surface::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.42)),
      rgba(3, 7, 18, 0.16);
  }
}

body[data-trade-theme='aurora'] #trading-view {
  background:
    radial-gradient(circle at top left, rgba(12, 148, 136, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 160, 122, 0.18), transparent 24%),
    linear-gradient(180deg, #041018 0%, #09131d 48%, #060b12 100%);
}

body[data-trade-theme='aurora'] #trading-view header {
  background: rgba(5, 18, 27, 0.72) !important;
  border-bottom-color: rgba(125, 211, 252, 0.12) !important;
  box-shadow: 0 18px 40px -28px rgba(52, 211, 153, 0.45);
}

body[data-trade-theme='aurora'] #trade-controls {
  background: linear-gradient(180deg, rgba(7, 17, 25, 0.94), rgba(6, 12, 18, 0.98)) !important;
  border-color: rgba(125, 211, 252, 0.12) !important;
}

body[data-trade-theme='aurora'] #active-trade-details,
body[data-trade-theme='aurora'] #sidebar > div,
body[data-trade-theme='aurora'] #asset-picker > div,
body[data-trade-theme='aurora'] #modal-deposit,
body[data-trade-theme='aurora'] #modal-withdraw,
body[data-trade-theme='aurora'] #modal-onboarding,
body[data-trade-theme='aurora'] #modal-info {
  border-color: rgba(125, 211, 252, 0.14) !important;
  box-shadow: 0 22px 60px -34px rgba(34, 211, 238, 0.34);
}

body[data-trade-theme='aurora'] .chart-stage {
  background:
    radial-gradient(circle at 20% 15%, rgba(34, 211, 238, 0.12), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(251, 146, 60, 0.1), transparent 24%),
    #050b12 !important;
}

body[data-trade-theme='aurora'] #chart-container.chart-surface {
  background:
    linear-gradient(180deg, rgba(4, 15, 24, 0.5), rgba(3, 10, 18, 0.72)),
    url('./uae6dq12h96cprd0.png') center center / cover no-repeat !important;
}

body[data-trade-theme='aurora'] #chart-container.chart-surface::before {
  background:
    radial-gradient(circle at top, rgba(110, 231, 216, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.24));
}

body[data-trade-theme='aurora'] .chart-type-btn {
  color: #9fd7e3;
}

body[data-trade-theme='aurora'] .chart-type-btn.active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(103, 232, 249, 0.12));
  color: #d9fbff;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.14);
}

body[data-trade-theme='aurora'] #mobile-price-tag {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9) !important;
  border-color: rgba(186, 230, 253, 0.34) !important;
  color: #02131a;
}

body[data-trade-theme='aurora'] #center-timer {
  color: #ecfeff !important;
  text-shadow: 0 0 24px rgba(125, 211, 252, 0.35);
}

body[data-trade-theme='aurora'] .trade-action-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body[data-trade-theme='aurora'] .trade-action-btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  opacity: 0.85;
}

body[data-trade-theme='aurora'] .trade-action-btn::after {
  content: '';
  position: absolute;
  inset: auto -15% -55% -15%;
  height: 80%;
  filter: blur(28px);
  opacity: 0.52;
}

body[data-trade-theme='aurora'] .trade-action-buy {
  background: linear-gradient(135deg, #0f766e, #14b8a6 55%, #99f6e4) !important;
  box-shadow: 0 20px 34px -24px rgba(45, 212, 191, 0.72) !important;
}

body[data-trade-theme='aurora'] .trade-action-buy::after {
  background: rgba(45, 212, 191, 0.8);
}

body[data-trade-theme='aurora'] .trade-action-sell {
  background: linear-gradient(135deg, #9a3412, #f97316 58%, #fdba74) !important;
  box-shadow: 0 20px 34px -24px rgba(249, 115, 22, 0.68) !important;
}

body[data-trade-theme='aurora'] .trade-action-sell::after {
  background: rgba(251, 146, 60, 0.8);
}

body[data-trade-theme='aurora'] .trade-action-btn > div {
  position: relative;
  z-index: 1;
}

body[data-trade-theme='aurora'] #trade-duration,
body[data-trade-theme='aurora'] #invest-amount {
  background: rgba(3, 10, 18, 0.82) !important;
  border-color: rgba(125, 211, 252, 0.14) !important;
  color: #f0fdff;
}

body[data-trade-theme='aurora'] #sidebar-balance,
body[data-trade-theme='aurora'] #user-balance {
  color: #8ffcf2 !important;
}

body[data-trade-theme='aurora'] #btn-admin-panel,
body[data-trade-theme='aurora'] header button,
body[data-trade-theme='aurora'] #sidebar button,
body[data-trade-theme='aurora'] #sidebar a {
  transition: all 180ms ease;
}

body[data-trade-theme='aurora'] #trade-controls,
body[data-trade-theme='professional'] #trade-controls,
body[data-trade-theme='retro'] #trade-controls,
body[data-trade-theme='gamer'] #trade-controls {
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body[data-trade-theme='aurora'] #trading-view {
  background:
    radial-gradient(circle at 14% 8%, rgba(45, 212, 191, 0.24), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(251, 146, 60, 0.22), transparent 22%),
    linear-gradient(180deg, #03111a 0%, #071722 46%, #040b12 100%);
}

body[data-trade-theme='aurora'] #trading-view header {
  background: linear-gradient(180deg, rgba(5, 18, 27, 0.84), rgba(4, 14, 22, 0.72)) !important;
  border-bottom-color: rgba(110, 231, 216, 0.18) !important;
  box-shadow: 0 24px 60px -44px rgba(34, 211, 238, 0.52);
}

body[data-trade-theme='aurora'] .chart-stage {
  background:
    radial-gradient(circle at 20% 15%, rgba(34, 211, 238, 0.18), transparent 34%),
    radial-gradient(circle at 78% 6%, rgba(249, 115, 22, 0.18), transparent 24%),
    linear-gradient(180deg, #04121a 0%, #071a26 60%, #07111a 100%) !important;
}

body[data-trade-theme='aurora'] #chart-container.chart-surface {
  background:
    linear-gradient(180deg, rgba(5, 19, 30, 0.42), rgba(4, 11, 18, 0.62)),
    url('./uae6dq12h96cprd0.png') center center / cover no-repeat !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

body[data-trade-theme='aurora'] #chart-container.chart-surface::before {
  background:
    radial-gradient(circle at top, rgba(110, 231, 216, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(14, 165, 233, 0.04), rgba(2, 6, 23, 0.24));
}

body[data-trade-theme='aurora'] #trade-controls {
  background: linear-gradient(180deg, rgba(4, 16, 24, 0.94), rgba(3, 10, 16, 0.985)) !important;
  border-color: rgba(110, 231, 216, 0.14) !important;
  box-shadow: -24px 0 70px -50px rgba(34, 211, 238, 0.24);
}

body[data-trade-theme='aurora'] #center-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: linear-gradient(180deg, rgba(7, 27, 36, 0.9), rgba(3, 11, 19, 0.94));
  color: #effffb !important;
  letter-spacing: 0.08em;
  text-shadow: 0 0 22px rgba(103, 232, 249, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 40px -28px rgba(34, 211, 238, 0.36);
}

body[data-trade-theme='aurora'] #active-trade-details {
  background: linear-gradient(180deg, rgba(4, 15, 24, 0.84), rgba(2, 8, 14, 0.9));
  border-color: rgba(110, 231, 216, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

body[data-trade-theme='aurora'] .chart-type-btn.active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.28), rgba(125, 211, 252, 0.12));
  color: #ecfeff;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.14);
}

body[data-trade-theme='aurora'] .trade-action-btn {
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

body[data-trade-theme='aurora'] .trade-action-btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
  opacity: 0.85;
}

body[data-trade-theme='aurora'] .trade-action-btn::after {
  content: '';
  position: absolute;
  inset: auto -16% -58% -16%;
  height: 82%;
  filter: blur(28px);
  opacity: 0.52;
}

body[data-trade-theme='aurora'] .trade-action-buy {
  background: linear-gradient(135deg, #0f766e, #14b8a6 56%, #99f6e4) !important;
  box-shadow: 0 22px 38px -26px rgba(45, 212, 191, 0.78) !important;
}

body[data-trade-theme='aurora'] .trade-action-buy::after { background: rgba(45, 212, 191, 0.84); }

body[data-trade-theme='aurora'] .trade-action-sell {
  background: linear-gradient(135deg, #9a3412, #f97316 58%, #fdba74) !important;
  box-shadow: 0 22px 38px -26px rgba(249, 115, 22, 0.78) !important;
}

body[data-trade-theme='aurora'] .trade-action-sell::after { background: rgba(251, 146, 60, 0.84); }

body[data-trade-theme='aurora'] .trade-action-btn > div { position: relative; z-index: 1; }
body[data-trade-theme='aurora'] #trade-duration,
body[data-trade-theme='aurora'] #invest-amount,
body[data-trade-theme='aurora'] #sidebar > div,
body[data-trade-theme='aurora'] #asset-picker > div { border-color: rgba(125, 211, 252, 0.14) !important; }
body[data-trade-theme='aurora'] #mobile-price-tag { background: linear-gradient(135deg, #67e8f9, #06b6d4) !important; color: #06222a; }
body[data-trade-theme='aurora'] #sidebar-balance,
body[data-trade-theme='aurora'] #user-balance { color: #9bf8ee !important; }

body[data-trade-theme='professional'] #trading-view {
  background: linear-gradient(180deg, #0a1019 0%, #111827 45%, #0b1220 100%);
}

body[data-trade-theme='professional'] #trading-view header {
  background: rgba(12, 18, 28, 0.94) !important;
  border-bottom-color: rgba(71, 85, 105, 0.55) !important;
}

body[data-trade-theme='professional'] .chart-stage {
  background: linear-gradient(180deg, #0b1220 0%, #0e1728 54%, #0a1220 100%) !important;
}

body[data-trade-theme='professional'] #chart-container.chart-surface {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.55), rgba(11, 18, 32, 0.74)) !important;
}

body[data-trade-theme='professional'] #chart-container.chart-surface::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(2,6,23,0.08));
}

body[data-trade-theme='professional'] #trade-controls {
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.98), rgba(9, 14, 22, 0.99)) !important;
  border-color: rgba(71, 85, 105, 0.46) !important;
}

body[data-trade-theme='professional'] #center-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  background: #0b1422;
  border: 1px solid rgba(71, 85, 105, 0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

body[data-trade-theme='professional'] .trade-action-buy,
body[data-trade-theme='professional'] .trade-action-sell {
  border-radius: 12px !important;
  letter-spacing: 0.08em;
}

body[data-trade-theme='professional'] .trade-action-buy { background: linear-gradient(180deg, #1fb56e, #149e5f) !important; }
body[data-trade-theme='professional'] .trade-action-sell { background: linear-gradient(180deg, #f05767, #dc4458) !important; }
body[data-trade-theme='professional'] .chart-type-btn.active { background: rgba(59,130,246,0.18); color: #bfdbfe; }
body[data-trade-theme='professional'] #mobile-price-tag { background: #1d4ed8 !important; }

body[data-trade-theme='retro'] #trading-view {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0,0,0,0.08)),
    #071107;
  color: #b8ffb3;
}

body[data-trade-theme='retro'] #trading-view header,
body[data-trade-theme='retro'] #trade-controls,
body[data-trade-theme='retro'] #sidebar > div,
body[data-trade-theme='retro'] #active-trade-details {
  background: rgba(7, 20, 7, 0.96) !important;
  border-color: rgba(74, 222, 128, 0.18) !important;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.08);
}

body[data-trade-theme='retro'] .chart-stage,
body[data-trade-theme='retro'] #chart-container.chart-surface {
  background: linear-gradient(180deg, rgba(3, 10, 3, 0.84), rgba(4, 14, 4, 0.92)) !important;
}

body[data-trade-theme='retro'] #chart-container.chart-surface::before {
  background:
    repeating-linear-gradient(180deg, rgba(74,222,128,0.06) 0 1px, transparent 1px 4px),
    rgba(0,0,0,0.06);
}

body[data-trade-theme='retro'] #center-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 56px;
  border-radius: 8px;
  background: #020702;
  border: 1px solid rgba(74, 222, 128, 0.32);
  color: #b8ffb3 !important;
  text-shadow: 0 0 10px rgba(134, 239, 172, 0.5);
  box-shadow: inset 0 0 0 1px rgba(134, 239, 172, 0.06), 0 0 24px rgba(34, 197, 94, 0.08);
}

body[data-trade-theme='retro'] .trade-action-btn {
  border-radius: 10px !important;
  border: 1px solid rgba(74, 222, 128, 0.18);
}

body[data-trade-theme='retro'] .trade-action-buy { background: linear-gradient(180deg, #166534, #15803d) !important; }
body[data-trade-theme='retro'] .trade-action-sell { background: linear-gradient(180deg, #854d0e, #a16207) !important; }
body[data-trade-theme='retro'] .chart-type-btn,
body[data-trade-theme='retro'] #trade-duration,
body[data-trade-theme='retro'] #invest-amount,
body[data-trade-theme='retro'] #mobile-price-tag,
body[data-trade-theme='retro'] #user-balance,
body[data-trade-theme='retro'] #sidebar-balance { color: #b8ffb3 !important; }
body[data-trade-theme='retro'] #mobile-price-tag { background: #14532d !important; }

body[data-trade-theme='gamer'] #trading-view {
  background:
    radial-gradient(circle at 18% 10%, rgba(168, 85, 247, 0.24), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(34, 211, 238, 0.2), transparent 26%),
    linear-gradient(180deg, #090512 0%, #12061d 52%, #08040f 100%);
}

body[data-trade-theme='gamer'] #trading-view header {
  background: linear-gradient(180deg, rgba(18, 7, 31, 0.92), rgba(13, 6, 24, 0.84)) !important;
  border-bottom-color: rgba(217, 70, 239, 0.18) !important;
}

body[data-trade-theme='gamer'] .chart-stage {
  background:
    radial-gradient(circle at 20% 12%, rgba(192, 132, 252, 0.16), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(34, 211, 238, 0.14), transparent 28%),
    linear-gradient(180deg, #0a0716 0%, #130922 55%, #090412 100%) !important;
}

body[data-trade-theme='gamer'] #chart-container.chart-surface {
  background:
    linear-gradient(180deg, rgba(11, 6, 22, 0.48), rgba(8, 4, 18, 0.72)),
    url('./uae6dq12h96cprd0.png') center center / cover no-repeat !important;
}

body[data-trade-theme='gamer'] #chart-container.chart-surface::before {
  background:
    radial-gradient(circle at top, rgba(192, 132, 252, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(34, 211, 238, 0.04), rgba(15, 23, 42, 0.18));
}

body[data-trade-theme='gamer'] #trade-controls {
  background: linear-gradient(180deg, rgba(13, 6, 24, 0.96), rgba(8, 4, 18, 0.985)) !important;
  border-color: rgba(217, 70, 239, 0.16) !important;
}

body[data-trade-theme='gamer'] #center-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(168, 85, 247, 0.14));
  border: 1px solid rgba(192, 132, 252, 0.24);
  color: #faf5ff !important;
  text-shadow: 0 0 16px rgba(217, 70, 239, 0.38);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08) inset, 0 0 24px rgba(168, 85, 247, 0.16);
}

body[data-trade-theme='gamer'] .trade-action-btn {
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,0.07);
  text-transform: uppercase;
}

body[data-trade-theme='gamer'] .trade-action-btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.01));
}

body[data-trade-theme='gamer'] .trade-action-buy { background: linear-gradient(135deg, #0891b2, #06b6d4 50%, #67e8f9) !important; }
body[data-trade-theme='gamer'] .trade-action-sell { background: linear-gradient(135deg, #be185d, #f43f5e 52%, #fb7185) !important; }
body[data-trade-theme='gamer'] .chart-type-btn.active { background: linear-gradient(135deg, rgba(192,132,252,0.22), rgba(34,211,238,0.18)); color: #f5d0fe; }
body[data-trade-theme='gamer'] #mobile-price-tag { background: linear-gradient(135deg, #14b8a6, #22d3ee) !important; }
body[data-trade-theme='gamer'] #user-balance,
body[data-trade-theme='gamer'] #sidebar-balance { color: #f0abfc !important; }

/* TRADR layout portado do prototipo React */
#trading-view {
  background: var(--tradr-background);
  color: #eef2f7;
}

#trading-view .tracking-tight {
  letter-spacing: 0 !important;
}

#trading-view button,
#trading-view input,
#trading-view select,
#trading-view a,
.modal-content button,
.modal-content input {
  border-radius: 8px !important;
}

.tradr-topbar {
  background: var(--tradr-card);
  border-bottom: 1px solid var(--tradr-border);
}

.tradr-layout {
  background: var(--tradr-background);
}

.tradr-logo-mark,
.tradr-icon-btn,
.tradr-square-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tradr-logo-mark {
  color: #0c1311;
  background: var(--tradr-green);
}

.tradr-icon-btn,
.tradr-square-btn {
  color: #d6dde8;
  background: #202631;
  border: 1px solid var(--tradr-border);
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.tradr-icon-btn:hover,
.tradr-square-btn:hover {
  background: #29313d;
  border-color: rgba(34, 197, 94, 0.48);
  color: #ffffff;
}

.tradr-asset-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  color: #eef2f7;
  background: var(--tradr-surface);
  border: 1px solid var(--tradr-border);
  transition: border-color 150ms ease, background 150ms ease;
}

.tradr-asset-button:hover {
  background: var(--tradr-surface-elevated);
  border-color: rgba(34, 197, 94, 0.55);
}

.tradr-balance {
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--tradr-surface);
  border: 1px solid var(--tradr-border);
  border-radius: 8px;
}

.tradr-primary-btn,
.tradr-secondary-btn {
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.tradr-primary-btn {
  color: #07120d;
  background: var(--tradr-green);
}

.tradr-primary-btn:hover {
  background: #4ade80;
}

.tradr-secondary-btn {
  color: #d6dde8;
  background: var(--tradr-surface);
  border: 1px solid var(--tradr-border);
}

.tradr-secondary-btn:hover {
  border-color: rgba(34, 197, 94, 0.55);
  color: #ffffff;
}

.tradr-drawer,
.tradr-popover,
.tradr-market-panel,
.tradr-trade-panel,
.tradr-chart-panel,
.tradr-history-panel {
  background: var(--tradr-card);
  border-color: var(--tradr-border);
}

.tradr-drawer {
  border-right: 1px solid var(--tradr-border);
}

.tradr-popover {
  border: 1px solid var(--tradr-border);
  border-radius: 8px;
}

.tradr-info-card,
.tradr-stat-card,
.tradr-payout-card,
.tradr-active-trade {
  background: var(--tradr-surface);
  border: 1px solid var(--tradr-border);
  border-radius: 8px;
}

.tradr-info-card {
  padding: 16px;
}

.tradr-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: #c7cfdb;
  font-weight: 700;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.tradr-nav-item:hover {
  color: #ffffff;
  background: var(--tradr-surface);
  border-color: var(--tradr-border);
}

.tradr-nav-item.admin-link {
  margin-top: 20px;
  color: var(--tradr-green);
  background: var(--tradr-green-soft);
  border-color: rgba(34, 197, 94, 0.32);
}

.tradr-market-panel {
  border-right: 1px solid var(--tradr-border);
}

.tradr-main {
  background: var(--tradr-card);
}

.tradr-chart-panel {
  min-height: 0;
}

.tradr-chart-header {
  min-height: 48px;
  border-bottom: 1px solid var(--tradr-border);
}

.tradr-history-panel {
  border-top: 1px solid var(--tradr-border);
}

.tradr-trade-panel {
  padding: 16px;
  border-left: 1px solid var(--tradr-border);
}

.tradr-stat-card {
  min-height: 72px;
  padding: 10px;
}

.tradr-stat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--tradr-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.tradr-stat-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.tradr-input {
  color: #f8fafc;
  background: #202631;
  border: 1px solid var(--tradr-border);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.tradr-input:focus {
  border-color: var(--tradr-green) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.tradr-form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--tradr-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.amount-preset,
.duration-preset,
.asset-filter-btn,
.history-tab,
.timeframe-btn,
.chart-type-btn {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a9b3c2;
  background: #202631;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.amount-preset,
.duration-preset {
  font-family: var(--font-mono);
  font-size: 11px;
}

.asset-filter-btn,
.history-tab,
.timeframe-btn {
  padding: 0 10px;
  font-size: 12px;
}

.chart-type-btn {
  width: 28px;
  height: 28px;
}

.amount-preset:hover,
.duration-preset:hover,
.asset-filter-btn:hover,
.history-tab:hover,
.timeframe-btn:hover,
.chart-type-btn:hover {
  color: #ffffff;
  background: #29313d;
}

.amount-preset.active,
.duration-preset.active,
.asset-filter-btn.active,
.history-tab.active,
.timeframe-btn.active,
.chart-type-btn.active {
  color: #07120d;
  background: var(--tradr-green);
  border-color: var(--tradr-green);
}

.tradr-payout-card,
.tradr-active-trade {
  padding: 12px;
}

.tradr-active-trade {
  min-height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
}

.tradr-timer {
  min-width: 152px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #ffffff;
  background: #0f141b;
  border: 1px solid var(--tradr-border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.trade-action-buy,
.trade-action-sell {
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

.trade-action-buy {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.28);
}

.trade-action-buy:hover {
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

.trade-action-sell {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.28);
}

.trade-action-sell:hover {
  background: linear-gradient(135deg, #fb7185, #ef4444);
}

.market-mover-row,
.asset-row,
.history-row {
  border-radius: 8px;
  transition: background 150ms ease;
}

.market-mover-row:hover,
.asset-row:hover,
.history-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.history-row {
  border-bottom: 1px solid rgba(48, 56, 68, 0.55);
}

.history-status-dot {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.history-status-dot.buy {
  color: var(--tradr-green);
  background: var(--tradr-green-soft);
}

.history-status-dot.sell {
  color: var(--tradr-red);
  background: var(--tradr-red-soft);
}

.font-mono {
  font-family: var(--font-mono) !important;
}

body[data-trade-theme='tradr'] .chart-stage,
body[data-trade-theme='tradr'] #chart-container.chart-surface {
  background: var(--tradr-card) !important;
}

body[data-trade-theme='tradr'] #chart-container.chart-surface::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(17, 21, 29, 0.14)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 48px);
}

body[data-trade-theme='tradr'] #mobile-price-tag {
  background: var(--tradr-green) !important;
  color: #07120d;
}

.modal-content {
  border-radius: 8px !important;
}

#landing-view .text-indigo-400,
#auth-view .text-indigo-400,
#modal-container .text-indigo-400,
#landing-view .text-blue-500,
#auth-view .focus\:ring-indigo-500\/50:focus {
  color: var(--tradr-green) !important;
}

#landing-view .bg-indigo-600,
#auth-view .bg-indigo-600,
#modal-container .bg-indigo-600 {
  color: #07120d !important;
  background: var(--tradr-green) !important;
}

#landing-view .border-white\/10,
#auth-view .border-white\/10,
#modal-container .border-white\/10 {
  border-color: var(--tradr-border) !important;
}

#landing-view > .absolute {
  background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.14), transparent 70%) !important;
}

@media (max-width: 1024px) {
  .tradr-market-panel {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tradr-layout {
    flex-direction: column;
  }

  .tradr-topbar {
    height: 52px;
    padding-inline: 8px !important;
  }

  .tradr-topbar > div:first-child {
    flex: 1 1 auto;
    gap: 7px !important;
  }

  .tradr-topbar > div:last-child {
    gap: 6px !important;
  }

  .tradr-topbar .text-lg {
    font-size: 16px;
  }

  .tradr-logo-mark,
  .tradr-icon-btn,
  .tradr-square-btn {
    width: 34px;
    height: 34px;
  }

  .tradr-asset-button {
    max-width: 96px;
    min-height: 34px;
    padding-inline: 7px;
  }

  .tradr-balance {
    min-height: 34px;
    padding-inline: 7px;
  }

  .tradr-chart-header {
    gap: 10px;
    min-height: 40px;
    padding-block: 5px !important;
    overflow-x: auto;
  }

  #current-price-label {
    font-size: 18px;
  }

  #current-price-change {
    font-size: 11px;
  }

  .tradr-chart-header > div:last-child {
    flex: 0 0 auto;
  }

  .tradr-trade-panel {
    gap: 6px;
    padding: 7px;
    border-left: 0;
    border-top: 1px solid var(--tradr-border);
  }

  #trade-controls.tradr-trade-panel {
    background: var(--tradr-card) !important;
  }

  .tradr-form-label {
    margin-bottom: 4px;
    font-size: 10px;
  }

  #trade-controls .tradr-input {
    height: 36px !important;
    font-size: 16px !important;
  }

  .amount-preset,
  .duration-preset {
    min-height: 23px;
    font-size: 10px;
  }

  .tradr-payout-card,
  .tradr-active-trade {
    padding: 8px;
  }

  .tradr-active-trade {
    min-height: 42px;
    font-size: 11px;
  }

  #trade-controls .min-h-\[54px\] {
    min-height: 38px !important;
  }

  .tradr-timer {
    min-width: 124px;
    min-height: 32px;
    font-size: 16px;
  }

  .trade-action-buy,
  .trade-action-sell {
    min-height: 60px;
    padding-block: 7px !important;
  }

  .timeframe-btn:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 768px) and (max-height: 680px) {
  .chart-stage {
    flex-basis: var(--mobile-chart-height, 172px) !important;
    height: var(--mobile-chart-height, 172px) !important;
  }

  .tradr-trade-panel {
    gap: 6px;
  }

  .tradr-active-trade {
    min-height: 38px;
  }

  .trade-action-buy,
  .trade-action-sell {
    min-height: 58px;
  }
}

@media (max-width: 768px) and (max-height: 760px) {
  .tradr-topbar {
    height: 48px;
  }

  .tradr-chart-header {
    min-height: 36px;
    padding-block: 3px !important;
  }

  #current-price-label {
    font-size: 16px;
  }

  #current-price-change {
    font-size: 10px;
  }

  .chart-stage {
    flex-basis: var(--mobile-chart-height, 180px) !important;
    height: var(--mobile-chart-height, 180px) !important;
    min-height: 172px !important;
  }

  .tradr-active-trade {
    min-height: 36px;
    line-height: 1.2;
  }

  .tradr-active-trade .text-xs {
    display: none;
  }

  .trade-action-buy,
  .trade-action-sell {
    min-height: 56px;
  }
}

@media (max-width: 380px) {
  .tradr-asset-button {
    max-width: 82px;
  }

  .tradr-topbar .text-lg {
    font-size: 15px;
  }

  .tradr-balance {
    padding-inline: 6px;
  }
}

/* Complete Nexus landing */
.nexus-page-content {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: 32px;
}

.nexus-section-kicker {
  display: inline-block;
  margin-bottom: 20px;
  color: #ff8516;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.nexus-awards-strip {
  width: min(calc(100% - 64px), 1216px);
  margin: 38px auto 0;
  padding: 16px 0 80px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(236, 234, 233, 0.12);
}

.nexus-award-card {
  min-height: 116px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(236, 234, 233, 0.12);
}

.nexus-award-card:last-child { border-right: 0; }
.nexus-award-medal {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 133, 22, 0.38);
  border-radius: 50%;
  color: #ff8b31;
  background: rgba(255, 105, 10, 0.08);
  font-size: 13px;
  font-weight: 800;
}
.nexus-award-card h3 { margin: 0 0 7px; color: #eceae9; font-size: 16px; line-height: 21px; font-weight: 650; }
.nexus-award-card p { margin: 0; color: #8f8a87; font-size: 13px; line-height: 18px; }

.nexus-speed-section {
  padding-top: 120px;
  padding-bottom: 130px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  align-items: center;
  gap: 72px;
}

.nexus-speed-visual {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 128, 29, .16), transparent 45%),
    radial-gradient(circle at 70% 50%, rgba(255, 74, 0, .28), transparent 35%),
    #0e0d0d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 36px 90px rgba(0,0,0,.28);
}

.nexus-speed-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .32;
  background: url('./uae6dq12h96cprd0.png') center / 115% auto no-repeat;
  mix-blend-mode: screen;
}
.nexus-speed-glow { position: absolute; width: 420px; height: 420px; right: -80px; top: 70px; border-radius: 50%; background: #ff5500; filter: blur(120px); opacity: .22; }
.nexus-speed-track { position: absolute; left: -12%; width: 125%; height: 2px; background: linear-gradient(90deg, transparent, #ff8c30, #ff5500, transparent); filter: drop-shadow(0 0 10px #ff6b0a); transform-origin: center; }
.nexus-speed-track.track-one { top: 42%; transform: rotate(-9deg); }
.nexus-speed-track.track-two { top: 68%; transform: rotate(7deg); opacity: .6; }

.nexus-speed-dashboard {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 40px;
  height: 300px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: rgba(22, 19, 18, .84);
  box-shadow: 0 28px 70px rgba(0,0,0,.48);
  backdrop-filter: blur(16px);
  transform: perspective(900px) rotateX(3deg);
}
.nexus-speed-dashboard-head { display: flex; align-items: center; justify-content: space-between; color: #eceae9; font-size: 14px; }
.nexus-speed-dashboard-head b { padding: 4px 8px; border-radius: 999px; color: #98ebbb; background: rgba(34,197,94,.12); font-size: 10px; letter-spacing: 1px; }
.nexus-speed-chart { height: 185px; margin-top: 24px; display: flex; align-items: center; justify-content: space-around; border-radius: 14px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 36px); }
.nexus-speed-chart i { position: relative; width: 10px; height: var(--h, 70px); border-radius: 3px; background: #2acb76; }
.nexus-speed-chart i::before { content: ''; position: absolute; left: 4px; top: -18px; width: 2px; height: calc(100% + 36px); background: currentColor; }
.nexus-speed-chart i:nth-child(2),.nexus-speed-chart i:nth-child(5),.nexus-speed-chart i:nth-child(8){ background:#ff5e61;color:#ff5e61; }
.nexus-speed-chart i:nth-child(1){--h:46px}.nexus-speed-chart i:nth-child(2){--h:80px}.nexus-speed-chart i:nth-child(3){--h:66px}.nexus-speed-chart i:nth-child(4){--h:110px}.nexus-speed-chart i:nth-child(5){--h:78px}.nexus-speed-chart i:nth-child(6){--h:125px}.nexus-speed-chart i:nth-child(7){--h:95px}.nexus-speed-chart i:nth-child(8){--h:55px}
.nexus-speed-stats { margin-top: 18px; display: flex; justify-content: space-between; color: #9e9996; font-size: 12px; }
.nexus-speed-stats b { margin-left: 8px; color: #5bd595; }

.nexus-speed-copy h2,
.nexus-legacy-section h2,
.nexus-tech-copy h2,
.nexus-demo-copy h2,
.nexus-section-heading-centered h2 {
  margin: 0;
  color: #eceae9;
  font-size: clamp(44px, 4.5vw, 64px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -3px;
}
.nexus-speed-copy p { margin: 28px 0 34px; color: #aaa5a2; font-size: 17px; line-height: 28px; }

.nexus-legacy-section { padding-top: 30px; padding-bottom: 140px; }
.nexus-section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.nexus-section-heading-row > div:first-child { max-width: 800px; }
.nexus-slider-buttons { display: flex; gap: 10px; }
.nexus-slider-buttons button { width: 48px; height: 48px; border: 1px solid #554b46; border-radius: 14px; color: #eceae9; background: #26211f; font-size: 20px; }
.nexus-timeline { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nexus-timeline::before { content: ''; position: absolute; top: 20px; left: 2%; right: 2%; height: 1px; background: #4a403b; }
.nexus-timeline article { position: relative; min-height: 245px; padding: 54px 24px 24px; border: 1px solid #3b3431; border-radius: 22px; background: #211d1b; }
.nexus-timeline article::before { content: ''; position: absolute; top: 14px; left: 24px; width: 13px; height: 13px; border: 3px solid #1b1817; border-radius: 50%; background: #756a65; box-shadow: 0 0 0 1px #756a65; }
.nexus-timeline article.active { background: linear-gradient(145deg, #3b251b, #211d1b 60%); border-color: rgba(255,122,32,.45); }
.nexus-timeline article.active::before { background: #ff7416; box-shadow: 0 0 0 1px #ff7416, 0 0 18px #ff7416; }
.nexus-timeline article > span { color: #ff8b31; font-size: 13px; font-weight: 700; }
.nexus-timeline h3 { margin: 24px 0 12px; color: #eceae9; font-size: 22px; }
.nexus-timeline p { margin: 0; color: #948e8b; font-size: 14px; line-height: 22px; }

.nexus-technology-section { padding: 130px 0 150px; color: #221d1a; background: #ece9e4; }
.nexus-technology-section .nexus-section-kicker { color: #e25b00; }
.nexus-tech-copy { max-width: 940px; }
.nexus-tech-copy h2 { color: #211c19; }
.nexus-tech-copy h2 em { color: #8f8782; font-style: normal; }
.nexus-tech-copy p { max-width: 680px; margin: 28px 0 0; color: #716965; font-size: 18px; line-height: 29px; }
.nexus-tech-tabs { margin-top: 64px; display: flex; gap: 34px; border-bottom: 1px solid #cfc8c3; overflow-x: auto; }
.nexus-tech-tabs span { position: relative; padding: 0 0 20px; color: #89817d; font-size: 15px; white-space: nowrap; }
.nexus-tech-tabs span.active { color: #211c19; font-weight: 700; }
.nexus-tech-tabs span.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #ff6b0a; }

.nexus-platform-mockup { height: 565px; margin-top: 44px; display: grid; grid-template-columns: 68px 1fr 260px; overflow: hidden; border-radius: 26px; color: #e9e7e5; background: #11151d; box-shadow: 0 38px 100px rgba(44,31,24,.24); }
.nexus-mock-sidebar { padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 28px; background: #171c25; }
.nexus-mock-sidebar b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #ff6b0a; }
.nexus-mock-sidebar span { width: 25px; height: 25px; border: 2px solid #596271; border-radius: 8px; }
.nexus-mock-main { min-width: 0; display: flex; flex-direction: column; }
.nexus-mock-topbar { height: 64px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #2f3743; background: #171c25; font-size: 14px; }
.nexus-mock-topbar span { color: #8e99a9; }
.nexus-mock-topbar b { color: #37ce82; }
.nexus-mock-chart-grid { position: relative; flex: 1; overflow: hidden; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 62px), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 90px), #11151d; }
.nexus-candles { position: absolute; inset: 80px 35px 80px; display: flex; align-items: center; justify-content: space-around; }
.nexus-candles i { position: relative; z-index: 2; width: 12px; height: var(--c,80px); border-radius: 2px; color:#32ca7d;background:#32ca7d; }
.nexus-candles i::before { content:''; position:absolute; left:5px; top:-25px; width:2px; height:calc(100% + 50px); background:currentColor; }
.nexus-candles i:nth-child(3n){color:#ef5a61;background:#ef5a61}.nexus-candles i:nth-child(1){--c:55px}.nexus-candles i:nth-child(2){--c:100px}.nexus-candles i:nth-child(3){--c:68px}.nexus-candles i:nth-child(4){--c:130px}.nexus-candles i:nth-child(5){--c:85px}.nexus-candles i:nth-child(6){--c:155px}.nexus-candles i:nth-child(7){--c:110px}.nexus-candles i:nth-child(8){--c:180px}.nexus-candles i:nth-child(9){--c:120px}.nexus-candles i:nth-child(10){--c:145px}.nexus-candles i:nth-child(11){--c:100px}.nexus-candles i:nth-child(12){--c:170px}.nexus-candles i:nth-child(13){--c:135px}.nexus-candles i:nth-child(14){--c:190px}
.nexus-chart-line { position:absolute; left:5%; right:4%; top:44%; height:3px; background:linear-gradient(90deg,transparent,#ff7b1d,#ff9b44,transparent); transform:skewY(-8deg); filter:drop-shadow(0 0 8px #ff6b0a); }
.nexus-mock-trade { padding: 26px 20px; display:flex; flex-direction:column; gap:10px; border-left:1px solid #303844; background:#171c25; }
.nexus-mock-trade small { margin-top: 12px; color:#778293; font-size:10px; font-weight:700; letter-spacing:1px; }
.nexus-mock-trade strong { padding:12px; border:1px solid #303844; border-radius:10px; background:#11151d; font-family:var(--font-mono); }
.nexus-mock-trade strong.green { color:#36ce80; }
.nexus-mock-trade button { margin-top:auto; height:62px; border:0; border-radius:12px; color:#fff; background:#22b968; font-weight:800; }
.nexus-mock-trade button.sell { margin-top:0; background:#e85058; }
.nexus-feature-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.nexus-feature-grid article { padding: 26px; border:1px solid #d4ccc7; border-radius:20px; background:#f5f2ee; }
.nexus-feature-grid article > span { color:#ee650c;font-size:12px;font-weight:800; }
.nexus-feature-grid h3 { margin:24px 0 12px;color:#28211e;font-size:18px; }
.nexus-feature-grid p { margin:0;color:#746c68;font-size:14px;line-height:22px; }

.nexus-demo-section { padding-top: 130px; padding-bottom: 140px; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:70px; }
.nexus-demo-money { position:relative; height:500px; padding:50px; display:flex; flex-direction:column; justify-content:center; overflow:hidden; border-radius:34px; color:#fff; background:linear-gradient(145deg,#ff9d3d,#ff5500 66%,#cb3800); box-shadow:0 30px 100px rgba(255,85,0,.2); }
.nexus-demo-money::before { content:''; position:absolute; inset:-20%; background:repeating-linear-gradient(90deg,rgba(255,255,255,.12) 0 1px,transparent 1px 38px); transform:rotate(-14deg); }
.nexus-demo-money span,.nexus-demo-money strong,.nexus-demo-money small { position:relative;z-index:1; }
.nexus-demo-money span { font-size:28px;font-weight:600; }
.nexus-demo-money strong { margin-left:-5px;font-size:clamp(78px,9vw,128px);line-height:1;font-weight:500;letter-spacing:-8px; }
.nexus-demo-money small { margin-top:28px;font-size:12px;font-weight:800;letter-spacing:2px; }
.nexus-demo-copy ul { margin:32px 0 36px;padding:0;list-style:none;display:grid;gap:18px; }
.nexus-demo-copy li { position:relative;padding-left:30px;color:#aaa5a2;font-size:16px;line-height:24px; }
.nexus-demo-copy li::before { content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;color:#17100b;background:#ff8b31;font-size:12px;font-weight:900; }

.nexus-benefits-section { padding-top: 80px; padding-bottom: 145px; }
.nexus-section-heading-centered { max-width: 920px; margin: 0 auto 58px; text-align:center; }
.nexus-section-heading-centered > p { max-width:700px;margin:24px auto 0;color:#9e9894;font-size:17px;line-height:27px; }
.nexus-benefit-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }
.nexus-benefit-card { min-height:420px;padding:36px;border:1px solid #423a36;border-radius:26px;background:#26211f; }
.nexus-benefit-card.orange { background:linear-gradient(145deg,#ff8a2c,#e74d00);border-color:#ff8527; }
.nexus-benefit-card.dark { background:linear-gradient(145deg,#171514,#090909); }
.nexus-benefit-card > span { width:50px;height:50px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:16px;font-size:24px; }
.nexus-benefit-card h3 { margin:70px 0 14px;color:#f1efed;font-size:25px; }
.nexus-benefit-card p { margin:0;color:#aaa5a2;line-height:24px; }
.nexus-benefit-card.orange p { color:rgba(255,255,255,.82); }
.nexus-benefit-card ul { margin:28px 0 0;padding:0;list-style:none;display:grid;gap:12px;color:#dbd7d4;font-size:14px; }
.nexus-benefit-card li::before { content:'✓';margin-right:10px;color:#ff9140;font-weight:900; }
.nexus-benefit-card.orange li::before { color:#fff; }

.nexus-payments-section { padding:130px 0 140px;background:#f0ede8;color:#251f1c; }
.nexus-payments-section .nexus-section-kicker { color:#e95b00; }
.nexus-payments-section .nexus-section-heading-centered h2 { color:#251f1c; }
.nexus-payment-grid { display:grid;grid-template-columns:repeat(5,1fr);gap:12px; }
.nexus-payment-grid article { min-height:155px;padding:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid #d8d1cc;border-radius:20px;background:#faf8f5;text-align:center; }
.nexus-payment-grid article > span { width:44px;height:44px;margin-bottom:14px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#29231f;font-weight:800; }
.nexus-payment-grid b { font-size:17px; }
.nexus-payment-grid small { margin-top:6px;color:#857d78; }

.nexus-reviews-section { padding-top:130px;padding-bottom:140px; }
.nexus-review-stats { margin-bottom:34px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #3d3532;border-radius:24px;background:#211d1b; }
.nexus-review-stats div { padding:28px;border-right:1px solid #3d3532;text-align:center; }
.nexus-review-stats div:last-child { border-right:0; }
.nexus-review-stats strong { display:block;color:#eceae9;font-size:31px;font-weight:500; }
.nexus-review-stats span { display:block;margin-top:7px;color:#8f8985;font-size:12px; }
.nexus-review-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }
.nexus-review-grid article { min-height:330px;padding:30px;display:flex;flex-direction:column;border:1px solid #413936;border-radius:24px;background:#26211f; }
.nexus-review-stars { color:#ff8b31;letter-spacing:4px; }
.nexus-review-grid h3 { margin:26px 0 14px;color:#eeeae8;font-size:22px;line-height:29px; }
.nexus-review-grid > article > p { margin:0;color:#aaa4a1;font-size:14px;line-height:23px; }
.nexus-review-grid footer { margin-top:auto;padding-top:26px;display:flex;align-items:center;gap:12px; }
.nexus-review-grid footer > span { width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(145deg,#ff9d3d,#ff5500);font-size:12px;font-weight:800; }
.nexus-review-grid footer div { display:grid;gap:3px; }
.nexus-review-grid footer b { color:#eceae9;font-size:14px; }
.nexus-review-grid footer small { color:#7f7975;font-size:11px; }

.nexus-footer { padding:90px 0 38px;background:#100f0f;border-top:1px solid #312b28; }
.nexus-footer-top { display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:50px; }
.nexus-footer-brand { display:grid;grid-template-columns:32px auto;align-items:center;justify-content:start;column-gap:10px; }
.nexus-footer-brand strong { font-size:25px;letter-spacing:-1.5px; }
.nexus-footer-brand p { grid-column:1/-1;max-width:260px;margin:24px 0 0;color:#88827f;line-height:23px; }
.nexus-footer-column { display:flex;flex-direction:column;gap:13px; }
.nexus-footer-column h3 { margin:0 0 10px;color:#eceae9;font-size:14px; }
.nexus-footer-column a { color:#817b78;font-size:13px;cursor:pointer; }
.nexus-footer-column a:hover { color:#ff8b31; }
.nexus-risk-note { margin-top:70px;padding:24px 0;border-top:1px solid #2d2826;border-bottom:1px solid #2d2826; }
.nexus-risk-note b { color:#d7d3d0;font-size:12px;text-transform:uppercase;letter-spacing:1px; }
.nexus-risk-note p { margin:10px 0 0;color:#6f6966;font-size:11px;line-height:18px; }
.nexus-footer-bottom { padding-top:26px;display:flex;justify-content:space-between;color:#68625f;font-size:11px; }

/* Nexus authentication drawer */
.nexus-auth-view {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #eceae9;
  background: #1b1817;
}
.nexus-auth-view.hidden { display: none !important; }
.nexus-auth-backdrop { position:absolute;inset:0 424px 0 0;overflow:hidden;background:radial-gradient(circle at 50% 46%,rgba(255,103,15,.17),transparent 27%),#171413; }
.nexus-auth-backdrop::before { content:'';position:absolute;inset:0;opacity:.1;background:repeating-linear-gradient(90deg,rgba(255,255,255,.1) 0 1px,transparent 1px 90px),repeating-linear-gradient(0deg,rgba(255,255,255,.1) 0 1px,transparent 1px 90px); }
.nexus-auth-orbit { position:absolute;border:1px solid rgba(255,123,31,.25);border-radius:50%;transform:rotate(-18deg); }
.nexus-auth-orbit.orbit-one { width:680px;height:260px;left:8%;top:31%; }
.nexus-auth-orbit.orbit-two { width:900px;height:380px;left:-5%;top:25%; }
.nexus-auth-wordmark { position:absolute;left:50%;top:50%;display:grid;grid-template-columns:52px auto;align-items:center;column-gap:14px;transform:translate(-50%,-50%); }
.nexus-auth-wordmark .nexus-brand-mark { width:52px;height:52px; }
.nexus-auth-wordmark strong { font-size:48px;line-height:1;letter-spacing:-3px; }
.nexus-auth-wordmark small { grid-column:1/-1;margin-top:18px;color:#8f8986;text-align:center;font-size:13px;letter-spacing:1px; }
.nexus-auth-panel { position:fixed;z-index:10;top:24px;right:24px;bottom:24px;width:400px;padding:32px;overflow:hidden;border-radius:32px;background:#26211f;box-shadow:0 30px 100px rgba(0,0,0,.42); }
.nexus-auth-panel-top { height:32px;display:grid;grid-template-columns:36px 1fr 36px;align-items:center;gap:10px; }
.nexus-auth-panel-top p { margin:0;color:#afaaa7;text-align:center;font-size:14px;font-weight:500; }
.nexus-auth-back,.nexus-auth-close { width:32px;height:32px;padding:0;border:0;border-radius:10px;display:grid;place-items:center;color:#c8c3c0;background:transparent;font-size:22px;cursor:pointer; }
.nexus-auth-back:hover,.nexus-auth-close:hover { background:#38312e; }
.nexus-auth-form { margin-top:28px; }
.nexus-auth-form h2 { margin:0;color:#eceae9;font-size:30px;line-height:36px;font-weight:500;letter-spacing:-1px; }
.nexus-auth-social-label { margin:24px 0 12px;color:#a8a3a0;font-size:14px; }
.nexus-social-buttons { display:grid;grid-template-columns:1fr 1fr;gap:8px; }
.nexus-social-button,.nexus-auth-email-choice { height:48px;border:0;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:9px;color:#eceae9;background:#38312e;font-size:15px;font-weight:600;cursor:pointer; }
.nexus-social-button:hover,.nexus-auth-email-choice:hover { background:#463d39; }
.google-g { width:20px;height:20px;display:grid;place-items:center;border-radius:50%;color:#4285f4;background:#fff;font-weight:800;font-size:12px; }
.facebook-f { width:20px;height:20px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#1877f2;font-family:Arial;font-weight:900; }
.nexus-auth-divider { height:44px;display:flex;align-items:center;gap:12px;color:#77716e;font-size:12px; }
.nexus-auth-divider::before,.nexus-auth-divider::after { content:'';height:1px;flex:1;background:#453d39; }
.nexus-auth-fields { display:grid;gap:8px; }
.nexus-auth-fields label { margin-top:4px;color:#a8a3a0;font-size:13px; }
.nexus-auth-fields input { width:100%;height:42px;padding:8px 12px;border:1px solid transparent;border-radius:14px;outline:none;color:#eceae9;background:#38312e;font-size:15px;transition:border-color 150ms ease,box-shadow 150ms ease; }
.nexus-auth-fields input:focus { border-color:#ff8516 !important;box-shadow:0 0 0 3px rgba(255,133,22,.12) !important; }
.nexus-password-field { position:relative; }
.nexus-password-field input { padding-right:44px; }
.nexus-password-field button { position:absolute;right:4px;top:4px;width:34px;height:34px;border:0;border-radius:10px;color:#89827e;background:transparent;cursor:pointer; }
.nexus-auth-submit { width:100%;height:48px;margin-top:24px;border:0;border-radius:14px;color:#fff;background:linear-gradient(103deg,#ffa33a .37%,#ff8516 15.31%,#ff5500 100%);font-size:16px;font-weight:600;cursor:pointer; }
.nexus-auth-submit:hover { filter:brightness(1.06); }
.nexus-auth-forgot { width:100%;margin-top:12px;border:0;color:#ff8b31;background:transparent;font-size:13px;font-weight:600;cursor:pointer; }
.nexus-auth-switch { margin-top:18px;display:flex;align-items:center;justify-content:space-between;color:#9b9592;font-size:13px; }
.nexus-auth-switch button { border:0;color:#ff8b31;background:transparent;font-size:14px;font-weight:650;cursor:pointer; }
.nexus-auth-partner { margin-top:22px;padding-top:20px;display:flex;align-items:center;justify-content:center;gap:10px;border-top:1px solid #433b37; }
.nexus-partner-mark { width:31px;height:31px;display:grid;place-items:center;border:1px solid #625852;border-radius:9px;color:#ff8b31;font-weight:800; }
.nexus-auth-partner div { display:grid; }
.nexus-auth-partner small { color:#77706d;font-size:8px;letter-spacing:1px; }
.nexus-auth-partner b { color:#bdb7b3;font-size:12px;letter-spacing:2px; }
.nexus-auth-email-choice { width:100%; }
.nexus-auth-terms { margin:20px 0 0;color:#77706d;font-size:10px;line-height:16px;text-align:center; }
.nexus-auth-terms button { padding:0;border:0;color:#a8a19e;background:transparent;text-decoration:underline;cursor:pointer; }
.nexus-auth-terms.compact { margin-top:16px; }
.signup-fields { margin-top:22px; }

@media (max-width: 1000px) {
  .nexus-awards-strip { grid-template-columns:repeat(2,1fr); }
  .nexus-award-card:nth-child(2) { border-right:0; }
  .nexus-award-card:nth-child(-n+2) { border-bottom:1px solid rgba(236,234,233,.12); }
  .nexus-speed-section { grid-template-columns:1fr;gap:48px; }
  .nexus-speed-copy { max-width:760px; }
  .nexus-platform-mockup { grid-template-columns:60px 1fr 220px; }
  .nexus-feature-grid { grid-template-columns:repeat(2,1fr); }
  .nexus-benefit-grid { grid-template-columns:1fr; }
  .nexus-benefit-card { min-height:320px; }
  .nexus-benefit-card h3 { margin-top:42px; }
  .nexus-payment-grid { grid-template-columns:repeat(3,1fr); }
  .nexus-review-grid { grid-template-columns:1fr; }
}

@media (max-width: 760px) {
  .nexus-page-content { padding-inline:16px; }
  .nexus-awards-strip { width:calc(100% - 32px);padding-bottom:60px;grid-template-columns:1fr; }
  .nexus-award-card { min-height:100px;padding:18px 12px;border-right:0;border-bottom:1px solid rgba(236,234,233,.12); }
  .nexus-award-card:last-child { border-bottom:0; }
  .nexus-speed-section { padding-top:75px;padding-bottom:90px; }
  .nexus-speed-visual { height:390px;border-radius:24px; }
  .nexus-speed-dashboard { left:5%;right:5%;bottom:22px;height:245px;padding:15px; }
  .nexus-speed-chart { height:140px;margin-top:16px; }
  .nexus-speed-copy h2,.nexus-legacy-section h2,.nexus-tech-copy h2,.nexus-demo-copy h2,.nexus-section-heading-centered h2 { font-size:clamp(37px,10.5vw,48px);letter-spacing:-2.2px; }
  .nexus-section-heading-row { align-items:flex-start; }
  .nexus-slider-buttons { display:none; }
  .nexus-legacy-section { padding-bottom:90px; }
  .nexus-timeline { margin-top:42px;display:flex;overflow-x:auto;scroll-snap-type:x mandatory; }
  .nexus-timeline::before { display:none; }
  .nexus-timeline article { min-width:82vw;scroll-snap-align:start; }
  .nexus-technology-section { padding:85px 0 95px; }
  .nexus-platform-mockup { height:450px;grid-template-columns:46px 1fr; }
  .nexus-mock-sidebar { padding:14px 8px; }
  .nexus-mock-sidebar span { width:22px;height:22px; }
  .nexus-mock-trade { display:none; }
  .nexus-mock-topbar { padding-inline:14px;font-size:11px; }
  .nexus-candles { inset:65px 14px; }
  .nexus-candles i { width:8px; }
  .nexus-candles i:nth-child(n+11) { display:none; }
  .nexus-feature-grid { grid-template-columns:1fr; }
  .nexus-demo-section { padding-top:85px;padding-bottom:95px;grid-template-columns:1fr;gap:48px; }
  .nexus-demo-money { height:360px;padding:34px;border-radius:24px; }
  .nexus-demo-money strong { font-size:74px;letter-spacing:-5px; }
  .nexus-benefits-section { padding-top:55px;padding-bottom:90px; }
  .nexus-section-heading-centered { margin-bottom:38px; }
  .nexus-payment-grid { grid-template-columns:repeat(2,1fr); }
  .nexus-payments-section { padding:85px 0 95px; }
  .nexus-reviews-section { padding-top:85px;padding-bottom:95px; }
  .nexus-review-stats { grid-template-columns:repeat(2,1fr); }
  .nexus-review-stats div:nth-child(2) { border-right:0; }
  .nexus-review-stats div:nth-child(-n+2) { border-bottom:1px solid #3d3532; }
  .nexus-footer { padding-top:65px; }
  .nexus-footer-top { grid-template-columns:1fr 1fr;gap:38px 20px; }
  .nexus-footer-brand { grid-column:1/-1; }
  .nexus-auth-backdrop { display:none; }
  .nexus-auth-panel { inset:0;width:100%;padding:22px 20px;border-radius:0;overflow-y:auto; }
  .nexus-auth-form { width:min(100%,420px);margin:30px auto 0; }
  .nexus-auth-panel-top { width:min(100%,420px);margin-inline:auto; }
}

@media (max-width: 390px) {
  .nexus-social-buttons { gap:6px; }
  .nexus-social-button { font-size:14px; }
  .nexus-auth-form { margin-top:24px; }
  .nexus-auth-form h2 { font-size:28px; }
  .nexus-auth-social-label { margin-top:18px; }
  .nexus-auth-submit { margin-top:18px; }
  .nexus-auth-partner { margin-top:16px;padding-top:14px; }
  .nexus-footer-top { grid-template-columns:1fr; }
  .nexus-footer-brand { grid-column:auto; }
}
