/* Sonic Trade - logo-matched palette (electric blue + silver chrome on black) */
:root {
  --navy: #05070c;
  --navy-deep: #000000;
  --charcoal: #0b1018;
  --panel: rgba(12, 18, 28, 0.82);
  --panel-solid: #0e1520;
  --cyan: #1e7cff;
  --cyan-soft: #5aadff;
  --cyan-glow: rgba(30, 124, 255, 0.45);
  --gold: #9aa6b8;
  --gold-bright: #e8eef6;
  --bronze: #6b7585;
  --silver: #c5cedc;
  --text: #eef2f8;
  --muted: #8b97ab;
  --line: rgba(197, 206, 220, 0.16);
  --radius: 18px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 82% -8%, rgba(30, 124, 255, 0.18), transparent 55%),
    radial-gradient(800px 480px at 8% 18%, rgba(90, 173, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #000000 0%, #05070c 45%, #080d16 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

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

/* Atmosphere */
.bg-map {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(30, 124, 255, 0.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(197, 206, 220, 0.12) 0 1px, transparent 1.5px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400'%3E%3Cg fill='none' stroke='%231e7cff' stroke-opacity='0.22' stroke-width='0.6'%3E%3Cpath d='M80 220c40-80 120-120 200-100s140 80 220 70 140-90 220-70'/%3E%3Cpath d='M40 160c60 20 100 80 160 90s140-40 200-20 100 70 180 60'/%3E%3Ccircle cx='180' cy='150' r='28'/%3E%3Ccircle cx='420' cy='190' r='40'/%3E%3Ccircle cx='640' cy='140' r='32'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 28px 28px, 36px 36px, cover;
  background-position: center;
  animation: mapDrift 48s linear infinite;
}

.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bg-glow--cyan {
  top: 12%;
  right: -8%;
  background: var(--cyan);
  animation: floatGlow 10s ease-in-out infinite;
}

.bg-glow--gold {
  bottom: 8%;
  left: -10%;
  background: #a8b4c4;
  opacity: 0.22;
  animation: floatGlow 12s ease-in-out infinite reverse;
}

@keyframes mapDrift {
  from {
    background-position: 0 0, 0 0, center;
  }
  to {
    background-position: 120px 60px, -80px 40px, center;
  }
}

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

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 4vw;
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

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

.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #000;
  border-radius: 12px;
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(30, 124, 255, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

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

.brand-text strong {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.08rem;
  text-transform: uppercase;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--gold-bright);
}

.brand-sonic {
  background: linear-gradient(180deg, #7ec2ff 0%, #1e7cff 55%, #0a4dcc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-trade {
  background: linear-gradient(180deg, #ffffff 0%, #c8d2e0 48%, #8a96a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--cyan-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-gold {
  color: #05070c;
  background: linear-gradient(135deg, #f4f7fb 0%, #c5cedc 45%, #8a96a8 100%);
  box-shadow: 0 10px 30px rgba(197, 206, 220, 0.22);
}

.btn-cyan {
  color: #ffffff;
  background: linear-gradient(135deg, #5aadff, #1e7cff 55%, #0a4dcc);
  box-shadow: 0 10px 30px var(--cyan-glow);
}

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

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan-soft);
}

/* Hero - one composition */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 84px);
  padding: 3rem 6vw 4rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
}

.brand-hero {
  margin: 0;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: inherit;
  text-shadow: 0 0 40px rgba(30, 124, 255, 0.12);
  animation: brandRise 1.1s ease both;
}

.hero-tagline {
  max-width: 34rem;
  margin: 1.1rem 0 1.75rem;
  color: var(--silver);
  font-size: 1.08rem;
  animation: fadeUp 1s 0.15s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 1s 0.28s ease both;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: fadeUp 1.1s 0.2s ease both;
}

.logo-orbit {
  position: absolute;
  width: min(92%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(30, 124, 255, 0.32);
  box-shadow:
    0 0 0 18px rgba(30, 124, 255, 0.05),
    inset 0 0 60px rgba(30, 124, 255, 0.1);
  animation: spinSlow 28s linear infinite;
}

.logo-orbit::before,
.logo-orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  top: 8%;
  left: 50%;
}

.logo-orbit::after {
  background: #dce3ee;
  box-shadow: 0 0 18px rgba(220, 227, 238, 0.7);
  top: auto;
  bottom: 12%;
  left: 18%;
}

.hero-logo {
  width: min(100%, 480px);
  border-radius: 20px;
  position: relative;
  z-index: 1;
  background: #000;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.65));
}

@keyframes brandRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

/* Coming Soon - standout attraction */
.coming-soon {
  padding: 2rem 5vw 5rem;
}

.coming-soon-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  background:
    linear-gradient(160deg, rgba(20, 36, 64, 0.95), rgba(8, 14, 28, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(30, 124, 255, 0.2), transparent 55%);
  border: 1px solid rgba(30, 124, 255, 0.35);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(197, 206, 220, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.coming-soon-beam {
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(
    from 180deg,
    transparent 0deg,
    rgba(30, 124, 255, 0.18) 40deg,
    transparent 90deg,
    rgba(197, 206, 220, 0.16) 160deg,
    transparent 220deg
  );
  animation: beamSpin 14s linear infinite;
  pointer-events: none;
}

.coming-soon-frame > * {
  position: relative;
  z-index: 1;
}

.coming-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 auto 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 124, 255, 0.35);
  background: rgba(30, 124, 255, 0.08);
  color: var(--cyan-soft);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(30, 124, 255, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(30, 124, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 124, 255, 0);
  }
}

@keyframes beamSpin {
  to {
    transform: rotate(360deg);
  }
}

.coming-soon h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}

.coming-date {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cyan-soft);
  letter-spacing: 0.12em;
}

.coming-sub {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--muted);
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.count-unit {
  min-width: 88px;
  padding: 1rem 0.85rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 124, 255, 0.12), rgba(8, 14, 28, 0.85));
  border: 1px solid rgba(30, 124, 255, 0.35);
  box-shadow: inset 0 0 24px rgba(30, 124, 255, 0.08);
}

