:root {
  --bg: #0b1a2e;
  --bg-2: #0f2035;
  --bg-3: #152d47;
  --bg-card: #112136;
  --bg-card-2: #163048;
  --border: #1d3a5c;
  --border-2: #254f7a;
  --text: #ffffff;
  --text-dim: #b8cfe8;
  --text-muted: #6a85a8;
  --blue: #5ba3f5;
  --blue-2: #4a91e8;
  --blue-glow: rgba(91, 163, 245, 0.32);
  --green: #00c853;
  --green-2: #00a846;
  --green-glow: rgba(0, 200, 83, 0.35);
  --red: #ff3d57;
  --red-2: #e62840;
  --red-glow: rgba(255, 61, 87, 0.35);
  --tg: #229ED9;
  --tg-2: #1b8cc0;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --navh: 68px;
  --toph: 56px;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  padding-top: var(--toph);
  padding-bottom: calc(var(--navh) + 18px);
}

.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -220px; right: -220px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(91,163,245,0.18) 0%, rgba(0,200,83,0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}
.bg-glow::after {
  content: '';
  position: fixed;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,200,83,0.12) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

/* ============ TOP BAR ============ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--toph);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(78, 143, 225, 0.18), rgba(78, 143, 225, 0.05));
  border: 1px solid rgba(78, 143, 225, 0.35);
  border-radius: 8px;
}
.brand__title { font-weight: 700; font-size: 15px; letter-spacing: -0.2px; line-height: 1.1; }
.brand__sub { font-size: 11px; color: var(--text-muted); line-height: 1.1; margin-top: 2px; }

.status {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 174, 96, 0.12);
  border: 1px solid rgba(15, 174, 96, 0.3);
  font-size: 11px; font-weight: 700; color: var(--green);
  letter-spacing: 0.8px;
}
.status__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:0.45;} }

/* ============ APP CONTAINER ============ */
.app {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 20px;
}
.view { display: none; animation: fadeIn 0.25s ease-out; }
.view--active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.page-head { margin-bottom: 16px; }
.page-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.page-head p { font-size: 13px; color: var(--text-muted); }

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 22px 0 12px;
}
.section-head h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }

.link-btn {
  background: transparent;
  border: none;
  color: var(--blue);
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 2px;
}
.link-btn:hover { filter: brightness(1.15); }

