: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;
}

/* ── Purple theme for all public (frontend-shell) pages ── */
body.frontend-shell {
  --bg-900: #100820;
  --bg-800: #180f2e;
  --bg-700: #21153e;
  --panel: rgba(26, 14, 48, 0.82);
  --panel-strong: rgba(16, 8, 32, 0.94);
  --border: rgba(168, 85, 247, 0.18);
  --text: #f5f0ff;
  --text-muted: #bfaee0;
  --primary: #a855f7;
  --secondary: #60a5fa;
  --accent: #c084fc;
  --success: #4ade80;
  --danger: #f87171;
  --warning: #fbbf24;
  --shadow: 0 24px 60px rgba(100, 20, 180, 0.3);
  --up: #4ade80;
  --down: #f87171;
  background:
    radial-gradient(circle at 10% -8%,  rgba(168, 85, 247, 0.32), transparent 38%),
    radial-gradient(circle at 90% 5%,   rgba(96, 165, 250, 0.22), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(168, 85, 247, 0.12), transparent 50%),
    linear-gradient(180deg, #0d0718 0%, #120d24 45%, #0d0a1c 100%);
}

* { 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;
}

/* Header: purple-tinted glass */
body.frontend-shell .site-header {
  background: rgba(14, 8, 28, 0.76);
  border-bottom-color: rgba(168, 85, 247, 0.2);
}

/* Hero scrim: purple overlay instead of navy */
body.frontend-shell .hero-scrim,
body.frontend-shell .banner-section::before,
body.frontend-shell .hero-section::before {
  background:
    linear-gradient(90deg, rgba(13, 7, 24, 0.62) 0%, rgba(13, 7, 24, 0.22) 55%, rgba(13, 7, 24, 0.1) 100%),
    linear-gradient(180deg, rgba(80, 20, 140, 0.15), rgba(20, 10, 50, 0.38));
}
body.frontend-shell .hero-section.inner-hero::before {
  background:
    linear-gradient(180deg, rgba(13, 7, 24, 0.62) 0%, rgba(10, 5, 20, 0.78) 100%),
    linear-gradient(90deg, rgba(80, 20, 140, 0.3), rgba(20, 10, 50, 0.18));
}

/* Section panels: replace navy with deep purple tints */
body.frontend-shell .section-bg,
body.frontend-shell .feature-section,
body.frontend-shell .about-section,
body.frontend-shell .faq-section,
body.frontend-shell .contact-section,
body.frontend-shell .blog-section,
body.frontend-shell .testimonial-section,
body.frontend-shell .pricing-section,
body.frontend-shell .team-section,
body.frontend-shell .partner-section,
body.frontend-shell .cta-section {
  --bg-900: #100820;
  --bg-800: #180f2e;
}

/* Card/panel backgrounds that use hardcoded blues */
body.frontend-shell .widget,
body.frontend-shell .card-item,
body.frontend-shell .feature-card,
body.frontend-shell .price-card,
body.frontend-shell .blog-card,
body.frontend-shell .team-card {
  background: var(--bg-800);
  border-color: var(--border);
}

/* Spark / market board on homepage */
body.frontend-shell .spark-card,
body.frontend-shell .market-board {
  background: rgba(24, 15, 46, 0.85);
  border-color: rgba(168, 85, 247, 0.18);
}
body.frontend-shell .spark-head .chip {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
}

/* Nav active / hover links */
body.frontend-shell .site-nav a:hover,
body.frontend-shell .site-nav a.active { color: #c084fc; }

/* Eyebrow labels */
body.frontend-shell .eyebrow {
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.1);
}

/* Buttons: purple gradient */
body.frontend-shell .cmn--btn,
body.frontend-shell .btn--primary,
body.frontend-shell .btn--success {
  background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
  color: #fff !important;
  border-color: transparent !important;
}
body.frontend-shell .cmn--btn:hover,
body.frontend-shell .btn--primary:hover {
  background: linear-gradient(135deg, #c084fc, #a855f7) !important;
}
body.frontend-shell .btn--ghost {
  border-color: rgba(168, 85, 247, 0.45) !important;
  color: #c084fc !important;
}
body.frontend-shell .btn--ghost:hover {
  background: rgba(168, 85, 247, 0.12) !important;
  border-color: rgba(168, 85, 247, 0.7) !important;
}

/* Stat pills on hero */
body.frontend-shell .stat-pill {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
}
body.frontend-shell .stat-pill strong { color: #c084fc; }

/* Scrollbar accent */
body.frontend-shell ::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.35); }

/* Section divider / after lines */
body.frontend-shell .section-title::after,
body.frontend-shell h2.title::after { background: linear-gradient(90deg, #a855f7, #60a5fa); }

/* ── Footer: purple-tinted dark instead of plain black ── */
body.frontend-shell .footer-section {
  background: linear-gradient(to bottom, rgba(12, 6, 24, 0.6), rgba(8, 4, 18, 0.96));
  border-top-color: rgba(168, 85, 247, 0.2);
}
body.frontend-shell .footer-middle-wrapper {
  border-top-color: rgba(168, 85, 247, 0.12);
}
body.frontend-shell .footer-widget .title { color: #c084fc; }
body.frontend-shell .footer-widget .links a:hover { color: #c084fc; }
body.frontend-shell .footer-social a {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}
body.frontend-shell .footer-social a:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.45);
}

/* ── Buttons: replace green shadow with purple glow ── */
body.frontend-shell .cmn--btn,
body.frontend-shell .btn--primary,
body.frontend-shell .btn--success,
body.frontend-shell button[type='submit']:not(.btn-close) {
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35) !important;
  color: #fff !important;
}
body.frontend-shell .cmn--btn:hover,
body.frontend-shell .btn--primary:hover,
body.frontend-shell .btn--success:hover {
  background: linear-gradient(135deg, #c084fc, #a855f7) !important;
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.5) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ── Icon cards: replace green icon-glow with purple ── */
body.frontend-shell .sm-img,
body.frontend-shell .hero-coin-row img {
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.28);
  background: rgba(168, 85, 247, 0.08);
}
body.frontend-shell .cb-open-visual--cards article {
  background: rgba(20, 10, 40, 0.7);
  border-color: rgba(168, 85, 247, 0.15);
  transition: border-color 0.2s, background 0.2s;
}
body.frontend-shell .cb-open-visual--cards article:hover {
  background: rgba(30, 14, 56, 0.9);
  border-color: rgba(168, 85, 247, 0.35);
}
body.frontend-shell .cb-open-visual img {
  background: rgba(168, 85, 247, 0.08);
}

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);
  background: rgba(42,255,198,0.08);
  padding: 6px;
  object-fit: contain;
}

.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: linear-gradient(160deg, rgba(14,20,34,0.95), rgba(7,11,20,0.97));
  color: var(--text);
  border: 1px solid var(--border);
  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: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.82rem;
}

.market-board button.on {
  background: var(--primary);
  color: #07111f;
}