.count-value {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.count-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.count-sep {
  align-self: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.85;
}

.notify-form {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 0 auto 1rem;
}

.notify-form input {
  flex: 1 1 240px;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 20, 0.75);
  color: var(--text);
  padding: 0 1.2rem;
  font: inherit;
  outline: none;
}

.notify-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(30, 124, 255, 0.18);
}

.notify-msg {
  color: var(--cyan-soft);
  font-weight: 500;
}

.attraction-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.fx-sessions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.fx-session {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(30, 124, 255, 0.35);
  background: linear-gradient(180deg, rgba(30, 124, 255, 0.12), rgba(8, 14, 28, 0.85));
}

.fx-session span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.fx-session strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
  font-size: 0.95rem;
}

.fx-session em {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.fx-session.is-open em {
  color: #3dd68c;
}

.fx-board {
  max-width: 980px;
  min-height: 400px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(30, 124, 255, 0.28);
  background: rgba(4, 10, 20, 0.55);
}

.fx-charts {
  max-width: 980px;
  margin: 0 auto 0.5rem;
}

.fx-actions {
  justify-content: center;
  margin-top: 1.25rem;
}

.attraction-pills li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 124, 255, 0.4);
  color: var(--cyan-soft);
  background: rgba(30, 124, 255, 0.1);
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 4.5rem 6vw;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.stream-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stream {
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stream:hover {
  border-color: rgba(30, 124, 255, 0.45);
  transform: translateY(-4px);
}

.stream-num {
  display: block;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.stream h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.stream p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lock-card {
  position: relative;
  padding: 1.6rem 1.35rem;
  border-radius: var(--radius);
  background: var(--panel-solid);
  border: 1px solid var(--line);
}

.lock-card.featured {
  border-color: rgba(30, 124, 255, 0.55);
  box-shadow: 0 0 40px rgba(30, 124, 255, 0.12);
  background: linear-gradient(180deg, rgba(30, 124, 255, 0.1), var(--panel-solid));
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #031018;
  background: var(--cyan);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
}

.lock-card h3 {
  margin: 0 0 0.75rem;
}

.rate {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.rate span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 0.25rem;
}

.lock-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.plan-block.alt {
  background: linear-gradient(180deg, rgba(30, 124, 255, 0.04), transparent);
}

.level-table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(8, 14, 28, 0.7);
}

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

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

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

.data-table th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  background: rgba(30, 124, 255, 0.06);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table strong {
  color: var(--gold-bright);
}

.total-row td {
  color: var(--cyan-soft);
  font-weight: 700;
  background: rgba(30, 124, 255, 0.08);
}

.legs {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.you {
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #5aadff, #1e7cff 55%, #0a4dcc);
  color: #ffffff;
  font-weight: 700;
}

.leg-line {
  width: 2px;
  height: 28px;
  background: linear-gradient(var(--cyan-soft), var(--silver));
}

.leg-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: min(100%, 520px);
}

.leg {
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(30, 124, 255, 0.35);
  background: rgba(30, 124, 255, 0.06);
  color: var(--silver);
  font-weight: 600;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.prize {
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
}

.prize.wide {
  grid-column: span 2;
}

.prize.gold {
  border-color: rgba(30, 124, 255, 0.55);
  background: linear-gradient(180deg, rgba(30, 124, 255, 0.18), var(--panel));
}

.prize span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.prize strong {
  font-size: 1.45rem;
  color: var(--gold-bright);
}

.note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.terms-grid article {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.terms-grid h3 {
  margin: 0 0 0.85rem;
  color: var(--cyan-soft);
}

.terms-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--silver);
}

.terms-grid li + li {
  margin-top: 0.45rem;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 6vw 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #000;
  border-radius: 14px;
  padding: 4px;
}

.site-footer strong {
  display: block;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: inherit;
}

.site-footer p {
  margin: 0.15rem 0 0;
}

.muted {
  color: var(--muted);
}

/* Live ticker */
.ticker-wrap {
  position: relative;
  z-index: 15;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 10, 20, 0.92);
  min-height: 46px;
}

