/* ── Reset & Base ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #000000;
  --bg-card: #0a0a0a;
  --bg-input: #111111;
  --border: #1a1a1a;
  --border-gold: #2a2008;
  --text: #f5f0e8;
  --text-muted: #7a7568;
  --green: #4ade80;
  --red: #ef4444;
  --blue: #58a6ff;
  --gold: #d4a847;
  --gold-light: #f0d78c;
  --gold-dark: #8b6914;
  --accent: #d4a847;
  --accent-hover: #e8be5a;
  --radius: 16px;
  --shadow-gold: 0 0 20px rgba(212, 168, 71, 0.08);
  --gradient-gold: linear-gradient(135deg, #d4a847 0%, #f0d78c 50%, #d4a847 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

#app {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  background: linear-gradient(180deg, #0d0d0d 0%, #000000 100%);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.header-left { display: flex; align-items: center; gap: 10px; }
.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 10px rgba(212, 168, 71, 0.15);
}
.header-title {
  font-size: 17px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

.header-right { display: flex; align-items: center; gap: 8px; }

/* Lang Toggle */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 12px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid var(--gold-dark);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.lang-switch:active {
  background: rgba(212, 168, 71, 0.1);
}
.lang-option {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.lang-option.active {
  color: var(--gold);
}
.lang-sep {
  font-size: 10px;
  color: var(--text-muted);
}

/* Tier Badge */
.tier-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tier-badge.basic { border-color: var(--gold-dark); color: var(--gold); }
.tier-badge.pro {
  border-color: var(--gold);
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(212,168,71,0.1), rgba(212,168,71,0.05));
}
.tier-badge.premium {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(240,215,140,0.15), rgba(212,168,71,0.05));
  box-shadow: 0 0 12px rgba(212,168,71,0.2);
}

/* ── Tab Bar ── */
.tab-bar {
  display: flex;
  background: #050505;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 55px;
  z-index: 9;
}

.tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.tab-btn .tab-icon { font-size: 18px; }
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Tab Content ── */
.tab-content { display: none; padding: 16px; }
.tab-content.active { display: block; }

/* ── Card ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,71,0.2), transparent);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold);
  letter-spacing: -0.2px;
}

.card-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 16px;
}

/* ── Forms ── */
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input, select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s ease;
  -webkit-appearance: none;
}

input:focus, select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(212, 168, 71, 0.08);
}
input::placeholder { color: #3a3a3a; }

select option { background: #111; color: var(--text); }
select optgroup { color: var(--gold); font-weight: 600; }

/* ── Buttons ── */
.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--gradient-gold);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transition: transform 0.5s ease;
  transform: translateX(-100%);
}

.btn-primary:active {
  opacity: 0.85;
  transform: scale(0.98);
}

.btn-primary:active::after {
  transform: translateX(100%);
}

