:root {
  --bg-900: #0c1524;
  --bg-800: #122033;
  --bg-700: #183049;
  --panel: rgba(22, 36, 58, 0.78);
  --panel-strong: rgba(18, 32, 52, 0.92);
  --border: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-muted: #c5d4ea;
  --primary: #2affc6;
  --secondary: #4de8ff;
  --accent: #9b86ff;
  --success: #00e676;
  --danger: #ff5d73;
  --warning: #ffd166;
  --shadow: 0 24px 60px rgba(0, 40, 60, 0.28);
  --up: #00e676;
  --down: #ff5d73;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(42, 255, 198, 0.28), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(77, 232, 255, 0.22), transparent 32%),
    linear-gradient(180deg, #102038, #16304a 46%, #12263c);
  min-height: 100vh;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

a:hover { color: var(--primary); }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #05070b;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.preloader-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 255, 198, 0.22), transparent 68%);
  filter: blur(8px);
  animation: preloaderPulse 2.2s ease-in-out infinite;
}

.preloader-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.preloader-mark {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
}

.preloader-mark img {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(42, 255, 198, 0.18);
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
  border-top-color: #2affc6;
  border-right-color: #4de8ff;
  animation: preloaderSpin 0.9s linear infinite;
}

.preloader-inner strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.preloader-caption {
  color: #8b98ab;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preloader-bar {
  width: 140px;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.preloader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2affc6, #4de8ff);
  animation: preloaderBar 1.1s ease-in-out infinite;
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes preloaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(350%); }
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.scrollToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07111f;
}

.pt-60 { padding-top: 3.75rem !important; }
.pb-60 { padding-bottom: 3.75rem !important; }
.pb-120 { padding-bottom: 6rem !important; }
.pt-120 { padding-top: 6rem !important; }
.text--base, .text--primary { color: var(--primary) !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: rgba(16, 32, 56, 0.72);
  border-bottom: 1px solid var(--border);
}

.site-header .header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
}

.brand-copy small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.main-nav .menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .menu a {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.main-nav .menu a.active,
.main-nav .menu a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.langSel {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  min-width: 104px;
}

.mobile-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

.mobile-nav-panel {
  display: none;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
}

.mobile-nav-panel .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-panel .menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  margin-top: 8px;
}

.cmn--btn,
.btn--primary,
.btn--success,
.ghost-btn,
.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  line-height: 1;
  min-height: 42px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cmn--btn,
.btn--primary,
.btn--success,
button[type='submit']:not(.btn-close):not(.cur-toggle-btn) {
  color: #07111f;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 32px rgba(0, 232, 179, 0.22);
}

.cmn--btn:hover,
.btn--primary:hover,
.btn--success:hover {
  transform: translateY(-1px);
  color: #07111f;
}

.ghost-btn,
.btn--ghost,
.cmn--btn.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.ghost-btn:hover,
.btn--ghost:hover,
.cmn--btn.btn--ghost:hover {
  color: var(--text);
  background: rgba(255,255,255,0.1);
}

.btn--danger {
  background: linear-gradient(135deg, var(--danger), #fb923c);
  color: #fff;
}

.banner-section,
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  display: flex;
  align-items: center;
}

.banner-section {
  min-height: 720px;
}

.hero-section.inner-hero {
  min-height: 420px;
  padding: 8rem 0 4.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(1.25) contrast(1.08) brightness(1.12);
}

#hero3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-scrim,
.banner-section::before,
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 32, 56, 0.55) 0%, rgba(16, 32, 56, 0.18) 55%, rgba(16, 32, 56, 0.08) 100%),
    linear-gradient(180deg, rgba(16, 40, 70, 0.12), rgba(12, 28, 48, 0.35));
  z-index: 0;
}

.hero-section.inner-hero::before {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.58) 0%, rgba(8, 18, 32, 0.72) 100%),
    linear-gradient(90deg, rgba(16, 32, 56, 0.42), rgba(16, 32, 56, 0.18));
}

.hero-scrim { z-index: 1; }

.banner-section .container,
.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-coin-row {
  display: flex;
  gap: 10px;
  margin: 18px 0 4px;
}

.hero-coin-row img,
.sm-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 232, 179, 0.25);
}

.sm-img { margin-bottom: 14px; }

.banner__content { max-width: 640px; }

.banner__content-title,
.hero-content .title,
.section__title {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

.banner__content-txt,
.section__header p,
.faq__content p,
.service-content p,
.feature-item p,
.footer-widget p {
  color: var(--text-muted);
}

.eyebrow,
.section__cate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(0, 232, 179, 0.1);
  border: 1px solid rgba(0, 232, 179, 0.22);
  color: var(--primary);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.7rem;
}

.stat-pill {
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 11, 0.38);
  backdrop-filter: blur(16px);
}

.stat-pill strong { display: block; color: var(--primary); }
.stat-pill span { color: var(--text-muted); font-size: 0.84rem; }

.hero-market {
  display: grid;
  gap: 14px;
}

.spark-card,
.market-board,
.panel,
.home-card-item,
.home-ops-card,
.feature-item,
.counter__item,
.faq__item,
.service-item,
.cta-wrapper,
.dashboard-item,
.transaction__warpper,
.user-profile,
.profile-area form,
.account__section-content,
.widget__ticket,
.bg--section {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(14, 20, 34, 0.92), rgba(7, 11, 20, 0.94));
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.spark-card {
  padding: 16px 16px 8px;
  background: rgba(255,255,255,0.08);
}

.spark-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.spark-head span { color: var(--text-muted); font-size: 0.82rem; }
.spark-head strong { display: block; font-size: 1.35rem; letter-spacing: -0.03em; }
#homeChart { width: 100%; height: 168px; }
#dashChart { width: 100%; height: 280px; }

.market-board {
  padding: 14px;
  background: #fff;
  color: #111;
  border-radius: 20px;
}

.market-board .seg,
.market-board .subtabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.market-board button {
  border: 0;
  background: #f3f5f8;
  color: #445;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.82rem;
}