.ticker-wrap .tradingview-widget-container {
  max-width: 100%;
}

/* Hero trust row */
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0 0 1.5rem;
  animation: fadeUp 1s 0.22s ease both;
}

.hero-trust li {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(16, 28, 48, 0.55);
}

/* Markets */
.markets {
  padding-top: 3rem;
  background:
    linear-gradient(180deg, rgba(30, 124, 255, 0.05), transparent 35%),
    transparent;
}

.markets-head {
  max-width: 48rem;
}

.price-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.price-card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(20, 36, 64, 0.9), rgba(8, 14, 28, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.price-card:hover {
  border-color: rgba(30, 124, 255, 0.4);
  transform: translateY(-3px);
}

.price-card-top {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.asset-badge {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.asset-badge.btc {
  color: #f7931a;
}

.asset-badge.eth {
  color: #8a9cff;
}

.asset-badge.bnb {
  color: #f0b90b;
}

.asset-badge.usdt {
  color: #26a17b;
}

.pair {
  color: var(--muted);
  font-size: 0.8rem;
}

.price-value {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #fff;
}

.price-change {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.price-change.up {
  color: #3dd68c;
}

.price-change.down {
  color: #ff6b7a;
}

.price-meta {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.usdt-card {
  border-color: rgba(38, 161, 123, 0.35);
}

.markets-status {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.mini-charts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.chart-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(8, 14, 28, 0.85);
  overflow: hidden;
  padding: 0.85rem 0.85rem 0.4rem;
}

.chart-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  font-weight: 600;
}

.chart-embed {
  min-height: 220px;
}

.advanced-chart {
  border-radius: 22px;
  border: 1px solid rgba(30, 124, 255, 0.28);
  background:
    linear-gradient(160deg, rgba(16, 28, 48, 0.95), rgba(4, 10, 20, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.advanced-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid var(--line);
}

.advanced-chart-head h3 {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.pair-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pair-tab {
  border: 1px solid var(--line);
  background: rgba(4, 10, 20, 0.7);
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pair-tab:hover {
  color: var(--cyan-soft);
  border-color: rgba(30, 124, 255, 0.45);
}

.pair-tab.is-active {
  color: #031018;
  background: linear-gradient(135deg, var(--cyan-soft), var(--cyan));
  border-color: transparent;
}

.advanced-chart-frame {
  height: min(68vh, 560px);
  min-height: 420px;
  width: 100%;
}

.footer-locales {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-locales span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
}

/* Responsive */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
    text-align: center;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-trust,
  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo {
    width: min(100%, 360px);
  }

  .stream-grid,
  .lock-grid,
  .prize-grid,
  .terms-grid,
  .price-board,
  .mini-charts,
  .fx-sessions {
    grid-template-columns: 1fr 1fr;
  }

  .prize.wide {
    grid-column: span 2;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .footer-locales {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header .header-actions .btn-ghost {
    display: none;
  }

  .stream-grid,
  .lock-grid,
  .prize-grid,
  .terms-grid,
  .leg-pair,
  .price-board,
  .mini-charts,
  .fx-sessions {
    grid-template-columns: 1fr;
  }

  .prize.wide {
    grid-column: span 1;
  }

  .count-unit {
    min-width: 70px;
    padding: 0.8rem 0.5rem;
  }

  .count-sep {
    display: none;
  }

  .advanced-chart-frame {
    min-height: 360px;
    height: 420px;
  }
}

/* Header auth actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* Auth pages */
.auth-page .site-header {
  position: sticky;
}

.auth-main {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 2.5rem 5vw 4rem;
  min-height: calc(100vh - 84px);
}

.auth-card {
  width: min(100%, 520px);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 24px;
  border: 1px solid rgba(30, 124, 255, 0.35);
  background:
    linear-gradient(165deg, rgba(10, 16, 28, 0.97), rgba(0, 0, 0, 0.96));
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(197, 206, 220, 0.06);
}

.auth-card--register {
  width: min(100%, 560px);
}

.auth-card h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #c8d2e0 55%, #8a96a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 0.95rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-size: 0.82rem;
  color: var(--silver);
  letter-spacing: 0.04em;
}

.field input {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 20, 0.8);
  color: var(--text);
  padding: 0 0.95rem;
  font: inherit;
  outline: none;
}

.field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(30, 124, 255, 0.16);
}

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

.phone-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto minmax(0, 1.1fr);
  gap: 0.55rem;
  align-items: stretch;
}

.country-select,
.dial-code,
.phone-input,
.field select {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 20, 0.8);
  color: var(--text);
  padding: 0 0.85rem;
  font: inherit;
  outline: none;
  width: 100%;
}

.country-select,
.field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--silver) 50%),
    linear-gradient(135deg, var(--silver) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.dial-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 0 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
  border-color: rgba(30, 124, 255, 0.4);
  background: rgba(30, 124, 255, 0.1);
  white-space: nowrap;
}

.country-select:focus,
.phone-input:focus,
.field select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(30, 124, 255, 0.2);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--cyan);
}