.btn-danger {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: var(--red);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-danger:active { background: rgba(239, 68, 68, 0.1); }

.btn-toggle {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-toggle.active {
  border-color: var(--gold-dark);
  color: var(--gold);
  background: rgba(212, 168, 71, 0.05);
}

/* ── Result Box ── */
.result-box {
  margin-top: 16px;
  background: var(--bg-input);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.result-row:last-child { border-bottom: none; }
.result-row.highlight {
  background: linear-gradient(135deg, rgba(212,168,71,0.06), rgba(212,168,71,0.02));
}

.result-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.result-value {
  font-weight: 700;
  font-size: 15px;
  color: var(--gold);
}

.result-row.highlight .result-value {
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(212, 168, 71, 0.3);
}

/* ── Alert Items ── */
.alert-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}

.alert-item:last-child { border-bottom: none; }

.alert-info { flex: 1; }

.alert-symbol {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.alert-price {
  font-size: 13px;
  margin-top: 3px;
  font-weight: 500;
}

.alert-price.above { color: var(--green); }
.alert-price.below { color: var(--red); }

.alert-cond-line {
  font-size: 13px;
  color: var(--gold-light);
  margin-top: 2px;
  line-height: 1.5;
}

.alert-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.alert-actions { display: flex; gap: 6px; flex-shrink: 0; }

.alert-inactive .alert-symbol,
.alert-inactive .alert-price { opacity: 0.35; }

/* ── Info Card ── */
.info-card { border-color: var(--border-gold); }
.info-card .card-title { color: var(--gold); }

.info-list {
  list-style: none;
  counter-reset: info-counter;
  margin-bottom: 12px;
}

.info-list li {
  counter-increment: info-counter;
  padding: 6px 0 6px 32px;
  position: relative;
  color: var(--text-muted);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child { border-bottom: none; }

.info-list li::before {
  content: counter(info-counter);
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: var(--bg-input);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
}

.code-block {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 11px;
  color: var(--gold);
  word-break: break-all;
  margin-top: 8px;
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 0;
  font-size: 13px;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: var(--text);
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
}

.toast.success {
  background: linear-gradient(135deg, #1a2e1a, #0a0a0a);
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--green);
}
.toast.error {
  background: linear-gradient(135deg, #2e1a1a, #0a0a0a);
  border-color: rgba(239, 68, 68, 0.2);
  color: var(--red);
}

/* ── Tier Card ── */
.tier-card {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, #0d0b05, #0a0a0a);
}
.tier-card::before {
  background: linear-gradient(90deg, transparent, rgba(212,168,71,0.3), transparent);
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.tier-header span:first-child { font-size: 16px; font-weight: 800; color: var(--gold); }
.tier-interval { font-size: 12px; color: var(--text-muted); }
.tier-limits { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.tier-upgrade-list { display: flex; flex-direction: column; gap: 6px; }
.tier-upgrade-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-input);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.tier-upgrade-item:active { border-color: var(--gold-dark); }
.tier-upgrade-item .tier-upgrade-name { font-size: 13px; font-weight: 600; }
.tier-upgrade-item .tier-upgrade-price { font-size: 12px; color: var(--text-muted); }
.tier-upgrade-item .tier-upgrade-interval { font-size: 11px; color: var(--gold); font-weight: 600; }

/* ── Alert type form ── */
.tier-required-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(212, 168, 71, 0.06);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: -6px;
  margin-bottom: 8px;
  padding: 0 2px;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.card-title-row .card-title { margin-bottom: 0; }
.alert-counter { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Alert type pill */
.alert-type-pill {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 8px;
  margin-top: 3px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.pill-price  { background: rgba(212,168,71,.1); color: var(--gold); }
.pill-rsi    { background: rgba(74,222,128,.1);  color: var(--green); }
.pill-stoch  { background: rgba(240,215,140,.1); color: var(--gold-light); }
.pill-macd   { background: rgba(239,68,68,.1);   color: var(--red); }

/* ── Utilities ── */
.hidden { display: none !important; }
.success-msg {
  color: var(--gold);
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
  font-weight: 600;
}

/* ── Coach Tab ── */
.side-toggle {
  display: flex;
  gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}

.side-btn {
  flex: 1;
  padding: 8px 0;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.side-btn.buy.active {
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.3);
}

.side-btn.sell.active {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.3);
}

.tp-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.tp-input {
  flex: 1;
  margin: 0;
}

.tp-percent-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-input);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0 10px 0 8px;
  height: 38px;
  flex-shrink: 0;
}

.tp-percent-wrap.hidden {
  display: none;
}

.tp-percent {
  width: 42px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--gold) !important;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.tp-percent::-webkit-outer-spin-button,
.tp-percent::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tp-percent-sign {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
}

.btn-tp-remove {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  line-height: 1;
}

.btn-tp-remove:active {
  border-color: var(--red);
  color: var(--red);
}

.btn-add-tp {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px dashed var(--border-gold);
  border-radius: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.2s;
}

.btn-add-tp:active {
  background: rgba(212, 168, 71, 0.05);
  border-color: var(--gold);
}

.btn-copy {
  padding: 6px 14px;
  background: var(--gradient-gold);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.btn-copy:active { opacity: 0.85; transform: scale(0.96); }
.btn-copy.copied {
  background: var(--green);
  color: #000;
}

/* ── Multi-Condition Alert ── */
.multi-cond-info {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(212, 168, 71, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
  text-align: center;
}

.cond-block {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.cond-block:has(input[type="checkbox"]:checked) {
  border-color: var(--gold-dark);
  background: linear-gradient(135deg, rgba(212,168,71,0.04), var(--bg-input));
}

.cond-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}

.cond-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.cond-fields {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.cond-fields.hidden {
  display: none;
}

/* ── Mode Toggle (Calculator: %/$ , pips/price) ── */
.label-with-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.label-with-toggle label { margin-bottom: 0; }

.mode-toggle {
  display: flex;
  gap: 2px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.mode-btn {
  padding: 4px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.mode-btn.active {
  background: var(--gradient-gold);
  color: #000;
  box-shadow: 0 0 8px rgba(212, 168, 71, 0.2);
}

.optional-tag {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}

/* ── Sub-tab Bar (inside Settings tab) ── */
.subtab-bar {
  display: flex;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 14px;
}

.subtab-btn {
  flex: 1;
  padding: 10px 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}

.subtab-btn.active {
  background: var(--gradient-gold);
  color: #000;
  box-shadow: 0 0 12px rgba(212, 168, 71, 0.15);
}

.subtab-content { display: none; }
.subtab-content.active { display: block; }

/* ── Service show/hide toggles ── */
.service-toggles {
  display: flex;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.service-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
}

.service-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.service-toggle:has(input:checked) {
  color: var(--gold);
}

/* ── Indicator Settings Sections ── */
.ind-section {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

.ind-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

/* ── Hook Sections (Telegram/Discord) ── */
.hook-section {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.hook-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hook-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.3px;
}

.btn-guide {
  padding: 5px 12px;
  background: transparent;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-guide:active {
  background: rgba(212, 168, 71, 0.1);
}

.guide-box {
  background: #050505;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.guide-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.guide-steps {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  margin: 0;
}

.guide-steps li {
  counter-increment: guide-counter;
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
  border-bottom: 1px dashed var(--border);
}

.guide-steps li:last-child { border-bottom: none; }

.guide-steps li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  background: var(--bg-input);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
}

.guide-steps li b {
  color: var(--gold-light);
  font-weight: 700;
}

.guide-steps li code {
  background: rgba(212, 168, 71, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'SF Mono', 'Courier New', monospace;
  font-size: 11px;
  color: var(--gold);
}

.guide-note {
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(239, 68, 68, 0.06);
  border-left: 2px solid var(--red);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.send-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-input);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-send:active { transform: scale(0.97); }

.btn-send-tg:hover, .btn-send-tg:active {
  border-color: #26a5e4;
  background: rgba(38, 165, 228, 0.1);
  color: #5dc3ef;
}

.btn-send-dc:hover, .btn-send-dc:active {
  border-color: #5865f2;
  background: rgba(88, 101, 242, 0.1);
  color: #8590ff;
}

.btn-send.sent {
  border-color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
}

.coach-output {
  background: var(--bg-input);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 16px;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--gold-light);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ── Selection ── */
::selection { background: rgba(212, 168, 71, 0.2); color: var(--gold-light); }

/* ── EA Trade Tab ── */
/* ── Tab Description ── */
.tab-desc-card { padding: 16px 20px; }
.tab-desc-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tab-desc-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.tab-desc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.tab-desc-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}
.tab-desc-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tab-desc-step {
  display: flex;
  gap: 10px;
  align-items: center;
}
.tab-desc-step-num {
  font-size: 11px;
  font-weight: 800;
  color: #000;
  background: var(--gold);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tab-desc-step span:last-child {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}
.tab-desc-hint {
  font-size: 12px;
  color: var(--gold);
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(212,168,71,0.04);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  line-height: 1.6;
}
.tab-desc-note {
  font-size: 11px;
  color: var(--red);
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.1);
  border-radius: 8px;
  text-align: center;
  line-height: 1.5;
}

/* EA Catalog */
.ea-catalog-header { text-align: center; }
.ea-coming-soon {
  text-align: center;
  padding: 40px 20px;
}
.ea-coming-soon-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.ea-coming-soon-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.ea-coming-soon-desc {
  font-size: 14px;
  color: var(--text-muted);
}
.ea-catalog-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -8px;
}
.ea-catalog-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.ea-catalog-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,71,0.2), transparent);
}
.ea-catalog-item:active { transform: scale(0.98); border-color: var(--gold-dark); }
.ea-catalog-img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  object-fit: cover;
  flex-shrink: 0;
}
.ea-catalog-info { flex: 1; }
.ea-catalog-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.ea-catalog-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.ea-catalog-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(212,168,71,0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.ea-catalog-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-light);
}
.ea-catalog-arrow {
  font-size: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.ea-detail-page { }
.ea-back-catalog {
  position: sticky;
  top: 110px;
  z-index: 8;
  background: var(--bg);
  padding: 10px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
}

.ea-hero-card { padding: 0; overflow: hidden; }
.ea-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  background: radial-gradient(ellipse at center top, rgba(212,168,71,0.06) 0%, transparent 70%);
}
.ea-product-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 8px 32px rgba(212,168,71,0.12), 0 0 60px rgba(212,168,71,0.04);
  transition: transform 0.3s ease;
}
.ea-product-img:active { transform: scale(0.97); }
.ea-hero-info {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}
.ea-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(212,168,71,0.08);
  margin-bottom: 12px;
}
.ea-title {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.ea-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.ea-price-tag {
  margin-bottom: 20px;
}
.ea-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-light);
}
.ea-price-unit {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 4px;
}
/* EA Promo */
.ea-promo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
@keyframes promoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.1); }
  50% { box-shadow: 0 0 16px 2px rgba(239,68,68,0.12); }
}
.ea-promo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
}
.ea-promo-live {
  background: linear-gradient(135deg, rgba(239,68,68,0.08) 0%, rgba(239,68,68,0.02) 100%);
  border: 1px solid rgba(239,68,68,0.2);
  animation: promoPulse 2s ease-in-out infinite;
}
.ea-promo-demo {
  background: linear-gradient(135deg, rgba(74,222,128,0.08) 0%, rgba(74,222,128,0.02) 100%);
  border: 1px solid rgba(74,222,128,0.2);
}
.ea-promo-divider { display: none; }
.ea-promo-flash {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  text-align: center;
  line-height: 1;
}
.ea-promo-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ea-promo-title {
  font-size: 13px;
  font-weight: 800;
  color: #ff6b6b;
  white-space: nowrap;
}
.ea-promo-title-green { color: var(--green); }
.ea-promo-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
.ea-catalog-promo {
  font-size: 10px;
  font-weight: 700;
  color: #ff6b6b;
  margin-top: 4px;
}
.ea-cta-promo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.ea-cta-promo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
}
.ea-cta-promo-row:first-child {
  background: linear-gradient(135deg, rgba(239,68,68,0.08) 0%, rgba(239,68,68,0.02) 100%);
  border: 1px solid rgba(239,68,68,0.2);
  animation: promoPulse 2s ease-in-out infinite;
}
.ea-cta-promo-row:last-child {
  background: linear-gradient(135deg, rgba(74,222,128,0.08) 0%, rgba(74,222,128,0.02) 100%);
  border: 1px solid rgba(74,222,128,0.2);
}
.ea-cta-promo-divider { display: none; }
.ea-cta-promo-fire {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  text-align: center;
  line-height: 1;
}
.ea-cta-promo-title {
  font-size: 14px;
  font-weight: 800;
  color: #ff6b6b;
}
.ea-cta-promo-title-green { color: var(--green); }
.ea-cta-promo-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.5;
}
.ea-btn-detail {
  width: 100%;
  font-size: 15px;
  padding: 14px;
}

