:root {
  --bg: #000000;
  --card: #0d0d0d;
  --card-2: #141414;
  --border: #2a2a2a;
  --orange: #ff6a00;
  --orange-2: #ff8c00;
  --orange-glow: rgba(255, 106, 0, .15);
  --white: #ffffff;
  --grey: #888888;
  --green: #00c853;
  --bronze: #cd7f32;
  --silver: #c0c0c0;
  --gold: #ffd700;
  --diamond: #ff6a00;
}

* { letter-spacing: 0; }
html { background: var(--bg); }
body, .ox-body, .activate-body, .dashboard-body { background: var(--bg); color: var(--white); font-family: Inter, sans-serif; font-weight: 400; }
h1, h2, h3, .section-head h2, .dashboard-section-title h2 { font-family: Orbitron, sans-serif; font-weight: 700; }
button, .ox-btn, .primary-btn, .secondary-btn, .ghost-btn, .secondary-link { font-family: Inter, sans-serif; font-weight: 600; text-transform: uppercase; }
.hidden { display: none !important; }

.ox-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  min-height: 64px;
  height: 64px;
  padding: 0 24px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  backdrop-filter: none;
}
.header-brand-lockup { display: flex; align-items: center; gap: 14px; height: 64px; }
.ox-brand { width: auto; height: 58px; overflow: visible; }
.ox-brand img { width: auto; height: 58px; object-fit: contain; filter: none; transition: filter .2s ease; }
.ox-brand:hover img { filter: drop-shadow(0 0 8px var(--orange)); }
.header-brand-lockup > span { color: var(--orange); font: 700 10px Orbitron, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ox-nav .wallet-actions { flex-wrap: nowrap; width: auto; }
.ox-nav .ox-btn { min-width: 96px; min-height: 40px; padding: 0 18px; border-radius: 10px; color: var(--white); font-size: 13px; }
.ox-nav .ox-btn-dark { border: 1px solid var(--border); background: var(--card-2); box-shadow: none; }
.ox-nav .ox-btn-dark:hover { color: var(--orange); border-color: var(--orange); }
.ox-nav .ox-btn-gold, .primary-btn { border: 0; color: var(--white); background: linear-gradient(135deg, var(--orange), #cc4400); box-shadow: none; }
.ox-nav .ox-btn-gold:hover, .primary-btn:hover { filter: brightness(1.1); box-shadow: 0 0 24px var(--orange-glow); }

.orbitx-launch-hero { min-height: 670px; padding-top: 72px; background-color: var(--bg); }
.orbitx-launch-hero .ox-kicker { color: var(--white); border-color: var(--orange); }
.orbitx-launch-hero h1 { color: var(--white); }
.orbitx-launch-hero h1 span { background: none; color: var(--orange); }
.hero-stats, .hero-stats div, .ox-feature-grid article, .rank-roadmap div, .pool-roadmap article, .faq-list details, .bt-cta {
  border-color: var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 20px rgba(255,106,0,.04);
  transition: box-shadow .2s ease;
}
.hero-stats:hover, .ox-feature-grid article:hover, .rank-roadmap div:hover, .pool-roadmap article:hover, .faq-list details:hover, .bt-cta:hover { box-shadow: 0 0 32px rgba(255,106,0,.12); }
.hero-stats { border-color: var(--orange); }
.hero-stats div { border: 0; border-right: 1px solid var(--border); }
.hero-stats strong, .ox-feature-grid strong, .rank-roadmap strong, .pool-roadmap strong { color: var(--orange); font-family: Rajdhani, sans-serif; font-weight: 700; }
.bt-section-head .ox-kicker, .bt-section-head h2 { color: var(--orange); }
.site-footer { background: var(--bg); border-color: var(--border); }

.activation-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.85); }
.activation-modal iframe { width: min(560px, 94vw); height: min(880px, 94vh); border: 0; border-radius: 20px; background: var(--bg); }
.activation-modal-close, .embedded-close { position: absolute; z-index: 4; width: 44px; height: 44px; border-radius: 50%; color: var(--white); background: var(--card-2); border: 1px solid var(--border); font-size: 26px; }
.activation-modal-close { top: 18px; right: 18px; }
.embedded-close { top: 14px; right: 14px; }
.modal-open { overflow: hidden; }

.activate-body { min-height: 100vh; overflow-x: hidden; }
.activate-body .activation-page-header, .activate-body .mobile-nav, .activate-body .activate-art-panel, .activate-body > .site-footer { display: none; }
.orbitx-register-stage { width: 100%; min-height: 100vh; padding: 24px; display: grid; grid-template-columns: 1fr; place-items: center; background: var(--bg); }
.orbitx-register-stage::before { display: none; }
.activate-form-column { width: 100%; }
.premium-auth-card {
  position: relative;
  width: min(480px, 90vw);
  max-width: 480px;
  padding: 32px;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 0 20px rgba(255,106,0,.04);
}
.activate-brand { width: auto; height: 72px; margin: 0 auto; }
.activate-brand img { width: auto; height: 72px; object-fit: contain; }
.activate-card-heading h1 { font-size: 22px; }
.activate-card-heading p { color: var(--grey); font-size: 14px; }
.activation-stepper { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 0 8px; }
.activation-step { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--grey); font-size: 10px; text-align: center; }
.activation-step:not(:last-child)::after { content: ""; position: absolute; top: 14px; left: calc(50% + 17px); width: calc(100% - 34px); border-top: 1px solid var(--border); }
.activation-step i { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border: 1px dashed #333333; border-radius: 50%; background: var(--card); font-style: normal; }
.activation-step.active { color: var(--orange); }
.activation-step.active i { color: var(--white); border-style: solid; border-color: var(--orange); background: var(--orange); }
.activation-step.complete { color: var(--green); }
.activation-step.complete i { color: transparent; border-style: solid; border-color: var(--green); background: var(--green); }
.activation-step.complete i::after { content: "✓"; position: absolute; color: var(--white); }
.premium-auth-card .primary-btn, .premium-auth-card .secondary-link { min-height: 52px; border-radius: 12px; }
.network-badge { border-color: var(--border); border-radius: 12px; background: var(--card-2); color: var(--grey); }
.activation-fee-display { padding: 10px 0; text-align: center; }
.activation-fee-display strong { display: block; color: var(--orange); font: 900 54px Rajdhani, sans-serif; line-height: .9; }
.activation-fee-display span, .sponsor-id-display span, .activation-wallet-card span, .verification-card small { color: var(--grey); font: 500 11px Inter, sans-serif; text-transform: uppercase; }
.sponsor-panel { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.sponsor-avatar { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #cc4400); }
.sponsor-avatar span { color: var(--white); font: 700 14px Rajdhani, sans-serif; }
.sponsor-panel .verification-card { min-width: 0; padding: 0; border: 0; background: transparent; }
.sponsor-panel .verification-card strong { color: var(--white); font: 700 14px Orbitron, sans-serif; }
.sponsor-panel .verification-card span { color: var(--grey); font-size: 11px; overflow-wrap: anywhere; }
.sponsor-id-display { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; }
.sponsor-id-display strong { color: var(--orange); font: 700 36px Rajdhani, sans-serif; }
.premium-auth-card .activation-wallet-card { grid-template-columns: 1fr 1fr; border-color: var(--border); background: var(--card-2); }
.premium-auth-card .activation-wallet-card div { border-color: var(--border); }
.premium-auth-card .activation-wallet-card strong { color: var(--white); font: 600 13px Rajdhani, sans-serif; }
.inline-tx-status { min-height: 50px; padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--orange); border-radius: 12px; background: rgba(255,106,0,.08); font-size: 13px; }
.orange-spinner { width: 18px; height: 18px; flex: none; border: 2px solid rgba(255,106,0,.25); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
#approveBtn:disabled, #activateBtn:disabled { opacity: .4; cursor: not-allowed; filter: none; }
.activation-final-btn:not(:disabled) { animation: orange-pulse 1.8s ease-in-out infinite; }
.terms-check { color: var(--grey) !important; }
.trust-row { display: none; }
.activation-success { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.92); }
.activation-success-card { width: min(440px, 92vw); padding: 40px; border: 1px solid var(--green); border-radius: 20px; background: var(--card); text-align: center; }
.success-check { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--green); font-size: 36px; animation: scale-in .35s ease-out; }
.activation-success-card h2 { color: var(--green); font-size: 22px; }
.activation-success-card > strong { display: block; margin: 18px 0; color: var(--orange); font: 700 28px Rajdhani, sans-serif; }
.activation-success-card > span { color: var(--grey); font-size: 14px; }
.redirect-progress { height: 5px; margin: 18px 0; overflow: hidden; border-radius: 99px; background: var(--card-2); }
.redirect-progress i { display: block; height: 100%; background: var(--orange); animation: countdown 3s linear forwards; }

.toast-host { top: 16px; right: 16px; bottom: auto; z-index: 400; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 360px; padding: 14px 18px; border-radius: 12px; color: var(--white); font: 500 13px Inter, sans-serif; animation: toast-in .25s ease-out; }
.toast.success { border-color: var(--green); background: #0d1a0d; }
.toast.error { border-color: #ff3333; background: #1a0d0d; }
.toast.info { border-color: var(--orange); background: #0d0d1a; }
.toast.copy { border-color: var(--orange); background: var(--card); }
.toast b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--card-2); }

.dashboard-body { overflow-x: hidden; padding-bottom: 0; }
.dashboard-body::before { display: none; }
.db-shell { display: block; min-height: 100vh; padding: 0; }
.dashboard-body .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  min-height: 64px;
  height: 64px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg);
}
.dashboard-body .menu-btn { display: block; width: 44px; height: 44px; background: transparent; border: 0; }
.dashboard-body .top-mobile-logo { display: flex; width: auto; height: 58px; }
.dashboard-body .top-mobile-logo img { width: auto; height: 58px; }
.dashboard-body .topbar > div:not(.wallet-actions) { display: none; }
.dashboard-body .topbar .wallet-actions { margin-left: auto; flex-wrap: nowrap; width: auto; }
.header-pill, .header-wallet, .dashboard-body .network-badge { min-height: 32px; padding: 6px 14px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 20px; background: var(--card-2); color: var(--grey); font-size: 12px; }
.header-pill { color: var(--orange); font-family: Rajdhani, sans-serif; font-weight: 600; }
.rank-pill { color: var(--gold); }
.dashboard-body #connectBtn { min-height: 38px; padding: 0 16px; border-radius: 10px; font-size: 12px; }
.sidebar { position: fixed; top: 64px; left: 0; z-index: 100; width: 240px; height: calc(100vh - 64px); padding: 14px 0; border: 0; border-right: 1px solid var(--border); border-radius: 0; background: var(--bg); transform: translateX(0); transition: transform .3s ease; }
.sidebar.closed { transform: translateX(-240px); }
.sidebar .brand { display: none; }
.side-nav { gap: 3px; }
.nav-link { min-height: 48px; padding: 0 20px; border: 0; border-left: 3px solid transparent; border-radius: 0 10px 10px 0; color: var(--grey); font-size: 14px; font-weight: 500; }
.nav-link > span { width: 28px; color: inherit; font-size: 18px; }
.nav-link.active { color: var(--orange); border-left-color: var(--orange); background: linear-gradient(90deg, rgba(255,106,0,.2), transparent); box-shadow: none; font-weight: 600; }
.nav-link:hover { color: var(--white); border-left-color: transparent; background: var(--card-2); box-shadow: none; }
.sidebar-card { left: 16px; right: 16px; bottom: 16px; padding: 16px; border-color: var(--border); border-radius: 12px; background: var(--card); }
.sidebar-card span { color: var(--grey); font-size: 10px; }
.sidebar-card strong { color: var(--orange); font: 600 14px Rajdhani, sans-serif; }
.sidebar-card small { color: var(--grey); }
.sidebar-card small i { width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--green); }
.main { width: auto; max-width: none; margin: 64px 0 0 240px; padding: 24px; transition: margin-left .3s ease; }
.sidebar.closed + .main { margin-left: 0; }
.dashboard-board { display: block; }
.dashboard-center { padding: 0; border: 0; }
.dashboard-aside { position: static; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dashboard-welcome, .dashboard-body .panel, .dashboard-body .tree-panel, .dashboard-body .empty-state, .earnings-row > div, .metric-card, .rank-card, .pool-card, .rank-balance-card, .referral-link-card {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 20px rgba(255,106,0,.04);
  transition: box-shadow .2s ease;
}
.dashboard-welcome:hover, .dashboard-body .panel:hover, .earnings-row > div:hover, .metric-card:hover, .rank-card:hover, .pool-card:hover, .rank-balance-card:hover { box-shadow: 0 0 32px rgba(255,106,0,.12); }
.dashboard-welcome { min-height: 150px; margin-bottom: 24px; background: linear-gradient(135deg, var(--card), var(--card-2)); }
.dashboard-welcome .ox-kicker, .dashboard-section-title h2, .section-head h2 { color: var(--grey); font: 500 11px Inter, sans-serif; text-transform: uppercase; }
.dashboard-welcome h2 { color: var(--orange); font: 700 28px Rajdhani, sans-serif; }
.welcome-rank-card, .welcome-balance-card { min-width: 170px; border-color: var(--border); }
.welcome-rank-card strong, .welcome-balance-card strong { color: var(--orange); font: 700 24px Rajdhani, sans-serif; }
.dashboard-section-title { margin: 28px 0 12px; }
.dashboard-section-title h2 { color: var(--white); font-family: Orbitron, sans-serif; font-size: 18px; font-weight: 700; }
.earnings-row { grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; }
.earnings-row > div { min-height: 150px; border-left: 3px solid var(--orange); }
.earnings-row span, .metric-card span, .rank-card span, .pool-card span, .rank-balance-card span { color: var(--grey); font: 500 11px Inter, sans-serif; text-transform: uppercase; }
.earnings-row strong { color: var(--orange); font: 700 32px Rajdhani, sans-serif; }
.earnings-row small, .metric-card small { color: var(--grey); }
.dashboard-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.metric-card { min-height: 120px; }
.metric-card strong { color: var(--white); font: 700 30px Rajdhani, sans-serif; }
.bronze-stat strong, .bronze-stat span { color: var(--bronze); }
.silver-stat strong, .silver-stat span { color: var(--silver); }
.gold-stat strong, .gold-stat span { color: var(--gold); }
.diamond-stat strong, .diamond-stat span { color: var(--diamond); }
#memberData { margin-top: 16px; }
.compact-metrics { grid-template-columns: repeat(4, 1fr); }
.dashboard-panels { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.dashboard-body .panel { margin: 0; }
.section-head { margin-bottom: 18px; }
.section-head h2 { color: var(--white); font-family: Orbitron, sans-serif; font-size: 18px; font-weight: 700; }
.progress-bar { height: 8px; background: #1a1a1a; }
.progress-bar span { background: linear-gradient(90deg, var(--bronze), var(--orange)); }
.rank-stepper { display: grid; grid-template-columns: repeat(5, 1fr); margin: 4px 0 26px; }
.rank-stepper > div { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--grey); font: 600 11px Rajdhani, sans-serif; }
.rank-stepper > div:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: calc(50% + 24px); width: calc(100% - 48px); border-top: 1px solid var(--border); }
.rank-stepper i { position: relative; z-index: 1; width: 44px; height: 44px; border: 2px dashed #333333; border-radius: 50%; background: var(--card); }
.rank-stepper .complete i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); }
.rank-stepper [data-rank="1"] { color: var(--bronze); }
.rank-stepper [data-rank="2"] { color: var(--silver); }
.rank-stepper [data-rank="3"] { color: var(--gold); }
.rank-stepper [data-rank="4"] { color: var(--diamond); }
.rank-stepper .complete i, .rank-stepper .active i { border-style: solid; border-color: currentColor; background: currentColor; }
.rank-stepper .active i { box-shadow: 0 0 18px currentColor; }
.rank-requirements { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rank-requirements span { padding: 7px 12px; border-radius: 20px; background: var(--card-2); color: var(--grey); font-size: 11px; }
.claimable-earning { border-color: rgba(255, 133, 0, .55) !important; }
.claimable-earning .primary-btn { margin-top: 8px; width: 100%; min-height: 38px; }
.rank-claim-card { margin: 16px 0; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgba(255, 133, 0, .4); border-radius: 10px; background: var(--card-2); }
.rank-claim-card div { display: grid; gap: 5px; }
.rank-claim-card span { color: var(--grey); font-size: 12px; }
.rank-claim-card strong { color: var(--orange); font: 700 18px Rajdhani, sans-serif; }
.primary-btn:disabled { cursor: not-allowed; filter: grayscale(.65); opacity: .48; }
.rank-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rank-card { min-height: 150px; }
.rank-card strong, .pool-card strong { color: var(--orange); font: 700 22px Rajdhani, sans-serif; }
.rank-card.active { border-color: var(--orange); background: var(--card-2); }
.tree-panel { overflow-x: auto; }
.tree { min-width: 420px; }
.tree-node { min-width: 52px; min-height: 52px; display: grid; place-items: center; border: 2px dashed #333333; border-radius: 50%; background: #1a1a1a; color: var(--grey); }
.tree-node.root { width: max-content; min-width: 180px; margin: auto; padding: 14px 28px; border: 0; border-radius: 14px; color: var(--white); background: linear-gradient(135deg, var(--orange), #cc4400); box-shadow: 0 0 20px rgba(255,106,0,.3); }
.pool-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pool-card { min-height: 110px; }
.pool-card.active { border-left: 3px solid var(--orange); border-color: var(--orange); background: var(--card-2); }
.pools-overview-head { margin-top: 24px; }
.rank-balance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rank-balance-card { display: grid; gap: 5px; }
.rank-balance-card i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--card-2); font: 700 20px Rajdhani, sans-serif; }
.rank-balance-card strong { color: var(--orange); font: 700 26px Rajdhani, sans-serif; }
.distribution-card { margin-top: 14px; padding: 16px 20px; display: flex; justify-content: space-between; gap: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--grey); font-size: 12px; }
.distribution-card > span:first-child i { width: 8px; height: 8px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--grey); }
.referral-link-card { grid-column: 1 / -1; border-color: var(--orange); }
.referral-link-card > span { font: 700 14px Orbitron, sans-serif; }
.referral-link-card > div { margin: 14px 0; padding: 10px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--card-2); }
.referral-link-card strong { min-width: 0; flex: 1; overflow: hidden; color: var(--grey); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.referral-link-card nav { display: flex; gap: 10px; }
.referral-link-card nav a { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; color: var(--grey); font-size: 12px; }
.referral-link-card nav a:hover { color: var(--orange); border-color: var(--orange); }
#referrals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#referrals > .section-head { grid-column: 1 / -1; }
.table-wrap { margin: 0; border-color: var(--border); background: var(--card); }
th { color: var(--grey); font: 500 11px Inter, sans-serif; }
td { color: var(--white); font-size: 13px; }
.dashboard-aside { margin-top: 24px; }
.profile-panel, .quick-panel, .pool-overview { min-height: 230px; }
.quick-grid a, .quick-grid button { border-color: var(--border); background: var(--card-2); }
.quick-grid a:hover, .quick-grid button:hover { border-color: var(--orange); background: var(--card-2); }
.system-strip, .dashboard-footer { margin: 24px 0 0; border-color: var(--border); background: var(--card); }
.system-strip strong { color: var(--orange); font-family: Rajdhani, sans-serif; }
.mobile-tab-bar { display: none; }
.sidebar-overlay { z-index: 99; background: rgba(0,0,0,.7); }
.dashboard-body:not(.member-active) .dashboard-welcome,
.dashboard-body:not(.member-active) .dashboard-section-title,
.dashboard-body:not(.member-active) #earnings,
.dashboard-body:not(.member-active) #network,
.dashboard-body:not(.member-active) #memberData,
.dashboard-body:not(.member-active) .dashboard-panels,
.dashboard-body:not(.member-active) #referrals,
.dashboard-body:not(.member-active) #events,
.dashboard-body:not(.member-active) .dashboard-aside,
.dashboard-body:not(.member-active) .system-strip,
.dashboard-body:not(.member-active) .dashboard-footer { display: none; }
.dashboard-body:not(.member-active) #emptyMember { max-width: 520px; margin: 80px auto; text-align: center; }
.dashboard-body:not(.member-active) #emptyMember .primary-btn { width: max-content; margin: 12px auto 0; padding: 0 24px; }
.activate-body .modal-backdrop { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orange-pulse { 50% { box-shadow: 0 0 28px rgba(255,106,0,.35); } }
@keyframes scale-in { from { transform: scale(.4); opacity: 0; } }
@keyframes countdown { from { width: 0; } to { width: 100%; } }
@keyframes toast-in { from { transform: translateX(110%); opacity: 0; } }

@media (max-width: 1100px) {
  .dashboard-grid { grid-template-columns: repeat(3, 1fr); }
  .earnings-row { grid-template-columns: repeat(2, 1fr); }
  .rank-grid, .rank-balance-grid, .pool-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-aside { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .ox-nav { padding: 0 12px; }
  .header-brand-lockup > span { display: none; }
  .ox-brand, .ox-brand img { height: 54px; }
  .ox-nav .ox-btn { min-width: 82px; min-height: 40px; padding: 0 12px; font-size: 12px; }
  .orbitx-launch-hero { min-height: 690px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .activation-modal { padding: 0; }
  .activation-modal iframe { width: 100vw; height: 100vh; border-radius: 0; }
  .activation-modal-close { top: 8px; right: 8px; }
  .orbitx-register-stage { padding: 16px; }
  .premium-auth-card { width: 100%; padding: 24px 16px; }
  .activate-brand, .activate-brand img { height: 64px; }
  .dashboard-body .topbar { padding: 0 10px; }
  .dashboard-body .top-mobile-logo, .dashboard-body .top-mobile-logo img { height: 48px; }
  .header-wallet, .dashboard-body .network-badge, .rank-pill { display: none; }
  .header-pill { padding: 5px 9px; font-size: 11px; }
  .sidebar { transform: translateX(-240px); }
  .sidebar.open { transform: translateX(0); }
  .main, .sidebar.closed + .main { margin-left: 0; padding: 16px 16px 82px; }
  .dashboard-welcome { display: grid; grid-template-columns: 1fr 1fr; padding: 16px; }
  .dashboard-welcome > div:first-child { grid-column: 1 / -1; }
  .earnings-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .earnings-row > div { min-height: 125px; padding: 16px; }
  .earnings-row strong { font-size: 25px; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .metric-card { min-height: 104px; padding: 16px; }
  .compact-metrics { grid-template-columns: 1fr 1fr !important; }
  .dashboard-panels { gap: 16px; }
  .dashboard-body .panel { padding: 16px; }
  .rank-grid, .rank-balance-grid { grid-template-columns: 1fr; }
  .pool-grid { grid-template-columns: 1fr 1fr; }
  #referrals { grid-template-columns: 1fr; }
  #referrals > .section-head, .referral-link-card { grid-column: 1; }
  .distribution-card { align-items: flex-start; flex-direction: column; }
  .rank-claim-card { align-items: stretch; flex-direction: column; }
  .system-strip { grid-template-columns: repeat(2, 1fr); }
  .dashboard-footer { display: none; }
  .mobile-tab-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; height: 60px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); background: var(--card); }
  .mobile-tab-bar a { display: grid; place-items: center; align-content: center; gap: 2px; color: var(--grey); font-size: 10px; }
  .mobile-tab-bar a span { font-size: 18px; }
  .mobile-tab-bar a.active, .mobile-tab-bar a:hover { color: var(--orange); }
}

/* Indic scripts need a little more vertical and horizontal breathing room. */
html:not([lang="en"]) .orbitx-launch-hero h1 {
  line-height: 1.08;
}

html:not([lang="en"]) .hero-chips span,
html:not([lang="en"]) .system-strip span,
html:not([lang="en"]) .mobile-tab-bar a {
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 768px) {
  html:not([lang="en"]) .orbitx-launch-hero { width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; }
  html:not([lang="en"]) .orbitx-launch-hero .ox-hero-copy { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
  html:not([lang="en"]) .orbitx-launch-hero h1 { width: 100%; max-width: 100%; font-size: 30px; overflow-wrap: anywhere; }
  html:not([lang="en"]) .orbitx-launch-hero h1 span { display: block; }
  html:not([lang="en"]) .orbitx-launch-hero p { max-width: 100%; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
  html:not([lang="en"]) .orbitx-launch-hero .hero-chips { width: 100%; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  html:not([lang="en"]) .orbitx-launch-hero .hero-chips span { min-width: 0; font-size: 11px; line-height: 1.25; }
  html:not([lang="en"]) .dashboard-section-title h2,
  html:not([lang="en"]) .section-head h2 { font-size: 17px; }
  html:not([lang="en"]) .activate-form-column,
  html:not([lang="en"]) .premium-auth-card { min-width: 0; max-width: 100%; }
  html:not([lang="en"]) .activation-step { min-width: 0; }
  html:not([lang="en"]) .activation-step span { max-width: 100%; overflow-wrap: anywhere; line-height: 1.25; }
  html:not([lang="en"]) .terms-check span { min-width: 0; overflow-wrap: anywhere; }
}

@media (max-width: 430px) {
  .ox-nav .wallet-actions { gap: 6px; }
  .ox-nav .ox-btn { min-width: 72px; padding: 0 9px; }
  .hero-stats { width: calc(100% - 20px); }
  .activation-step span { font-size: 9px; }
  .premium-auth-card .activation-wallet-card { grid-template-columns: 1fr; }
  .dashboard-body .top-mobile-logo { width: 92px; }
  .dashboard-body #connectBtn { padding: 0 10px; }
  .dashboard-welcome { grid-template-columns: 1fr; }
  .dashboard-welcome > div:first-child { grid-column: 1; }
  .earnings-row { grid-template-columns: 1fr 1fr; }
  .earnings-row strong { font-size: 21px; }
  .pool-grid { grid-template-columns: 1fr; }
  .dashboard-body #headerMemberId { display: none; }
}

.language-picker {
  height: 42px;
  min-width: 86px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #080b10;
  color: var(--white);
}
.language-picker svg { width: 17px; height: 17px; flex: none; color: var(--orange); }
.language-picker select { min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: 700 12px Inter, sans-serif; cursor: pointer; }
.language-picker option { background: #090c12; color: #fff; }
.language-picker.compact { height: 38px; min-width: 78px; }

.footer-grid { grid-template-columns: 1.35fr .8fr 1fr 1fr; }
.footer-action, .telegram-join { width: max-content; min-height: 38px; padding: 0 12px; display: inline-flex !important; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.025); color: var(--white) !important; font-weight: 700; }
.telegram-join { border-color: rgba(39,167,231,.55); color: #67c9ff !important; }
.footer-action:hover, .telegram-join:hover { border-color: var(--orange); color: var(--orange) !important; }
.footer-action svg, .telegram-join svg { width: 17px; height: 17px; }
.social-links { margin-top: 14px; display: flex; gap: 8px; }
.social-links a { width: 38px; height: 38px; margin: 0 !important; padding: 0; display: grid !important; place-items: center; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.025); color: var(--grey) !important; }
.social-links a:hover { border-color: var(--orange); color: var(--orange) !important; }
.social-links svg { width: 17px; height: 17px; }
.footer-bottom b { color: inherit; }
.footer-bottom span span { display: inline; }

.dashboard-footer { align-items: center; flex-wrap: wrap; }
.dashboard-footer-copy { min-width: 200px; flex: 1; }
.dashboard-footer-copy small { display: block; margin-top: 7px; color: var(--grey); }
.dashboard-footer-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; }
.dashboard-footer-actions .social-links { margin: 0; }
.dashboard-footer .contract-link { min-height: 38px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; }

.side-nav a b { font: inherit; color: inherit; }

@media (max-width: 1050px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-footer { align-items: flex-start; }
  .dashboard-footer-actions { width: 100%; justify-content: flex-start; }
}

@media (max-width: 768px) {
  .language-picker { min-width: 66px; width: 66px; padding: 0 7px; }
  .language-picker svg { width: 15px; }
  .language-picker select { width: 36px; font-size: 11px; }
  .dashboard-body .topbar > div:nth-of-type(1) { display: none; }
  .dashboard-body .topbar .wallet-actions { margin-left: auto; flex-wrap: nowrap; gap: 6px; }
  .dashboard-body .topbar .language-picker { display: inline-flex; }
  .dashboard-footer { margin-bottom: 64px; display: flex; padding: 16px; }
  .dashboard-footer img { width: min(180px, 70vw); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .dashboard-footer-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .dashboard-footer-actions .footer-action, .dashboard-footer-actions .telegram-join, .dashboard-footer .contract-link { width: 100%; justify-content: center; }
  .dashboard-footer-actions .social-links { grid-column: 1 / -1; justify-content: center; }
}

/* Compact mobile rhythm across the public, activation and member views. */
@media (max-width: 560px) {
  .ox-nav {
    min-height: 58px;
    height: 58px;
    padding: 0 10px;
    gap: 8px;
  }
  .header-brand-lockup { height: 58px; }
  .ox-brand,
  .ox-brand img { width: auto; height: 46px; max-width: 110px; }
  .ox-nav .wallet-actions { gap: 6px; }
  .ox-nav .language-picker { width: 56px; min-width: 56px; height: 38px; padding: 0 7px; }
  .ox-nav .language-picker svg { display: none; }
  .ox-nav .language-picker select { width: 42px; }
  .ox-nav .ox-btn {
    min-width: 70px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .orbitx-launch-hero {
    min-height: 620px;
    padding: 36px 18px 48px;
  }
  .orbitx-launch-hero .ox-kicker { padding: 10px 14px; font-size: 11px; }
  .orbitx-launch-hero h1 { margin: 18px 0 0; font-size: 42px; line-height: 1.02; }
  .orbitx-launch-hero p { margin: 16px 0 0; font-size: 15px; line-height: 1.5; }
  .orbitx-launch-hero .ox-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .orbitx-launch-hero .ox-btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    font-size: 13px;
    text-align: center;
  }
  .orbitx-launch-hero .hero-chips { gap: 8px; margin-top: 16px; }
  .orbitx-launch-hero .hero-chips span { min-height: 40px; padding: 6px 8px; }
  .hero-stats { margin-bottom: 28px; }

  .orbitx-register-stage { min-height: 100svh; padding: 12px; }
  .premium-auth-card { padding: 18px 14px; gap: 10px; border-radius: 16px; }
  .activate-brand,
  .activate-brand img { height: 56px; margin-bottom: 0; }
  .activate-card-heading h1 { font-size: 20px; line-height: 1.2; }
  .activate-card-heading p { margin: 4px 0 0; font-size: 13px; }
  .activation-stepper { margin: 2px 0 4px; }
  .activation-step { gap: 5px; }
  .activation-step i { width: 28px; height: 28px; }
  .activation-step:not(:last-child)::after { top: 13px; }
  .premium-auth-card .primary-btn,
  .premium-auth-card .secondary-btn,
  .premium-auth-card .secondary-link { min-height: 46px; border-radius: 10px; font-size: 13px; }
  .premium-auth-card .network-badge { min-height: 38px; }
  .activation-fee-display { padding: 6px 0; }
  .activation-fee-display strong { font-size: 46px; }
  .sponsor-panel { gap: 12px; padding: 12px 14px; }
  .sponsor-avatar { width: 44px; height: 44px; }
  .sponsor-id-display { padding: 2px 4px; }
  .sponsor-id-display strong { font-size: 30px; }
  .premium-auth-card .action-form { gap: 8px; }
  .premium-auth-card .activation-wallet-card div { padding: 10px; }
  .terms-check { gap: 8px; line-height: 1.35; }

  .dashboard-body .topbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 58px;
    height: 58px;
    padding: 0 8px;
    gap: 7px;
  }
  .dashboard-body .menu-btn { width: 38px; height: 38px; flex: none; }
  .dashboard-body .top-mobile-logo,
  .dashboard-body .top-mobile-logo img { width: 82px; height: 46px; flex: none; }
  .dashboard-body .topbar .wallet-actions {
    display: flex;
    grid-column: auto;
    width: auto;
    min-width: 0;
    margin-left: auto;
    gap: 6px;
  }
  .dashboard-body .topbar .language-picker { width: 56px; min-width: 56px; height: 38px; padding: 0 7px; }
  .dashboard-body .topbar .language-picker svg { display: none; }
  .dashboard-body .topbar .language-picker select { width: 42px; }
  .dashboard-body #connectBtn { width: auto; min-height: 38px; padding: 0 10px; font-size: 10px; white-space: nowrap; }
  .dashboard-body .main,
  .dashboard-body .sidebar.closed + .main { margin-top: 58px; padding: 12px 12px 76px; }
  .dashboard-body:not(.member-active) #emptyMember { margin: 32px auto; padding: 18px 16px; }
  .dashboard-body:not(.member-active) #emptyMember .primary-btn { min-height: 44px; }
  .dashboard-welcome { min-height: 0; margin-bottom: 14px; padding: 14px; gap: 10px; }
  .dashboard-section-title { margin: 20px 0 9px; }
  .earnings-row,
  .dashboard-grid { gap: 8px; }
  .earnings-row > div { min-height: 104px; padding: 13px; }
  .metric-card { min-height: 92px; padding: 13px; }
  .dashboard-panels { gap: 12px; margin-top: 14px; }
  .dashboard-body .panel { padding: 14px; }
  .section-head { margin-bottom: 12px; gap: 10px; }
  .section-head h2 { font-size: 16px; }
  .rank-stepper { margin-bottom: 18px; }
  .rank-requirements { margin: 12px 0; }
  .rank-claim-card { margin: 12px 0; padding: 12px; gap: 10px; }
  .quick-grid a,
  .quick-grid button,
  .referral-link-card nav a { min-height: 44px; }
  .dashboard-aside,
  .system-strip,
  .dashboard-footer { margin-top: 14px; }
}

@media (max-width: 350px) {
  .orbitx-launch-hero .ox-actions { grid-template-columns: 1fr; }
  .orbitx-launch-hero h1 { font-size: 38px; }
  .ox-nav .language-picker { display: none; }
  .dashboard-body .top-mobile-logo,
  .dashboard-body .top-mobile-logo img { width: 72px; }
}

.wallet-kit-open { overflow: hidden; }
.wallet-kit-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(12px);
}
.wallet-kit-card {
  width: min(440px, 100%);
  max-height: min(700px, calc(100svh - 36px));
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #343434;
  border-radius: 16px;
  background: #0d0d0d;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .68), 0 0 42px rgba(255, 106, 0, .12);
}
.wallet-kit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.wallet-kit-head span { color: var(--orange); font: 700 10px Orbitron, sans-serif; }
.wallet-kit-head h2 { margin: 6px 0 0; color: #fff; font: 700 22px Orbitron, sans-serif; }
.wallet-kit-close {
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid #343434;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.wallet-kit-copy { margin: 12px 0 18px; color: #999; font-size: 13px; line-height: 1.5; }
.wallet-kit-list { display: grid; gap: 9px; }
.wallet-kit-option {
  width: 100%;
  min-height: 64px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  border: 1px solid #292929;
  border-radius: 10px;
  background: #151515;
  color: #fff;
  text-align: left;
  text-transform: none;
  transition: border-color .18s ease, background .18s ease;
}
.wallet-kit-option:hover { border-color: var(--orange); background: #1a130e; }
.wallet-kit-option > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(145deg, #ff9200, #e34c00);
  color: #fff;
  font-style: normal;
  font-weight: 800;
}
.wallet-kit-option > i img { width: 100%; height: 100%; object-fit: cover; }
.wallet-kit-option > span { min-width: 0; display: grid; gap: 3px; }
.wallet-kit-option strong { color: #fff; font-size: 14px; }
.wallet-kit-option small { color: #888; font-size: 11px; }
.wallet-kit-option > b { color: var(--orange); font-size: 18px; text-align: right; }
.wallet-kit-install { text-decoration: none; }
.wallet-kit-security { margin-top: 16px; padding-top: 14px; display: grid; gap: 4px; border-top: 1px solid #292929; }
.wallet-kit-security strong { color: #37d56b; font-size: 12px; }
.wallet-kit-security span { color: #777; font-size: 11px; line-height: 1.45; }

@media (max-width: 560px) {
  .wallet-kit-modal { align-items: end; padding: 10px; }
  .wallet-kit-card { max-height: calc(100svh - 20px); padding: 20px 16px; border-radius: 14px; }
  .wallet-kit-head h2 { font-size: 19px; }
  .wallet-kit-option { min-height: 58px; }
}