/* ASP.NET CheckBox renders a wrapping <span> */
.check > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.field-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ff6b7a;
}

.field-ok {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #3dd68c;
}

.field span.sponsor-valid,
.field span.sponsor-invalid {
  display: inline-block;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field span.sponsor-valid {
  color: #b8ffd8;
  background: rgba(61, 214, 140, 0.16);
  border: 1px solid rgba(61, 214, 140, 0.7);
}

.field span.sponsor-invalid {
  color: #ffd0d6;
  background: rgba(255, 107, 122, 0.16);
  border: 1px solid rgba(255, 107, 122, 0.7);
}

/* ASP.NET Button control */
input.btn.btn-cyan.btn-block {
  cursor: pointer;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}

.check a,
.auth-link,
.auth-switch a {
  color: var(--cyan-soft);
}

.check a:hover,
.auth-link:hover,
.auth-switch a:hover {
  color: var(--gold-bright);
}

.btn-block {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-feedback {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.auth-feedback.ok {
  color: #3dd68c;
}

.auth-feedback.err {
  color: #ff6b7a;
}

.auth-switch {
  margin: 1.35rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.reg-receipt h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.reg-receipt-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.reg-receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(30, 124, 255, 0.18);
}

.reg-receipt-row span {
  color: var(--muted);
}

.reg-receipt-row strong {
  text-align: right;
  word-break: break-all;
  color: #fff;
}

.reg-receipt .btn {
  margin-top: 1.1rem;
}

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

  .phone-row {
    grid-template-columns: 1fr auto;
  }

  .phone-input {
    grid-column: 1 / -1;
  }
}

/* User panel / dashboard */
.panel-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(30, 124, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #000000 0%, #05070c 100%);
}

body.panel-menu-lock {
  overflow: hidden;
}

.panel-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
}

.panel-overlay {
  display: none;
}

.panel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.86);
  min-height: 100vh;
}