.market-board button.on {
  background: #111;
  color: #fff;
}

.board-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 4px;
  border-top: 1px solid #eef1f5;
  font-size: 0.92rem;
}

.board-row em { font-style: normal; font-weight: 800; }
.chg.up, .board-row .up, .ticker-track .up { color: var(--up); }
.chg.down, .board-row .down, .ticker-track .down { color: var(--down); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 232, 179, 0.16);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.market-ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.85);
}

.ticker-track {
  display: flex;
  gap: 28px;
  padding: 12px 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  width: max-content;
}

.ticker-track span { color: var(--text-muted); font-size: 0.86rem; }
.ticker-track b { color: var(--text); margin-right: 6px; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-stats { padding: 28px 0 8px; }
.home-stats-grid,
.gainers,
.home-card-band-grid,
.home-ops-grid,
.cb-kpis,
.cb-mini {
  display: grid;
  gap: 14px;
}

.home-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.home-stat,
.mini-stat {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.home-stat strong,
.mini-stat strong {
  display: block;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.home-stat span,
.mini-stat span {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-card-band { padding: 28px 0; }
.home-card-band-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-card-item, .home-ops-card, .feature-item, .dashboard-item { padding: 22px; }

.post__item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel-strong);
}
.post__thumb img,
.tab-item img,
.service--thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}
.post__content { padding: 18px; }
.post__title { margin-bottom: 8px; }
.meta__date { display: flex; gap: 14px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }

.home-card-item .icon,
.feature-item .icon,
.service-icon,
.dashboard-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 232, 179, 0.18), rgba(25, 224, 255, 0.16));
  color: var(--primary);
  font-size: 1.3rem;
}

.service-icon span,
.service-icon i {
  margin: 0;
  line-height: 1;
}

.home-markets-section,
.home-feature-grid,
.home-ops-section { padding: 18px 0 28px; }
.gainers { grid-template-columns: 1fr 1fr; }
.gainers .panel, .panel { padding: 18px; }
.gainers h4, .panel h4 { margin-bottom: 12px; font-size: 1rem; }
.pair-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.home-ops-grid { grid-template-columns: 1.1fr 0.9fr; }
.home-ops-list { display: grid; gap: 10px; margin-top: 16px; }
.home-mini-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}
.home-mini-pill i { color: var(--primary); }
.spotlight-panel {
  background: linear-gradient(135deg, rgba(0, 232, 179, 0.14), rgba(25, 224, 255, 0.1));
}
.spotlight-metrics { display: grid; gap: 12px; margin-top: 12px; }
.spotlight-metrics > div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(5, 7, 11, 0.35);
  border: 1px solid rgba(255,255,255,0.07);
}
.spotlight-metrics strong { display: block; color: var(--primary); }

.feature-item { min-height: 210px; }
.counter__item { text-align: left; min-height: 180px; padding: 22px; }
.counter__header .title { margin: 0; font-size: 2rem; color: var(--primary); }
.faq__item { margin-bottom: 12px; padding: 16px 18px; }
.cta-wrapper {
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 232, 179, 0.15), rgba(124, 92, 252, 0.18));
}

.footer-section {
  margin-top: 48px;
  padding: 64px 0 24px;
  background: rgba(5, 7, 11, 0.72);
  border-top: 1px solid var(--border);
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget .links li + li { margin-top: 8px; }
.footer-middle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--border);
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
}

.account-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 16px;
  background:
    radial-gradient(circle at top left, rgba(0, 232, 179, 0.16), transparent 32%),
    #05070b;
}

.account__section-wrapper {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 680px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.account__section-thumb {
  position: relative;
  background:
    linear-gradient(160deg, rgba(0, 232, 179, 0.18), rgba(25, 224, 255, 0.08)),
    #0b1220;
  display: flex;
  align-items: stretch;
  padding: 36px;
}

.auth-aside { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.auth-aside h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
}
.auth-aside p { color: var(--text-muted); margin: 0; }
.auth-aside-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.auth-aside-list li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.auth-aside-list i { color: var(--primary); }

.account__section-content {
  padding: 40px;
  display: flex;
  align-items: center;
}

.form--label-2,
.form--label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(248,250,252,0.9);
}

.form--control-2,
.form-control.form--control,
.form-control {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.form--control-2:focus,
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 232, 179, 0.16);
  background: rgba(255,255,255,0.07);
}

.dashboard-section { padding: 36px 0 72px; }

.dashboard-shell {
  min-height: 100vh;
}

.dashboard-shell .dashboard-section {
  padding: 0;
  width: 100%;
  min-height: calc(100vh - 78px);
}

.dashboard-app {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  width: 100%;
  min-height: calc(100vh - 78px);
}

.dashboard-main {
  min-width: 0;
  width: 100%;
  padding: 28px 32px 48px;
}

.dashboard-shell .dashboard-main > .col-xl-9,
.dashboard-shell .dashboard-main > [class*='col-'] {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.dashboard-shell .cb-main,
.dashboard-shell .panel,
.dashboard-shell .transaction__warpper,
.dashboard-shell .widget__ticket,
.dashboard-shell .user-profile,
.dashboard-shell .user-profile-form,
.dashboard-shell .change-wrapper,
.dashboard-shell .custom--card {
  width: 100%;
  max-width: none;
}

.dashboard-shell .table-wrap,
.dashboard-shell .cmn--table {
  width: 100%;
}

.dashboard-shell #dashChart {
  width: 100%;
  height: 360px;
}

.dashboard-menu-open {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 14px;
  cursor: pointer;
}

.dashboard-menu {
  position: sticky;
  top: 78px;
  height: calc(100vh - 78px);
  overflow: auto;
  padding: 18px 14px;
  border-radius: 0;
  background: #0a0d13;
  border: 0;
  border-right: 1px solid var(--border);
}

.dashboard-menu .user {
  margin-bottom: 14px;
  padding: 8px 8px 16px;
  border-bottom: 1px solid var(--border);
}

