:root {
  --bg: #070b0a;
  --bg-2: #0b1210;
  --panel: #0f1715;
  --panel-2: rgba(18, 36, 32, 0.72);
  --line: rgba(38, 161, 123, 0.22);
  --gold: #26A17B;
  --gold-2: #5fe3b8;
  --accent: #26A17B;
  --accent-2: #00e6a8;
  --warn: #e8c56b;
  --ink: #eef8f4;
  --mute: #8aa399;
  --mute-2: #5c7368;
  --up: #5fe3b8;
  --down: #c97a72;
  --danger: #b85c54;
  --font-serif: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse 90% 60% at 80% 0%, rgba(38,161,123,.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(0,230,168,.06), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.wrap { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.hidden { display: none !important; }

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 68px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.brand-name {
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-2);
  white-space: nowrap;
}
.nav-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px;
}
.nav-links a { color: var(--mute); font-size: 13px; letter-spacing: 0.08em; white-space: nowrap; }
.nav-links a.on, .nav-links a:hover { color: var(--gold-2); }
.nav-right {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 14px; font-size: 13px; color: var(--mute); min-width: 0;
}
.nav-account {
  display: flex; align-items: center; gap: 12px; white-space: nowrap; flex-shrink: 0;
}
.nav-right .name { color: var(--gold-2); }
.nav-logout { color: var(--mute); }
.nav-logout:hover { color: var(--gold-2); }
.nav-cta { color: var(--gold-2); }

.ghost, .solid, .gold, .danger, .max-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  height: 38px;
  padding: 0 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  border-radius: 8px;
}
.solid { background: var(--ink); color: #111; border-color: var(--ink); }
.gold {
  background: linear-gradient(135deg, #1fa37a, #26A17B 40%, #5fe3b8);
  color: #06241c; border-color: transparent; font-weight: 700;
  box-shadow: 0 0 18px rgba(38,161,123,.35);
}
.danger { border-color: var(--danger); color: #e8b4af; }
.w-full { width: 100%; }
.gold:hover { filter: brightness(1.08); }

.page { padding: 28px 0 80px; }
.page-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 22px;
}
.asset-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 168px;
  padding: 0;
  margin-bottom: 28px;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 120% at 18% 40%, rgba(255,255,255,.2), transparent 55%),
    radial-gradient(circle at 78% 30%, rgba(110,231,197,.28), transparent 42%),
    linear-gradient(118deg, #6ad9b8 0%, #3db38d 38%, #26A17B 68%, #1a8f6c 100%);
  box-shadow: 0 14px 40px rgba(15, 118, 110, .32);
}
.asset-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 55%, rgba(255,255,255,.1) 0 1px, transparent 1.5px) 0 0 / 16px 16px;
  opacity: .28;
  pointer-events: none;
}
.asset-bar::after {
  content: "T";
  position: absolute;
  right: 26%;
  top: 50%;
  transform: translateY(-52%);
  font-size: 140px;
  font-weight: 800;
  color: rgba(255,255,255,.08);
  line-height: 1;
  pointer-events: none;
}
.asset-main {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 32px 28px;
  max-width: min(640px, 72%);
}
.asset-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 4px 14px rgba(0,0,0,.15);
  flex: 0 0 48px;
  background: transparent;
}
.asset-text { min-width: 0; }
.asset-bar .lbl {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.92);
  font-weight: 500;
  margin-bottom: 8px;
}
.asset-bar .bal {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1;
}
.asset-bar .bal-num {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 2px 16px rgba(255,255,255,.25), 0 4px 18px rgba(0,0,0,.18);
  letter-spacing: -0.02em;
}
.asset-bar .bal-unit {
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(255,255,255,.95);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.asset-coin {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  height: 118%;
  width: auto;
  max-width: 42%;
  object-fit: contain;
  object-position: right center;
  /* 去掉黑底方块感，只留硬币主体 */
  mix-blend-mode: lighten;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.22));
  pointer-events: none;
  animation: coinFloat 4.8s ease-in-out infinite;
}
@keyframes coinFloat {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 6px)); }
}