.board-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 4px;
  border-top: 1px solid var(--border);
  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);
  min-height: 44px;
}

.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; }

.mb-20 { margin-bottom: 20px; }

.user-profile { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 22px; position: relative; }
.user-profile .thumb {
  position: relative;
  display: inline-block;
}
.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);
  display: block;
}
.user-profile .remove-image {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(234, 84, 85, 0.92);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  transition: background 0.2s;
  z-index: 2;
}
.user-profile .remove-image.visible { display: flex; }
.user-profile .remove-image:hover { background: rgb(200, 44, 44); }

.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: 64px 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-open-visual--cards article h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-item .subtitle,
.user__content .title,
.cb-blog-grid .post__title {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.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: auto;
  aspect-ratio: 4/3;
  max-height: 360px;
  object-fit: cover;
  border-radius: 28px;
}

.reveal {
  opacity: 0;
  transition: opacity 0.62s cubic-bezier(0.22,1,0.36,1),
              transform 0.62s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
/* directional starting positions */
.reveal--up    { transform: translateY(36px); }
.reveal--down  { transform: translateY(-24px); }
.reveal--right { transform: translateX(-40px); }
.reveal--left  { transform: translateX(40px); }
.reveal--scale { transform: scale(0.90) translateY(20px); }
/* fallback if no direction modifier */
.reveal:not([class*="reveal--"]) { transform: translateY(36px); }

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL POLISH SUITE
═══════════════════════════════════════════════════════════ */

/* ── html smooth scroll ── */
html { scroll-behavior: smooth; }

/* ── scroll progress bar (top edge, gradient line) ── */
#scroll-prog {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg,
    var(--primary) 0%,
    var(--accent, #c084fc) 50%,
    var(--secondary, #60a5fa) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 100000;
  pointer-events: none;
  will-change: transform;
}

/* ── site-header scroll transitions ── */
.site-header {
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    box-shadow 0.28s ease !important;
}
/* hide on scroll-down */
.site-header.header--hidden {
  transform: translateY(-110%) !important;
}
/* compact glass look once scrolled */
body.frontend-shell .site-header.header--scrolled {
  background: rgba(7, 3, 16, 0.95) !important;
  box-shadow:
    0 1px 0 rgba(168, 85, 247, 0.2),
    0 4px 28px rgba(0, 0, 0, 0.35) !important;
}

/* ── scroll-to-top: show/hide + ring ── */
.scrollToTop {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  overflow: visible !important;
  position: fixed !important;
}
.scrollToTop.stt--visible {
  opacity: 1;
  pointer-events: auto;
  transform: none !important;
}
.scroll-top-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  pointer-events: none;
  overflow: visible;
}
.scroll-top-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.40);
  stroke-width: 2.2;
  stroke-linecap: round;
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 0.12s linear;
}

.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: auto;
  aspect-ratio: 3/2;
  max-height: 400px;
  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;
}

.cb-open-visual--cards h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.quote-card .quote-name { margin: 0; font-weight: 700; }
.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-article h2 {
  font-size: 1.25rem;
  margin: 1.6rem 0 0.6rem;
}

.home-faq {
  max-width: 860px;
  margin-top: 24px;
}

.about-facts {
  margin-top: 28px;
}

.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 .inner-hero.hero-faq {
  background-color: #160b2a;
}

/* Alternating section tint so stacked story sections don't blur together */
.home-landing-shell .cb-open-story:nth-child(even),
.home-landing-shell .cb-open-assets:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.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 h3,
.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: 44px 0;
  }
  .cb-open-split { gap: 28px; }
  .cb-open-photo img { max-height: 260px; }
  .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; }
}

/* ═══════════════════════════════════════════════════════════
   INNER-PAGE SYSTEM  (wallet · send · history · profile · security · tickets)
   ═══════════════════════════════════════════════════════════ */

.ip-shell { display: flex; flex-direction: column; gap: 32px; }

/* Page header */
.ip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 8px;
}
.ip-label {
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
  opacity: 0.85;
}
.ip-title {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  color: #f0f4ff;
}

/* Card */
.ip-card {
  background: #0e1117;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
}
.ip-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent;
}
.ip-card-head h5, .ip-card-head h6 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(240,244,255,0.85);
}
.ip-card-body { padding: 0; }

/* Filter strip inside card */
.ip-filter {
  display: flex;
  gap: 10px;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  background: transparent;
}
.ip-filter .form--control, .ip-filter select {
  flex: 1;
  min-width: 140px;
  min-height: 40px;
  font-size: 0.84rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* Flat table inside ip-card */
.ip-card .cmn--table {
  border-spacing: 0 !important;
  border-collapse: collapse !important;
  margin: 0;
}
.ip-card .cmn--table thead th {
  padding: 12px 28px !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 0 !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.4) !important;
}
.ip-card .cmn--table tbody tr td {
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  padding: 17px 28px;
  font-size: 0.9rem;
}
.ip-card .cmn--table tbody tr:last-child td { border-bottom: none !important; }
.ip-card .cmn--table tbody tr:hover td { background: rgba(255,255,255,0.025) !important; }
.ip-card .cmn--table tbody tr.d-block { display: none !important; }

/* Pagination strip at the bottom of the card */
.ip-pager { padding: 16px 28px; border-top: 1px solid rgba(255,255,255,0.06); }

/* Empty state */
.ip-empty {
  padding: 64px 28px;
  text-align: center;
  color: var(--text-muted);
}
.ip-empty i { font-size: 2.5rem; opacity: 0.3; display: block; margin-bottom: 14px; }
.ip-empty p { margin: 0; font-size: 0.88rem; }

/* Stat pills row */
.ip-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.ip-stat {
  flex: 1;
  min-width: 130px;
  background: #0e1117;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 22px 24px;
}
.ip-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 6px;
  color: #f0f4ff;
}
.ip-stat span { font-size: 0.73rem; color: var(--text-muted); margin-top: 3px; display: block; text-transform: uppercase; letter-spacing: 0.06em; }

/* Form card */
.ip-form {
  background: #0e1117;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
}
.ip-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent;
}
.ip-form-head h5, .ip-form-head h6 { margin: 0; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; color: rgba(240,244,255,0.85); }
.ip-form-body { padding: 28px; }

/* Rate info strip (send page) */
.rate-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 11px 16px;
  background: rgba(42,255,198,0.06);
  border: 1px solid rgba(42,255,198,0.13);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.rate-strip strong { color: var(--primary); font-variant-numeric: tabular-nums; }