.dashboard-menu .thumb img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}

.dashboard-menu .content .title { font-size: 0.95rem; margin: 8px 0 0; }
.dashboard-menu .content p { color: var(--text-muted); font-size: 0.78rem; }

.main-menu ul { list-style: none; padding: 0; margin: 0; }
.main-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #cdd6e4;
  font-weight: 650;
}
.main-menu a.active,
.main-menu a:hover {
  color: #fff;
  background: #141a26;
}

.cb-hi { color: var(--text-muted); font-size: 0.95rem; }
.cb-bal {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 4px 0 6px;
}
.cb-day { color: var(--up); font-weight: 700; margin-bottom: 6px; }
.cb-act { display: flex; gap: 8px; margin: 18px 0 22px; flex-wrap: wrap; }
.chart-panel, .activity-panel { margin-bottom: 16px; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.panel-head h4 { margin: 0; }
.cb-kpis { grid-template-columns: 1fr 1fr; margin: 16px 0; }
.cb-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.mini-stat:hover { color: inherit; border-color: rgba(0, 232, 179, 0.35); }

.table { color: inherit; --bs-table-bg: transparent; --bs-table-color: var(--text); }
.cmn--table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.cmn--table th, .cmn--table td {
  padding: 13px 14px;
  border: 0;
  background: rgba(255,255,255,0.04);
  vertical-align: middle;
}
.cmn--table thead th {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  background: transparent;
}
.cmn--table tbody tr td:first-child { border-radius: 12px 0 0 12px; }
.cmn--table tbody tr td:last-child { border-radius: 0 12px 12px 0; }
.table-wrap { overflow-x: auto; }

.user-profile { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 22px; }
.user-profile .thumb img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: #122033;
  border: 3px solid rgba(42, 255, 198, 0.35);
}
.user-profile-form, .widget__ticket {
  padding: 24px;
  border-radius: 22px;
}

.modal-content {
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(17, 24, 39, 0.98), rgba(7, 12, 24, 0.95));
  color: var(--text);
  border-radius: 22px;
}
.modal-header, .modal-footer { border-color: rgba(255,255,255,0.1); }
.modal-body .text-dark { color: var(--text) !important; }

.cookie-policy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 16px 0; }
.cookie-wrapper {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.pagination { justify-content: center; gap: 6px; }
.pagination .page-link {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
}
.pagination .active .page-link { background: var(--primary); color: #07111f; border-color: var(--primary); }

.contact-section, .blog-section { padding-top: 48px; }
.blog-item, .single-blog {
  border: 1px solid var(--border);
  background: var(--panel-strong);
  border-radius: 20px;
  overflow: hidden;
}

.form--control {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.input-group-text {
  background: rgba(0, 232, 179, 0.16);
  color: var(--primary);
  border: 1px solid rgba(255,255,255,0.12);
}

.card,
.custom--card {
  background: linear-gradient(160deg, rgba(14, 20, 34, 0.92), rgba(7, 11, 20, 0.94));
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--text);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.card-title,
.card-body { color: var(--text); }

.faq__title { cursor: pointer; }
.faq__content { display: none; }
.faq__item.open .faq__content,
.faq__item.active .faq__content { display: block; }

.change-wrapper,
.account-form {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(14, 20, 34, 0.92), rgba(7, 11, 20, 0.94));
}

.change-wrapper .account-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.badge {
  border-radius: 999px;
  font-weight: 700;
}
.badge--success { background: rgba(0, 200, 83, 0.18); color: var(--up); }
.badge--primary { background: rgba(25, 224, 255, 0.16); color: var(--secondary); }
.badge--warning { background: rgba(245, 158, 11, 0.18); color: var(--warning); }
.badge--dark { background: rgba(255,255,255,0.08); color: var(--text-muted); }

select option { background: #0b1220; color: #fff; }

.side-sidebar-close-btn { display: none; cursor: pointer; float: right; }

@media (max-width: 1199px) {
  .home-stats-grid, .cb-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-ops-grid, .cb-kpis, .gainers { grid-template-columns: 1fr; }
  .dashboard-app { grid-template-columns: 1fr; }
  .dashboard-menu { position: fixed; left: 0; top: 0; bottom: 0; height: 100vh; width: min(320px, 86vw); z-index: 60; transform: translateX(-110%); transition: transform 0.25s ease; overflow: auto; border-radius: 0; }
  .dashboard-menu.open { transform: none; }
  .side-sidebar-close-btn { display: inline-flex; }
  .dashboard-main { padding: 20px 16px 40px; }
}

@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: inline-block; }
  .hero-market { margin-top: 10px; }
  .footer-wrapper, .home-card-band-grid { grid-template-columns: 1fr; }
  .account__section-wrapper { grid-template-columns: 1fr; min-height: auto; }
  .account__section-thumb { min-height: 240px; }
}

@media (max-width: 767px) {
  .site-header .header-shell { min-height: 70px; }
  .banner-section, .hero-section { padding: 4.2rem 0 3.2rem; }
  .cb-act .cmn--btn { flex: 1 1 140px; }
  .account__section-content { padding: 26px 18px; }
}

/* Coinbase-style open world — public pages only */
.frontend-shell {
  background:
    radial-gradient(circle at 12% -10%, rgba(42, 255, 198, 0.32), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(77, 232, 255, 0.26), transparent 32%),
    linear-gradient(180deg, #16324c, #1b3c5c 46%, #17344f);
}

.frontend-shell .container {
  width: 100%;
  max-width: 1280px;
  padding-left: 32px;
  padding-right: 32px;
}

.frontend-shell .banner-section {
  min-height: 88vh;
  padding: 7rem 0 6rem;
}

.frontend-shell .banner__content {
  max-width: 620px;
}

.frontend-shell .banner__content-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.06em;
}

.frontend-shell .section__header {
  text-align: left;
  max-width: 640px;
  margin-left: 0;
}

.cb-open-stats { padding: 48px 0 8px; }
.cb-open-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.cb-open-stats-row strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}
.cb-open-stats-row span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cb-open-story,
.cb-open-assets,
.cb-open-cta {
  padding: 88px 0;
}