.swiper {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 440;
  height: auto;
  min-height: 200px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 36px;
  background: #16140f;
}
.swiper .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.swiper .slide.on {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.swiper .slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
}
.swiper .cap {
  position: absolute;
  left: 28px;
  bottom: 24px;
  right: 100px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 28px);
  z-index: 2;
  color: #f1ece0;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
  pointer-events: none;
}
.dots {
  position: absolute;
  right: 20px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.dots i { width: 8px; height: 8px; background: var(--mute-2); display: block; }
.dots i.on { width: 22px; background: var(--gold-2); }

@media (max-width: 768px) {
  .swiper {
    aspect-ratio: 16 / 9;
    min-height: 160px;
  }
  .swiper .cap { left: 16px; bottom: 18px; font-size: 16px; }
}

.sec { margin: 40px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; gap: 16px; }
.sec-head h2 { font-family: var(--font-serif); font-size: 26px; }
.idx { color: var(--gold-2); font-size: 12px; letter-spacing: 0.1em; margin-bottom: 6px; font-family: var(--font-sans); font-weight: 600; }
.sub { color: var(--mute); font-size: 13px; }
.stake-title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px;
}
.stake-title-logo {
  width: 28px; height: 28px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(38,161,123,.35), 0 0 16px rgba(38,161,123,.25);
}
.stake-title-coin {
  font-family: var(--font-sans); font-size: 15px; letter-spacing: 0.14em;
  color: var(--gold-2); font-weight: 700;
}
.stake-sub { max-width: 520px; }

.stake-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  background: transparent;
  border: 0;
}
.stake-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22,42,38,.9), rgba(12,22,20,.92));
  padding: 22px 18px 18px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  color: inherit;
  border: 1px solid rgba(38,161,123,.28);
  border-radius: 16px;
  text-align: left;
  box-shadow: inset 0 0 24px rgba(38,161,123,.06), 0 10px 28px rgba(0,0,0,.28);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.stake-card:hover {
  transform: translateY(-3px);
  border-color: rgba(95,227,184,.55);
  box-shadow: 0 0 24px rgba(38,161,123,.22), 0 12px 30px rgba(0,0,0,.35);
}
.stake-card.feat {
  border-color: rgba(232,197,107,.65);
  box-shadow: inset 0 0 28px rgba(232,197,107,.08), 0 0 26px rgba(232,197,107,.18);
}
.stake-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, #26A17B, #0f766e);
  color: #fff; font-size: 11px; padding: 3px 10px;
  border-radius: 999px; letter-spacing: .06em;
}
.stake-card-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
}
.stake-card-logo { width: 22px; height: 22px; border-radius: 50%; margin-top: 6px; }
.days { font-family: var(--font-sans); font-size: 36px; font-weight: 700; line-height: .95; color: #fff; }
.days small { font-size: 14px; color: var(--mute); margin-left: 4px; }
.apy {
  font-family: var(--font-sans); font-size: 28px; font-weight: 700;
  color: var(--accent-2); margin-top: 14px;
  text-shadow: 0 0 16px rgba(0,230,168,.35);
}
.stake-card .sub { margin-top: 4px; }
.min-amt { color: var(--mute-2); font-size: 12px; margin-top: auto; padding-top: 18px; }
.stake-buy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, #1a9b74, #26A17B 45%, #5fe3b8);
  background-size: 160% 160%;
  color: #042018; font-size: 14px; font-weight: 800; letter-spacing: .1em;
  box-shadow: 0 6px 18px rgba(38,161,123,.35), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .25s ease, background-position .35s ease;
  will-change: transform;
}
.stake-card:hover .stake-buy {
  transform: translateY(-2px) scale(1.02);
  background-position: 100% 50%;
  box-shadow: 0 10px 26px rgba(38,161,123,.5), 0 0 22px rgba(95,227,184,.35), inset 0 1px 0 rgba(255,255,255,.45);
  filter: brightness(1.06);
}
.stake-buy:hover,
.stake-card.feat .stake-buy:hover {
  background: linear-gradient(135deg, #d4a84b, #f0d27a 55%, #ffe9a8);
  background-size: 160% 160%;
  box-shadow: 0 10px 26px rgba(232,197,107,.55), 0 0 22px rgba(240,210,122,.4), inset 0 1px 0 rgba(255,255,255,.5);
  filter: brightness(1.05);
}
.stake-card:active .stake-buy,
.stake-buy:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(38,161,123,.3), inset 0 2px 4px rgba(0,0,0,.12);
  filter: brightness(0.96);
}
.stake-card.feat .stake-buy {
  /* 默认与普通档同为绿色，悬停按钮才变黄 */
  background: linear-gradient(135deg, #1a9b74, #26A17B 45%, #5fe3b8);
  background-size: 160% 160%;
  box-shadow: 0 6px 18px rgba(38,161,123,.35), inset 0 1px 0 rgba(255,255,255,.35);
}

.stake-feats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 22px;
}
.feat-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 12px; border-radius: 12px;
  border: 1px solid rgba(38,161,123,.18);
  background: rgba(15, 28, 25, .65);
}
.feat-item i {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
  background: rgba(38,161,123,.15);
  box-shadow: inset 0 0 0 1px rgba(95,227,184,.35);
  position: relative;
}
.feat-item i::after {
  content: ""; position: absolute; inset: 8px;
  border: 2px solid var(--gold-2); border-radius: 50%;
}
.feat-item.fi-fix {}
.feat-item b { display: block; color: var(--ink); font-size: 13px; }
.feat-item span { color: var(--mute); font-size: 12px; }