.panel-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.panel-close {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.panel-brand {
  padding: 0.35rem 0.4rem;
  min-width: 0;
}

.panel-mobile-bar {
  display: none;
}

.panel-nav {
  display: grid;
  gap: 0.35rem;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.panel-nav-link {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.panel-nav-link:hover,
.panel-nav-link.is-active {
  color: var(--text);
  background: rgba(30, 124, 255, 0.14);
}

.panel-sidebar-foot {
  margin-top: auto;
}

.panel-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.panel-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
}

.panel-topbar-left {
  min-width: 0;
}

.panel-title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  word-break: break-word;
}

.panel-user {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
  min-width: 0;
}

.panel-user-name {
  font-weight: 700;
  color: var(--text);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-user-id {
  font-size: 0.85rem;
  color: var(--cyan-soft);
}

.panel-user-sponsor {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-member-card {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(30, 124, 255, 0.28);
  background: rgba(30, 124, 255, 0.08);
}

.panel-member-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-member-name {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  color: var(--text);
  word-break: break-word;
}

.panel-member-meta {
  display: grid;
  gap: 0.2rem;
  font-size: 0.8rem;
  color: var(--cyan-soft);
  word-break: break-word;
}

.panel-member-meta span:last-child {
  color: var(--muted);
}

.panel-content {
  padding: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.brand-mark--sm {
  width: 40px;
  height: 40px;
}

.dash-welcome {
  margin-bottom: 1.25rem;
}

.dash-welcome h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.dash-welcome p {
  margin: 0;
  color: var(--muted);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.dash-card {
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(30, 124, 255, 0.28);
  background: linear-gradient(165deg, rgba(10, 16, 28, 0.96), rgba(0, 0, 0, 0.92));
}

.dash-card span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-card strong {
  font-size: 1.05rem;
  color: var(--text);
  word-break: break-word;
}

/* Tablet + mobile panel layout */
@media (max-width: 960px) {
  .panel-shell {
    grid-template-columns: 1fr;
  }

  .panel-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .panel-shell.is-menu-open .panel-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .panel-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: min(86vw, 300px);
    height: 100vh;
    min-height: 100vh;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    border-right: 1px solid var(--line);
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.45);
    overflow-y: auto;
  }

  .panel-shell.is-menu-open .panel-sidebar {
    transform: translateX(0);
  }

  .panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .panel-mobile-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
  }

  .panel-menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(30, 124, 255, 0.08);
    cursor: pointer;
    flex-shrink: 0;
  }

  .panel-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: var(--cyan-soft);
  }

  .panel-mobile-brand {
    min-width: 0;
    flex: 1;
  }

  .panel-mobile-brand .brand-text strong {
    font-size: 0.92rem;
  }

  .panel-mobile-brand .brand-text small {
    display: none;
  }

  .panel-mobile-id {
    flex-shrink: 0;
    max-width: 34%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan-soft);
  }

  .panel-topbar {
    padding: 1rem 1rem 0.85rem;
    flex-wrap: wrap;
  }

  .panel-user {
    justify-items: start;
    width: 100%;
  }

  .panel-user-name,
  .panel-user-sponsor {
    max-width: 100%;
    white-space: normal;
  }

  .panel-content {
    padding: 1rem;
  }

  .panel-nav {
    grid-template-columns: 1fr;
    flex: none;
  }

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

@media (max-width: 640px) {
  .panel-title {
    font-size: 1.2rem;
  }

  .panel-topbar .eyebrow {
    margin-bottom: 0.25rem;
  }

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

  .mlm-welcome {
    flex-direction: column;
    padding: 1rem;
  }

  .mlm-badges {
    justify-content: flex-start;
  }

  .mlm-kpi-grid,
  .mlm-split,
  .mlm-mini-grid,
  .mlm-ref-row {
    grid-template-columns: 1fr !important;
  }

  .mlm-kpi strong {
    font-size: 1.35rem;
  }

  .mlm-box {
    padding: 1rem;
  }

  .mlm-profile-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .mlm-profile-list li strong {
    text-align: left;
  }

  .mlm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mlm-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .auth-card,
  .auth-card--register {
    width: 100%;
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }

  .auth-main {
    padding: 1.25rem 4vw 2.5rem;
  }

  .phone-row {
    grid-template-columns: 1fr !important;
  }

  .phone-input {
    grid-column: auto !important;
  }

  .dial-code {
    justify-self: start;
    min-width: 72px;
  }

  .site-header {
    padding: 0.75rem 3.5vw;
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .header-actions .btn-sm {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }

  .brand-text small {
    display: none;
  }
}

/* Classic MLM dashboard widgets */
.mlm-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(30, 124, 255, 0.28);
  background:
    linear-gradient(120deg, rgba(30, 124, 255, 0.14), transparent 45%),
    linear-gradient(165deg, rgba(10, 16, 28, 0.96), rgba(0, 0, 0, 0.92));
}