.cb-open-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.cb-open-split--flip { direction: rtl; }
.cb-open-split--flip > * { direction: ltr; }

.cb-open-copy h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 0 0 16px;
  max-width: 14ch;
}

.cb-open-copy p {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 36ch;
}

.cb-open-copy--wide h2 { max-width: 18ch; }

.cb-open-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cb-open-visual img {
  width: 100%;
  max-width: 160px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  padding: 18px;
}

.cb-open-visual--cards article {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
}

.cb-asset-table {
  margin-top: 36px;
  border-top: 1px solid var(--border);
}

.cb-asset-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.5fr;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

.cb-asset-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.cb-asset-name img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.lab.la-btc,
.lab.la-bitcoin,
.las.la-bitcoin,
.fab.fa-bitcoin {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: url('/assets/images/icons/btc.png') center / contain no-repeat;
  vertical-align: middle;
}
.lab.la-btc:before,
.lab.la-bitcoin:before,
.las.la-bitcoin:before,
.fab.fa-bitcoin:before {
  content: none !important;
}

.dashboard-icon .lab.la-btc,
.service-icon .lab.la-bitcoin,
.service-icon .lab.la-btc {
  width: 28px;
  height: 28px;
}

.frontend-shell .owl-carousel {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
}

.frontend-shell .sponsor-item img,
.frontend-shell .client-thumb img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.frontend-shell .how-section,
.frontend-shell .feature-section,
.frontend-shell .service-section,
.frontend-shell .blog-section,
.frontend-shell .cta-section,
.frontend-shell .clients-section,
.frontend-shell .faqs-section,
.frontend-shell .counter-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 0 48px;
}

.sponsor-logo {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 16px;
}

.sponsor-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}

.quote-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.07);
}

.cb-open-photo {
  min-width: 0;
}

.cb-open-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 28px;
}

.service-section .cb-open-split + .cb-open-split {
  margin-top: 88px;
}

.service-section .cb-open-copy h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  text-transform: none;
}

.quote-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  background: #1b3c5c;
}

.quote-card blockquote {
  color: #e8eef8;
  margin: 0 0 14px;
}

.quote-card h6 { margin: 0; }
.quote-card span { color: var(--primary); font-size: 0.86rem; }

.cb-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.cb-blog-grid .post__thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.post__excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
}

.post__item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post__item .post__content { flex: 1; display: flex; flex-direction: column; }
.post__item .post__read { margin-top: auto; }

.blog-pager { margin-top: 40px; }

.blog-details-section { padding-top: 48px !important; }

.frontend-shell .post__details {
  background: rgba(12, 24, 40, 0.45);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}

.frontend-shell .post__details .post__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 8px 0 12px;
}

.frontend-shell .post__thumb--hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  margin: 8px 0 28px;
}

.frontend-shell .post__article,
.frontend-shell .post__article p,
.frontend-shell .post__article li,
.frontend-shell .post__article span,
.frontend-shell .post__article td,
.frontend-shell .post__article strong,
.frontend-shell .post__article b,
.frontend-shell .post__article .MsoNormal,
.frontend-shell .post__article * {
  color: #d5e2f2 !important;
  background: transparent !important;
  font-family: Inter, "Segoe UI", sans-serif !important;
}

.frontend-shell .post__article {
  font-size: 1.02rem;
  line-height: 1.75;
  overflow-x: auto;
}

.frontend-shell .post__article h2,
.frontend-shell .post__article h3,
.frontend-shell .post__article h4 {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 1.6rem 0 0.7rem;
}

.frontend-shell .post__article ul,
.frontend-shell .post__article ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.policy-section { padding: 48px 0 80px; }

.policy-updated {
  color: var(--text-muted);
  margin: 0 0 8px;
  font-size: 14px;
}

.policy-aside-copy {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.policy-aside-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.policy-aside-links a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.frontend-shell .post__article table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: rgba(255,255,255,0.04) !important;
}

.frontend-shell .post__article td,
.frontend-shell .post__article th {
  border: 1px solid var(--border) !important;
  padding: 8px 10px !important;
}

.frontend-shell .post__article img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.frontend-shell .post__share-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.frontend-shell .post__share {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.frontend-shell .post__share a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(42, 255, 198, 0.08);
  color: var(--primary);
}

.frontend-shell .blog-sidebar {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(12, 24, 40, 0.55);
}

.frontend-shell .widget__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.frontend-shell .widget__post__area ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.frontend-shell .widget__post {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.frontend-shell .widget__post__thumb img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.frontend-shell .widget__post__title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.frontend-shell .widget__post__content span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.frontend-shell .inner-hero .title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.frontend-shell .footer-section {
  background: #173049;
}

.frontend-shell .how-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.frontend-shell .how-scene {
  position: absolute;
  inset: 0;
  background:
    url('../../../images/frontend/how_to_work/how-bg.jpg') center / cover no-repeat;
  z-index: 0;
}

.frontend-shell .how-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 24, 0.72), rgba(7, 14, 24, 0.82));
}

.frontend-shell .how-section .container {
  position: relative;
  z-index: 1;
}

.frontend-shell .how-copy {
  margin-bottom: 36px;
}

.frontend-shell .how-copy h2,
.frontend-shell .how-copy p {
  color: #fff;
}

.frontend-shell .how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.frontend-shell .how-step {
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(8, 12, 20, 0.72);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
}

.frontend-shell .how-num {
  display: block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.frontend-shell .how__thumb {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 16px;
  background: rgba(42, 255, 198, 0.12);
  color: var(--primary);
  font-size: 1.4rem;
}

.frontend-shell .how-step h5 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.frontend-shell .faqs-section {
  color: #eef3fb;
}

.frontend-shell .faqs-section .cb-open-copy h2 {
  color: #ffffff;
  max-width: 16ch;
}

.frontend-shell .faqs-section .cb-open-copy p {
  color: #b7c6db;
}

.frontend-shell .faq-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: start;
}