.market, .record { width: 100%; border-collapse: collapse; }
.market th, .record th {
  text-align: left; font-size: 11px; letter-spacing: 0.14em;
  color: var(--mute-2); font-weight: 500; padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.market td, .record td {
  padding: 14px 8px; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums; font-size: 14px;
}
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.coin { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.coin-logo {
  width: 28px; height: 28px; border-radius: 50%;
  display: block; flex: 0 0 28px;
  box-shadow: 0 0 0 1px rgba(201,169,98,.18);
}
.coin-name { letter-spacing: 0.04em; }
.dot {
  width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); color: var(--gold);
}

.deposit-ticker {
  overflow: hidden; border: 1px solid var(--line);
  height: 44px; display: flex; align-items: center; background: #0b0a09;
}
.deposit-track {
  display: flex; gap: 40px; white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-size: 13px; color: var(--mute);
  padding-left: 20px;
}
.deposit-track b { color: var(--gold-2); font-weight: 500; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  align-items: center; padding: 28px 0;
  border-top: 1px solid var(--line);
}
.partners a {
  display: flex; align-items: center; gap: 8px;
  color: var(--mute); font-size: 12px; letter-spacing: 0.12em;
}
.partners img { height: 28px; width: auto; filter: grayscale(.2); opacity: .85; }
.partners span { color: var(--mute-2); font-size: 12px; letter-spacing: 0.18em; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  display: flex; justify-content: space-between; gap: 16px;
  color: var(--mute-2); font-size: 12px;
}
footer nav { display: flex; gap: 18px; }
footer a { color: var(--mute); }

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,36,32,.9), rgba(12,22,20,.95));
  padding: 22px 24px;
  margin-bottom: 16px;
  border-radius: 14px;
}
.card h3 { font-size: 12px; letter-spacing: 0.14em; color: var(--mute); font-weight: 500; margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { border: 1px solid var(--line); background: var(--panel); padding: 20px; border-radius: 14px; }
.stat .label { font-size: 12px; color: var(--mute); letter-spacing: 0.1em; }
.stat .value { font-family: var(--font-display); font-size: 28px; margin-top: 6px; color: var(--gold-2); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--mute); margin-bottom: 6px; letter-spacing: 0.06em; }
.form-control, .field input, .field select, .field textarea {
  width: 100%; height: 42px;
  background: #0a1210; border: 1px solid var(--line);
  color: var(--ink); padding: 0 12px; font-size: 14px;
  border-radius: 8px;
}
.field textarea { height: 120px; padding: 10px 12px; }
.form-control:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.muted { color: var(--mute); }
.note { color: var(--mute-2); font-size: 12px; margin-top: 10px; line-height: 1.8; white-space: pre-wrap; }
.badge { font-size: 11px; letter-spacing: .06em; padding: 2px 8px; border: 1px solid var(--line); }
.badge.ok { color: var(--up); }
.badge.wait { color: var(--gold); }
.badge.bad { color: var(--down); }
.addr { word-break: break-all; color: var(--gold-2); font-size: 13px; }
.qr-box { text-align: center; padding: 16px; background: #fff; display: inline-block; }
.qr-box img { width: 200px; height: 200px; display: block; }
.net-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.net-tabs a, .net-tabs .net-tab {
  border: 1px solid var(--line); padding: 8px 14px;
  color: var(--mute); font-size: 12px; letter-spacing: .08em;
  background: transparent; cursor: pointer;
}
.net-tabs a.on, .net-tabs .net-tab.on { border-color: var(--gold); color: var(--gold-2); }
.modal-wide { max-width: 520px; width: min(100%, 520px); }
.tax-pay-box {
  margin: 18px 0; padding: 16px; border: 1px solid rgba(201,169,98,.28);
  background: rgba(201,169,98,.04);
}
.tax-pay-box h3 { margin: 0 0 6px; font-size: 15px; color: var(--gold-2); }
.tax-due { color: var(--gold-2); font-size: 16px; }

.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.72);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 24px;
}
.overlay.open { display: flex; }
.modal {
  width: min(460px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 32px 28px;
  position: relative;
}
.modal h2 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 8px; }
.modal .x {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0; color: var(--mute); font-size: 22px; width: 32px;
}
.warn-box {
  border: 1px solid var(--danger);
  background: rgba(184, 92, 84, 0.12);
  color: #f0d2ce;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  margin: 12px 0 18px;
}
.warn-box strong { color: #fff; }
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--panel); border: 1px solid var(--line);
  padding: 12px 22px; font-size: 13px; z-index: 120;
  opacity: 0; pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.pagination { display:flex; gap:10px; list-style:none; padding:0; margin-top:8px; }