/* Wallet address mono style */
.wallet-addr {
  font-family: 'Courier New', monospace;
  font-size: 0.77rem;
  color: var(--text-muted);
  word-break: break-all;
}
.bal-em {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* Chat thread (ticket view) */
.ip-thread { display: flex; flex-direction: column; }
.ip-msg { padding: 20px 28px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ip-msg:last-child { border-bottom: none; }
.ip-msg.is-support { background: rgba(42,255,198,0.03); }
.ip-msg-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ip-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(42,255,198,0.15); color: var(--primary);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.ip-msg-avatar.is-support { background: rgba(77,232,255,0.15); color: #4de8ff; }
.ip-msg-author { font-weight: 700; font-size: 0.88rem; }
.ip-msg-time { font-size: 0.73rem; color: var(--text-muted); }
.ip-msg-body { font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); }

/* 2FA grid */
.twofa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.twofa-qr-wrap { display: flex; justify-content: center; padding: 8px 0 16px; }
.twofa-qr-wrap img { border-radius: 12px; border: 2px solid rgba(42,255,198,0.18); }

/* Profile - ensure image is cropped in circle */
.ip-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 24px;
  text-align: center;
  background: #0e1117;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
}
.ip-avatar-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(42,255,198,0.3);
  background: #122033;
  position: relative;
}
.ip-avatar-name { font-size: 1.05rem; font-weight: 700; margin: 0; }
.ip-avatar-sub { font-size: 0.8rem; color: var(--text-muted); margin: 2px 0 0; }
.ip-avatar-edit { font-size: 0.78rem; color: var(--primary); font-weight: 700; cursor: pointer; }