.frontend-shell .faq--thumb img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
}

.frontend-shell .faq__wrapper {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.frontend-shell .faq__item {
  margin: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.frontend-shell .faq__item.open,
.frontend-shell .faq__item.active {
  background: rgba(42, 255, 198, 0.08);
  border-color: rgba(42, 255, 198, 0.28);
}

.frontend-shell .faq__title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.frontend-shell .faq__title .title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.frontend-shell .right--icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(42, 255, 198, 0.12);
  color: #2affc6;
}

.frontend-shell .right--icon::before {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: #2affc6;
}

.frontend-shell .faq__item.open .right--icon::before,
.frontend-shell .faq__item.active .right--icon::before {
  content: '–';
}

.frontend-shell .faq__content {
  display: none;
  padding: 0 20px 18px;
}

.frontend-shell .faq__item.open .faq__content,
.frontend-shell .faq__item.active .faq__content {
  display: block;
}

.frontend-shell .faq__content,
.frontend-shell .faq__content p,
.frontend-shell .faq__content span,
.frontend-shell .faq__content li,
.frontend-shell .faq__content strong,
.frontend-shell .faq__content .text-dark,
.frontend-shell .faq__content * {
  color: #c5d4ea !important;
}

@media (max-width: 991px) {
  .quote-grid,
  .cb-blog-grid,
  .frontend-shell .how-steps,
  .frontend-shell .faq-grid { grid-template-columns: 1fr; }
  .frontend-shell .faq--thumb img { height: 320px; }
}

@media (max-width: 991px) {
  .cb-open-split,
  .cb-open-stats-row,
  .cb-asset-row { grid-template-columns: 1fr; }
  .cb-open-split--flip { direction: ltr; }
  .cb-open-copy h2 { max-width: none; }
}

/* ===== Dashboard app shell ===== */
.dashboard-shell {
  background: #05070b;
  color: #e8edf5;
}

.dashboard-shell .site-header,
.dashboard-shell .scrollToTop {
  display: none !important;
}

.dashboard-shell .dashboard-section,
.dashboard-shell .dashboard-app {
  min-height: 100vh;
}

.dashboard-shell .dashboard-app {
  grid-template-columns: 264px minmax(0, 1fr);
}

.dashboard-shell .dashboard-menu {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #07090e;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.dashboard-shell .dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 6px 22px;
  color: inherit;
}

.dashboard-shell .dash-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.dashboard-shell .dash-brand:hover { color: inherit; }

.dashboard-shell .dash-brand .brand-copy small {
  display: block;
  color: #8b98ab;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-shell .dashboard-menu .user {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
}

.dashboard-shell .dashboard-menu .thumb img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(42, 255, 198, 0.28);
}

.dashboard-shell .dashboard-menu .content .title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.2;
}

.dashboard-shell .dashboard-menu .content p {
  margin: 4px 0 0;
  color: #8b98ab;
  font-size: 0.72rem;
}

.dashboard-shell .dash-nav-label {
  margin: 8px 10px 6px;
  color: #6f7c90;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-shell .main-menu {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dashboard-shell .main-menu a {
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #b7c2d3;
  font-weight: 600;
  font-size: 0.94rem;
}

.dashboard-shell .main-menu a i {
  width: 20px;
  text-align: center;
  font-size: 1.15rem;
  color: #8b98ab;
}

.dashboard-shell .main-menu a.active,
.dashboard-shell .main-menu a:hover {
  color: #fff;
  background: rgba(42, 255, 198, 0.08);
}

.dashboard-shell .main-menu a.active i,
.dashboard-shell .main-menu a:hover i {
  color: var(--primary);
}

.dashboard-shell .dash-nav-foot {
  margin-top: auto;
  padding-top: 16px;
}