/* EA Back Button */
.ea-back-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.ea-back-btn:active { background: var(--bg-card); color: var(--gold); }

/* EA Stats Grid */
.ea-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ea-stat-item {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.ea-stat-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.ea-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.ea-stat-value.gold { color: var(--gold); }

/* Backtest Tabs */
.ea-bt-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.ea-bt-tab {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.ea-bt-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,71,0.08);
}
.ea-bt-content { display: none; }
.ea-bt-content.active { display: block; }

.ea-bt-section { margin-bottom: 14px; }
.ea-bt-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.ea-bt-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s;
}
.ea-bt-img:active { transform: scale(0.98); }

/* Key Stats */
.ea-key-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.ea-ks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: var(--bg-input);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.ea-ks-label {
  font-size: 10px;
  color: var(--text-muted);
}
.ea-ks-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.ea-ks-val.green { color: var(--green); }
.ea-ks-val.red { color: var(--red); }

/* CTA Card */
.ea-cta-card {
  background: linear-gradient(180deg, #0d0b06 0%, #0a0a0a 100%);
  border-color: var(--gold-dark);
}
.ea-cta-header {
  text-align: center;
  margin-bottom: 16px;
}
.ea-cta-icon { font-size: 36px; margin-bottom: 8px; }
.ea-cta-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}
.ea-cta-price-box {
  text-align: center;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(212,168,71,0.06);
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
}
.ea-cta-price {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ea-cta-per {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}
.ea-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.ea-features li {
  font-size: 13px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.ea-features li:last-child { border-bottom: none; }
.ea-contact-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  padding: 16px;
  background: var(--gradient-gold);
  color: #000;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}
.ea-contact-btn:active { opacity: 0.85; }
.ea-contact-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* EA Description */
.ea-desc-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ea-desc-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ea-desc-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ea-desc-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.ea-desc-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.ea-desc-tf-grid { display: flex; flex-direction: column; gap: 8px; }
.ea-desc-tf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.ea-desc-tf-badge {
  font-size: 11px;
  font-weight: 800;
  color: #000;
  background: var(--gradient-gold);
  padding: 4px 10px;
  border-radius: 6px;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.ea-desc-tf-text {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}
.ea-desc-list {
  list-style: none;
  padding: 0;
}
.ea-desc-list li {
  font-size: 12px;
  color: var(--text);
  padding: 6px 0;
  padding-left: 8px;
  border-left: 2px solid var(--gold-dark);
  margin-bottom: 6px;
  line-height: 1.5;
}
.ea-desc-steps { display: flex; flex-direction: column; gap: 10px; }
.ea-desc-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.ea-desc-step-num {
  font-size: 14px;
  font-weight: 800;
  color: #000;
  background: var(--gold);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ea-desc-step-text {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}
.ea-desc-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ea-desc-filter {
  padding: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.ea-desc-filter-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.ea-desc-filter-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── XM IB Referral ── */
.xm-card { overflow: hidden; }
.xm-header {
  text-align: center;
  margin-bottom: 20px;
}
.xm-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(212,168,71,0.08);
  margin-bottom: 12px;
}
.xm-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: -8px;
}
.xm-plan {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.xm-plan-recommended {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,168,71,0.06) 0%, var(--bg-input) 100%);
  box-shadow: 0 0 20px rgba(212,168,71,0.06);
}
.xm-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.xm-plan-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.xm-plan-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.xm-plan-rec {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--gold);
  color: #000;
}
.xm-plan-percent {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.xm-plan-percent.sm {
  font-size: 20px;
}
.xm-plan-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.xm-plan-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
}
.xm-plan-code-label {
  font-size: 11px;
  color: var(--text-muted);
}
.xm-plan-code-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.xm-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  padding: 14px;
  width: 100%;
}
.xm-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.xm-toggle:active { background: var(--bg-input); }
.xm-toggle-arrow {
  transition: transform 0.3s;
  font-size: 10px;
}
.xm-toggle.open .xm-toggle-arrow { transform: rotate(180deg); }
.xm-other { display: flex; flex-direction: column; gap: 0; }
.xm-other.hidden { display: none; }
.xm-plan-alt { margin-bottom: 10px; }
.xm-plan-alt:last-child { margin-bottom: 12px; }
.xm-note {
  padding: 12px;
  background: rgba(212,168,71,0.04);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  text-align: center;
}
.xm-note p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Login Wall ── */
.login-wall {
  padding: 16px;
}
.login-wall.hidden { display: none; }
.login-wall-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.login-wall-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,71,0.2), transparent);
}
.login-wall-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.login-wall-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.login-wall-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 0 8px;
}
.login-wall-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}
.login-wall-step {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.login-wall-step-num {
  font-size: 14px;
  font-weight: 800;
  color: #000;
  background: var(--gold);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.login-wall-step-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.login-wall-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  text-align: left;
}
.login-wall-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
}
.login-wall-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 20px 0;
}
.login-wall-lock-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.login-wall-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  padding: 14px;
  background: #06C755;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}
