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

body {
  background: #0d0d0d;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── TICKER BAR ── */
.ticker-wrap {
  background: #111;
  border-bottom: 1px solid #1e1e1e;
  height: 36px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.ticker-wrap.bottom {
  border-bottom: none;
  border-top: 1px solid #1e1e1e;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  height: 36px;
  align-items: center;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track.rev   { animation-direction: reverse; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 20px;
  font-size: 12.5px;
  font-weight: 600;
  border-right: 1px solid #222;
}
.ticker-item .sym    { color: #aaa; }
.ticker-item .price  { color: #fff; }
.ticker-item .chg.up   { color: #0ecb81; }
.ticker-item .chg.down { color: #f6465d; }
.ticker-item .arrow.up   { color: #0ecb81; font-size: 9px; }
.ticker-item .arrow.down { color: #f6465d; font-size: 9px; }

/* ── PAGE WRAPPER ── */
.page {
  flex: 1;
  display: none;
  flex-direction: column;
}
.page.active { display: flex; }

/* ── MAIN ROW ── */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 80px;
  position: relative;
  overflow: hidden;
}

/* ── WATERMARK ── */
.watermark {
  position: absolute;
  font-size: 280px;
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.wm-tl { top: -60px; left: -30px; }
.wm-br { bottom: -60px; right: 20px; }
.wm-ml { top: 50%; left: -20px; transform: translateY(-50%); font-size: 200px; }
.wm-mr { top: 50%; right: 0;    transform: translateY(-50%); font-size: 200px; }

/* ── LEFT PANEL ── */
.left { max-width: 500px; z-index: 1; display: flex; flex-direction: column; }

/* ── LOGO IMAGE ── */
.logo-img     { height: 64px; width: auto; display: block; }
.nav-logo-img { height: 44px; width: auto; display: block; }

/* ── BADGE ── */
.badge-wrap {
  margin-top: auto;
  padding-top: 32px;
}
.badge-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  opacity: .92;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.logo .icon {
  width: 32px; height: 32px;
  background: #f0b90b;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #000;
}
.logo .brand { color: #f0b90b; font-size: 22px; font-weight: 700; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 13.5px;
  cursor: pointer;
  margin-bottom: 22px;
  transition: color .2s;
  text-decoration: none;
}
.back-link:hover { color: #f0b90b; }

.left h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}
.left .desc {
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── LOGIN FEATURES GRID ── */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.feature-card {
  background: #181818;
  border: 1px solid #252525;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #ddd;
}

/* ── COIN CARDS ── */
.coin-cards { display: flex; gap: 12px; }
.coin-card {
  flex: 1;
  background: #161616;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.coin-card .c-sym   { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.coin-card .c-price { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.coin-card .c-chg   { font-size: 12.5px; font-weight: 600; }
.coin-card .c-chg.up   { color: #0ecb81; }
.coin-card .c-chg.down { color: #f6465d; }

/* ── REGISTER STEPS LIST ── */
.steps-box {
  background: #161616;
  border: 1px solid #232323;
  border-radius: 14px;
  padding: 28px 24px;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #1e1e1e;
}
.step-item:last-child  { border-bottom: none; padding-bottom: 0; }
.step-item:first-child { padding-top: 0; }
.step-num {
  width: 30px; height: 30px; min-width: 30px;
  background: #f0b90b;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #000;
}
.step-text .st { font-size: 14.5px; font-weight: 600; color: #fff; }
.step-text .ss { font-size: 12.5px; color: #666; margin-top: 3px; }

/* ── RIGHT PANEL / CARD ── */
.right { z-index: 1; }
.card {
  background: #1a1a1a;
  border: 1px solid #282828;
  border-radius: 20px;
  padding: 40px 38px;
  width: 390px;
}
.card h2  { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.card .sub { color: #888; font-size: 14px; margin-bottom: 24px; }

/* ── PROGRESS BAR ── */
.progress-bar {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}
.prog-step::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #2a2a2a;
  z-index: 0;
}
.prog-step:last-child::after { display: none; }
.prog-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 2px solid #333;
  z-index: 1;
  position: relative;
}
.prog-step.active .prog-dot {
  background: #f0b90b;
  border-color: #f0b90b;
  box-shadow: 0 0 8px rgba(240,185,11,.5);
}
.prog-step.done .prog-dot { background: #0ecb81; border-color: #0ecb81; }
.prog-step.done::after    { background: #0ecb81; }
.prog-label { font-size: 11px; color: #555; font-weight: 600; }
.prog-step.active .prog-label { color: #f0b90b; }
.prog-step.done   .prog-label { color: #0ecb81; }

/* ── FORM FIELDS ── */
.field-label { font-size: 13px; color: #ccc; margin-bottom: 8px; }
.input-wrap {
  background: #111;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  margin-bottom: 18px;
  height: 50px;
  transition: border-color .2s;
  position: relative;
}
.input-wrap:focus-within { border-color: #f0b90b; }
.input-wrap.err { border-color: #f6465d !important; }
.input-wrap.ok  { border-color: #0ecb81 !important; }
.input-wrap .ico { font-size: 15px; color: #555; flex-shrink: 0; }
.input-wrap input,
.input-wrap select {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  width: 100%;
  cursor: pointer;
}
.input-wrap input::placeholder { color: #3a3a3a; }
.input-wrap select option       { background: #1a1a1a; }
.eye-btn {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 15px;
  padding: 0;
  flex-shrink: 0;
}
.eye-btn:hover { color: #aaa; }

/* ── PASSWORD STRENGTH ── */
.strength-bar {
  height: 4px;
  border-radius: 4px;
  background: #222;
  margin: -12px 0 16px;
  overflow: hidden;
}
.strength-fill {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width .3s, background .3s;
}
.strength-label {
  font-size: 11px;
  text-align: right;
  margin-top: -14px;
  margin-bottom: 16px;
  color: #555;
}

/* ── BUTTONS ── */
.btn-primary {
  width: 100%;
  height: 52px;
  background: #f0b90b;
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-bottom: 14px;
}
.btn-primary:hover  { background: #e0aa00; }
.btn-primary:active { transform: scale(.98); }

.btn-outline {
  width: 100%;
  height: 52px;
  background: transparent;
  border: 1px solid #333;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-bottom: 18px;
}
.btn-outline:hover { border-color: #f0b90b; background: rgba(240,185,11,.05); }

.step-btns {
  display: flex;
  gap: 10px;
}
.step-btns .btn-outline  { flex: 1;  margin-bottom: 0; }
.step-btns .btn-primary  { flex: 2;  margin-bottom: 0; }

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #444;
  font-size: 13px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #2a2a2a;
}

/* ── FOOTER TEXT ── */
.edu-note {
  text-align: center;
  color: #555;
  font-size: 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.signin-link {
  text-align: center;
  font-size: 13.5px;
  color: #888;
}
.signin-link a {
  color: #f0b90b;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.signin-link a:hover { text-decoration: underline; }

/* ── FORM ERROR ── */
.form-err {
  color: #f6465d;
  font-size: 12px;
  margin-bottom: 12px;
  min-height: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── MATCH MSG ── */
.match-msg {
  font-size: 11px;
  margin: -12px 0 14px;
}

/* ── DONE SCREEN ── */
.done-screen {
  text-align: center;
  padding: 10px 0 6px;
}
.done-screen .done-emoji { font-size: 64px; margin-bottom: 16px; }
.done-screen h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.done-screen .done-desc {
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.done-screen .done-amount {
  color: #f0b90b;
  font-size: 20px;
  font-weight: 800;
}
.done-info {
  background: #161616;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
  text-align: left;
}
.done-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #1e1e1e;
}
.done-row:last-child { border-bottom: none; }
.done-row .lbl { color: #666; font-size: 13px; }
.done-row .val { font-size: 13px; font-weight: 600; color: #ddd; }
.done-row .val.green { color: #0ecb81; }

/* ── STEP FADE ANIMATION ── */
#step1, #step2, #step3 {
  animation: fadeIn .25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .main      { flex-direction: column; gap: 36px; padding: 28px 16px; }
  .left h1   { font-size: 32px; }
  .card      { width: 100%; max-width: 420px; padding: 30px 22px; }
  .badge-wrap { display: none; }
}

/* ════════════════════════════════════════
   SITE FOOTER
════════════════════════════════════════ */
.site-footer {
  background: #0d0d0d;
  border-top: 1px solid #1a1a1a;
  padding: 18px 32px;
  flex-shrink: 0;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-lang {
  display: flex;
  align-items: center;
  gap: 7px;
}
.fl-globe { font-size: 15px; color: #555; }
.lang-select {
  background: transparent;
  border: none;
  outline: none;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 4px;
}
.lang-select option { background: #1a1a1a; color: #fff; }
.lang-select:hover { color: #aaa; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-link {
  color: #555;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: #bbb; }

/* ── SUPPORT FLOAT BUTTON ── */
.btn-support {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #f0b90b;
  border: none;
  border-radius: 16px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(240,185,11,.35);
  transition: transform .2s, box-shadow .2s, background .2s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-support:hover {
  background: #e0aa00;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(240,185,11,.45);
}
.btn-support:active { transform: scale(.93); }

/* ── SUPPORT MODAL OVERLAY ── */
.support-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 1100;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 28px 96px;
}
.support-overlay.open { display: flex; }

.support-modal {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  width: 360px;
  max-width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  overflow: hidden;
  animation: smSlideUp .25s ease;
}
@keyframes smSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #222;
}
.sm-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.sm-hicon {
  width: 34px; height: 34px;
  background: #f0b90b;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.sm-close {
  background: none;
  border: none;
  color: #555;
  font-size: 16px;
  cursor: pointer;
  width: 28px; height: 28px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  display: flex; align-items: center; justify-content: center;
}
.sm-close:hover { background: #222; color: #fff; }

.sm-body { padding: 18px 20px 20px; }
.sm-desc { color: #666; font-size: 13px; margin-bottom: 16px; line-height: 1.5; }

.sm-field { margin-bottom: 14px; }
.sm-label { display: block; font-size: 12px; color: #aaa; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px; }
.sm-input {
  width: 100%;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 9px;
  color: #fff;
  font-size: 13.5px;
  padding: 10px 13px;
  outline: none;
  font-family: inherit;
  transition: border-color .2s;
}
.sm-input:focus { border-color: #f0b90b; }
.sm-input option { background: #1a1a1a; }
.sm-textarea {
  width: 100%;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 9px;
  color: #fff;
  font-size: 13.5px;
  padding: 10px 13px;
  outline: none;
  font-family: inherit;
  resize: vertical;
  min-height: 88px;
  transition: border-color .2s;
}
.sm-textarea:focus { border-color: #f0b90b; }
.sm-textarea::placeholder,
.sm-input::placeholder { color: #3a3a3a; }

.sm-err { color: #f6465d; font-size: 12px; min-height: 16px; margin-bottom: 8px; }

.sm-submit {
  width: 100%;
  height: 46px;
  background: #f0b90b;
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .1s;
  font-family: inherit;
}
.sm-submit:hover  { background: #e0aa00; }
.sm-submit:active { transform: scale(.98); }

/* Success state */
.sm-success { text-align: center; padding: 10px 0 6px; }
.sm-success .ss-emoji { font-size: 52px; margin-bottom: 14px; }
.sm-success h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.sm-success p  { color: #aaa; font-size: 13.5px; line-height: 1.6; margin-bottom: 8px; }
.ss-cat { margin-bottom: 18px !important; }
.ss-cat span { color: #f0b90b; font-weight: 600; }