.dashboard-shell .dash-lang {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #11151d;
  color: #d7deea;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.dashboard-shell .dash-nav-foot a { color: #ff8a9a; }
.dashboard-shell .dash-nav-foot a i { color: #ff8a9a; }
.dashboard-shell .dash-nav-foot a:hover {
  background: rgba(255, 93, 115, 0.1);
  color: #ffb3bc;
}

.dashboard-shell .side-sidebar-close-btn {
  display: none;
  position: absolute;
  right: 14px;
  top: 16px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  float: none;
}

.dashboard-shell .dashboard-main {
  padding: 28px 36px 56px;
  background:
    radial-gradient(circle at 12% -8%, rgba(42, 255, 198, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(77, 232, 255, 0.06), transparent 28%),
    #05070b;
}

.dashboard-shell .dash-appbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-shell .dash-appbar-avatar {
  margin-left: auto;
}

.dashboard-shell .dashboard-menu-open {
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.08);
  background: #11151d;
  color: #fff;
  border-radius: 12px;
}

.dashboard-shell .dash-appbar-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.dashboard-shell .dash-ui {
  max-width: 1240px;
}

.dashboard-shell .dash-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.dashboard-shell .cb-hi {
  color: #9aa8bc;
  font-size: 0.95rem;
  margin: 0 0 8px;
}

.dashboard-shell .cb-bal {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 0 0 10px;
}

.dashboard-shell .cb-day {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #c5d0df;
  font-weight: 600;
  margin: 0;
}

.dashboard-shell .cb-day img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.dashboard-shell .dash-rate {
  color: #8b98ab;
  font-weight: 500;
}

.dashboard-shell .dash-actions {
  display: flex;
  gap: 18px;
  margin: 0;
}

.dashboard-shell .dash-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  color: #d7deea;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-shell .dash-action:hover { color: #fff; }

.dashboard-shell .dash-action-ico {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2affc6, #4de8ff);
  color: #07111f;
  font-size: 1.35rem;
  box-shadow: 0 10px 24px rgba(42, 255, 198, 0.22);
}

.dashboard-shell .dash-action-ico.is-ghost {
  background: #151a24;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}

.dashboard-shell .dash-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-shell .panel,
.dashboard-shell .dashboard-item,
.dashboard-shell .user-profile,
.dashboard-shell .user-profile-form,
.dashboard-shell .transaction__warpper,
.dashboard-shell .widget__ticket,
.dashboard-shell .change-wrapper,
.dashboard-shell .custom--card,
.dashboard-shell .card {
  background: #0e131b;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
  border-radius: 20px;
}

.dashboard-shell .chart-panel {
  padding: 20px 20px 8px;
  margin: 0;
  min-height: 100%;
}

.dashboard-shell .panel-head {
  margin-bottom: 12px;
  align-items: flex-start;
}

.dashboard-shell .panel-head h4 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.dashboard-shell .dash-muted {
  display: block;
  color: #8b98ab;
  font-size: 0.78rem;
  margin-top: 2px;
}

.dashboard-shell .dash-chart-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-shell .dash-live-px {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.dashboard-shell #dashChart {
  height: 420px;
}

.dashboard-shell .cb-kpis.dash-converters {
  grid-template-columns: 1fr;
  margin: 0;
  gap: 18px;
}

.dashboard-shell .dashboard-item {
  padding: 20px;
}

.dashboard-shell .dash-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.dashboard-shell .dashboard-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 12px;
  background: rgba(42, 255, 198, 0.1);
}

.dashboard-shell .dashboard-icon img {
  width: 22px;
  height: 22px;
}

.dashboard-shell .dashboard-icon.is-usd {
  background: rgba(77, 232, 255, 0.12);
  color: #4de8ff;
}

.dashboard-shell .dash-card-label {
  display: block;
  color: #8b98ab;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-shell .dash-card-link {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.dashboard-shell .dashboard-header .title {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.dashboard-shell .converter-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b98ab;
  margin-bottom: 8px;
}

.dashboard-shell .cur-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-shell .cur-toggle-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #151a24;
  color: #d7deea;
  cursor: pointer;
}

.dashboard-shell .cur-toggle-btn:hover {
  border-color: rgba(42, 255, 198, 0.4);
}

.dashboard-shell .cur-toggle-btn.active {
  background: #2affc6;
  border-color: #2affc6;
  color: #07111f;
}

.dashboard-shell .converted-display {
  min-height: 28px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #4de8ff;
}

.dashboard-shell .converted-display.show {
  animation: fadeSlideIn 0.25s ease forwards;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dashboard-shell .cb-mini {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.dashboard-shell .mini-stat {
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: #0e131b;
  border: 1px solid rgba(255,255,255,0.07);
  color: inherit;
}

.dashboard-shell .mini-stat:hover {
  border-color: rgba(42, 255, 198, 0.28);
  transform: translateY(-1px);
}

.dashboard-shell .mini-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.05);
  color: #4de8ff;
}

.dashboard-shell .mini-ico.is-in { color: var(--up); }

.dashboard-shell .mini-stat span:not(.mini-ico) {
  color: #8b98ab;
}

.dashboard-shell .mini-stat strong {
  margin-top: 6px;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.dashboard-shell .activity-panel {
  padding: 20px;
  margin: 0;
}

.dashboard-shell .dash-trx-list {
  display: grid;
  gap: 8px;
}

.dashboard-shell .dash-trx {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
}

.dashboard-shell .dash-trx:hover {
  background: rgba(255,255,255,0.045);
}

.dashboard-shell .dash-trx-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 93, 115, 0.12);
  color: var(--down);
  font-size: 1.2rem;
}

.dashboard-shell .dash-trx.is-in .dash-trx-ico {
  background: rgba(0, 230, 118, 0.12);
  color: var(--up);
}

.dashboard-shell .dash-trx-main strong,
.dashboard-shell .dash-trx-amt strong {
  display: block;
}

.dashboard-shell .dash-trx-main small,
.dashboard-shell .dash-trx-amt small,
.dashboard-shell .dash-trx-wallet {
  display: block;
  color: #8b98ab;
  font-size: 0.78rem;
}

.dashboard-shell .dash-trx-wallet {
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.dashboard-shell .dash-trx-wallet.active {
  white-space: normal;
  word-break: break-all;
}

.dashboard-shell .dash-trx-amt {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dashboard-shell .dash-empty {
  text-align: center;
  padding: 48px 16px;
  color: #8b98ab;
}

.dashboard-shell .dash-empty i {
  font-size: 2.4rem;
  color: var(--primary);
}

.dashboard-shell .dash-empty p {
  margin: 10px 0 18px;
}

.dashboard-shell .cmn--table tbody tr td {
  background: rgba(255,255,255,0.03);
}

@media (max-width: 1199px) {
  .dashboard-shell .dashboard-app { grid-template-columns: 1fr; }
  .dashboard-shell .dashboard-menu {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: min(300px, 88vw);
    z-index: 70;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
  }
  .dashboard-shell .dashboard-menu.open { transform: none; }
  .dashboard-shell .side-sidebar-close-btn { display: grid; }
  .dashboard-shell .dashboard-menu { padding-top: 56px; }
  .dashboard-shell .dash-workspace { grid-template-columns: 1fr; }
  .dashboard-shell .cb-mini { grid-template-columns: 1fr 1fr; }
  .dashboard-shell .dashboard-main { padding: 12px 14px 48px; }
}

@media (max-width: 767px) {
  .dashboard-shell .dash-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-shell .dash-workspace,
  .dashboard-shell .cb-mini,
  .dashboard-shell .dash-trx {
    grid-template-columns: 1fr;
  }
  .dashboard-shell .dash-trx-amt { text-align: left; }
  .dashboard-shell #dashChart { height: 280px; }
}

/* ===== Auth screens ===== */
.auth-shell {
  min-height: 100vh;
  background: #05070b;
  color: #eef2f7;
}

.auth-shell .scrollToTop { display: none; }

.auth-shell .auth-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    url('../../../images/auth/auth-bg.jpg') center / cover no-repeat;
}

.auth-shell .auth-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.82) 0%, rgba(5, 7, 11, 0.38) 46%, rgba(5, 7, 11, 0.88) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18), rgba(5, 7, 11, 0.62));
}