.login-wall-btn:active { opacity: 0.85; }
.login-wall-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ── Contact Tab ── */
.contact-card { padding: 0; overflow: hidden; }
.contact-header {
  text-align: center;
  padding: 32px 20px 24px;
  background: radial-gradient(ellipse at center top, rgba(212,168,71,0.06) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.contact-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(212,168,71,0.15);
  margin-bottom: 14px;
}
.contact-brand {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.contact-tagline {
  font-size: 13px;
  color: var(--text-muted);
}
.contact-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.contact-item:active { transform: scale(0.98); }
.contact-line:hover, .contact-line:active {
  border-color: #06C755;
  box-shadow: 0 0 16px rgba(6,199,85,0.1);
}
.contact-discord:hover, .contact-discord:active {
  border-color: #5865F2;
  box-shadow: 0 0 16px rgba(88,101,242,0.1);
}
.contact-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-line { background: #06C755; }
.contact-icon-discord { background: #5865F2; }
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.contact-action {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  white-space: nowrap;
  transition: all 0.2s;
}
.contact-line:hover .contact-action {
  border-color: #06C755;
  color: #06C755;
  background: rgba(6,199,85,0.08);
}
.contact-discord:hover .contact-action {
  border-color: #5865F2;
  color: #5865F2;
  background: rgba(88,101,242,0.08);
}
.contact-partner {
  margin: 0 16px 16px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(88,101,242,0.04) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(88,101,242,0.15);
  border-radius: 12px;
}
.contact-partner-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(88,101,242,0.1);
  border: 1px solid rgba(88,101,242,0.3);
  color: #7c8aff;
  margin-bottom: 10px;
}
.contact-partner-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.contact-partner-perks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-partner-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
  padding: 8px 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.contact-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.contact-footer-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* EA Disclaimer */
.ea-disclaimer-card {
  border-color: rgba(239,68,68,0.15);
  background: linear-gradient(180deg, rgba(239,68,68,0.03) 0%, var(--bg-card) 100%);
}
.ea-disclaimer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ea-disclaimer-icon { font-size: 20px; }
.ea-disclaimer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.3px;
}
.ea-disclaimer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.ea-disc-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ea-disc-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px solid var(--border);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.ea-disc-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.ea-disclaimer-footer {
  padding: 14px;
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.1);
  border-radius: 10px;
  text-align: center;
}
.ea-disclaimer-footer p {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  line-height: 1.6;
}
.ea-disclaimer-footer p:first-child {
  margin-bottom: 4px;
}

/* EA Image Lightbox */
.ea-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ea-lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 8px;
}