.pagination li a, .pagination li span { color: var(--mute); }
.pagination .active span { color: var(--gold); }

/* auth */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-visual {
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 48px;
  background:
    radial-gradient(circle at 50% 42%, rgba(38,161,123,.18), transparent 48%),
    var(--bg);
}
.auth-visual img.usdt { width: 160px; height: 160px; }
.auth-visual img.usdt-hero {
  width: min(280px, 70%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(38,161,123,.28));
}
.auth-visual h1 {
  margin-top: 28px;
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 28px;
  font-weight: 600;
}
.auth-visual p { color: var(--mute); margin-top: 10px; font-size: 13px; letter-spacing: 0.12em; }
.auth-form { display: flex; align-items: center; padding: 48px 64px; }
.auth-form .inner { width: min(420px, 100%); }
.auth-form h2 { font-family: var(--font-serif); font-size: 32px; margin-bottom: 8px; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row img { height: 42px; cursor: pointer; border: 1px solid var(--line); }
.switch { margin-top: 16px; color: var(--mute); font-size: 13px; }
.article { white-space: pre-wrap; color: #d9d2c4; line-height: 1.9; max-width: 760px; }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--gold); width: 36px; height: 36px; }
.mobile-nav {
  display: none; flex-direction: column; gap: 12px;
  padding: 16px 0 8px; border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }

.lang-dd { position: relative; display: inline-block; min-width: 118px; }
.lang-dd.nav-lang { min-width: 118px; flex: 0 0 auto; }
.lang-dd-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; height: 36px; padding: 0 12px 0 14px;
  border: 1px solid rgba(38,161,123,.35);
  background: linear-gradient(180deg, rgba(18,36,32,.95), rgba(10,18,16,.98));
  color: var(--gold-2); font-size: 13px; letter-spacing: 0.02em;
  cursor: pointer; transition: border-color .2s, box-shadow .2s, color .2s;
  border-radius: 8px;
}
.lang-dd-btn:hover, .lang-dd.open .lang-dd-btn {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 1px rgba(38,161,123,.18), 0 8px 24px rgba(0,0,0,.35);
  color: #9af0d4;
}
.lang-dd-current { white-space: nowrap; }
.lang-dd-caret {
  width: 8px; height: 8px; flex: 0 0 auto;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translateY(-2px);
  opacity: .85; transition: transform .2s;
}
.lang-dd.open .lang-dd-caret {
  transform: rotate(-135deg) translateY(-2px);
}
.lang-dd-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; left: 0;
  min-width: 100%; padding: 6px;
  background: linear-gradient(180deg, #1c1a16, #12110f);
  border: 1px solid rgba(201,169,98,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  z-index: 50;
  animation: langPop .16s ease-out;
}
.lang-dd.open .lang-dd-menu { display: block; }
.lang-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; color: var(--mute); font-size: 13px;
  text-decoration: none; transition: background .15s, color .15s;
}
.lang-dd-item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(201,169,98,.35);
  flex: 0 0 auto;
}
.lang-dd-item:hover {
  color: var(--gold-2); background: rgba(201,169,98,.08);
}
.lang-dd-item.on {
  color: #f0dfb0; background: rgba(201,169,98,.12);
}
.lang-dd-item.on::before {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 8px rgba(201,169,98,.45);
}
@keyframes langPop {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-lang {
  position: fixed; top: 18px; right: 18px; z-index: 30;
}
.lang-dd-mobile { width: 100%; max-width: 220px; margin: 4px 0; }
.lang-dd-mobile .lang-dd-menu { left: 0; right: auto; }

body.rtl { font-family: "Noto Sans Arabic", "Noto Sans SC", sans-serif; }
body.rtl .nav, body.rtl .nav-right, body.rtl .sec-head,
body.rtl .asset-bar, body.rtl footer, body.rtl .row,
body.rtl .hero-meta, body.rtl .captcha-row { direction: rtl; }
body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .auth-lang { right: auto; left: 18px; }
body.rtl .lang-dd-menu { right: auto; left: 0; }
body.rtl .swiper .cap { left: auto; right: 28px; text-align: right; }
body.rtl .dots { right: auto; left: 20px; }
body.rtl .market th, body.rtl .market td,
body.rtl .record th, body.rtl .record td { text-align: right; }
body.rtl .stake-card, body.rtl .field label, body.rtl .card h3 { text-align: right; }
body.rtl .brand-name { letter-spacing: 0.12em; text-indent: 0; }

@media (max-width: 900px) {
  .auth-page, .grid-2, .grid-3, .stake-grid { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form { padding: 40px 24px; }
  .nav {
    grid-template-columns: 1fr auto;
    height: 60px;
    gap: 10px;
  }
  .nav-links { display: none; }
  .nav-lang {
    display: inline-block;
    min-width: 0;
  }
  .nav-lang .lang-dd-btn {
    height: 32px; min-width: 96px; padding: 0 10px 0 10px;
    font-size: 12px; gap: 8px;
  }
  .brand-name { font-size: 18px; letter-spacing: 0.12em; }
  .nav-right { gap: 8px; }
  .nav-account { gap: 8px; font-size: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .asset-bar { padding: 0; min-height: 132px; border-radius: 18px; }
  .asset-main { padding: 24px 18px; max-width: 70%; }
  .asset-bar .bal-num { font-size: 28px; }
  .asset-bar .bal-unit { font-size: 15px; }
  .asset-coin { max-width: 46%; height: 108%; right: 0; }
  .asset-bar::after { font-size: 88px; right: 30%; }
  .stake-feats { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; }
  .wrap { width: min(100% - 32px, 1280px); }
}