.auth-shell .account-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: transparent !important;
  padding: 28px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.auth-shell .account__section-wrapper {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: calc(100vh - 56px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.auth-shell .account__section-thumb {
  background: none;
  padding: 36px 48px 36px 4px;
  display: flex;
  align-items: flex-end;
}

.auth-shell .auth-aside {
  max-width: 520px;
}

.auth-shell .auth-aside .brand {
  margin-bottom: 28px;
}

.auth-shell .auth-aside h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  max-width: 11ch;
  margin: 12px 0 16px;
}

.auth-shell .auth-aside p {
  color: #c5d0df;
  font-size: 1.05rem;
  max-width: 36ch;
}

.auth-shell .auth-aside-list {
  margin-top: 22px;
  gap: 10px;
}

.auth-shell .auth-aside-list li {
  color: #d7deea;
  font-weight: 600;
}

.auth-shell .auth-aside-list i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(42, 255, 198, 0.12);
}

.auth-shell .account__section-content {
  align-self: center;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  padding: 36px 32px;
  border-radius: 28px;
  background: rgba(10, 14, 22, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(22px);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.auth-shell .section__header {
  text-align: left;
  max-width: none;
  margin-bottom: 22px;
}

.auth-shell .section__title {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  margin: 0;
}

.auth-shell .auth-lead {
  color: #9aa8bc;
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.auth-shell .auth-lock {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 14px;
  background: rgba(42, 255, 198, 0.12);
  color: var(--primary);
  font-size: 1.4rem;
}

.auth-shell .form--control-2,
.auth-shell .form-control {
  background: #11151d;
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 48px;
  color: #fff;
}

.auth-shell .form--control-2:focus {
  border-color: var(--primary);
  background: #151a24;
}

.auth-shell .auth-otp {
  text-align: center;
  letter-spacing: 0.42em;
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.auth-shell .auth-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-shell .auth-inline .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c5d0df;
}

.auth-shell .form-check-input {
  background: #151a24;
  border-color: rgba(255,255,255,0.2);
}

.auth-shell .form-check-input:checked {
  background-color: #2affc6;
  border-color: #2affc6;
}

.auth-shell .auth-switch {
  margin-top: 22px;
  text-align: center;
  color: #9aa8bc;
}

.auth-shell .account__section-content .logo {
  display: none !important;
}

.auth-shell .input-group-text {
  background: #151a24;
  color: var(--primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: 0;
}

.auth-shell .input-group .form--control-2 {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.auth-shell .cmn--btn.w-100 {
  min-height: 48px;
  margin-top: 4px;
}

@media (max-width: 991px) {
  .auth-shell .account-section { padding: 16px; }
  .auth-shell .account__section-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 18px;
  }
  .auth-shell .account__section-thumb {
    padding: 12px 4px 0;
    min-height: auto;
  }
  .auth-shell .auth-aside h2 { max-width: none; font-size: 2.1rem; }
  .auth-shell .account__section-content {
    max-width: none;
    margin: 0;
    max-height: none;
  }
}

/* ===== Mobile polish ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body.nav-open,
body.dash-open {
  overflow: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
}

.brand-mark img,
.preloader-mark img,
.dash-appbar-avatar img,
.user-profile .thumb img,
.dashboard-menu .thumb img {
  height: 100%;
}

video {
  max-width: 100%;
}

#hero3d, .banner-section video {
  height: 100%;
}

.see-more-less,
.text-break,
.dash-trx-wallet {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1199px) {
  .dashboard-shell .dash-appbar {
    position: sticky;
    top: 0;
    z-index: 25;
    background: #05070b;
    padding: 10px 0 14px;
    margin-bottom: 10px;
  }
}

@media (max-width: 991px) {
  .header-auth-btn { display: none !important; }
  .mobile-nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-nav-panel {
    padding-bottom: 18px;
  }
  .mobile-nav-panel .menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-weight: 650;
  }
  .mobile-lang {
    width: 100%;
    margin-top: 12px;
  }
  .frontend-shell .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .frontend-shell .banner-section {
    min-height: 0;
    padding: 4.2rem 0 3.2rem;
  }
  .frontend-shell .banner__content-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .cb-open-story,
  .cb-open-assets,
  .cb-open-cta,
  .frontend-shell .how-section,
  .frontend-shell .service-section,
  .frontend-shell .faqs-section,
  .frontend-shell .clients-section,
  .frontend-shell .blog-section,
  .frontend-shell .cta-section {
    padding: 56px 0;
  }
  .cb-open-split { gap: 28px; }
  .cb-open-photo img { height: 220px; }
  .cb-open-stats-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .home-stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .cmn--btn,
  .hero-actions .btn--ghost {
    flex: 1 1 140px;
  }
  .cookie-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .site-header .header-shell {
    min-height: 64px;
    gap: 10px;
    padding-top: env(safe-area-inset-top);
  }
  .brand-copy small { display: none; }
  .brand-copy strong {
    font-size: 0.92rem;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pt-120 { padding-top: 3.2rem !important; }
  .pb-120 { padding-bottom: 3.2rem !important; }
  .hero-stats { gap: 8px; }
  .stat-pill { min-width: 0; flex: 1 1 30%; }
  .cb-open-visual,
  .cb-mini,
  .quote-grid,
  .cb-blog-grid,
  .home-card-band-grid { grid-template-columns: 1fr; }
  .cb-open-visual img { max-width: none; }
  .cb-asset-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .cb-asset-row span:last-child { grid-column: 2; }
  .how-steps { grid-template-columns: 1fr; }
  .service-section .cb-open-split + .cb-open-split { margin-top: 36px; }
  .faq--thumb img,
  .frontend-shell .faq--thumb img { height: 240px; }
  .account__section-wrapper { width: 100%; }
  .auth-shell .account-section {
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
  }
  .auth-shell .auth-aside h2 { font-size: 1.7rem; }
  .auth-shell .auth-aside-list { display: none; }
  .auth-shell .account__section-content {
    padding: 22px 16px;
    border-radius: 22px;
  }
  .auth-inline {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .dashboard-shell .cb-bal {
    font-size: clamp(2rem, 10vw, 2.6rem);
    overflow-wrap: anywhere;
  }
  .dashboard-shell .dash-actions {
    width: 100%;
    justify-content: space-between;
  }
  .dashboard-shell .dash-action { min-width: 0; flex: 1; }
  .dashboard-shell .dash-chart-meta {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .dashboard-shell .dashboard-header .title {
    font-size: 1.35rem;
    overflow-wrap: anywhere;
  }
  .dashboard-shell .cmn--table thead { display: none; }
  .dashboard-shell .cmn--table,
  .dashboard-shell .cmn--table tbody,
  .dashboard-shell .cmn--table tr,
  .dashboard-shell .cmn--table td {
    display: block;
    width: 100%;
  }
  .dashboard-shell .cmn--table tbody tr {
    margin-bottom: 10px;
    border-radius: 16px;
    overflow: hidden;
  }
  .dashboard-shell .cmn--table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03) !important;
    border-radius: 0 !important;
  }
  .dashboard-shell .cmn--table td::before {
    content: attr(data-label);
    color: #8b98ab;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex: 0 0 38%;
  }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pagination { flex-wrap: wrap; }
  .modal-dialog { margin: 12px; }
  .scrollToTop { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}

@media (max-width: 479px) {
  .cb-open-stats-row,
  .home-stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .cmn--btn,
  .hero-actions .btn--ghost { width: 100%; flex: 1 1 auto; }
  .preloader-glow { width: 240px; height: 240px; }
}

/* ===== Dashboard phone app ===== */
/* Dashboard keeps a light reveal off so the app feels instant */
.dashboard-shell .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.two-factor-scan {
  display: flex;
  justify-content: center;
}

.twofa-qr {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: 16px;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .dashboard-shell .overlay { z-index: 65; }
  .dashboard-shell .dashboard-menu {
    width: min(320px, 92vw);
    height: 100dvh;
    padding: calc(18px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
    box-shadow: 24px 0 60px rgba(0,0,0,0.45);
  }
  .dashboard-shell .side-sidebar-close-btn {
    display: grid;
    top: calc(10px + env(safe-area-inset-top));
    z-index: 2;
  }
  .dashboard-shell .main-menu a {
    min-height: 48px;
    font-size: 1rem;
    border-radius: 14px;
  }
  .dashboard-shell .dash-appbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -12px -14px 16px;
    padding: calc(10px + env(safe-area-inset-top)) 14px 12px;
    background: rgba(5, 7, 11, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .dashboard-shell .dash-appbar strong {
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .dashboard-shell .dash-workspace {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dashboard-shell .cb-mini {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .dashboard-shell .dashboard-main {
    padding: 0 12px calc(96px + env(safe-area-inset-bottom));
  }
  .dashboard-shell .dash-appbar {
    margin: 0 -12px 14px;
    padding: calc(8px + env(safe-area-inset-top)) 12px 10px;
  }
  .dashboard-shell .dash-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 16px;
  }
  .dashboard-shell .cb-hi { font-size: 0.88rem; margin-bottom: 6px; }
  .dashboard-shell .cb-bal {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  .dashboard-shell .cb-day {
    font-size: 0.84rem;
    font-weight: 600;
    gap: 6px;
  }
  .dashboard-shell .dash-rate {
    flex: 1 0 100%;
    color: #8b98ab;
    font-weight: 500;
  }
  .dashboard-shell .dash-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 4px 0 0;
  }
  .dashboard-shell .dash-action {
    min-width: 0;
    padding: 8px 0;
  }
  .dashboard-shell .dash-action-ico {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
  .dashboard-shell .chart-panel {
    padding: 14px 12px 8px;
  }
  .dashboard-shell .panel-head {
    gap: 8px;
    margin-bottom: 8px;
  }
  .dashboard-shell .dash-chart-meta {
    width: 100%;
    justify-content: space-between;
  }
  .dashboard-shell #dashChart {
    height: 210px !important;
  }
  .dashboard-shell .dashboard-item {
    padding: 16px;
  }
  .dashboard-shell .dashboard-header .title {
    font-size: 1.2rem;
    overflow-wrap: anywhere;
  }
  .dashboard-shell .cur-btn-group { gap: 8px; }
  .dashboard-shell .cur-toggle-btn {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .dashboard-shell .mini-stat {
    padding: 14px 12px 16px;
  }
  .dashboard-shell .mini-stat strong {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }
  .dashboard-shell .activity-panel { padding: 14px 12px; }
  .dashboard-shell .dash-trx {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
  .dashboard-shell .dash-trx-ico {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
  .dashboard-shell .dash-trx-amt {
    grid-column: 2;
    text-align: left;
  }
  .dashboard-shell .dash-trx-wallet { max-width: 100%; }
  .dashboard-shell .section__title {
    font-size: 1.35rem;
  }
  .dashboard-shell .user-profile,
  .dashboard-shell .user-profile-form,
  .dashboard-shell .change-wrapper,
  .dashboard-shell .widget__ticket,
  .dashboard-shell .custom--card {
    padding: 16px;
  }
  .dashboard-shell .cmn--btn,
  .dashboard-shell .btn--primary {
    min-height: 46px;
  }
  .dashboard-shell .text-end .cmn--btn,
  .dashboard-shell .text-end .btn--primary {
    width: 100%;
  }
  .dashboard-shell .form-control,
  .dashboard-shell .form--control {
    min-height: 46px;
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .dashboard-shell .cb-mini { gap: 8px; }
  .dashboard-shell .mini-ico { width: 28px; height: 28px; margin-bottom: 8px; }
}