/* Remove-image overlay on ip-avatar-wrap */
.ip-avatar-thumb { position: relative; display: inline-block; }
.ip-avatar-remove {
  position: absolute; top: 4px; right: 4px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(234,84,85,0.9); color: #fff;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; font-size: 12px; z-index: 2; transition: background 0.2s;
}
.ip-avatar-remove.visible { display: flex; }
.ip-avatar-remove:hover { background: #c82c2c; }

/* Ticket badge */
.ip-ticket-id { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* Mobile */
@media (max-width: 767px) {
  .ip-card-head, .ip-form-head, .ip-filter,
  .ip-card .cmn--table thead th,
  .ip-card .cmn--table tbody tr td,
  .ip-card-body, .ip-form-body, .ip-pager { padding-left: 16px; padding-right: 16px; }
  .ip-stats { gap: 10px; }
  .ip-stat { min-width: 100px; padding: 16px 14px; }
  .ip-stat strong { font-size: 1.4rem; }
  .twofa-grid { grid-template-columns: 1fr; }
  .ip-msg { padding: 14px 16px; }
  .ip-title { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════
   INNER-PAGE POLISH  — depth, accents, motion
   ═══════════════════════════════════════════════ */

/* Card depth — flat Coinbase-style */
.ip-card, .ip-form {
  box-shadow: 0 1px 10px rgba(0,0,0,0.22);
}

/* No hover glow — flat and clean */
.ip-card:hover, .ip-form:hover {
  box-shadow: 0 1px 10px rgba(0,0,0,0.22);
}

/* Stat pills — hover glow */
.ip-stat {
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}
.ip-stat:hover {
  border-color: rgba(42,255,198,0.22);
  background: rgba(42,255,198,0.04);
}
.ip-stat strong { color: #e8edf5; }

/* ip-label pip */
.ip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ip-label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ip-title underline accent */
.ip-title {
  position: relative;
  display: inline-block;
}

/* ip-empty with a faint halo */
.ip-empty { position: relative; overflow: hidden; }
.ip-empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(42,255,198,0.04), transparent 70%);
  pointer-events: none;
}
.ip-empty i { position: relative; }
.ip-empty p { position: relative; }

/* Table row — left accent flash on hover */
.ip-card .cmn--table tbody tr { transition: background 0.15s; }
.ip-card .cmn--table tbody tr:hover td:first-child {
  border-left: 2px solid rgba(42,255,198,0.45) !important;
}

/* Focus glow on all form inputs inside ip-form */
.ip-form .form-control:focus,
.ip-form .form--control:focus,
.ip-card .form-control:focus,
.ip-card .form--control:focus {
  border-color: rgba(42,255,198,0.55) !important;
  box-shadow: 0 0 0 3px rgba(42,255,198,0.11) !important;
  outline: none;
}

/* Rate strip stronger accent */
.rate-strip {
  background: rgba(42,255,198,0.07);
  border-color: rgba(42,255,198,0.18);
}

/* Chat thread — bubble layout */
.ip-msg { transition: background 0.15s; }
.ip-msg:hover { background: rgba(255,255,255,0.015); }

/* User message — right aligned bubble */
.ip-msg.is-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: transparent;
}
.ip-msg.is-user .ip-msg-meta { flex-direction: row-reverse; }
.ip-msg.is-user .ip-msg-bubble {
  background: rgba(42,255,198,0.09);
  border: 1px solid rgba(42,255,198,0.14);
  border-radius: 18px 4px 18px 18px;
}

/* Support message — left aligned bubble */
.ip-msg.is-support {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
}
.ip-msg.is-support .ip-msg-bubble {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px 18px 18px 18px;
}

.ip-msg-bubble {
  padding: 10px 15px;
  max-width: 78%;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
}

/* Avatar badge colors */
.ip-msg-avatar {
  background: rgba(42,255,198,0.14);
  color: var(--primary);
  font-weight: 800;
}
.ip-msg-avatar.is-support {
  background: rgba(77,232,255,0.14);
  color: #4de8ff;
}

/* ip-filter: full-width flex chips */
.ip-filter select,
.ip-filter .form--control {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
}
.ip-filter select:focus { border-color: rgba(42,255,198,0.45); outline: none; box-shadow: 0 0 0 3px rgba(42,255,198,0.1); }

/* wallet-addr in table truncate nicely */
.wallet-addr {
  display: inline-block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* pager link bar */
.ip-pager .pagination { margin: 0; }

/* Profile avatar card — flat */
.ip-avatar-wrap {
  box-shadow: 0 1px 10px rgba(0,0,0,0.22);
}
.ip-avatar-wrap:hover { box-shadow: 0 1px 10px rgba(0,0,0,0.22); }
.ip-avatar-img { transition: border-color 0.25s; }
.ip-avatar-wrap:hover .ip-avatar-img { border-color: rgba(42,255,198,0.55); }

/* 2FA card status badges */
.ip-form-head .badge { font-size: 0.68rem; padding: 4px 8px; border-radius: 6px; }

/* Ticket-id sub-text */
.ip-ticket-id { font-size: 0.71rem; color: var(--text-muted); letter-spacing: 0.04em; }

/* Bold util */
.fw-600 { font-weight: 600; }

/* ip-shell gap tighten at mid breakpoint */
@media (max-width: 991px) {
  .ip-shell { gap: 18px; }
  .wallet-addr { max-width: 110px; }
}
@media (max-width: 767px) {
  .ip-msg-bubble { max-width: 92%; }
  .wallet-addr { max-width: 100%; white-space: normal; }
}


/* ═══════════════════════════════════════════════════════════════
   NEW FEATURES SUITE
═══════════════════════════════════════════════════════════════ */

/* ── Theme toggle button ─────────────────────────────────────── */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  display: grid; place-items: center;
  cursor: pointer; font-size: 1.05rem; flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.theme-toggle:hover {
  background: rgba(168,85,247,.18);
  color: #fff; border-color: rgba(168,85,247,.4);
}

/* ── Light theme (frontend-shell) — v3: neutral text, white surfaces, dark hero ── */
body.frontend-shell[data-theme="light"] {
  /* ── flip CSS variables:
        BG uses neutral off-white (no purple tint) so text ≠ bg hue.
        Text uses near-black, not dark-purple, so it reads on any light surface.
        Primary stays purple for buttons/labels/accents only.             ── */
  --bg-900: #f5f5f7;
  --bg-800: #ffffff;
  --bg-700: #eeeef0;
  --panel:        rgba(255,255,255,.95);
  --panel-strong: #ffffff;
  --border:    rgba(109,40,217,.14);
  --text:      #111827;
  --text-muted:#6b7280;
  --primary:   #7c3aed;
  --secondary: #4f46e5;
  --accent:    #9333ea;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  /* darken up/down so they pass WCAG on white — #4ade80 has 1.7:1 contrast, unusable */
  --up:   #059669;
  --down: #dc2626;
  color: #111827;
  background: #f5f5f7 !important;
}

/* headings + generic text — near-black, reads on any light surface */
body.frontend-shell[data-theme="light"] h1,
body.frontend-shell[data-theme="light"] h2,
body.frontend-shell[data-theme="light"] h3,
body.frontend-shell[data-theme="light"] h4,
body.frontend-shell[data-theme="light"] h5,
body.frontend-shell[data-theme="light"] h6 { color: #111827 !important; }
body.frontend-shell[data-theme="light"] p   { color: #374151 !important; }
body.frontend-shell[data-theme="light"] .eyebrow {
  color: #7c3aed !important;
  background: rgba(124,58,237,.1) !important;
  border-color: rgba(124,58,237,.2) !important;
}

/* ─── HERO / BANNER — keep dark (branded purple gradient) with white text ─── */
body.frontend-shell[data-theme="light"] .banner-section {
  background:
    linear-gradient(135deg, #1a0b3e 0%, #2d1260 45%, #1e0050 75%, #0f0a30 100%) !important;
}
/* lighten the ::before scrim so it doesn't double-darken */
body.frontend-shell[data-theme="light"] .banner-section::before,
body.frontend-shell[data-theme="light"] .hero-scrim {
  background:
    linear-gradient(90deg, rgba(10,4,24,.5) 0%, rgba(10,4,24,.18) 60%, transparent 100%) !important;
}
/* hero text explicitly white — overrides var(--text) = #111827 */
body.frontend-shell[data-theme="light"] .banner-section h1,
body.frontend-shell[data-theme="light"] .banner-section h2,
body.frontend-shell[data-theme="light"] .banner-section p,
body.frontend-shell[data-theme="light"] .banner-section small,
body.frontend-shell[data-theme="light"] .banner-section strong,
body.frontend-shell[data-theme="light"] .banner-section span,
body.frontend-shell[data-theme="light"] .banner__content-title { color: #ffffff !important; }

/* ─── INNER HERO (faq / blog / contact pages) — light lavender + dark text ─── */
body.frontend-shell[data-theme="light"] .hero-section.inner-hero {
  background-color: #f0ebff !important;
  background-image: none !important;
}
/* remove dark overlay */
body.frontend-shell[data-theme="light"] .hero-section.inner-hero::before {
  background: none !important;
  opacity: 0 !important;
}
body.frontend-shell[data-theme="light"] .inner-hero h1,
body.frontend-shell[data-theme="light"] .inner-hero h2,
body.frontend-shell[data-theme="light"] .inner-hero p,
body.frontend-shell[data-theme="light"] .inner-hero .title { color: #111827 !important; }

/* ─── hardcoded dark panel gradient → white surfaces ─── */
body.frontend-shell[data-theme="light"] .panel,
body.frontend-shell[data-theme="light"] .home-card-item,
body.frontend-shell[data-theme="light"] .home-ops-card,
body.frontend-shell[data-theme="light"] .feature-item,
body.frontend-shell[data-theme="light"] .counter__item,
body.frontend-shell[data-theme="light"] .faq__item,
body.frontend-shell[data-theme="light"] .service-item,
body.frontend-shell[data-theme="light"] .cta-wrapper,
body.frontend-shell[data-theme="light"] .transaction__warpper,
body.frontend-shell[data-theme="light"] .user-profile,
body.frontend-shell[data-theme="light"] .profile-area form,
body.frontend-shell[data-theme="light"] .account__section-content,
body.frontend-shell[data-theme="light"] .widget__ticket,
body.frontend-shell[data-theme="light"] .bg--section,
body.frontend-shell[data-theme="light"] .custom--card,
body.frontend-shell[data-theme="light"] .widget,
body.frontend-shell[data-theme="light"] .card-item,
body.frontend-shell[data-theme="light"] .feature-card,
body.frontend-shell[data-theme="light"] .price-card,
body.frontend-shell[data-theme="light"] .blog-card,
body.frontend-shell[data-theme="light"] .team-card {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
}

/* header */
body.frontend-shell[data-theme="light"] .site-header {
  background: rgba(255,255,255,.92) !important;
  border-bottom-color: rgba(0,0,0,.08) !important;
}
body.frontend-shell[data-theme="light"] .site-header.header--scrolled {
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 4px 20px rgba(0,0,0,.07) !important;
}
body.frontend-shell[data-theme="light"] .menu a,
body.frontend-shell[data-theme="light"] .brand-copy strong { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .brand-copy small  { color: #7c3aed !important; }
body.frontend-shell[data-theme="light"] .ghost-btn {
  border-color: rgba(124,58,237,.45) !important; color: #7c3aed !important;
}
body.frontend-shell[data-theme="light"] .theme-toggle {
  background: rgba(124,58,237,.07); border-color: rgba(124,58,237,.2); color: #7c3aed;
}
body.frontend-shell[data-theme="light"] .theme-toggle:hover {
  background: rgba(124,58,237,.14); color: #5b21b6;
}

/* spark card + market board */
body.frontend-shell[data-theme="light"] .spark-card,
body.frontend-shell[data-theme="light"] .market-board {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
  color: #111827 !important;
}
body.frontend-shell[data-theme="light"] .spark-head strong { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .spark-head span   { color: #6b7280 !important; }

/* market ticker */
body.frontend-shell[data-theme="light"] .market-ticker {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
}
body.frontend-shell[data-theme="light"] .ticker-track b    { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .ticker-track span { color: #6b7280 !important; }
body.frontend-shell[data-theme="light"] .ticker-item       { color: #111827 !important; }
/* darken percentage-change labels in ticker and board — --up/#059669 and --down/#dc2626 already
   overridden via variable, these are belt-and-suspenders for any hardcoded var() call */
body.frontend-shell[data-theme="light"] .chg.up,
body.frontend-shell[data-theme="light"] .board-row .up,
body.frontend-shell[data-theme="light"] .ticker-track .up  { color: #059669 !important; }
body.frontend-shell[data-theme="light"] .chg.down,
body.frontend-shell[data-theme="light"] .board-row .down,
body.frontend-shell[data-theme="light"] .ticker-track .down { color: #dc2626 !important; }
/* board-row names, prices; em always carries .up/.down so no bare-em override here */
body.frontend-shell[data-theme="light"] .board-row          { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .board-row span     { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .board-row strong   { color: #111827 !important; }
/* market-board tab buttons (seg = Stocks/Crypto, subtabs = Spot/Hot/Watch) */
body.frontend-shell[data-theme="light"] .market-board button {
  background: rgba(0,0,0,.06) !important;
  color: #374151 !important;
  border: 1px solid rgba(0,0,0,.10) !important;
}
body.frontend-shell[data-theme="light"] .market-board button.on {
  background: #7c3aed !important;
  color: #ffffff !important;
  border-color: #7c3aed !important;
}

/* stats bar */
body.frontend-shell[data-theme="light"] .cb-open-stats {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.07) !important;
}
body.frontend-shell[data-theme="light"] .cb-open-stats-row > div {
  border-color: rgba(0,0,0,.08) !important;
}
body.frontend-shell[data-theme="light"] .cb-open-stats-row strong { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .cb-open-stats-row span   { color: #6b7280 !important; }

/* section copy text */
body.frontend-shell[data-theme="light"] .cb-open-copy h1,
body.frontend-shell[data-theme="light"] .cb-open-copy h2,
body.frontend-shell[data-theme="light"] .cb-open-copy--wide h2,
body.frontend-shell[data-theme="light"] .section-title { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .cb-open-copy p,
body.frontend-shell[data-theme="light"] .cb-open-copy--wide p,
body.frontend-shell[data-theme="light"] .cb-open-copy small { color: #374151 !important; }

/* story / visual cards */
body.frontend-shell[data-theme="light"] .cb-open-visual article,
body.frontend-shell[data-theme="light"] .cb-open-visual--cards article {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
}
body.frontend-shell[data-theme="light"] .cb-open-visual--cards article:hover {
  border-color: rgba(124,58,237,.3) !important;
}
body.frontend-shell[data-theme="light"] .cb-open-visual article h3,
body.frontend-shell[data-theme="light"] .cb-open-visual--cards article h3 { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .cb-open-visual article p,
body.frontend-shell[data-theme="light"] .cb-open-visual--cards article p  { color: #374151 !important; }

/* home stats + mini stats */
body.frontend-shell[data-theme="light"] .home-stat,
body.frontend-shell[data-theme="light"] .mini-stat {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
}
body.frontend-shell[data-theme="light"] .home-stat strong,
body.frontend-shell[data-theme="light"] .mini-stat strong { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .home-stat span,
body.frontend-shell[data-theme="light"] .mini-stat span   { color: #6b7280 !important; }

/* asset table */
body.frontend-shell[data-theme="light"] .cb-asset-table {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.07) !important;
}
body.frontend-shell[data-theme="light"] .cb-asset-row {
  border-color: rgba(0,0,0,.06) !important; color: #111827 !important;
}

/* CTA sections */
body.frontend-shell[data-theme="light"] .cb-open-cta {
  background: rgba(124,58,237,.04) !important;
  border-color: rgba(124,58,237,.1) !important;
}

/* FAQ */
body.frontend-shell[data-theme="light"] .faq__item.open,
body.frontend-shell[data-theme="light"] .faq__item.active {
  border-color: rgba(124,58,237,.3) !important;
  background: #ffffff !important;
}
body.frontend-shell[data-theme="light"] .faq__title .title { color: #111827 !important; }
/* override hardcoded #c5d4ea (near-white) on faq content */
body.frontend-shell[data-theme="light"] .faq__content,
body.frontend-shell[data-theme="light"] .faq__content p,
body.frontend-shell[data-theme="light"] .faq__content span,
body.frontend-shell[data-theme="light"] .faq__content li,
body.frontend-shell[data-theme="light"] .faq__content strong,
body.frontend-shell[data-theme="light"] .faq__content * { color: #374151 !important; }

/* how-section stays intentionally dark (background photo + overlay) — keep all text white */
body.frontend-shell[data-theme="light"] .how-section,
body.frontend-shell[data-theme="light"] .how-copy h2,
body.frontend-shell[data-theme="light"] .how-copy p,
body.frontend-shell[data-theme="light"] .how-step h2,
body.frontend-shell[data-theme="light"] .how-step h3,
body.frontend-shell[data-theme="light"] .how-step h4,
body.frontend-shell[data-theme="light"] .how-step h5,
body.frontend-shell[data-theme="light"] .how-step p,
body.frontend-shell[data-theme="light"] .how-step small,
body.frontend-shell[data-theme="light"] .how-step span { color: #ffffff !important; }

/* quote cards */
body.frontend-shell[data-theme="light"] .quote-card {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
}
body.frontend-shell[data-theme="light"] .quote-card p,
body.frontend-shell[data-theme="light"] .quote-card cite { color: #374151 !important; }

/* blog cards + sidebar */
body.frontend-shell[data-theme="light"] .post__item {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
}
body.frontend-shell[data-theme="light"] .post__title  { color: #111827 !important; }
body.frontend-shell[data-theme="light"] .post__meta,
body.frontend-shell[data-theme="light"] .post__item p { color: #6b7280 !important; }
body.frontend-shell[data-theme="light"] .blog-sidebar .widget {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.08) !important;
}

/* form inputs */
body.frontend-shell[data-theme="light"] .form--control,
body.frontend-shell[data-theme="light"] .form-control {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.18) !important;
  color: #111827 !important;
}
body.frontend-shell[data-theme="light"] .form--control::placeholder,
body.frontend-shell[data-theme="light"] .form-control::placeholder { color: rgba(0,0,0,.32) !important; }
body.frontend-shell[data-theme="light"] .form--label,
body.frontend-shell[data-theme="light"] label { color: #374151 !important; }

/* footer */
body.frontend-shell[data-theme="light"] .footer-section {
  background: #1a0b3e !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
body.frontend-shell[data-theme="light"] .footer-section,
body.frontend-shell[data-theme="light"] .footer-section h4,
body.frontend-shell[data-theme="light"] .footer-section h5,
body.frontend-shell[data-theme="light"] .footer-section p,
body.frontend-shell[data-theme="light"] .footer-section span { color: rgba(255,255,255,.75) !important; }
body.frontend-shell[data-theme="light"] .footer-section a     { color: #c084fc !important; }
body.frontend-shell[data-theme="light"] .footer-section .title { color: #ffffff !important; }

/* scroll progress bar */
body.frontend-shell[data-theme="light"] #scroll-prog {
  background: linear-gradient(90deg, #7c3aed, #a855f7, #4f46e5) !important;
}

/* ── BTC 24h change badge ─────────────────────────────────────── */
.btc-24h-badge {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  margin-left: 6px; vertical-align: middle;
  transition: opacity .3s;
}
.btc-24h-badge.up   { background: rgba(42,255,198,.12); color: #2affc6; border: 1px solid rgba(42,255,198,.2); }
.btc-24h-badge.down { background: rgba(248,113,113,.1);  color: #f87171; border: 1px solid rgba(248,113,113,.2); }

/* ═══════════════════════════════════════════════════════════════
   CTA FIX — purple tint instead of leftover mint green
═══════════════════════════════════════════════════════════════ */
body.frontend-shell .cta-wrapper {
  background: linear-gradient(135deg,
    rgba(168,85,247,.13) 0%,
    rgba(96,165,250,.10) 100%) !important;
  border-color: rgba(168,85,247,.22) !important;
}
body.frontend-shell .cb-open-cta {
  background: linear-gradient(135deg, rgba(168,85,247,.07), rgba(96,165,250,.05));
  border-top: 1px solid rgba(168,85,247,.12);
  border-bottom: 1px solid rgba(168,85,247,.12);
}
body.frontend-shell .right--icon {
  background: rgba(168,85,247,.12) !important;
  color: var(--primary) !important;
}
body.frontend-shell .right--icon::before { color: var(--primary) !important; }

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD THEME TOGGLE BUTTON
═══════════════════════════════════════════════════════════════ */
.dash-theme-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px; border-radius: 12px;
  background: transparent; border: none;
  color: #b7c2d3; font-weight: 600; font-size: .94rem;
  cursor: pointer; transition: background .15s, color .15s;
  text-align: left;
}
.dash-theme-btn:hover { background: rgba(255,255,255,.06); color: #e8edf5; }
.dash-theme-btn i { font-size: 1.05rem; }
.theme-toggle--sm {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6); font-size: .95rem; flex-shrink: 0;
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s;
}
.dash-appbar-right { display: flex; align-items: center; gap: 10px; }

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD LIGHT THEME  (v2 — full variable + element coverage)
═══════════════════════════════════════════════════════════════ */
body.dashboard-shell[data-theme="light"] {
  /* ── flip all CSS variables so every var() call auto-corrects ── */
  --bg-900: #f8fafc;
  --bg-800: #f1f5f9;
  --bg-700: #e2e8f0;
  --panel:        rgba(255,255,255,.97);
  --panel-strong: #ffffff;
  --border:    rgba(15,23,42,.08);
  --text:      #111827;
  --text-muted:#6b7280;
  --primary:   #0d9488;
  --secondary: #0891b2;
  --shadow:    0 4px 24px rgba(15,23,42,.08);
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* main layout areas */
body.dashboard-shell[data-theme="light"] .dashboard-section,
body.dashboard-shell[data-theme="light"] .dashboard-app { background: #f8fafc !important; }

/* sidebar */
body.dashboard-shell[data-theme="light"] .dashboard-menu {
  background: #ffffff !important;
  border-right-color: rgba(0,0,0,.07) !important;
}
body.dashboard-shell[data-theme="light"] .dashboard-menu .user {
  background: rgba(0,0,0,.025) !important;
  border-color: rgba(0,0,0,.07) !important;
}
body.dashboard-shell[data-theme="light"] .dashboard-menu .content .title a,
body.dashboard-shell[data-theme="light"] .dash-brand .brand-copy strong { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .dashboard-menu .content p,
body.dashboard-shell[data-theme="light"] .dash-brand .brand-copy small { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .dash-nav-label { color: rgba(0,0,0,.28) !important; }
body.dashboard-shell[data-theme="light"] .main-menu a { color: #334155 !important; }
body.dashboard-shell[data-theme="light"] .main-menu a:hover,
body.dashboard-shell[data-theme="light"] .main-menu a.active {
  background: rgba(13,148,136,.1) !important; color: #0d9488 !important;
}
body.dashboard-shell[data-theme="light"] .dash-theme-btn { color: #334155 !important; }
body.dashboard-shell[data-theme="light"] .dash-theme-btn:hover {
  background: rgba(0,0,0,.04) !important; color: #0f172a !important;
}

/* appbar (mobile) */
body.dashboard-shell[data-theme="light"] .dash-appbar {
  background: #ffffff !important;
  border-bottom-color: rgba(0,0,0,.08) !important;
}
body.dashboard-shell[data-theme="light"] .dash-appbar strong { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .theme-toggle--sm {
  background: rgba(0,0,0,.05) !important;
  border-color: rgba(0,0,0,.1) !important;
  color: #334155 !important;
}
body.dashboard-shell[data-theme="light"] .dashboard-menu-open {
  background: rgba(0,0,0,.05) !important;
  color: #334155 !important;
}

/* panels, cards, forms — hardcoded #0e131b → white */
body.dashboard-shell[data-theme="light"] .panel,
body.dashboard-shell[data-theme="light"] .dashboard-item,
body.dashboard-shell[data-theme="light"] .user-profile,
body.dashboard-shell[data-theme="light"] .user-profile-form,
body.dashboard-shell[data-theme="light"] .transaction__warpper,
body.dashboard-shell[data-theme="light"] .widget__ticket,
body.dashboard-shell[data-theme="light"] .change-wrapper,
body.dashboard-shell[data-theme="light"] .custom--card,
body.dashboard-shell[data-theme="light"] .card,
body.dashboard-shell[data-theme="light"] .ip-card,
body.dashboard-shell[data-theme="light"] .ip-form,
body.dashboard-shell[data-theme="light"] .mini-stat,
body.dashboard-shell[data-theme="light"] .wlt-card,
body.dashboard-shell[data-theme="light"] .feature-item,
body.dashboard-shell[data-theme="light"] .counter__item,
body.dashboard-shell[data-theme="light"] .service-item,
body.dashboard-shell[data-theme="light"] .bg--section {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.07) !important;
  box-shadow: 0 1px 10px rgba(0,0,0,.05) !important;
}

/* ip-card / ip-form internals */
body.dashboard-shell[data-theme="light"] .ip-form-head,
body.dashboard-shell[data-theme="light"] .ip-card-head {
  border-bottom-color: rgba(0,0,0,.06) !important;
}
body.dashboard-shell[data-theme="light"] .ip-form-head h5,
body.dashboard-shell[data-theme="light"] .ip-form-head h6,
body.dashboard-shell[data-theme="light"] .ip-card-head h5,
body.dashboard-shell[data-theme="light"] .ip-card-head h6 { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .ip-pager { border-top-color: rgba(0,0,0,.06) !important; }
body.dashboard-shell[data-theme="light"] .ip-empty { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .ip-avatar-wrap {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.07) !important;
  box-shadow: 0 1px 10px rgba(0,0,0,.05) !important;
}

/* headings + text */
body.dashboard-shell[data-theme="light"] h1,
body.dashboard-shell[data-theme="light"] h2,
body.dashboard-shell[data-theme="light"] h3,
body.dashboard-shell[data-theme="light"] h4,
body.dashboard-shell[data-theme="light"] h5,
body.dashboard-shell[data-theme="light"] h6 { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .ip-title { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .ip-label { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] p { color: #475569 !important; }
body.dashboard-shell[data-theme="light"] small,
body.dashboard-shell[data-theme="light"] .dash-muted { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .dash-card-label { color: #94a3b8 !important; }
body.dashboard-shell[data-theme="light"] .dash-card-link  { color: #0d9488 !important; }

/* dashboard hero — teal gradient (matches brand, reads cleanly on light page) */
body.dashboard-shell[data-theme="light"] .dash-hero {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 60%, #0891b2 100%) !important;
  border-radius: 20px;
}
body.dashboard-shell[data-theme="light"] .cb-hi,
body.dashboard-shell[data-theme="light"] .cb-bal,
body.dashboard-shell[data-theme="light"] .cb-day { color: #ffffff !important; }
body.dashboard-shell[data-theme="light"] .dash-rate { color: rgba(255,255,255,.75) !important; }

/* dash action buttons (inside hero, stay white) */
body.dashboard-shell[data-theme="light"] .dash-action {
  background: rgba(255,255,255,.15) !important;
  border-color: rgba(255,255,255,.3) !important;
  color: #ffffff !important;
}
body.dashboard-shell[data-theme="light"] .dash-action-ico { color: #ffffff !important; }
body.dashboard-shell[data-theme="light"] .dash-action-ico.is-ghost {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.25) !important;
}

/* panel heads */
body.dashboard-shell[data-theme="light"] .panel-head h4 { color: #0f172a !important; }

/* dashboard icon badges */
body.dashboard-shell[data-theme="light"] .dashboard-icon {
  background: rgba(13,148,136,.1) !important;
}
body.dashboard-shell[data-theme="light"] .dashboard-icon.is-usd {
  background: rgba(8,145,178,.1) !important;
  color: #0891b2 !important;
}

/* currency converter */
body.dashboard-shell[data-theme="light"] .cur-toggle-btn {
  background: rgba(0,0,0,.04) !important;
  border-color: rgba(0,0,0,.1) !important;
  color: #334155 !important;
}
body.dashboard-shell[data-theme="light"] .cur-toggle-btn.active,
body.dashboard-shell[data-theme="light"] .cur-toggle-btn:hover {
  background: rgba(13,148,136,.12) !important;
  border-color: rgba(13,148,136,.3) !important;
  color: #0d9488 !important;
}
body.dashboard-shell[data-theme="light"] .converted-display { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .converter-label   { color: #94a3b8 !important; }

/* mini stats */
body.dashboard-shell[data-theme="light"] .mini-stat > span   { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .mini-stat > strong  { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .mini-ico {
  background: rgba(13,148,136,.1) !important;
  color: #0d9488 !important;
}
body.dashboard-shell[data-theme="light"] .mini-ico.is-in {
  background: rgba(8,145,178,.1) !important;
  color: #0891b2 !important;
}

/* tables */
body.dashboard-shell[data-theme="light"] .cmn--table thead th {
  color: rgba(0,0,0,.32) !important;
  background: transparent !important;
}
body.dashboard-shell[data-theme="light"] .cmn--table tbody tr td {
  background: transparent !important;
  color: #1e293b !important;
  border-color: rgba(0,0,0,.05) !important;
}
body.dashboard-shell[data-theme="light"] .cmn--table tbody tr:hover td {
  background: rgba(13,148,136,.03) !important;
}
/* ip-card table specifics */
body.dashboard-shell[data-theme="light"] .ip-card .cmn--table thead th {
  color: rgba(0,0,0,.32) !important;
  border-bottom-color: rgba(0,0,0,.06) !important;
}
body.dashboard-shell[data-theme="light"] .ip-card .cmn--table tbody tr td {
  border-bottom-color: rgba(0,0,0,.04) !important;
}
body.dashboard-shell[data-theme="light"] .ip-card .cmn--table tbody tr:hover td {
  background: rgba(0,0,0,.015) !important;
}

/* inputs */
body.dashboard-shell[data-theme="light"] .form--control,
body.dashboard-shell[data-theme="light"] .form-control {
  background: rgba(0,0,0,.03) !important;
  border-color: rgba(0,0,0,.12) !important;
  color: #0f172a !important;
}
body.dashboard-shell[data-theme="light"] .form--control::placeholder,
body.dashboard-shell[data-theme="light"] .form-control::placeholder { color: rgba(0,0,0,.28) !important; }
body.dashboard-shell[data-theme="light"] .form--label,
body.dashboard-shell[data-theme="light"] label { color: rgba(0,0,0,.5) !important; }
body.dashboard-shell[data-theme="light"] select {
  background: rgba(0,0,0,.03) !important;
  border-color: rgba(0,0,0,.12) !important;
  color: #0f172a !important;
}

/* ip-filter */
body.dashboard-shell[data-theme="light"] .ip-filter { border-bottom-color: rgba(0,0,0,.06) !important; }
body.dashboard-shell[data-theme="light"] .ip-filter select,
body.dashboard-shell[data-theme="light"] .ip-filter .form--control {
  background: rgba(0,0,0,.04) !important;
  border-color: rgba(0,0,0,.1) !important;
  color: #0f172a !important;
}

/* stat pills */
body.dashboard-shell[data-theme="light"] .ip-stat,
body.dashboard-shell[data-theme="light"] .wlt-stat {
  background: #f8fafc !important;
  border-color: rgba(0,0,0,.07) !important;
}
body.dashboard-shell[data-theme="light"] .ip-stat strong,
body.dashboard-shell[data-theme="light"] .wlt-stat-val { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .ip-stat span,
body.dashboard-shell[data-theme="light"] .wlt-stat-lbl { color: #64748b !important; }

/* wallet cards */
body.dashboard-shell[data-theme="light"] .wlt-addr-row {
  background: rgba(0,0,0,.025) !important;
  border-color: rgba(0,0,0,.07) !important;
}
body.dashboard-shell[data-theme="light"] .wlt-addr-text    { color: rgba(0,0,0,.45) !important; }
body.dashboard-shell[data-theme="light"] .wlt-bal-num      { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .wlt-bal-usd      { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .wlt-card-badge span { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .wlt-card-index   { color: rgba(0,0,0,.2) !important; }

/* transaction rows */
body.dashboard-shell[data-theme="light"] .dash-trx { border-color: rgba(0,0,0,.06) !important; }
body.dashboard-shell[data-theme="light"] .dash-trx-main strong { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .dash-trx-main small,
body.dashboard-shell[data-theme="light"] .dash-trx-wallet  { color: #64748b !important; }

/* tickets */
body.dashboard-shell[data-theme="light"] .tk-stat-pill {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.07) !important;
}
body.dashboard-shell[data-theme="light"] .tk-stat-num { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .tk-stat-lbl { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .tk-row { border-color: rgba(0,0,0,.05) !important; }
body.dashboard-shell[data-theme="light"] .tk-row:hover { background: rgba(0,0,0,.02) !important; }
body.dashboard-shell[data-theme="light"] .tk-row-subject { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .tk-row-id,
body.dashboard-shell[data-theme="light"] .tk-row-time { color: rgba(0,0,0,.35) !important; }

/* modals */
body.dashboard-shell[data-theme="light"] .modal-content {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.1) !important;
}
body.dashboard-shell[data-theme="light"] .modal-header,
body.dashboard-shell[data-theme="light"] .modal-footer { border-color: rgba(0,0,0,.08) !important; }
body.dashboard-shell[data-theme="light"] .modal-title,
body.dashboard-shell[data-theme="light"] .modal-body { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .btn-close { filter: invert(1) !important; }

/* profile */
body.dashboard-shell[data-theme="light"] .prof-lbl          { color: rgba(0,0,0,.32) !important; }
body.dashboard-shell[data-theme="light"] .prof-avatar-name  { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .prof-meta-row     { color: rgba(0,0,0,.45) !important; }
body.dashboard-shell[data-theme="light"] .prof-avatar-divider { background: rgba(0,0,0,.07) !important; }
body.dashboard-shell[data-theme="light"] .prof-readonly-badge {
  background: rgba(0,0,0,.05) !important;
  color: rgba(0,0,0,.3) !important;
  border-color: rgba(0,0,0,.07) !important;
}

/* 2FA */
body.dashboard-shell[data-theme="light"] .tfa-banner-body strong { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .tfa-banner-body p      { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .tfa-step strong        { color: #0f172a !important; }
body.dashboard-shell[data-theme="light"] .tfa-key-row {
  background: rgba(0,0,0,.03) !important;
  border-color: rgba(0,0,0,.08) !important;
}
body.dashboard-shell[data-theme="light"] .tfa-key-code { color: rgba(0,0,0,.55) !important; }

/* password page */
body.dashboard-shell[data-theme="light"] .pw-label         { color: rgba(0,0,0,.32) !important; }
body.dashboard-shell[data-theme="light"] .pw-eye           { color: rgba(0,0,0,.28) !important; }
body.dashboard-shell[data-theme="light"] .pw-tips-list li  { color: rgba(0,0,0,.5) !important; }
body.dashboard-shell[data-theme="light"] .pw-tip-notice {
  color: rgba(0,0,0,.3) !important;
  border-top-color: rgba(0,0,0,.07) !important;
}

/* pager */
body.dashboard-shell[data-theme="light"] .page-item .page-link {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.1) !important;
  color: #1e293b !important;
}
body.dashboard-shell[data-theme="light"] .page-item.active .page-link {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
  color: #ffffff !important;
}

/* send summary */
body.dashboard-shell[data-theme="light"] .send-summary-card {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.07) !important;
}

/* badges */
body.dashboard-shell[data-theme="light"] .badge:not(.bg-success):not(.bg-danger):not(.bg-warning):not(.bg-primary) {
  background: rgba(0,0,0,.06) !important;
  color: #334155 !important;
}

/* scroll progress bar */
body.dashboard-shell[data-theme="light"] #scroll-prog {
  background: linear-gradient(90deg, #0d9488, #0891b2) !important;
}

/* ── dashboard-main: hardcoded dark radial-gradient + #05070b → light ── */
body.dashboard-shell[data-theme="light"] .dashboard-main {
  background: #f0f4f8 !important;
}

/* ── sidebar nav icon colors (hardcoded #8b98ab → readable slate) ── */
body.dashboard-shell[data-theme="light"] .main-menu a i { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .main-menu a.active i,
body.dashboard-shell[data-theme="light"] .main-menu a:hover i { color: #0d9488 !important; }

/* ── logout / nav-foot link (hardcoded #ff8a9a — light pink → visible red) ── */
body.dashboard-shell[data-theme="light"] .dash-nav-foot a,
body.dashboard-shell[data-theme="light"] .dash-nav-foot a i { color: #dc2626 !important; }
body.dashboard-shell[data-theme="light"] .dash-nav-foot a:hover {
  background: rgba(220,38,38,.07) !important;
  color: #b91c1c !important;
}

/* ── language dropdown (hardcoded dark bg + light text) ── */
body.dashboard-shell[data-theme="light"] .dash-lang {
  background: rgba(0,0,0,.04) !important;
  border-color: rgba(0,0,0,.1) !important;
  color: #334155 !important;
}

/* ── mobile close / hamburger buttons ── */
body.dashboard-shell[data-theme="light"] .side-sidebar-close-btn {
  background: rgba(0,0,0,.06) !important;
  border-color: rgba(0,0,0,.1) !important;
  color: #334155 !important;
}
body.dashboard-shell[data-theme="light"] .dashboard-menu-open {
  background: rgba(0,0,0,.05) !important;
  border-color: rgba(0,0,0,.09) !important;
  color: #334155 !important;
}

/* ── dash-hero action buttons (inside teal gradient hero → keep white) ── */
body.dashboard-shell[data-theme="light"] .dash-action { color: #ffffff !important; }
body.dashboard-shell[data-theme="light"] .dash-action:hover { color: #ffffff !important; }
body.dashboard-shell[data-theme="light"] .dash-action-ico.is-ghost {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.3) !important;
  color: #ffffff !important;
}

/* ── chip label (hardcoded rgba(0,232,179,.16) — mint tint → neutral on light) ── */
body.dashboard-shell[data-theme="light"] .chip {
  background: rgba(13,148,136,.1) !important;
  color: #0d9488 !important;
}

/* ── dash-live-px (BTC price label) ── */
body.dashboard-shell[data-theme="light"] .dash-live-px { color: #111827 !important; }

/* ── badge--dark → light bg equivalent ── */
body.dashboard-shell[data-theme="light"] .badge--dark {
  background: rgba(0,0,0,.06) !important;
  color: #64748b !important;
}

/* ── status / trx amount colors — keep green/red, just darken muted helpers ── */
body.dashboard-shell[data-theme="light"] .dash-trx-amt small { color: #64748b !important; }
body.dashboard-shell[data-theme="light"] .dash-trx-ico {
  background: rgba(0,0,0,.06) !important;
  color: #64748b !important;
}
body.dashboard-shell[data-theme="light"] .dash-trx.is-in  .dash-trx-ico { background: rgba(13,148,136,.1) !important; color: #0d9488 !important; }
body.dashboard-shell[data-theme="light"] .dash-trx.is-out .dash-trx-ico { background: rgba(239,68,68,.08) !important; color: #ef4444 !important; }

/* ── title inside dashboard-item / converter ── */
body.dashboard-shell[data-theme="light"] .dashboard-header .title { color: #111827 !important; }
body.dashboard-shell[data-theme="light"] .dashboard-item h2.title { color: #111827 !important; }

/* ── ip-stat strong (line 3816 in base CSS hardcodes #e8edf5) ── */
body.dashboard-shell[data-theme="light"] .ip-stat strong { color: #111827 !important; }