.mlm-welcome h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.mlm-welcome p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.mlm-welcome strong {
  color: var(--cyan-soft);
}

.mlm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.mlm-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(197, 206, 220, 0.28);
  background: rgba(197, 206, 220, 0.1);
  color: var(--silver);
  white-space: nowrap;
}

.mlm-badge--ok {
  border-color: rgba(61, 214, 140, 0.45);
  background: rgba(61, 214, 140, 0.14);
  color: #3dd68c;
}

.mlm-badge--off {
  border-color: rgba(255, 107, 122, 0.45);
  background: rgba(255, 107, 122, 0.12);
  color: #ff6b7a;
}

.mlm-badge--soft {
  font-weight: 600;
}

.mlm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.mlm-kpi {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(30, 124, 255, 0.25);
  background: linear-gradient(165deg, rgba(10, 16, 28, 0.96), rgba(0, 0, 0, 0.92));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.mlm-kpi span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.mlm-kpi strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.mlm-kpi small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.mlm-kpi--blue { border-color: rgba(30, 124, 255, 0.45); }
.mlm-kpi--cyan { border-color: rgba(90, 173, 255, 0.4); }
.mlm-kpi--silver { border-color: rgba(197, 206, 220, 0.35); }
.mlm-kpi--green { border-color: rgba(61, 214, 140, 0.4); }
.mlm-kpi--purple { border-color: rgba(140, 120, 255, 0.4); }
.mlm-kpi--gold { border-color: rgba(232, 238, 246, 0.35); }

.mlm-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.mlm-box {
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(30, 124, 255, 0.25);
  background: linear-gradient(165deg, rgba(10, 16, 28, 0.96), rgba(0, 0, 0, 0.92));
}

.mlm-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.mlm-box-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.mlm-ref-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.mlm-ref-input,
input.mlm-ref-input {
  min-height: 44px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 20, 0.85);
  color: var(--text);
  padding: 0 0.85rem;
  font: inherit;
  font-size: 0.88rem;
}

.mlm-hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.mlm-hint strong {
  color: var(--cyan-soft);
}

.mlm-profile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.mlm-profile-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(197, 206, 220, 0.1);
}

.mlm-profile-list li span {
  color: var(--muted);
  font-size: 0.85rem;
}

.mlm-profile-list li strong {
  text-align: right;
  font-size: 0.92rem;
  word-break: break-word;
}

.mlm-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.mlm-mini {
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(197, 206, 220, 0.14);
  background: rgba(30, 124, 255, 0.06);
}

.mlm-mini span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.mlm-mini strong {
  font-size: 1.05rem;
}

.mlm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mlm-actions .btn {
  cursor: default;
  opacity: 0.85;
}

@media (max-width: 960px) {
  .mlm-kpi-grid,
  .mlm-split,
  .mlm-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Light auth pages. Index keeps the dark theme. */
.auth-page {
  color: #24312b;
  background:
    radial-gradient(880px 420px at 100% -8%, rgba(196, 164, 106, 0.28), transparent 58%),
    linear-gradient(180deg, #f8f5ef 0%, #eef3ee 100%);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  overflow-x: hidden;
}

.auth-page .auth-top {
  justify-content: flex-end;
  background: transparent;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  text-decoration: none;
}

.auth-brand img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  background: #07111f;
}

.auth-brand span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #17382c;
}

.auth-sub {
  margin: -0.35rem 0 1.1rem;
  text-align: center;
  color: #6b778c;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
}

@keyframes stBlueDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12vw, 8vh, 0) scale(1.18); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes stBlueDriftAlt {
  0% { transform: translate3d(0, 0, 0) scale(1.08); }
  50% { transform: translate3d(-10vw, 10vh, 0) scale(0.92); }
  100% { transform: translate3d(0, 0, 0) scale(1.08); }
}

.auth-page .bg-map {
  display: none;
}

.auth-page .bg-glow {
  display: block;
  opacity: 0.55;
  filter: blur(80px);
}

.auth-page .bg-glow--cyan {
  width: 540px;
  height: 540px;
  top: -140px;
  right: -80px;
  background: #c6a56a;
  animation: stBlueDrift 16s ease-in-out infinite;
}

