/* Shared shell */
.dashboard,
.plan-page {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 96px 0 110px;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

.dashboard-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 86px;
}

.appHeader,
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 460px;
  border-radius: 28px;
  background: var(--nav-bg);
  color: #fcfaff;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 44px rgba(53, 34, 96, 0.24);
  z-index: 1000;
}

.appHeader {
  height: 74px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-topbar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: auto;
  transform: none;
  width: calc(100% - 24px);
  margin: 0 auto 6px;
  padding: 14px 16px;
  z-index: 100;
}

.header-left,
.header-right {
  width: 44px;
  display: flex;
  align-items: center;
}

.header-title {
  flex: 1;
  text-align: center;
}

.app-header-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.app-header-copy small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252, 250, 255, 0.68);
}

.app-header-copy span {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.header-title img {
  max-height: 34px;
  width: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile img {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  padding: 7px;
}

.profile-copy {
  display: flex;
  flex-direction: column;
}

.profile-copy small {
  font-size: 11px;
  color: rgba(252, 250, 255, 0.72);
}

.profile-copy span {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-btn {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background 0.22s ease, transform 0.22s ease;
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.dashboard-page {
  padding-top: 22px;
}

.balance-card {
  padding: 20px;
  border-radius: 30px;
  text-align: left;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #ffbf5a, #ff944d);
  color: #f8fffd;
}

.balance-card span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 6px;
}

.balance-card h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 0;
}

.dashboard-balance {
  width: calc(100% - 24px);
  margin: 10px auto 0;
  box-shadow: 0 24px 42px rgba(255, 148, 77, 0.26);
}

.balance-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.balance-meta div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.balance-meta small {
  display: block;
  font-size: 11px;
  color: rgba(248, 255, 253, 0.78);
  margin-bottom: 4px;
}

.balance-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.hero-stack,
.section-block,
.feature-grid {
  padding: 0 12px;
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d9d0ef;
  margin-bottom: 4px;
}

.section-heading h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.card .section-heading span {
  color: var(--muted-2);
}

.card .section-heading h3 {
  color: var(--text);
}

.feature-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 22px 36px rgba(56, 38, 99, 0.18);
}

.feature-banner + .feature-banner {
  margin-top: 12px;
}

.feature-banner-warm {
  background: linear-gradient(135deg, #b794f4, #8b5cf6);
  color: #fff;
}

.feature-banner-dark {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #fff;
}

.feature-badge,
.feature-arrow {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.feature-banner-warm .feature-badge,
.feature-banner-warm .feature-arrow {
  background: rgba(255, 255, 255, 0.18);
}

.feature-banner-dark .feature-badge,
.feature-banner-dark .feature-arrow {
  background: rgba(255, 255, 255, 0.1);
}

.feature-copy span {
  display: block;
  font-size: 12px;
  opacity: 0.82;
}

.feature-copy strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
  margin-top: 2px;
}

.actions {
  display: grid;
  gap: 12px;
}

.actions-primary {
  grid-template-columns: repeat(2, 1fr);
}

.action-btn,
.game-btn,
.history-btn {
  min-height: 110px;
  padding: 18px 14px;
  border-radius: 26px;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  box-shadow: 0 18px 28px rgba(43, 34, 24, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.action-btn i,
.game-btn i,
.history-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.action-btn:hover,
.game-btn:hover,
.history-btn:hover,
.summary-card:hover,
.method-card:hover,
.feature-banner:hover,
.info-panel:hover,
.resource-tile:hover {
  transform: translateY(-3px);
}

.deposit-btn {
  background: linear-gradient(135deg, #ae8bff, #8b5cf6);
}

.withdraw-btn {
  background: linear-gradient(135deg, #ff8a65, #ff6b6b);
}

.history-btn {
  background: linear-gradient(135deg, #ffcd70, #ffb347);
  color: #432d1f;
}

.history-btn i {
  background: rgba(67, 45, 31, 0.1);
}

.team-btn {
  background: linear-gradient(135deg, #2fd3b2, #12b981);
}

.card {
  text-align: left;
}

.card h3,
.card .title {
  color: var(--text);
}

.chart-card {
  padding: 20px;
}

.game-page .feature-grid {
  padding: 0 12px;
}

.game-card,
.game-balance-card {
  padding: 20px;
}

.game-balance-card .panel-copy span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.game-balance-card .panel-copy strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.05em;
  color: var(--text);
}

.coin-container {
  perspective: 1000px;
  width: 170px;
  height: 170px;
  margin: 20px auto;
}

.coin3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 2s ease-in-out;
}

.side {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.front {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
}

.back {
  background: linear-gradient(135deg, var(--danger), #db2777);
  transform: rotateY(180deg);
}

.flip-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.flip-buttons button {
  flex: 1;
}

.result-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(92, 72, 46, 0.08);
}

#wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 16px auto 0;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #d97706;
  box-shadow: 0 20px 34px rgba(43, 34, 24, 0.12);
}

#wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
}

.segment {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 50%;
  left: 50%;
  transform-origin: 0% 0%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
  font-weight: 700;
  color: #fff;
}

#pointer {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid var(--danger);
  margin: 14px auto 0;
}

.dashboard > .card:first-child:not(.chart-card):not(.referral-card):not(.summary-shell) {
  position: relative;
  overflow: hidden;
}

.dashboard > .card:first-child:not(.chart-card):not(.referral-card):not(.summary-shell)::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.08);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-panel {
  min-height: 112px;
  border-radius: 26px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 18px 30px rgba(43, 34, 24, 0.12);
}

.panel-gold {
  background: linear-gradient(135deg, #ffcd70, #ffb347);
  color: #432d1f;
}

.panel-dark {
  background: linear-gradient(135deg, #b794f4, #8b5cf6);
  color: #fff;
}

.panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 16px;
}

.panel-copy span {
  display: block;
  font-size: 12px;
  opacity: 0.82;
  margin-bottom: 4px;
}

.panel-copy strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.resource-tile {
  min-height: 112px;
  padding: 18px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 18px 30px rgba(43, 34, 24, 0.12);
}

.resource-tile i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}

.resource-tile small {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.resource-tile strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.resource-whatsapp {
  background: linear-gradient(135deg, #2fd3b2, #12b981);
}

.resource-orange {
  background: linear-gradient(135deg, #ff8a65, #ff6b6b);
}

.resource-gold {
  background: linear-gradient(135deg, #ffcd70, #ffb347);
  color: #432d1f;
}

.resource-gold i {
  background: rgba(67, 45, 31, 0.12);
}

.resource-dark {
  background: linear-gradient(135deg, #ae8bff, #8b5cf6);
}

.referral-card,
.summary-shell {
  padding: 20px;
}

.ref-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(246, 240, 255, 0.88);
  border: 1px solid rgba(139, 92, 246, 0.08);
}

.ref-text {
  flex: 1;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  word-break: break-all;
}

.copy-btn-modern {
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.summary-card {
  min-height: 108px;
  padding: 16px;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 14px 26px rgba(43, 34, 24, 0.14);
  transition: transform 0.22s ease;
}

.summary-card h3 {
  font-size: 11px;
  font-weight: 700;
  margin: 0;
  opacity: 0.82;
}

.summary-card h2 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 10px;
  letter-spacing: -0.03em;
}

.team-card {
  background: linear-gradient(135deg, #2fd3b2, #12b981);
}

.deposit-card {
  background: linear-gradient(135deg, #5ea7ff, #3b82f6);
}

.withdraw-card {
  background: linear-gradient(135deg, #ff8a65, #ff6b6b);
}

.bonus-card {
  background: linear-gradient(135deg, #ffcd70, #ffb347);
  color: #432d1f;
}

.status-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

.status-icon.success {
  background: linear-gradient(135deg, #15803d, #4ade80);
}

.status-icon.error {
  background: linear-gradient(135deg, #c2410c, #f97316);
}

.status-icon.warning {
  background: linear-gradient(135deg, #f59e0b, #facc15);
  color: #2b2218;
}

.withdraw-title {
  font-size: 18px;
  font-weight: 800;
}

.withdraw-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.method-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.method-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.method-card:hover {
  box-shadow: 0 18px 32px rgba(81, 54, 138, 0.18);
}

.method-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
}

.method-icon img {
  width: 24px;
}

.method-name {
  font-size: 14px;
  font-weight: 700;
}

.method-arrow {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  position: relative;
}

.method-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

.method-arrow.btn-loading .arrow-icon {
  visibility: hidden;
}

.method-arrow.btn-loading::after,
.game-btn.loading::after,
.history-btn.loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.65s linear infinite;
}

.game-grid,
.history-grid {
  display: flex;
  gap: 12px;
  padding: 0 12px;
  margin-top: 12px;
}

.game-btn {
  flex: 1;
  background: linear-gradient(135deg, #b794f4, #8b5cf6);
}

.game-btn.loading i,
.game-btn.loading span,
.history-btn.loading i,
.history-btn.loading span {
  opacity: 0;
}

.live-bet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 14px auto 0;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #5b4a87, #403260);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.2);
}

.live-dot {
  width: 9px;
  height: 9px;
  background: #ffd56a;
  border-radius: 50%;
  animation: blink 1s infinite;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(6px);
  display: none;
  z-index: 9998;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -326px;
  width: min(310px, 86vw);
  height: 100%;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 156, 16, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 36, 0.98), rgba(5, 10, 18, 0.98));
  color: #f8fbff;
  backdrop-filter: blur(18px);
  transition: left 0.28s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(154, 165, 188, 0.16);
  box-shadow: 20px 0 46px rgba(0, 0, 0, 0.42);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 24px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(154, 165, 188, 0.14);
}

.sidebar-header h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.sidebar-header button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(154, 165, 188, 0.14);
  color: rgba(226, 232, 240, 0.9);
  font-size: 24px;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: rgba(226, 232, 240, 0.88);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.sidebar-menu a i {
  width: 22px;
  color: #ff9c10;
  font-size: 16px;
  text-align: center;
  filter: drop-shadow(0 0 10px rgba(255, 156, 16, 0.28));
}

.sidebar-menu a:hover {
  background: rgba(255, 156, 16, 0.12);
  border-color: rgba(255, 156, 16, 0.18);
  color: #fff;
  transform: translateX(3px);
}

.sidebar-menu .logout {
  margin-top: 12px;
  color: #fff;
  background: linear-gradient(100deg, #ffb400 0%, #ff8618 48%, #ff5a00 100%);
  box-shadow: 0 16px 28px rgba(255, 107, 0, 0.26);
}

.sidebar-menu .logout i {
  color: #fff;
  filter: none;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  z-index: 1000;
}

.appNavBar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 460px;
  height: 78px;
  padding: 10px;
  border-radius: 28px;
  background: var(--nav-bg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 22px 42px rgba(53, 34, 96, 0.24);
  z-index: 9999;
}

.navLink {
  flex: 1;
  text-align: center;
  color: rgba(252, 250, 255, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  position: relative;
  transition: color 0.22s ease, transform 0.22s ease;
}

.navLink i {
  font-size: 18px;
  margin-bottom: 4px;
}

.navLink p {
  margin: 0;
  font-size: 10px;
}

.navLink.active {
  color: #fff;
  transform: translateY(-2px);
}

.navLink.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.navLink.center {
  top: -20px;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #8b5cf6, #ffb347);
  color: #fff;
  box-shadow: 0 18px 30px rgba(139, 92, 246, 0.28);
}

.navLink.center i {
  font-size: 22px;
  margin: 0;
}

.navLink.center p,
.badge-dot {
  display: none;
}

@keyframes spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

@media (max-width: 480px) {
  .dashboard,
  .plan-page {
    max-width: 100%;
  }

  .appHeader,
  .header,
  .appNavBar {
    width: calc(100% - 14px);
  }

  .balance-meta,
  .summary,
  .actions-primary {
    grid-template-columns: 1fr;
  }

  .feature-copy strong {
    font-size: 22px;
  }
}

/* Dashboard redesign layer */
.dashboard-page {
  gap: 16px;
}

.dashboard-page > * {
  animation: dashRise 0.52s ease both;
}

.dashboard-page > *:nth-child(2) { animation-delay: 0.04s; }
.dashboard-page > *:nth-child(3) { animation-delay: 0.08s; }
.dashboard-page > *:nth-child(4) { animation-delay: 0.12s; }
.dashboard-page > *:nth-child(5) { animation-delay: 0.16s; }
.dashboard-page > *:nth-child(6) { animation-delay: 0.2s; }
.dashboard-page > *:nth-child(7) { animation-delay: 0.24s; }
.dashboard-page > *:nth-child(8) { animation-delay: 0.28s; }

.dashboard-page .dashboard-hero-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.24), transparent 22%),
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(145deg, #ffc66d, #ff9a55 58%, #ff7e68);
  box-shadow: 0 32px 52px rgba(255, 143, 92, 0.28);
}

.dashboard-page .dashboard-hero-card::before,
.dashboard-page .dashboard-hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.dashboard-page .dashboard-hero-card::before {
  width: 190px;
  height: 190px;
  top: -90px;
  right: -52px;
  background: rgba(255, 255, 255, 0.14);
}

.dashboard-page .dashboard-hero-card::after {
  width: 118px;
  height: 118px;
  right: 16px;
  bottom: -42px;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-page .dashboard-hero-card > span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-page .dashboard-hero-card h1 {
  max-width: 270px;
  font-size: 38px;
  line-height: 1;
  margin-top: 2px;
}

.dashboard-page .dashboard-hero-card .balance-meta {
  margin-top: 20px;
  gap: 12px;
}

.dashboard-page .dashboard-hero-card .balance-meta div {
  padding: 14px 14px 13px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dashboard-page .dashboard-games {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12px;
}

.dashboard-page .dashboard-games .feature-banner {
  min-height: 142px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.dashboard-page .dashboard-games .feature-banner::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -18px;
  top: -20px;
  border-radius: 32px;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.14);
}

.dashboard-page .dashboard-games .feature-banner-warm {
  background: linear-gradient(145deg, #caa7ff, #8b5cf6 62%, #7446ea);
}

.dashboard-page .dashboard-games .feature-banner-dark {
  background: linear-gradient(145deg, #48dfbf, #14b8a6 58%, #0b9a8a);
  margin-top: 26px;
}

.dashboard-page .dashboard-games .feature-copy strong {
  max-width: 120px;
  font-size: 24px;
}

.dashboard-page .dashboard-actions-block .actions-primary {
  gap: 14px;
}

.dashboard-page .dashboard-actions-block .action-btn {
  min-height: 122px;
  border-radius: 30px;
  padding: 18px 16px 16px;
  overflow: hidden;
}

.dashboard-page .dashboard-actions-block .action-btn::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-actions-block .action-btn i,
.dashboard-page .dashboard-insights .info-panel .panel-icon,
.dashboard-page .resource-grid .resource-tile i {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-chart-card {
  padding: 22px 20px 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 240, 255, 0.93));
  box-shadow: 0 28px 44px rgba(69, 42, 121, 0.14);
}

.dashboard-page .dashboard-chart-card canvas {
  margin-top: 10px;
}

.dashboard-page .dashboard-insights .info-panel {
  min-height: 126px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.dashboard-page .dashboard-insights .info-panel::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -26px;
  bottom: -30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-support-block .resource-grid {
  gap: 14px;
}

.dashboard-page .dashboard-support-block .section-heading span {
  color: #ffb347;
}

.dashboard-page .dashboard-support-block .section-heading h3 {
  color: #ff8a65;
}

.task-spotlight-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffb347, #ff8a65);
  color: #fff;
  box-shadow: 0 18px 34px rgba(255, 138, 101, 0.24);
}

.task-spotlight-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: taskShine 2.8s linear infinite;
}

.task-spotlight-icon,
.task-spotlight-copy {
  position: relative;
  z-index: 1;
}

.task-spotlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 16px;
}

.task-spotlight-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.task-spotlight-copy small {
  display: block;
  font-size: 11px;
  opacity: 0.86;
  margin-bottom: 4px;
}

.task-spotlight-copy strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.task-spotlight-pulse {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: taskPulse 1.8s infinite;
}

.dashboard-page .dashboard-support-block .resource-tile {
  min-height: 128px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.dashboard-page .dashboard-support-block .resource-tile::before {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  right: -18px;
  top: -18px;
  border-radius: 28px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-referral-card,
.dashboard-page .dashboard-summary-card {
  border-radius: 32px;
}

.dashboard-page .dashboard-referral-card .ref-modern {
  padding: 16px;
  border-radius: 22px;
}

.dashboard-page .dashboard-summary-card .summary {
  gap: 14px;
}

.dashboard-page .dashboard-summary-card .summary-card {
  min-height: 116px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.dashboard-page .dashboard-summary-card .summary-card::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  right: -18px;
  bottom: -18px;
  border-radius: 24px;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-page .dashboard-summary-card .summary-card:nth-child(1),
.dashboard-page .dashboard-summary-card .summary-card:nth-child(4),
.dashboard-page .dashboard-summary-card .summary-card:nth-child(7) {
  transform: translateY(-4px);
}

.dashboard-page .dashboard-summary-card .summary-card:nth-child(2),
.dashboard-page .dashboard-summary-card .summary-card:nth-child(5) {
  transform: translateY(8px);
}

@keyframes dashRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes taskPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes taskShine {
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 480px) {
  .dashboard-page .dashboard-games,
  .dashboard-page .dashboard-actions-block .actions-primary,
  .dashboard-page .dashboard-summary-card .summary {
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-games .feature-banner-dark,
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(1),
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(2),
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(4),
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(5),
  .dashboard-page .dashboard-summary-card .summary-card:nth-child(7) {
    margin-top: 0;
    transform: none;
  }
}

/* Reference-image dashboard */
.dashboard.dashboard-page {
  width: calc(100% - 24px);
  max-width: 420px;
  margin: 14px auto 0;
  padding: 18px 14px 140px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(168, 126, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 255, 0.96));
  box-shadow: 0 38px 70px rgba(50, 30, 91, 0.28);
}

.dashboard-page > * {
  animation: none;
}

.dashboard-page .dashboard-topbar {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.dashboard-page .topbar {
  gap: 10px;
}

.dashboard-page .profile {
  gap: 10px;
}

.dashboard-page .profile img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  background: linear-gradient(145deg, #c5acff, #8b5cf6);
  border: 3px solid rgba(139, 92, 246, 0.14);
}

.dashboard-page .profile-copy small {
  color: #8d80ad;
  font-size: 11px;
}

.dashboard-page .profile-copy span {
  max-width: 150px;
  color: #2e2546;
  font-size: 16px;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(145deg, #b07cff, #8b5cf6);
  color: #fff;
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.22);
  font-size: 12px;
  font-weight: 700;
}

.balance-pill i {
  font-size: 11px;
  opacity: 0.9;
}

.dashboard-page .header-btn {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: #f0e9ff;
  color: #8b5cf6;
  box-shadow: none;
}

.shortcut-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.shortcut-card {
  min-height: 118px;
  padding: 16px 12px;
  border-radius: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(67, 44, 120, 0.14);
}

.shortcut-card::before {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  right: -18px;
  bottom: -18px;
  border-radius: 24px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.12);
}

.shortcut-purple {
  background: linear-gradient(145deg, #c8a6ff, #8b5cf6);
}

.shortcut-green {
  background: linear-gradient(145deg, #45dfc1, #14b8a6);
}

.shortcut-orange {
  background: linear-gradient(145deg, #ff975a, #ff6b5f);
}

.shortcut-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 17px;
}

.shortcut-card .feature-copy {
  position: relative;
  z-index: 1;
}

.shortcut-card .feature-copy span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  opacity: 0.88;
}

.shortcut-card .feature-copy strong {
  display: block;
  max-width: none;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.dashboard-page .dashboard-hero-card.featured-cta-card {
  width: 100%;
  margin: 0 0 16px;
  min-height: 168px;
  padding: 24px 22px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(145deg, #ffc861, #fcae45 62%, #f99a32);
  box-shadow: 0 22px 40px rgba(249, 154, 50, 0.26);
}

.featured-cta-card .featured-copy {
  position: relative;
  z-index: 1;
}

.featured-cta-card .featured-copy span {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.92;
}

.featured-cta-card .featured-copy h1 {
  margin: 8px 0;
  font-size: 36px;
  line-height: 1;
  max-width: 190px;
}

.featured-cta-card .featured-copy p {
  max-width: 180px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.featured-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #613c14;
  font-size: 12px;
  font-weight: 700;
}

.featured-visual {
  position: relative;
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
}

.featured-ring {
  position: absolute;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.9);
}

.ring-one {
  width: 76px;
  height: 76px;
  top: 14px;
  left: 10px;
  border-color: #22c55e transparent #facc15 #8b5cf6;
  transform: rotate(-18deg);
}

.ring-two {
  width: 48px;
  height: 48px;
  right: 14px;
  bottom: 18px;
  border-width: 8px;
  border-color: #14b8a6 #ff8a65 #c084fc transparent;
  transform: rotate(26deg);
}

.featured-dot {
  position: absolute;
  top: 50px;
  left: 54px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    -22px 20px 0 0 #8b5cf6,
    26px -8px 0 0 #22c55e,
    28px 28px 0 0 #facc15;
}

.class-explorer-card {
  width: 100%;
  margin: 0 0 16px;
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(67, 44, 120, 0.1);
}

.class-explorer-card .section-heading {
  margin-bottom: 14px;
}

.class-explorer-card .section-heading span {
  color: #a190c7;
}

.class-explorer-card .section-heading h3 {
  color: #2e2546;
  font-size: 26px;
}

.class-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.class-chip {
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(67, 44, 120, 0.12);
}

.class-chip small {
  display: block;
  font-size: 11px;
  opacity: 0.82;
  margin-bottom: 5px;
}

.class-chip strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.chip-purple { background: linear-gradient(145deg, #be96ff, #8b5cf6); }
.chip-orange { background: linear-gradient(145deg, #ffca69, #f6a73a); }
.chip-blue { background: linear-gradient(145deg, #71b9ff, #3b82f6); }
.chip-green { background: linear-gradient(145deg, #48dfbf, #10b981); }

.dashboard-page .dashboard-chart-card,
.dashboard-page .dashboard-insights,
.dashboard-page .dashboard-support-block,
.dashboard-page .dashboard-referral-card,
.dashboard-page .dashboard-summary-card {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.dashboard-page .dashboard-chart-card,
.dashboard-page .dashboard-referral-card,
.dashboard-page .dashboard-summary-card {
  border-radius: 24px;
}

.appNavBar {
  left: 50%;
  bottom: 18px;
  width: min(390px, calc(100% - 46px));
  height: 76px;
  padding: 10px 12px;
  border-radius: 26px;
  background: rgba(164, 133, 224, 0.86);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 42px rgba(63, 38, 112, 0.26);
}

.navLink {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
}

.navLink i {
  font-size: 17px;
  margin-bottom: 3px;
}

.navLink p {
  font-size: 10px;
}

.navLink.active {
  color: #ffffff;
  transform: translateY(0);
}

.navLink.active::after {
  display: none;
}

.navLink.center {
  top: -22px;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b07cff, #8b5cf6);
  box-shadow: 0 18px 34px rgba(139, 92, 246, 0.34);
}

.navLink.center i {
  font-size: 22px;
}

@media (max-width: 480px) {
  .dashboard.dashboard-page {
    width: calc(100% - 24px);
    margin: 10px auto 0;
    max-width: none;
    padding: 16px 12px 136px;
    border-radius: 32px;
  }

  .shortcut-strip,
  .class-chip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shortcut-strip .shortcut-card:last-child {
    grid-column: span 2;
    min-height: 92px;
  }

  .dashboard-page .dashboard-hero-card.featured-cta-card {
    min-height: 154px;
    padding: 20px 18px;
  }

  .featured-cta-card .featured-copy h1 {
    font-size: 31px;
  }

  .featured-visual {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .ring-one {
    width: 62px;
    height: 62px;
  }

  .ring-two {
    width: 40px;
    height: 40px;
  }

  .featured-dot {
    top: 38px;
    left: 40px;
  }

  .appNavBar {
    width: calc(100% - 28px);
    bottom: 10px;
  }
}

/* Premium dark dashboard redesign */
body.dashboard-dark-page {
  min-height: 100vh;
  color: #f8fbff;
  background-color: #050911 !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 156, 16, 0.12), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(0, 190, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #050911 0%, #09111d 46%, #03070d 100%) !important;
}

body.dashboard-dark-page::before,
body.dashboard-dark-page::after {
  display: none;
}

.dashboard.premium-dashboard {
  width: min(100% - 24px, 430px);
  max-width: 430px;
  margin: 0 auto;
  padding: 28px 0 150px;
  gap: 14px;
  color: #f8fbff;
  position: relative;
}

.dashboard.premium-dashboard::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 156, 16, 0.12), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(0, 190, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #050911 0%, #09111d 46%, #03070d 100%);
}

.premium-dashboard a {
  color: inherit;
}

.premium-topbar,
.premium-top-actions,
.premium-balance-actions,
.premium-section-title,
.premium-mini-stat,
.premium-tool,
.premium-resource {
  display: flex;
  align-items: center;
}

.premium-topbar {
  gap: 10px;
  justify-content: space-between;
  padding: 6px 2px 10px;
}

.premium-icon-btn {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 24px;
  border: 1px solid rgba(154, 165, 188, 0.18);
  background: rgba(16, 24, 38, 0.78);
  color: rgba(224, 231, 244, 0.86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.premium-greeting {
  flex: 1;
  min-width: 0;
}

.premium-greeting h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  overflow-wrap: anywhere;
}

.premium-greeting h1 span {
  color: #ff9c10;
}

.premium-greeting p,
.premium-greeting small {
  display: block;
  margin: 6px 0 0;
  color: rgba(214, 221, 235, 0.82);
  font-size: 13px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.premium-top-actions {
  gap: 10px;
}

.premium-bell {
  position: relative;
}

.premium-bell::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7a00;
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.8);
}

.premium-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  border: 2px solid #ff9c10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(145deg, #263243, #0e1522);
  box-shadow: 0 0 22px rgba(255, 156, 16, 0.18);
}

.premium-balance-card,
.premium-panel,
.premium-action-dock {
  border: 1px solid rgba(154, 165, 188, 0.18);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 156, 16, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(16, 26, 40, 0.94), rgba(8, 14, 24, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.premium-balance-card {
  min-height: 210px;
  padding: 24px 20px 20px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.premium-balance-card::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 110px;
  bottom: 22px;
  height: 84px;
  opacity: 0.34;
  background:
    linear-gradient(145deg, transparent 18%, rgba(154, 165, 188, 0.3) 19% 20%, transparent 21%),
    radial-gradient(80px 54px at 20% 80%, transparent 62%, rgba(154, 165, 188, 0.36) 64%, transparent 66%),
    radial-gradient(90px 64px at 54% 42%, transparent 62%, rgba(154, 165, 188, 0.34) 64%, transparent 66%),
    radial-gradient(100px 70px at 88% 58%, transparent 62%, rgba(154, 165, 188, 0.32) 64%, transparent 66%);
}

.premium-balance-copy,
.premium-balance-actions,
.premium-wallet-visual {
  position: relative;
  z-index: 1;
}

.premium-balance-copy span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(214, 221, 235, 0.72);
  font-size: 15px;
  font-weight: 600;
}

.premium-balance-copy h2 {
  margin: 20px 0 6px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.premium-balance-copy p {
  margin: 0;
  color: rgba(214, 221, 235, 0.76);
  font-size: 15px;
}

.premium-wallet-visual {
  position: absolute;
  right: 22px;
  top: 42px;
  width: 86px;
  height: 76px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9c10;
  font-size: 50px;
  opacity: 0.95;
  filter: drop-shadow(0 0 20px rgba(255, 156, 16, 0.26));
}

.premium-wallet-visual span {
  position: absolute;
  top: -12px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd22e, #ff7416);
  z-index: -1;
  box-shadow: 0 0 18px rgba(255, 156, 16, 0.5);
}

.premium-balance-actions {
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.premium-balance-btn {
  min-height: 48px;
  min-width: 116px;
  padding: 0 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.premium-balance-copy {
  min-height: 212px;
}

.premium-balance-btn.primary {
  background: linear-gradient(100deg, #ffb400 0%, #ff8618 48%, #ff5a00 100%);
  color: #fff;
  box-shadow: 0 14px 26px rgba(255, 107, 0, 0.24);
}

.premium-balance-btn.secondary {
  background: rgba(16, 24, 38, 0.72);
  border: 1px solid rgba(154, 165, 188, 0.18);
  color: rgba(248, 251, 255, 0.88);
}

.premium-action-dock {
  padding: 14px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.premium-action {
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(248, 251, 255, 0.92);
}

.premium-action i {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.action-blue i { background: linear-gradient(145deg, #09b8ff, #0578ff); }
.action-purple i { background: linear-gradient(145deg, #7d3cff, #2f164f); }
.action-green i { background: linear-gradient(145deg, #18d85e, #0e4626); }
.action-orange i { background: linear-gradient(145deg, #ff9c10, #2b1d10); }
.action-cyan i { background: linear-gradient(145deg, #12d5f0, #083444); }
.action-dark i { background: linear-gradient(145deg, #36404f, #151c29); }

.premium-panel {
  padding: 18px;
  border-radius: 24px;
}

.premium-section-title {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.premium-section-title h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.premium-section-title span,
.premium-section-title a {
  color: rgba(214, 221, 235, 0.7);
  font-size: 13px;
}

.premium-section-title a {
  color: #ff9c10;
  font-weight: 700;
}

.premium-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.premium-mini-stat {
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(18, 27, 42, 0.78);
  border: 1px solid rgba(154, 165, 188, 0.12);
}

.premium-mini-stat i,
.premium-tool i,
.premium-stat > i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  font-size: 19px;
}

.premium-mini-stat span,
.premium-tool span,
.premium-resource span,
.premium-stat span {
  display: block;
  color: rgba(214, 221, 235, 0.66);
  font-size: 12px;
}

.premium-mini-stat strong,
.premium-tool strong,
.premium-resource strong,
.premium-stat strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.premium-summary-grid .premium-mini-stat:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.icon-purple { background: rgba(139, 64, 255, 0.22); color: #a855ff; }
.icon-green { background: rgba(34, 197, 94, 0.18); color: #22e65f; }
.icon-cyan { background: rgba(6, 182, 212, 0.18); color: #16d3f2; }
.icon-orange { background: rgba(255, 156, 16, 0.18); color: #ff9c10; }
.icon-blue { background: rgba(0, 170, 255, 0.18); color: #16bfff; }

.premium-chart-panel canvas {
  margin-top: 8px;
}

.premium-tool-grid,
.premium-resource-grid,
.premium-stat-grid {
  display: grid;
  gap: 12px;
}

.premium-tool-grid {
  grid-template-columns: repeat(2, 1fr);
}

.premium-tool,
.premium-resource,
.premium-stat {
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(18, 27, 42, 0.78);
  border: 1px solid rgba(154, 165, 188, 0.12);
}

.premium-tool {
  gap: 12px;
}

.premium-upgrade-panel {
  min-height: 168px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 118px;
  align-items: center;
  gap: 10px;
}

.premium-upgrade-copy h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.premium-upgrade-copy p {
  margin: 0 0 18px;
  color: rgba(214, 221, 235, 0.72);
  line-height: 1.5;
}

.premium-upgrade-copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(100deg, #ffb400, #ff5a00);
  color: #fff;
  font-weight: 800;
}

.premium-crown {
  width: 110px;
  height: 110px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb400;
  font-size: 76px;
  background: radial-gradient(circle, rgba(255, 156, 16, 0.2), transparent 68%);
  filter: drop-shadow(0 0 24px rgba(255, 156, 16, 0.38));
}

.premium-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-resource {
  gap: 10px;
  min-height: 92px;
  align-items: center;
}

.premium-resource i {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  color: #ff9c10;
  background: rgba(255, 156, 16, 0.14);
}

.premium-resource div {
  min-width: 0;
}

.premium-resource strong,
.premium-resource span {
  overflow-wrap: anywhere;
}

.premium-resource strong {
  font-size: 15px;
  line-height: 1.12;
  letter-spacing: 0;
}

.premium-referral-panel .ref-modern {
  background: rgba(18, 27, 42, 0.78);
  border: 1px solid rgba(154, 165, 188, 0.14);
}

.premium-referral-panel .ref-text {
  color: rgba(248, 251, 255, 0.82);
}

.premium-referral-panel .copy-btn-modern {
  background: linear-gradient(100deg, #ffb400, #ff5a00);
}

.premium-stat-grid {
  grid-template-columns: repeat(2, 1fr);
}

.premium-stat {
  color: #fff;
}

.premium-stat strong {
  margin: 8px 0 10px;
  font-size: 22px;
}

.premium-stat small {
  color: rgba(214, 221, 235, 0.68);
  font-size: 12px;
}

body.dashboard-dark-page .appNavBar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(390px, calc(100% - 28px));
  height: 74px;
  padding: 8px 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 145, 18, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(20, 30, 43, 0.96), rgba(8, 14, 24, 0.96));
  border: 1px solid rgba(154, 165, 188, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 44px rgba(0, 0, 0, 0.36);
  z-index: 9999;
}

body.dashboard-dark-page .navLink {
  flex: 1 1 0;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  color: rgba(150, 162, 181, 0.9);
  font-weight: 600;
  text-decoration: none;
  transform: none;
}

body.dashboard-dark-page .navLink.active,
body.dashboard-dark-page .navLink:first-child {
  color: #ff9c10;
  text-shadow: 0 0 16px rgba(255, 156, 16, 0.46);
}

body.dashboard-dark-page .navLink:first-child i {
  color: #ff7a00;
  filter: drop-shadow(0 0 12px rgba(255, 122, 0, 0.78));
}

body.dashboard-dark-page .navLink i {
  font-size: 19px;
  margin-bottom: 4px;
  color: currentColor;
}

body.dashboard-dark-page .navLink p {
  margin: 0;
  font-size: 10px;
  line-height: 1;
}

body.dashboard-dark-page .navLink.center {
  position: relative;
  top: -24px;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb400 0%, #ff7a00 52%, #ff5200 100%);
  color: #fff;
  box-shadow:
    0 0 0 8px rgba(255, 122, 0, 0.08),
    0 0 28px rgba(255, 122, 0, 0.65),
    0 14px 26px rgba(255, 82, 0, 0.34);
}

body.dashboard-dark-page .navLink.center i {
  margin: 0;
  font-size: 25px;
  color: #fff;
  filter: none;
}

body.dashboard-dark-page .navLink.center::after,
body.dashboard-dark-page .navLink.active::after {
  display: none;
}

@media (min-width: 560px) {
  .dashboard.premium-dashboard {
    max-width: 860px;
  }

  .premium-summary-grid,
  .premium-resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .premium-stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 420px) {
  .dashboard.premium-dashboard {
    width: calc(100% - 20px);
    padding-top: 18px;
    padding-bottom: 154px;
  }

  .premium-topbar {
    gap: 8px;
  }

  .premium-greeting h1 {
    font-size: 19px;
  }

  .premium-greeting p {
    font-size: 12px;
  }

  .premium-icon-btn {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .premium-avatar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 20px;
  }

  .premium-balance-copy h2 {
    font-size: 34px;
  }

  .premium-wallet-visual {
    right: 10px;
    width: 70px;
    font-size: 42px;
  }

  .premium-balance-actions {
    justify-content: stretch;
  }

  .premium-balance-btn {
    flex: 1;
    min-width: 0;
  }

  .premium-action-dock {
    gap: 8px;
    padding: 12px 8px;
  }

  .premium-action {
    font-size: 10px;
  }

  .premium-action i {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 17px;
  }

  .premium-tool-grid,
  .premium-stat-grid {
    grid-template-columns: 1fr;
  }

  .premium-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .premium-resource {
    padding: 11px;
    gap: 8px;
  }

  .premium-resource i {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 14px;
  }

  .premium-resource strong {
    font-size: 13px;
    line-height: 1.12;
  }

  .premium-resource span {
    font-size: 10px;
  }

  .premium-upgrade-panel {
    grid-template-columns: 1fr;
  }

  .premium-crown {
    position: absolute;
    right: 10px;
    bottom: 8px;
    opacity: 0.34;
  }
}

/* Dashboard: blue investment app surface */
body.dashboard-dark-page {
  color: #203269;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.96), transparent 30%),
    radial-gradient(circle at 5% 56%, rgba(181, 196, 255, 0.72), transparent 28%),
    linear-gradient(145deg, #d2daf9 0%, #aab9ec 54%, #dce3ff 100%) !important;
}

.dashboard.premium-dashboard {
  width: min(100% - 20px, 470px);
  max-width: 470px;
  min-height: 100vh;
  margin: 10px auto;
  padding: 0 0 126px;
  gap: 0;
  overflow: hidden;
  color: #203269;
  border: 9px solid #f9fbff;
  border-radius: 48px;
  background: linear-gradient(145deg, #fbfcff 0%, #edf1ff 100%);
  box-shadow:
    0 28px 58px rgba(55, 68, 141, 0.25),
    inset 0 1px 1px #fff;
}

.dashboard.premium-dashboard::before {
  display: none;
}

.premium-dashboard a {
  color: inherit;
}

.premium-topbar {
  min-height: 176px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  grid-template-rows: 58px 1fr;
  gap: 0;
  padding: 18px 22px 20px;
  color: #fff;
  border: 0;
  box-shadow: none;
  border-radius: 38px 38px 0 150px;
  background:
    radial-gradient(circle at 50% -15%, rgba(62, 83, 177, 0.24), transparent 41%),
    linear-gradient(155deg, #111d4d 0%, #061038 100%);
}

.premium-topbar > .premium-icon-btn:first-child {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.premium-top-actions {
  display: contents;
}

.premium-bell {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.premium-avatar {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.premium-icon-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #fff;
  font-size: 18px;
  border: 1px solid rgba(170, 188, 255, 0.2);
  border-radius: 15px;
  background: rgba(41, 60, 135, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.premium-bell::after {
  background: #6f91ff;
  box-shadow: 0 0 10px rgba(111, 145, 255, 0.92);
}

.premium-avatar {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
  margin-top: -7px;
  color: #f7f9ff;
  font-size: 25px;
  border: 1px solid rgba(170, 188, 255, 0.34);
  background: linear-gradient(145deg, #465aa4, #142158 72%);
  box-shadow:
    0 12px 22px rgba(1, 7, 35, 0.35),
    inset 0 2px 3px rgba(255, 255, 255, 0.17);
}

.premium-greeting {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
}

.premium-greeting h1 {
  color: #fff;
  font-size: 25px;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.premium-greeting h1 span {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 30px;
}

.premium-greeting h1::first-line {
  color: #afbdff;
  font-size: 17px;
  font-weight: 600;
}

.premium-greeting p,
.premium-greeting small {
  margin-top: 7px;
  color: #aebcff;
  font-size: 12px;
  text-shadow: none;
}

.premium-balance-card {
  min-height: 270px;
  margin: 0;
  padding: 29px 27px 24px;
  overflow: hidden;
  border: 1px solid rgba(129, 154, 255, 0.32);
  border-radius: 0 0 36px 36px;
  background:
    radial-gradient(circle at 92% 7%, rgba(102, 126, 244, 0.38), transparent 25%),
    linear-gradient(145deg, #15245b 0%, #081540 100%);
  box-shadow: 0 16px 30px rgba(3, 12, 49, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.premium-balance-card::before {
  right: 28px;
  bottom: 83px;
  left: 28px;
  height: 8px;
  opacity: 1;
  border-radius: 99px;
  background: linear-gradient(90deg, #2a55f0 0%, #6990ff 68%, rgba(5, 13, 48, 0.9) 68% 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.34), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.premium-balance-copy span {
  color: #bdc9ff;
  font-size: 15px;
}

.premium-balance-copy h2 {
  margin: 21px 0 7px;
  color: #fff;
  font-size: clamp(35px, 9vw, 47px);
  letter-spacing: -0.05em;
  text-shadow: none;
}

.premium-balance-copy p {
  color: #9eb1ff;
  font-size: 13px;
}

.premium-wallet-visual {
  right: 24px;
  top: 42px;
  width: 74px;
  height: 74px;
  color: #88a4ff;
  font-size: 43px;
  opacity: 0.9;
  filter: drop-shadow(0 0 18px rgba(100, 133, 255, 0.3));
}

.premium-wallet-visual span {
  background: linear-gradient(145deg, #708dff, #3658e8);
  box-shadow: 0 0 18px rgba(76, 108, 255, 0.5);
}

.premium-balance-actions {
  margin-top: 37px;
  justify-content: flex-start;
}

.premium-balance-btn {
  min-height: 43px;
  min-width: 104px;
  padding: 0 13px;
  color: #eaf0ff;
  font-size: 12px;
  border-radius: 14px;
}

.premium-balance-btn.primary {
  background: linear-gradient(100deg, #294ce8 0%, #5178ff 100%);
  box-shadow: 0 9px 17px rgba(40, 74, 229, 0.3);
}

.premium-balance-btn.secondary {
  border-color: rgba(151, 171, 255, 0.34);
  background: rgba(34, 54, 128, 0.58);
  color: #eaf0ff;
}

.premium-action-dock {
  margin: 0;
  padding: 28px 20px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 16px;
  border: 0;
  border-radius: 38px 38px 0 0;
  background: linear-gradient(145deg, #fcfdff 0%, #edf1ff 100%);
  box-shadow: 0 -1px 0 #fff, inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.premium-action {
  gap: 10px;
  color: #2b3d79;
  font-size: 12px;
  font-weight: 800;
}

.premium-action i {
  width: 76px;
  height: 76px;
  color: #315bf0;
  font-size: 30px;
  border: 1px solid #e1e7fc;
  border-radius: 25px;
  background: linear-gradient(145deg, #fff 0%, #edf1ff 100%) !important;
  box-shadow: 0 11px 22px rgba(69, 85, 153, 0.12), inset 0 1px 0 #fff;
}

.action-purple i { color: #7658ed; }
.action-green i { color: #35bca0; }
.action-orange i { color: #ffac3e; }
.action-cyan i { color: #f2a83d; }
.action-dark i { color: #4267ea; }

.premium-panel {
  margin: 0 13px 14px;
  padding: 20px;
  border: 1px solid #e0e6fb;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(69, 85, 153, 0.08), inset 0 1px 0 #fff;
  backdrop-filter: none;
}

.premium-summary-panel { margin-top: 0; }

.premium-section-title h2,
.premium-upgrade-copy h2 {
  color: #203269;
}

.premium-section-title span,
.premium-section-title a {
  color: #7181ae;
}

.premium-section-title a { color: #315bf0; }

.premium-mini-stat,
.premium-tool,
.premium-resource,
.premium-stat,
.premium-referral-panel .ref-modern {
  border-color: #e3e8fc;
  background: #f8faff;
}

.premium-mini-stat span,
.premium-tool span,
.premium-resource span,
.premium-stat span,
.premium-stat small,
.premium-referral-panel .ref-text {
  color: #7181ae;
}

.premium-mini-stat strong,
.premium-tool strong,
.premium-resource strong,
.premium-stat strong {
  color: #263975;
}

.premium-mini-stat i,
.premium-tool i,
.premium-stat > i {
  border: 1px solid #e4e9fc;
  background: #edf2ff;
}

.icon-purple { color: #7658ed; }
.icon-green { color: #35bca0; }
.icon-cyan { color: #315bf0; }
.icon-orange { color: #ffac3e; }
.icon-blue { color: #315bf0; }

.premium-upgrade-panel {
  background: linear-gradient(145deg, #ecf0ff, #fdfdff);
}

.premium-upgrade-copy p { color: #7181ae; }

.premium-upgrade-copy a,
.premium-referral-panel .copy-btn-modern {
  background: linear-gradient(100deg, #294ce8, #5178ff);
}

.premium-crown {
  color: #4168ef;
  background: radial-gradient(circle, rgba(66, 105, 242, 0.18), transparent 68%);
  filter: drop-shadow(0 0 22px rgba(66, 105, 242, 0.25));
}

body.dashboard-dark-page .appNavBar {
  width: min(430px, calc(100% - 38px));
  height: 80px;
  padding: 9px 17px;
  border: 1px solid #e0e6fb;
  border-radius: 27px;
  background: linear-gradient(145deg, #fff 0%, #eef2ff 100%);
  box-shadow: 0 16px 34px rgba(69, 85, 153, 0.18), inset 0 1px 0 #fff;
}

body.dashboard-dark-page .navLink {
  color: #7181ae;
  font-weight: 700;
}

body.dashboard-dark-page .navLink.active,
body.dashboard-dark-page .navLink:first-child {
  color: #315bf0;
  text-shadow: none;
}

body.dashboard-dark-page .navLink:first-child i {
  color: #315bf0;
  filter: none;
}

body.dashboard-dark-page .navLink.center {
  background: linear-gradient(145deg, #294ce8 0%, #5178ff 100%);
  box-shadow: 0 12px 24px rgba(40, 74, 229, 0.36), 0 0 0 6px rgba(63, 104, 240, 0.1);
}

@media (max-width: 420px) {
  .dashboard.premium-dashboard {
    width: calc(100% - 12px);
    margin: 6px auto;
    padding-bottom: 132px;
    border-width: 6px;
    border-radius: 37px;
  }

  .premium-topbar { padding: 16px 18px 18px; }

  .premium-balance-card { padding-right: 20px; padding-left: 20px; }

  .premium-action-dock { padding-right: 12px; padding-left: 12px; gap: 22px 10px; }

  .premium-action i { width: 68px; height: 68px; font-size: 26px; border-radius: 23px; }

  .premium-panel { margin-right: 9px; margin-left: 9px; }
}

/* Dashboard hero refinement: continuous navy overview area */
.premium-topbar {
  min-height: 610px;
  grid-template-rows: 68px 1fr;
  padding: 18px 26px 0;
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 50% 6%, rgba(86, 109, 224, 0.32), transparent 24%),
    linear-gradient(155deg, #17265e 0%, #07133d 100%);
}

.premium-topbar::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 118px;
  display: block;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 118' preserveAspectRatio='none'%3E%3Cpath d='M0 93H69c34 0 41-17 54-42 12-23 30-34 57-34h80c27 0 45 11 57 34 13 25 20 42 54 42h69' fill='none' stroke='%23415092' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.premium-topbar > .premium-icon-btn:first-child,
.premium-bell,
.premium-avatar,
.premium-greeting {
  position: relative;
  z-index: 1;
}

.premium-icon-btn {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.premium-icon-btn:hover {
  background: rgba(66, 88, 187, 0.28);
}

.premium-avatar {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  margin-top: 12px;
  font-size: 22px;
  border-radius: 50%;
  border-color: rgba(173, 192, 255, 0.27);
  background: linear-gradient(145deg, #465aa4, #142158 72%);
}

.premium-greeting {
  align-self: start;
  margin-top: 58px;
}

.premium-greeting h1 {
  color: #adbaff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.premium-greeting h1 span {
  margin-top: 5px;
  color: #fff;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.premium-greeting h1::first-line {
  color: #adbaff;
  font-size: 17px;
  font-weight: 600;
}

.premium-greeting p {
  display: none;
}

.premium-greeting::after {
  display: none;
}

.premium-greeting .premium-referred-by {
  position: absolute;
  top: 6px;
  right: 0;
  min-width: 132px;
  height: 44px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f5f7ff;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(123, 147, 255, 0.32);
  border-radius: 999px;
  background: rgba(14, 30, 83, 0.4);
}

.premium-balance-card {
  z-index: 2;
  min-height: 260px;
  margin: -352px 26px 0;
  padding: 25px 28px 23px;
  border: 1px solid rgba(115, 139, 232, 0.4);
  border-radius: 36px;
  background:
    radial-gradient(circle at 94% 8%, rgba(95, 120, 225, 0.28), transparent 27%),
    linear-gradient(145deg, #1a2a62 0%, #0c1748 48%, #061039 100%);
  box-shadow:
    0 16px 27px rgba(1, 7, 35, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.premium-balance-card::before {
  right: 28px;
  bottom: 40px;
  left: 28px;
}

.premium-balance-copy span {
  min-height: 64px;
  margin-left: 84px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.premium-balance-copy h2 {
  margin-top: 14px;
  font-size: clamp(37px, 10vw, 51px);
}

.premium-balance-copy p {
  display: none;
}

.premium-wallet-visual {
  top: 24px;
  right: auto;
  left: 28px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 26px;
  border: 1px solid rgba(159, 180, 255, 0.4);
  border-radius: 19px;
  background: linear-gradient(145deg, #405798, #1d306d);
  color: #dbe4ff;
  opacity: 1;
  box-shadow: 0 10px 18px rgba(2, 9, 42, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.premium-wallet-visual span { display: none; }

.premium-action-dock {
  z-index: 3;
  position: relative;
  margin-top: 56px;
  border-radius: 56px 56px 0 0;
}

@media (max-width: 420px) {
  .premium-topbar {
    border-bottom-left-radius: 0;
  }

  .premium-action-dock {
    margin-top: 32px;
    border-radius: 0 72px 0 0;
  }

  .premium-balance-card {
    width: calc(100% - 42px);
    min-height: 220px;
    margin: -340px auto 0;
  }

  .premium-balance-copy {
    min-height: 172px;
  }

  .premium-balance-copy h2 {
    font-size: clamp(31px, 9vw, 42px);
  }
}

@media (max-width: 420px) {
  .premium-topbar {
    min-height: 540px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .premium-greeting {
    margin-top: 38px;
  }

  .premium-greeting h1 span {
    font-size: 25px;
  }

  .premium-greeting::after {
    min-width: 118px;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .premium-balance-card {
    margin: -340px 18px 0;
    padding-right: 21px;
    padding-left: 21px;
  }
}

/* Current light-and-navy sidebar theme */
.sidebar-overlay {
  background: rgba(7, 17, 56, 0.46);
  backdrop-filter: blur(4px);
}

.sidebar {
  left: -330px;
  width: min(304px, calc(100vw - 36px));
  height: 100dvh;
  overflow-y: auto;
  border: 0;
  border-radius: 0 38px 38px 0;
  background:
    radial-gradient(circle at 100% 0, rgba(109, 132, 252, 0.17), transparent 25%),
    linear-gradient(145deg, #fdfdff, #e8edff);
  box-shadow: 18px 0 38px rgba(15, 31, 94, 0.3);
}

.sidebar.active { left: 0; }

.sidebar-header {
  min-height: 104px;
  padding: 21px 18px;
  border: 0;
  background:
    radial-gradient(circle at 70% -15%, rgba(97, 119, 228, 0.36), transparent 52%),
    linear-gradient(145deg, #1a2b69, #0a1645);
}

.sidebar-header h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sidebar-header button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(181, 194, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #304586, #111e52);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.18), 0 6px 12px rgba(0, 0, 0, 0.25);
  font-size: 25px;
  line-height: 1;
}

.sidebar-menu {
  gap: 9px;
  padding: 18px 14px 22px;
}

.sidebar-menu a {
  min-height: 58px;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #253a80;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.sidebar-menu a i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e1fc;
  border-radius: 13px;
  color: #416eff;
  background: #f8f9ff;
  box-shadow: inset 0 1px 1px #fff, 0 5px 10px rgba(66, 92, 185, 0.1);
  font-family: "Font Awesome 6 Free" !important;
  font-size: 16px;
  font-weight: 900;
  filter: none;
}

.sidebar-menu a:hover {
  border-color: #d3ddfd;
  color: #1b42d4;
  background: #f3f6ff;
  transform: translateX(3px);
}

.sidebar-menu a:hover i {
  color: #fff;
  border-color: #416eff;
  background: linear-gradient(135deg, #416eff, #244de0);
  box-shadow: 0 6px 12px rgba(37, 75, 229, 0.23);
}

.sidebar-menu .logout {
  min-height: 54px;
  justify-content: center;
  margin-top: 10px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #416eff, #244de0);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 10px 18px rgba(37, 75, 229, 0.28);
}

.sidebar-menu .logout i {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 380px) {
  .sidebar { width: min(292px, calc(100vw - 30px)); }
  .sidebar-header { min-height: 94px; }
  .sidebar-menu { padding-top: 14px; }
  .sidebar-menu a { min-height: 54px; }
}

/* Live dashboard metrics */
.premium-dashboard-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 20px 24px;
}

.premium-dashboard-stat {
  position: relative;
  min-height: 126px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22), 0 11px 20px rgba(26, 48, 130, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-dashboard-stat:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22), 0 15px 24px rgba(26, 48, 130, 0.28);
}

.premium-dashboard-stat::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.premium-dashboard-stat > i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  font-size: 17px;
}

.premium-dashboard-stat span,
.premium-dashboard-stat strong {
  position: relative;
  z-index: 1;
  display: block;
}

.premium-dashboard-stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.premium-dashboard-stat strong {
  margin-top: 6px;
  color: #fff;
  font-size: clamp(17px, 4.5vw, 23px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.stat-total-deposits { background: linear-gradient(145deg, #38bf99, #197d75); }
.stat-total-withdraws { background: linear-gradient(145deg, #5b7ff4, #3650c7); }
.stat-pending-deposits { background: linear-gradient(145deg, #4c7dff, #294ee0); }
.stat-pending-withdraws { background: linear-gradient(145deg, #7a6cf6, #5142ca); }
.stat-team-deposit { background: linear-gradient(145deg, #2fbf9c, #167d76); }
.stat-team-commission { background: linear-gradient(145deg, #4c68cf, #273b96); }
.stat-team-members { background: linear-gradient(145deg, #5b78f2, #3a43b2); }
.stat-salary-rewards { background: linear-gradient(145deg, #eea640, #c36b20); }

@media (max-width: 420px) {
  .premium-dashboard-stats {
    margin: 0 13px 20px;
    gap: 10px;
  }

  .premium-dashboard-stat {
    min-height: 112px;
    padding: 13px;
    border-radius: 20px;
  }

  .premium-dashboard-stat > i {
    width: 35px;
    height: 35px;
    margin-bottom: 8px;
    border-radius: 11px;
    font-size: 15px;
  }

  .premium-dashboard-stat span { font-size: 10px; }
}

/* Dedicated WhatsApp contact panel */
.premium-whatsapp-dock {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 20px 20px;
  padding: 16px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 4%, rgba(128, 244, 218, 0.3), transparent 38%),
    linear-gradient(135deg, #369ec7 0%, #2761bd 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.26), 0 12px 20px rgba(26, 67, 155, 0.24);
}

.premium-whatsapp-dock .premium-action {
  gap: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.premium-whatsapp-dock .premium-action i {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  color: #1cbf90;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 7px 12px rgba(18, 72, 129, 0.2), inset 0 1px 1px #fff;
}

.premium-whatsapp-dock .premium-action:hover {
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 420px) {
  .premium-whatsapp-dock {
    gap: 6px;
    margin: 0 13px 18px;
    padding: 14px 9px 12px;
    border-radius: 23px;
  }

  .premium-whatsapp-dock .premium-action { font-size: 10px; }

  .premium-whatsapp-dock .premium-action i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 23px;
  }
}

/* Compact Trust Point dashboard treatment */
body.dashboard-dark-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff4ed;
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 150, 42, .28), transparent 34%),
    radial-gradient(circle at 0 75%, rgba(191, 24, 11, .32), transparent 42%),
    linear-gradient(145deg, #160708 0%, #3a0907 46%, #160607 100%);
}

body.dashboard-dark-page .dashboard.premium-dashboard {
  width: min(100% - 20px, 380px);
  max-width: 380px;
  min-height: calc(100vh - 20px);
  margin: 10px auto;
  padding: 0 0 104px;
  overflow: hidden;
  border: 1px solid rgba(255, 142, 52, .38);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(112, 13, 7, .88), rgba(40, 6, 6, .96));
  box-shadow: 0 20px 46px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 184, 89, .16);
}

body.dashboard-dark-page .premium-topbar {
  min-height: 142px;
  grid-template-columns: 42px 1fr auto;
  grid-template-rows: 50px 1fr;
  gap: 6px;
  padding: 15px 14px 18px;
  border-radius: 27px 27px 0 0;
  background:
    radial-gradient(circle at 86% -24%, rgba(255, 154, 39, .26), transparent 42%),
    linear-gradient(155deg, #8e1709 0%, #5c0b07 100%);
}

body.dashboard-dark-page .premium-topbar > .premium-icon-btn:first-child {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

body.dashboard-dark-page .premium-top-actions {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  gap: 7px;
}

body.dashboard-dark-page .premium-bell,
body.dashboard-dark-page .premium-avatar {
  grid-column: auto;
  grid-row: auto;
  justify-self: auto;
}

body.dashboard-dark-page .premium-icon-btn {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  color: #fff7ef;
  border: 1px solid rgba(255, 185, 98, .28);
  border-radius: 12px;
  background: rgba(153, 26, 12, .72);
  box-shadow: inset 0 1px 0 rgba(255, 220, 168, .18), 0 5px 12px rgba(35, 2, 2, .22);
}

body.dashboard-dark-page .premium-bell::after {
  background: #ffb443;
  box-shadow: 0 0 9px rgba(255, 180, 67, .9);
}

body.dashboard-dark-page .premium-avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  margin: 0;
  color: #fff;
  font-size: 17px;
  border: 1px solid rgba(255, 200, 116, .48);
  background: linear-gradient(145deg, #ffb434, #ed4e0a 76%);
  box-shadow: 0 7px 14px rgba(69, 14, 2, .34), inset 0 1px 2px rgba(255, 255, 255, .35);
}

body.dashboard-dark-page .premium-greeting {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  padding: 0 3px;
}

body.dashboard-dark-page .premium-greeting h1 {
  color: #fff;
  font-size: 22px;
  letter-spacing: -.03em;
}

body.dashboard-dark-page .premium-greeting h1 span {
  margin-top: 2px;
  color: #fff;
  font-size: 25px;
}

body.dashboard-dark-page .premium-greeting h1::first-line { color: #ffc078; font-size: 13px; }
body.dashboard-dark-page .premium-greeting p,
body.dashboard-dark-page .premium-greeting small { color: rgba(255, 224, 196, .78); font-size: 11px; }

body.dashboard-dark-page .premium-balance-card {
  min-height: 158px;
  margin: -17px 12px 0;
  padding: 20px 18px;
  border: 1px solid rgba(255, 145, 46, .4);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 141, 35, .24), transparent 31%),
    linear-gradient(145deg, #7d1609 0%, #4a0a06 100%);
  box-shadow: 0 12px 22px rgba(22, 2, 2, .28), inset 0 1px 0 rgba(255, 195, 119, .15);
}

body.dashboard-dark-page .premium-balance-card::before {
  right: 18px;
  bottom: 48px;
  left: 18px;
  height: 5px;
  background: linear-gradient(90deg, #ffad32, #f35d13 72%, rgba(36, 3, 2, .9) 72%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .28), inset 0 1px 1px rgba(255, 255, 255, .24);
}

body.dashboard-dark-page .premium-balance-copy span { color: #ffc078; font-size: 12px; }
body.dashboard-dark-page .premium-balance-copy h2 { margin: 13px 0 6px; color: #fff; font-size: clamp(30px, 9vw, 40px); }
body.dashboard-dark-page .premium-balance-copy p { color: rgba(255, 219, 184, .7); font-size: 11px; }
body.dashboard-dark-page .premium-wallet-visual { top: 29px; right: 17px; width: 58px; height: 58px; color: #ffc35a; font-size: 31px; filter: drop-shadow(0 0 13px rgba(255, 148, 34, .42)); }
body.dashboard-dark-page .premium-wallet-visual span { background: linear-gradient(145deg, #ffc34b, #ef4b0a); box-shadow: 0 0 15px rgba(255, 124, 22, .52); }

body.dashboard-dark-page .premium-action-dock {
  margin: 0;
  padding: 20px 14px 17px;
  gap: 17px 8px;
  border: 0;
  border-radius: 0;
  background: rgba(67, 8, 6, .72);
  box-shadow: inset 0 1px 0 rgba(255, 154, 65, .08);
}

body.dashboard-dark-page .premium-action { gap: 7px; color: #ffe5d0; font-size: 10px; font-weight: 700; }
body.dashboard-dark-page .premium-action i {
  width: 54px;
  height: 54px;
  color: #ffae37;
  font-size: 21px;
  border: 1px solid rgba(255, 152, 52, .38);
  border-radius: 17px;
  background: linear-gradient(145deg, #8a1b0a, #4d0a06) !important;
  box-shadow: 0 8px 15px rgba(21, 2, 2, .28), inset 0 1px 0 rgba(255, 205, 142, .15);
}
body.dashboard-dark-page .action-purple i,
body.dashboard-dark-page .action-green i,
body.dashboard-dark-page .action-orange i,
body.dashboard-dark-page .action-cyan i,
body.dashboard-dark-page .action-blue i,
body.dashboard-dark-page .action-dark i { color: #ffae37; }

body.dashboard-dark-page .premium-panel {
  margin: 0 12px 12px;
  padding: 15px;
  border: 1px solid rgba(255, 146, 42, .42);
  border-radius: 19px;
  background: rgba(91, 12, 7, .74);
  box-shadow: 0 9px 18px rgba(24, 2, 2, .25), inset 0 1px 0 rgba(255, 187, 107, .1);
}

body.dashboard-dark-page .premium-section-title h2,
body.dashboard-dark-page .premium-upgrade-copy h2 { color: #fff2e8; font-size: 16px; }
body.dashboard-dark-page .premium-section-title span,
body.dashboard-dark-page .premium-section-title a { color: #ffc078; font-size: 11px; }
body.dashboard-dark-page .premium-section-title a { color: #ffad32; }
body.dashboard-dark-page .premium-referral-panel .ref-modern,
body.dashboard-dark-page .premium-mini-stat,
body.dashboard-dark-page .premium-tool,
body.dashboard-dark-page .premium-resource,
body.dashboard-dark-page .premium-stat { border-color: rgba(255, 143, 37, .3); background: rgba(52, 5, 4, .66); }
body.dashboard-dark-page .premium-referral-panel .ref-text,
body.dashboard-dark-page .premium-mini-stat span,
body.dashboard-dark-page .premium-tool span,
body.dashboard-dark-page .premium-resource span,
body.dashboard-dark-page .premium-stat span,
body.dashboard-dark-page .premium-stat small { color: rgba(255, 217, 188, .72); }
body.dashboard-dark-page .premium-mini-stat strong,
body.dashboard-dark-page .premium-tool strong,
body.dashboard-dark-page .premium-resource strong,
body.dashboard-dark-page .premium-stat strong { color: #fff2e8; }
body.dashboard-dark-page .premium-referral-panel .copy-btn-modern { background: linear-gradient(100deg, #ffad32, #ef4e0c); }
body.dashboard-dark-page .premium-mini-stat i,
body.dashboard-dark-page .premium-tool i,
body.dashboard-dark-page .premium-stat > i { border-color: rgba(255, 143, 37, .32); background: rgba(132, 28, 9, .7); color: #ffad32; }

body.dashboard-dark-page .premium-whatsapp-dock {
  margin: 0 12px 12px;
  padding: 12px 9px 10px;
  gap: 7px;
  border: 1px solid rgba(255, 146, 42, .32);
  border-radius: 18px;
  background: rgba(66, 8, 6, .72);
}
body.dashboard-dark-page .premium-whatsapp-dock .premium-action { color: #ffe5d0; font-size: 10px; }
body.dashboard-dark-page .premium-whatsapp-dock .premium-action i { width: 47px; height: 47px; border: 1px solid rgba(255, 183, 96, .38); border-radius: 14px; color: #ffbd56; background: rgba(119, 20, 8, .85); box-shadow: inset 0 1px 0 rgba(255, 220, 165, .15); }

body.dashboard-dark-page .premium-dashboard-stats {
  margin: 0 12px 16px;
  gap: 9px;
}
body.dashboard-dark-page .premium-dashboard-stat { min-height: 94px; padding: 12px 10px; border: 1px solid rgba(255, 146, 42, .34); border-radius: 17px; background: linear-gradient(145deg, rgba(129, 25, 8, .88), rgba(62, 7, 5, .9)); box-shadow: inset 0 1px 0 rgba(255, 198, 125, .1), 0 7px 13px rgba(25, 2, 2, .2); }
body.dashboard-dark-page .premium-dashboard-stat i { width: 33px; height: 33px; margin-bottom: 7px; color: #ffb446; border: 1px solid rgba(255, 180, 73, .35); border-radius: 10px; background: rgba(98, 17, 7, .76); }
body.dashboard-dark-page .premium-dashboard-stat span { color: rgba(255, 220, 191, .75); font-size: 10px; }
body.dashboard-dark-page .premium-dashboard-stat strong { color: #fff4e9; font-size: 14px; }
body.dashboard-dark-page .stat-total-deposits,
body.dashboard-dark-page .stat-total-withdraws,
body.dashboard-dark-page .stat-pending-deposits,
body.dashboard-dark-page .stat-pending-withdraws,
body.dashboard-dark-page .stat-team-deposit,
body.dashboard-dark-page .stat-team-commission,
body.dashboard-dark-page .stat-team-members,
body.dashboard-dark-page .stat-salary-rewards { background: linear-gradient(145deg, rgba(129, 25, 8, .88), rgba(62, 7, 5, .9)); }

body.dashboard-dark-page .premium-chart-panel canvas { filter: saturate(1.35) hue-rotate(330deg); }

body.dashboard-dark-page .appNavBar {
  width: min(380px, calc(100% - 20px));
  height: 66px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 146, 42, .46);
  border-radius: 22px;
  background: rgba(74, 8, 7, .94);
  box-shadow: 0 13px 27px rgba(12, 1, 1, .42), inset 0 1px 0 rgba(255, 188, 111, .16);
}
body.dashboard-dark-page .navLink { color: rgba(255, 224, 201, .76); font-weight: 700; }
body.dashboard-dark-page .navLink.active,
body.dashboard-dark-page .navLink:first-child { color: #ffb33c; text-shadow: 0 0 10px rgba(255, 159, 37, .35); }
body.dashboard-dark-page .navLink:first-child i { color: #ffb33c; filter: none; }
body.dashboard-dark-page .navLink.center { background: linear-gradient(145deg, #ffb934, #ed4d09); box-shadow: 0 9px 18px rgba(205, 56, 7, .42), 0 0 0 5px rgba(255, 133, 24, .1); }

body.dashboard-dark-page .sidebar { color: #fff4ed; border-color: rgba(255, 146, 42, .38); background: linear-gradient(160deg, #781409, #350706); box-shadow: 12px 0 28px rgba(0, 0, 0, .38); }
body.dashboard-dark-page .sidebar-header { border-bottom-color: rgba(255, 146, 42, .26); }
body.dashboard-dark-page .sidebar-header h3,
body.dashboard-dark-page .sidebar-header button,
body.dashboard-dark-page .sidebar-menu a { color: #fff0e6; }
body.dashboard-dark-page .sidebar-menu a:hover { color: #ffb33c; background: rgba(255, 135, 24, .12); }
body.dashboard-dark-page .sidebar-menu a i { color: #ffad32; }
body.dashboard-dark-page .sidebar-menu .logout { color: #ff8470; }

@media (max-width: 420px) {
  body.dashboard-dark-page .dashboard.premium-dashboard { width: calc(100% - 12px); margin: 6px auto; border-radius: 25px; }
  body.dashboard-dark-page .premium-topbar { padding-right: 12px; padding-left: 12px; }
  body.dashboard-dark-page .premium-balance-card,
  body.dashboard-dark-page .premium-panel,
  body.dashboard-dark-page .premium-dashboard-stats,
  body.dashboard-dark-page .premium-whatsapp-dock { margin-right: 9px; margin-left: 9px; }
  body.dashboard-dark-page .premium-action i { width: 50px; height: 50px; border-radius: 15px; }
}

/* Top balance and shortcut block */
body.dashboard-dark-page .premium-topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 27px 27px 0 0;
  background: linear-gradient(145deg, #760b0b 0%, #490707 100%);
}

body.dashboard-dark-page .premium-topbar::before,
body.dashboard-dark-page .dashboard.premium-dashboard::before { display: none !important; }

body.dashboard-dark-page .premium-topbar > .premium-icon-btn:first-child {
  order: 3;
  margin-left: auto;
}

body.dashboard-dark-page .premium-top-actions {
  order: 1;
  display: flex;
  align-items: center;
}

body.dashboard-dark-page .premium-bell { display: none; }
body.dashboard-dark-page .premium-avatar { width: 36px; height: 36px; flex-basis: 36px; margin: 0; font-size: 16px; }

body.dashboard-dark-page .premium-greeting {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
  margin: 0 !important;
  padding: 0;
}

body.dashboard-dark-page .premium-greeting h1,
body.dashboard-dark-page .premium-greeting h1 span {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}

body.dashboard-dark-page .premium-greeting h1::first-line { color: #fff; font-size: 18px; }
body.dashboard-dark-page .premium-greeting p,
body.dashboard-dark-page .premium-greeting small { display: none; }

body.dashboard-dark-page .premium-balance-card {
  height: 83px;
  min-height: 0;
  box-sizing: border-box;
  margin: 10px 12px 10px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(134, 23, 20, .86), rgba(76, 10, 12, .9));
  box-shadow: inset 0 1px 0 rgba(255, 186, 133, .12), 0 7px 16px rgba(26, 2, 2, .22);
}

body.dashboard-dark-page .premium-balance-card::before { display: none; }
body.dashboard-dark-page .premium-balance-copy { min-height: 0 !important; }
body.dashboard-dark-page .premium-balance-copy span { min-height: 0; margin-left: 0; display: block; color: #ffe5d4; font-size: 12px; line-height: 1.2; }
body.dashboard-dark-page .premium-balance-copy h2 { margin: 6px 0 0; color: #ff4b52; font-size: 20px; line-height: 1.1; letter-spacing: .01em; }
body.dashboard-dark-page .premium-balance-copy p,
body.dashboard-dark-page .premium-wallet-visual { display: none; }

body.dashboard-dark-page .premium-action-dock {
  margin: 0 12px 10px;
  padding: 10px 0 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.dashboard-dark-page .premium-action-dock .premium-action {
  min-width: 0;
  gap: 5px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

body.dashboard-dark-page .premium-action-dock .premium-action i {
  width: 50px;
  height: 50px;
  color: #fff;
  font-size: 17px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(20, 2, 2, .2), inset 0 1px 0 rgba(255, 255, 255, .16);
}

body.dashboard-dark-page .premium-action-dock .action-purple i,
body.dashboard-dark-page .premium-action-dock .action-blue i { background: linear-gradient(145deg, #527cff, #3b59da) !important; }
body.dashboard-dark-page .premium-action-dock .action-green i { background: linear-gradient(145deg, #16c96a, #0b9e4b) !important; }
body.dashboard-dark-page .premium-action-dock .action-cyan i,
body.dashboard-dark-page .premium-action-dock .action-orange i { background: linear-gradient(145deg, #a50c15, #7a060b) !important; }

body.dashboard-dark-page .premium-whatsapp-dock {
  margin: 0 12px 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.dashboard-dark-page .premium-whatsapp-dock .premium-action {
  gap: 5px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

body.dashboard-dark-page .premium-whatsapp-dock .premium-action i {
  width: 50px;
  height: 50px;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #16c96a, #0b9e4b) !important;
  box-shadow: 0 6px 12px rgba(20, 2, 2, .2), inset 0 1px 0 rgba(255, 255, 255, .16);
}

@media (max-width: 420px) {
  body.dashboard-dark-page .premium-balance-card,
  body.dashboard-dark-page .premium-action-dock,
  body.dashboard-dark-page .premium-whatsapp-dock { margin-right: 9px; margin-left: 9px; }
  body.dashboard-dark-page .premium-action-dock .premium-action i,
  body.dashboard-dark-page .premium-whatsapp-dock .premium-action i { width: 47px; height: 47px; }
}

/* Reference account-summary colors */
body.dashboard-dark-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 174, 58, .3), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(255, 147, 35, .2), transparent 32%),
    radial-gradient(circle at top, #a74409 0%, #672003 48%, #260801 100%);
}

body.dashboard-dark-page .premium-dashboard-stat.stat-team-members {
  background: linear-gradient(145deg, #5f7dff 0%, #5848e8 100%) !important;
  border-color: rgba(130, 151, 255, .82);
}

body.dashboard-dark-page .premium-dashboard-stat.stat-total-deposits {
  background: linear-gradient(145deg, #20c66b 0%, #2d943b 100%) !important;
  border-color: rgba(109, 224, 129, .72);
}

body.dashboard-dark-page .premium-dashboard-stat.stat-total-withdraws {
  background: linear-gradient(145deg, #f04448 0%, #bf1f29 100%) !important;
  border-color: rgba(255, 116, 117, .72);
}

body.dashboard-dark-page .premium-dashboard-stat.stat-team-commission {
  background: linear-gradient(145deg, #ffb713 0%, #f19a06 100%) !important;
  border-color: rgba(255, 211, 87, .8);
}

body.dashboard-dark-page .premium-dashboard-stat.stat-team-commission span,
body.dashboard-dark-page .premium-dashboard-stat.stat-team-commission strong { color: #2b1700; }
body.dashboard-dark-page .premium-dashboard-stat.stat-team-commission > i { color: #2b1700; background: rgba(255, 235, 160, .42); border-color: rgba(112, 62, 0, .22); }
body.dashboard-dark-page .premium-dashboard-stat.stat-team-members > i,
body.dashboard-dark-page .premium-dashboard-stat.stat-total-deposits > i,
body.dashboard-dark-page .premium-dashboard-stat.stat-total-withdraws > i { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .24); }

/* Supplied orange dashboard reference palette */
body.dashboard-dark-page {
  color: #fff8ef;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 196, 88, .34), transparent 31%),
    radial-gradient(circle at 0% 100%, rgba(255, 214, 73, .2), transparent 34%),
    linear-gradient(145deg, #ff9b1b 0%, #f7790b 48%, #d94d05 100%);
}

body.dashboard-dark-page .dashboard.premium-dashboard {
  border-color: rgba(255, 177, 38, .72);
  background: linear-gradient(180deg, rgba(171, 57, 3, .92), rgba(185, 61, 3, .88));
  box-shadow: 0 22px 48px rgba(132, 41, 1, .36), inset 0 1px 0 rgba(255, 225, 155, .3);
}

body.dashboard-dark-page .premium-topbar {
  border-bottom: 1px solid rgba(255, 182, 39, .72);
  background: linear-gradient(145deg, #c34e04 0%, #9d3202 100%);
}

body.dashboard-dark-page .premium-topbar > .premium-icon-btn:first-child,
body.dashboard-dark-page .premium-icon-btn {
  border-color: rgba(255, 192, 63, .62);
  background: rgba(181, 61, 3, .78);
  box-shadow: inset 0 1px 0 rgba(255, 226, 154, .28), 0 6px 13px rgba(115, 29, 0, .22);
}

body.dashboard-dark-page .premium-avatar {
  border-color: rgba(255, 220, 111, .82);
  background: linear-gradient(145deg, #ffbd38, #f15b09 78%);
  box-shadow: 0 7px 15px rgba(133, 42, 0, .3), inset 0 1px 2px rgba(255, 255, 255, .42);
}

body.dashboard-dark-page .premium-greeting h1,
body.dashboard-dark-page .premium-greeting h1 span { color: #fffaf5; }

body.dashboard-dark-page .premium-balance-card {
  border-color: rgba(255, 184, 38, .76);
  background: linear-gradient(145deg, rgba(178, 59, 3, .8), rgba(128, 34, 2, .76));
  box-shadow: inset 0 1px 0 rgba(255, 224, 149, .2), 0 9px 18px rgba(128, 36, 0, .24);
}

body.dashboard-dark-page .premium-balance-copy span { color: #fff8ed; }
body.dashboard-dark-page .premium-balance-copy h2 { color: #ff9b67; }

body.dashboard-dark-page .premium-action-dock .premium-action i,
body.dashboard-dark-page .premium-whatsapp-dock .premium-action i {
  border: 1px solid rgba(255, 188, 47, .5);
  background: linear-gradient(145deg, #f76608, #d84403) !important;
  box-shadow: 0 7px 13px rgba(132, 42, 0, .24), inset 0 1px 0 rgba(255, 224, 150, .25);
}

body.dashboard-dark-page .premium-action-dock .action-purple i { background: linear-gradient(145deg, #5d7fff, #3e5cdf) !important; }
body.dashboard-dark-page .premium-action-dock .action-green i,
body.dashboard-dark-page .premium-whatsapp-dock .action-green i { background: linear-gradient(145deg, #20c96d, #0ba34e) !important; }
body.dashboard-dark-page .premium-action-dock .action-cyan i { background: linear-gradient(145deg, #f86b08, #d74703) !important; }

body.dashboard-dark-page .premium-panel {
  border-color: rgba(255, 181, 35, .68);
  background: rgba(169, 55, 2, .56);
  box-shadow: 0 10px 20px rgba(129, 37, 0, .2), inset 0 1px 0 rgba(255, 225, 156, .18);
}

body.dashboard-dark-page .premium-section-title h2,
body.dashboard-dark-page .premium-upgrade-copy h2 { color: #fff9f0; }
body.dashboard-dark-page .premium-section-title span,
body.dashboard-dark-page .premium-section-title a { color: #ffd34f; }
body.dashboard-dark-page .premium-referral-panel .ref-modern {
  border-color: rgba(255, 178, 29, .65);
  background: rgba(96, 28, 1, .62);
}
body.dashboard-dark-page .premium-referral-panel .ref-text { color: #ffe7cb; }
body.dashboard-dark-page .premium-referral-panel .copy-btn-modern { background: linear-gradient(135deg, #ffbc2e, #f16a08); }

body.dashboard-dark-page .premium-dashboard-stat.stat-pending-deposits,
body.dashboard-dark-page .premium-dashboard-stat.stat-pending-withdraws,
body.dashboard-dark-page .premium-dashboard-stat.stat-team-deposit,
body.dashboard-dark-page .premium-dashboard-stat.stat-salary-rewards {
  background: linear-gradient(145deg, rgba(205, 70, 3, .92), rgba(136, 37, 2, .9)) !important;
  border-color: rgba(255, 177, 35, .58);
}

body.dashboard-dark-page .appNavBar {
  border-color: rgba(255, 183, 38, .76);
  background: rgba(139, 43, 2, .94);
  box-shadow: 0 14px 28px rgba(119, 32, 0, .36), inset 0 1px 0 rgba(255, 226, 157, .22);
}
body.dashboard-dark-page .navLink { color: rgba(255, 237, 214, .86); }
body.dashboard-dark-page .navLink.active,
body.dashboard-dark-page .navLink:first-child { color: #ffd343; }
body.dashboard-dark-page .navLink.center { background: linear-gradient(145deg, #ffb52d, #f36a08); box-shadow: 0 10px 20px rgba(177, 55, 0, .4), 0 0 0 5px rgba(255, 161, 27, .14); }

body.dashboard-dark-page .sidebar { border-color: rgba(255, 180, 32, .64); background: linear-gradient(160deg, #b54103, #6e1e02); }
body.dashboard-dark-page .sidebar-header { border-bottom-color: rgba(255, 184, 37, .42); background: linear-gradient(145deg, #c34e04, #8d2c02); }
body.dashboard-dark-page .sidebar-menu a:hover { color: #ffd34f; background: rgba(255, 173, 33, .14); }
body.dashboard-dark-page .sidebar-menu a i { color: #ffc13b; }

/* Quick-check buttons from the supplied reference */
body.dashboard-dark-page .premium-top-tools-panel {
  padding: 10px 12px;
  background: rgba(171, 57, 3, .48);
}

body.dashboard-dark-page .premium-tool-grid.premium-top-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

body.dashboard-dark-page .premium-top-tools .premium-tool {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 0;
  border-radius: 18px;
  color: #251000;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 239, 180, .34), 0 8px 15px rgba(128, 38, 0, .2);
}

body.dashboard-dark-page .premium-top-tools .premium-profit-tool { background: linear-gradient(145deg, #f6cc12 0%, #f2a30a 100%); }
body.dashboard-dark-page .premium-top-tools .premium-team-reward-tool { color: #fff; background: linear-gradient(145deg, #e20b13 0%, #a6040a 100%); }

body.dashboard-dark-page .premium-top-tools .premium-tool > i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: inherit;
  background: rgba(255, 255, 255, .2);
  font-size: 17px;
}

body.dashboard-dark-page .premium-top-tools .premium-tool div { min-width: 0; flex: 1 1 auto; }
body.dashboard-dark-page .premium-top-tools .premium-tool span,
body.dashboard-dark-page .premium-top-tools .premium-tool strong { color: inherit; }
body.dashboard-dark-page .premium-top-tools .premium-tool span { display: inline; font-size: 11px; font-weight: 600; }
body.dashboard-dark-page .premium-top-tools .premium-tool strong { display: inline; margin: 0; font-size: 13px; font-weight: 800; }

body.dashboard-dark-page .premium-top-tools .premium-tool-arrow {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(91, 37, 0, .2);
  font-size: 13px;
}

body.dashboard-dark-page .premium-top-tools .premium-tool-arrow i { width: auto; height: auto; display: block; margin: 0; border: 0; background: transparent; font-size: inherit; }

/* Orange five-item footer navigation */
body.dashboard-dark-page .appNavBar {
  bottom: 12px;
  width: min(380px, calc(100% - 20px));
  height: 66px;
  padding: 6px 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  border: 1px solid rgba(255, 180, 36, .78);
  border-radius: 31px;
  background: linear-gradient(145deg, rgba(114, 30, 2, .97), rgba(77, 16, 1, .97));
  box-shadow: 0 14px 29px rgba(109, 31, 0, .42), inset 0 1px 0 rgba(255, 226, 151, .22);
}

body.dashboard-dark-page .appNavBar .navLink {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255, 242, 222, .92);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

body.dashboard-dark-page .appNavBar .navLink i { margin: 0; color: inherit; font-size: 19px; line-height: 1; }
body.dashboard-dark-page .appNavBar .navLink p { margin: 0; color: inherit; font-size: 10px; line-height: 1; }
body.dashboard-dark-page .appNavBar .navLink.active,
body.dashboard-dark-page .appNavBar .navLink:first-child { color: #ffd24a; }

body.dashboard-dark-page .appNavBar .navLink.center {
  position: relative;
  top: -21px;
  width: 64px;
  height: 64px;
  justify-self: center;
  align-self: start;
  border: 1px solid rgba(255, 187, 35, .58);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ffb52b 0%, #f25d05 100%);
  box-shadow: 0 13px 25px rgba(152, 47, 0, .44), 0 0 0 5px rgba(255, 151, 18, .13), inset 0 1px 2px rgba(255, 243, 191, .42);
}

body.dashboard-dark-page .appNavBar .navLink.center i { color: #fff; font-size: 22px; }

/* Shared orange sidebar */
.sidebar-overlay {
  background: rgba(55, 14, 0, .62) !important;
  backdrop-filter: blur(5px);
}

.sidebar {
  left: -330px;
  width: min(304px, calc(100vw - 30px));
  height: 100dvh;
  overflow-y: auto;
  border: 1px solid rgba(255, 180, 38, .58) !important;
  border-left: 0 !important;
  border-radius: 0 34px 34px 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 190, 46, .18), transparent 25%),
    linear-gradient(160deg, #b74703 0%, #8b2b02 42%, #5d1701 100%) !important;
  box-shadow: 18px 0 38px rgba(72, 19, 0, .42);
}

.sidebar.active { left: 0; }

.sidebar-header {
  min-height: 90px;
  padding: 18px 18px;
  border-bottom: 1px solid rgba(255, 194, 58, .18) !important;
  background: linear-gradient(145deg, rgba(188, 65, 1, .9), rgba(145, 40, 1, .78)) !important;
}

.sidebar-header h3 {
  color: #fffaf2 !important;
  font-size: 24px;
  font-weight: 800;
}

.sidebar-header button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 190, 43, .62) !important;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #8b3b05, #572001) !important;
  box-shadow: inset 0 1px 2px rgba(255, 230, 150, .2), 0 6px 12px rgba(76, 20, 0, .28);
  font-size: 25px;
}

.sidebar-menu {
  gap: 8px;
  padding: 18px 14px 22px;
}

.sidebar-menu a {
  min-height: 58px;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #fff7ed !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 800;
}

.sidebar-menu a i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 189, 54, .26) !important;
  border-radius: 12px;
  color: #ffd15a !important;
  background: rgba(92, 27, 1, .62) !important;
  box-shadow: inset 0 1px 1px rgba(255, 235, 170, .12), 0 5px 10px rgba(69, 19, 0, .2);
  font-size: 16px;
}

.sidebar-menu a:hover,
.sidebar-menu a:focus-visible {
  border-color: rgba(255, 190, 43, .42);
  color: #fff !important;
  background: rgba(255, 169, 29, .14) !important;
  transform: translateX(3px);
}

.sidebar-menu a:hover i,
.sidebar-menu a:focus-visible i {
  color: #fff !important;
  border-color: rgba(255, 220, 108, .72) !important;
  background: linear-gradient(145deg, #ffb52b, #e95c05) !important;
}

.sidebar-menu .logout {
  min-height: 54px;
  justify-content: center;
  margin-top: 10px;
  border: 1px solid rgba(255, 204, 78, .5) !important;
  border-radius: 16px;
  color: #fff !important;
  background: linear-gradient(135deg, #ff9d18, #e45605) !important;
  box-shadow: inset 0 1px 1px rgba(255, 244, 186, .28), 0 10px 18px rgba(91, 27, 0, .3);
}

.sidebar-menu .logout i {
  width: auto;
  height: auto;
  border: 0 !important;
  border-radius: 0;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none;
}