/* ============ HERO ============ */
.hero {
  text-align: center;
  padding: 8px 0 14px;
  margin-bottom: 16px;
}
.hero__avatar {
  position: relative;
  width: 96px; height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--blue), 0 12px 40px rgba(91, 163, 245, 0.5);
}
.hero__avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.hero__avatar-fallback {
  display: none;
  position: absolute; inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #4E8FE1 0%, #7a5cf5 100%);
  color: #fff;
  font-size: 30px; font-weight: 800; letter-spacing: 0.5px;
  align-items: center; justify-content: center;
}
.hero__avatar-badge {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 26px; height: 26px;
  background: var(--blue);
  border: 3px solid var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero__name { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 4px; }
.hero__role {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
  padding: 5px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.hero__verified {
  width: 16px; height: 16px;
  background: rgba(78, 143, 225, 0.2);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============ FOMO BANNER ============ */
.fomo {
  background: linear-gradient(135deg, rgba(15,174,96,0.14) 0%, rgba(78,143,225,0.1) 100%);
  border: 1px solid rgba(15, 174, 96, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.fomo::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.fomo__label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 8px;
  position: relative;
}
.fomo__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-dot 1.2s ease-in-out infinite;
}
.fomo__amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -1.5px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(0, 200, 83, 0.7), 0 0 80px rgba(0, 200, 83, 0.3);
  margin-bottom: 8px;
  position: relative;
}
.fomo__sub {
  font-size: 12px;
  color: var(--text-dim);
  position: relative;
}
.fomo__sub b { color: var(--text); font-weight: 700; }

/* ============ KPI ============ */
.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.kpi__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
}
.kpi__val {
  font-size: 19px; font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.4px; line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.kpi__val--green { color: var(--green); }
.kpi__lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 600;
}

/* ============ LOCKED CARD (main) ============ */
.locked-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.locked-card__bg {
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.locked-card__icon {
  width: 64px; height: 64px;
  background: rgba(78, 143, 225, 0.12);
  border: 1px solid rgba(78, 143, 225, 0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  position: relative;
}
.locked-card__title {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  position: relative;
}
.locked-card__desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
  line-height: 1.55;
  position: relative;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.locked-card__note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  position: relative;
}
.locked-card--sm { padding: 20px 16px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.15s, filter 0.15s;
  text-decoration: none;
  letter-spacing: 0.15px;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--full { width: 100%; }

.btn--tg {
  background: linear-gradient(135deg, var(--tg) 0%, var(--tg-2) 100%);
  color: #fff;
  box-shadow: 0 6px 28px rgba(34, 158, 217, 0.45);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn--tg:hover { filter: brightness(1.1); box-shadow: 0 8px 32px rgba(34, 158, 217, 0.6); }

.btn--green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #fff;
  box-shadow: 0 6px 28px rgba(0, 200, 83, 0.4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn--green:hover { filter: brightness(1.1); }

/* ============ FEED ============ */
.feed { display: flex; flex-direction: column; }
.feed--full { margin-bottom: 16px; }

/* PocketOption-style trade item */
.trade-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(34,58,94,0.6);
  background: var(--bg-card);
  transition: background 0.15s;
}
.trade-item:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.trade-item:last-child  { border-radius: 0 0 var(--radius-sm) var(--radius-sm); border-bottom: none; }
.trade-item:only-child  { border-radius: var(--radius-sm); border-bottom: none; }
.feed > .trade-item:first-child:last-child { border-radius: var(--radius-sm); }

.trade-item:hover { background: rgba(22,37,59,0.85); }

.trade-item__left {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  flex-shrink: 0;
}
.trade-item__star {
  width: 14px; height: 14px; display: block;
}
.trade-item__dir-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.trade-item__dir-arrow.up   { background: rgba(15,174,96,0.18); color: var(--green); }
.trade-item__dir-arrow.down { background: rgba(230,73,45,0.18); color: var(--red);   transform: rotate(180deg); }
.trade-item__dir-arrow svg  { width: 14px; height: 14px; }

.trade-item__body { flex: 1; min-width: 0; }

.trade-item__row1 {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.trade-item__pair {
  font-size: 13px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trade-item__pct {
  font-size: 11px; font-weight: 700; margin-left: 4px;
}
.trade-item__pct.win  { color: var(--green); }
.trade-item__pct.lose { color: var(--red); }
.trade-item__time {
  font-size: 11px; color: var(--text-muted);
  flex-shrink: 0; margin-left: 8px;
}

.trade-item__row2 {
  display: flex; align-items: center; gap: 6px;
}
.trade-item__invested {
  font-size: 12px; color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.trade-item__sep { font-size: 10px; color: var(--text-muted); }
.trade-item__total {
  font-size: 12px; font-variant-numeric: tabular-nums;
  flex: 1;
}
.trade-item__total.win  { color: var(--text-dim); }
.trade-item__total.lose { color: var(--text-muted); text-decoration: line-through; }
.trade-item__profit {
  font-size: 13px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}
.trade-item__profit.win  { color: var(--green); text-shadow: 0 0 10px rgba(0,200,83,0.5); }
.trade-item__profit.lose { color: var(--red);   text-shadow: 0 0 10px rgba(255,61,87,0.4); }

/* ============ PNL BAR ============ */
.pnl-bar {
  background: linear-gradient(135deg, rgba(15,174,96,0.12) 0%, rgba(78,143,225,0.08) 100%);
  border: 1px solid rgba(15, 174, 96, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.pnl-bar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pnl-bar__right { text-align: right; }
.pnl-bar__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pnl-bar__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.pnl-bar__value--blue { color: var(--blue); }

/* ============ TABS ============ */
.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
}
.tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.tab:hover { color: var(--text-dim); }
.tab--active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 10px rgba(78, 143, 225, 0.35);
}

/* ============ LOCKED INLINE CTA ============ */
.locked-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 8px;
}
.locked-inline__text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  flex: 1;
}

/* ============ STEPS ============ */
.steps {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 22px;
}
.step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(78, 143, 225, 0.18);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.step__title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.step__desc { font-size: 12.5px; color: var(--text-dim); }

/* ============ STATS GRID ============ */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px;
}
.stat-card__val {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-card__val--green { color: var(--green); }
.stat-card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(15,174,96,0.12) 0%, rgba(78,143,225,0.08) 100%);
  border-color: rgba(15,174,96,0.35);
}
.stat-card--wide .stat-card__val { font-size: 30px; margin-bottom: 4px; }
.stat-card--wide .stat-card__lbl { font-size: 12px; }
.stat-card__note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.stat-card__lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

/* ============ CHART ============ */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}
.chart-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.chart-card__title { font-weight: 700; font-size: 14px; letter-spacing: -0.2px; }
.chart-card__sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  height: 120px;
  padding: 0 2px;
}
.chart__bar {
  flex: 1;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  position: relative;
  transition: transform 0.2s;
}
.chart__bar.down { background: linear-gradient(180deg, var(--red) 0%, var(--red-2) 100%); }
.chart__bar:hover { transform: scaleY(1.04); }

/* ============ SUPPORT ============ */
.support-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px 22px;
  text-align: center;
  margin-bottom: 16px;
}
.support-card__avatar {
  position: relative;
  width: 82px; height: 82px;
  margin: 0 auto 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg-card-2), 0 0 0 5px var(--blue);
}
.support-card__avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.support-card__name { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 4px; }
.support-card__role { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }

.faq {
  display: flex; flex-direction: column; gap: 8px;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 10px;
  line-height: 1.5;
}

/* ============ BOTTOM NAV ============ */
.bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--navh);
  z-index: 50;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.bottomnav__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-weight: 600;
  font-size: 10.5px;
  cursor: pointer;
  border-radius: 10px;
  padding: 6px 4px;
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.2px;
}
.bottomnav__btn svg {
  width: 22px; height: 22px;
  color: currentColor;
}
.bottomnav__btn:hover { color: var(--text-dim); }
.bottomnav__btn--active {
  color: var(--blue);
  background: rgba(78, 143, 225, 0.1);
}

/* ============ START INSTRUCTIONS ============ */
.start-instructions {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.start-instructions__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.start-instructions__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(34,158,217,0.15);
  color: var(--tg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.start-instructions__icon--green { background: rgba(15,174,96,0.15); color: var(--green); }
.start-instructions__icon--blue  { background: rgba(78,143,225,0.15); color: var(--blue); }
.start-instructions__icon--gold  { background: rgba(255,193,7,0.15); color: #ffc107; }
.start-instructions__text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}
.start-instructions__text b { color: var(--text); }
.start-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  background: var(--green);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* ============ HOW STEPS (locked card) ============ */
.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 18px;
  flex-wrap: nowrap;
  position: relative;
}
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.how-step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(78, 143, 225, 0.15);
  border: 1px solid rgba(78, 143, 225, 0.4);
  color: var(--blue);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.how-step__text {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
}
.how-step__text b { color: var(--green); }
.how-step__arrow {
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-bottom: 10px;
}

/* ============ INSTRUCTION CARD (support) ============ */
.instruction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.instruction-card__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.instruction-step:last-child { border-bottom: none; padding-bottom: 0; }
.instruction-step:first-of-type { padding-top: 0; }
.instruction-step__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(34, 158, 217, 0.15);
  color: var(--tg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.instruction-step__icon--green {
  background: rgba(15, 174, 96, 0.15);
  color: var(--green);
}
.instruction-step__icon--gold {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}
.instruction-step__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.instruction-step__desc {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.45;
}
.start-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  background: var(--green);
  color: #fff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* ============ MONTHLY HERO ============ */
.monthly-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2a1a 0%, #0f1d33 60%, #112240 100%);
  border: 1px solid rgba(15,174,96,0.4);
  border-radius: var(--radius-lg);
  padding: 22px 20px 18px;
  margin-bottom: 14px;
  text-align: center;
}
.monthly-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(15,174,96,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.monthly-hero__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: #ffc107;
  margin-bottom: 8px; position: relative;
}
.monthly-hero__amount {
  font-size: 44px; font-weight: 800;
  color: var(--green);
  letter-spacing: -2px; line-height: 1;
  text-shadow: 0 0 40px rgba(0,200,83,0.7), 0 0 80px rgba(0,200,83,0.3);
  margin-bottom: 6px; position: relative;
  font-variant-numeric: tabular-nums;
}
.monthly-hero__sub {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 14px; position: relative;
}
.monthly-hero__badges {
  display: flex; justify-content: center; gap: 8px;
  position: relative;
}
.mbadge {
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.mbadge--green { background: rgba(15,174,96,0.18); color: var(--green); border: 1px solid rgba(15,174,96,0.35); }
.mbadge--blue  { background: rgba(78,143,225,0.18); color: var(--blue); border: 1px solid rgba(78,143,225,0.35); }

/* ============ RING STATS ============ */
.rings-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 12px;
}
.ring-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px 14px;
  text-align: center;
}
.ring-wrap {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto 12px;
}
.ring-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.ring-bg {
  fill: none;
  stroke: var(--bg-3);
  stroke-width: 10;
}
.ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ring-fill--green { stroke: var(--green); filter: drop-shadow(0 0 8px rgba(0,200,83,0.9)); }
.ring-fill--blue  { stroke: var(--blue);  filter: drop-shadow(0 0 8px rgba(91,163,245,0.9)); }
.ring-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
}
.ring-val {
  font-size: 20px; font-weight: 800;
  color: var(--green); letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.ring-val--blue { color: var(--blue); }
.ring-sub { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
.ring-card__title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.ring-card__period { font-size: 11px; color: var(--text-muted); }

/* stat-card icon */
.stat-card__icon { font-size: 20px; margin-bottom: 6px; line-height: 1; }
.stat-card--glow-green { border-color: rgba(15,174,96,0.35); }

/* chart extras */
.chart-total {
  font-size: 16px; font-weight: 800;
  color: var(--green); letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}
.chart-dates {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--text-muted);
  margin-top: 8px; padding: 0 2px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 420px) {
  .fomo__amount { font-size: 36px; }
  .hero__name { font-size: 20px; }
  .kpi__val { font-size: 17px; }
  .bottomnav__btn span { font-size: 10px; }
}

/* ============ COPY TRADING ============ */
.copy-hero {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 16px 16px;
  padding: 24px 20px 20px;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden; text-align: center;
}
.copy-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,200,83,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.copy-hero__avatar {
  position: relative; width: 72px; height: 72px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--blue);
  box-shadow: 0 0 18px rgba(91,163,245,0.4);
  margin-bottom: 10px;
}
.copy-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.copy-hero__name { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.copy-hero__stats { display: flex; align-items: center; gap: 0; width: 100%; justify-content: center; }
.copy-hero__stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.copy-hero__stat-val { font-size: 15px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.copy-hero__stat-val--green { color: var(--green); text-shadow: 0 0 10px rgba(0,200,83,0.5); }
.copy-hero__stat-lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.copy-hero__divider { width: 1px; height: 30px; background: var(--border); flex-shrink: 0; }

.copy-free-badge {
  display: flex; align-items: center; gap: 8px;
  margin: 0 16px 16px;
  background: rgba(0,200,83,0.1);
  border: 1px solid rgba(0,200,83,0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px; font-weight: 700; color: var(--green);
}

.copy-what {
  margin: 0 16px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.copy-what__title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.copy-what__text { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

.copy-benefits {
  margin: 0 16px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex; flex-direction: column; gap: 16px;
}
.copy-benefit { display: flex; align-items: flex-start; gap: 12px; }
.copy-benefit__icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.copy-benefit__icon--green { background: rgba(0,200,83,0.15); color: var(--green); }
.copy-benefit__icon--blue  { background: rgba(91,163,245,0.15); color: var(--blue); }
.copy-benefit__icon--gold  { background: rgba(255,193,7,0.15); color: #ffc107; }
.copy-benefit__title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.copy-benefit__desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.copy-how {
  margin: 0 16px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.copy-how__title { font-size: 14px; font-weight: 700; margin-bottom: 14px; }

/* users badge */
.users-badge {
  display: flex; align-items: center; gap: 8px;
  margin: 0 16px 16px;
  background: rgba(91,163,245,0.1);
  border: 1px solid rgba(91,163,245,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px; color: var(--text-dim);
}
.users-badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(0,200,83,0.8);
  flex-shrink: 0;
  animation: pulse 1.6s ease-in-out infinite;
}

/* ============ SIGNAL GENERATOR ============ */
.signal-gen {
  margin: 0 16px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(0,200,83,0.3);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.signal-gen__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.signal-gen__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px rgba(0,200,83,0.8);
  animation: pulse 1.6s ease-in-out infinite; flex-shrink: 0;
}
.signal-gen__selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.signal-gen__select {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  padding: 10px 12px; font-size: 13px; font-weight: 600;
  outline: none; cursor: pointer; width: 100%;
}
.signal-gen__btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border: none; border-radius: 12px; color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(0,200,83,0.4);
  transition: opacity .2s;
}
.signal-gen__btn:active { opacity: 0.8; }
.signal-gen__btn:disabled { opacity: 0.5; cursor: not-allowed; }

.signal-result {
  margin-top: 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 14px;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.signal-result__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.signal-result__pair { font-size: 16px; font-weight: 800; }
.signal-result__tf {
  font-size: 12px; font-weight: 700; padding: 3px 10px;
  background: rgba(91,163,245,0.15); color: var(--blue);
  border-radius: 20px;
}
.signal-result__dir {
  font-size: 28px; font-weight: 900; text-align: center;
  letter-spacing: 1px; margin-bottom: 10px;
}
.signal-result__dir.up { color: var(--green); text-shadow: 0 0 20px rgba(0,200,83,0.6); }
.signal-result__dir.down { color: var(--red); text-shadow: 0 0 20px rgba(255,61,87,0.6); }
.signal-result__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.signal-result__meta b { color: var(--text); }

/* ============ SUPPORT CHAT ============ */
.support-chat { margin: 0 16px 16px; }
.support-chat__notice {
  display: flex; align-items: center; gap: 8px;
  background: rgba(107,133,168,0.12);
  border: 1px solid rgba(107,133,168,0.2);
  border-radius: 10px; padding: 10px 14px;
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 12px;
}
.support-chat__sent {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,200,83,0.1); border: 1px solid rgba(0,200,83,0.25);
  border-radius: 10px; padding: 12px 14px;
  font-size: 13px; color: var(--green); font-weight: 600;
  margin-bottom: 12px;
}
.support-chat__input {
  width: 100%; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-size: 14px; padding: 12px 14px;
  resize: none; outline: none; font-family: inherit;
  margin-bottom: 10px; display: block;
}
.support-chat__input:focus { border-color: var(--blue); }
.support-chat__btn {
  width: 100%; padding: 13px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; color: var(--blue);
  font-size: 14px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s, border-color .2s;
}
.support-chat__btn:hover { background: rgba(91,163,245,0.1); border-color: var(--blue); }