.auth-page .bg-glow--gold {
  width: 480px;
  height: 480px;
  left: -120px;
  bottom: -140px;
  background: #8fbfa4;
  opacity: 0.7;
  animation: stBlueDriftAlt 20s ease-in-out infinite;
}

.auth-page .site-header {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  padding: 1.1rem 4vw 0;
}

.auth-page .brand-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #243038;
}

.auth-page .brand-sonic {
  background: none;
  color: #1e4d3a;
}

.auth-page .brand-trade {
  background: none;
  color: #243038;
}

.auth-page .brand-text small {
  color: #7a8782;
  font-size: 0.7rem;
}

.auth-page .btn-ghost {
  color: #3d4a46;
  border-color: #d5ded9;
  background: #fff;
}

.auth-page .btn-gold,
.auth-page .btn-cyan,
.auth-page input.btn.btn-cyan.btn-block {
  color: #fff;
  background: linear-gradient(180deg, #3d7a5c 0%, #1e4d3a 100%);
  border-color: #1e4d3a;
  box-shadow: none;
}

.auth-page .btn-gold:hover,
.auth-page .btn-cyan:hover,
.auth-page input.btn.btn-cyan.btn-block:hover {
  background: linear-gradient(180deg, #356c51 0%, #17382c 100%);
}

.auth-main {
  padding-top: 1.5rem;
}

.auth-page .auth-card,
.auth-page .auth-card--register {
  width: min(100%, 420px);
  max-width: 100%;
  padding: 1.35rem 1.15rem 1.15rem;
  border-radius: 16px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(36, 48, 42, 0.08);
  overflow: hidden;
}

.auth-page .auth-card--register {
  width: min(100%, 480px);
}

.auth-page .eyebrow {
  margin-bottom: 0.35rem;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: #1e4d3a;
}

.auth-page .auth-card h1,
.auth-page .reg-receipt h2 {
  margin: 0 0 0.85rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  background: none;
  color: #17382c;
}

.auth-page .field span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #3d4a46;
}

.auth-page .field,
.auth-page .field-grid,
.auth-page .phone-row,
.auth-page .auth-form {
  min-width: 0;
  max-width: 100%;
}

.auth-page .field input,
.auth-page .country-select,
.auth-page .dial-code,
.auth-page .phone-input,
.auth-page .field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid #d7e0db;
  background: #fff;
  color: #243038;
  font-size: 0.84rem;
  box-sizing: border-box;
}

.auth-page .dial-code {
  color: #1e4d3a;
  background: #f4faf6;
  border-color: #d7e0db;
  font-weight: 600;
  min-width: 0;
  padding: 0 0.35rem;
}

.auth-page .phone-row {
  grid-template-columns: minmax(0, 1.2fr) 58px minmax(0, 1fr);
}

.auth-page .field input:focus,
.auth-page .country-select:focus,
.auth-page .phone-input:focus,
.auth-page .field select:focus {
  border-color: #1e4d3a;
  box-shadow: 0 0 0 3px rgba(30, 77, 58, 0.14);
}

.auth-page .check,
.auth-page .auth-switch,
.auth-page .auth-link,
.auth-page .reg-receipt-note,
.auth-page .reg-receipt-row span {
  color: #667178;
  font-size: 0.8rem;
}

.auth-page .check a,
.auth-page .auth-link,
.auth-page .auth-switch a {
  color: #1e4d3a;
}

.auth-page .auth-link:hover,
.auth-page .auth-switch a:hover,
.auth-page .check a:hover {
  color: #143628;
}

.auth-page .reg-receipt-row {
  border-bottom-color: #eef2f0;
  font-size: 0.82rem;
}

.auth-page .reg-receipt-row strong {
  color: #1c2823;
  font-weight: 600;
}

.auth-page .field span.sponsor-valid {
  color: #146c43;
  background: #e8f6ee;
  border-color: #b7dcc6;
}

.auth-page .field span.sponsor-invalid {
  color: #a12636;
  background: #fdecee;
  border-color: #f3c2c8;
}

@media (max-width: 640px) {
  .mlm-welcome {
    flex-direction: column;
  }

  .mlm-badges {
    justify-content: flex-start;
  }

  .mlm-kpi-grid,
  .mlm-split,
  .mlm-mini-grid,
  .mlm-ref-row {
    grid-template-columns: 1fr;
  }
}


