/* 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;
}

.remaining-page {
  padding-top: 106px;
  padding-bottom: 136px;
}

.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(49, 35, 84, 0.38);
  display: none;
  z-index: 9998;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: rgba(91, 74, 135, 0.96);
  color: #fcfaff;
  backdrop-filter: blur(18px);
  transition: left 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: 18px 0 40px rgba(47, 28, 91, 0.24);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 22px 18px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header h3 {
  font-size: 18px;
}

.sidebar-header button {
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
}

.sidebar-menu {
  padding: 12px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fcfaff;
  font-size: 14px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.sidebar-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(3px);
}

.sidebar-menu .logout {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--danger), var(--danger-2));
}

.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,
  .feature-grid,
  .resource-grid,
  .summary,
  .actions-primary {
    grid-template-columns: 1fr;
  }

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

/* Neon glass theme overrides */
.dashboard.dashboard-page,
.plan-page,
.withdraw-select-page {
  background:
    linear-gradient(180deg, rgba(24, 17, 52, 0.94), rgba(14, 10, 34, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(2, 0, 14, 0.5);
}

.dashboard.dashboard-page::before,
.plan-page::before,
.withdraw-select-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 14%, rgba(144, 92, 255, 0.22), transparent 18%),
    radial-gradient(circle at 84% 6%, rgba(255, 79, 216, 0.18), transparent 14%),
    linear-gradient(135deg, transparent 0 18%, rgba(104, 72, 176, 0.12) 18% 42%, transparent 42% 100%);
}

.dashboard-page .dashboard-topbar,
.appNavBar,
.sidebar,
.appHeader,
.header {
  background: rgba(51, 31, 96, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 44px rgba(4, 0, 19, 0.4);
}

.dashboard-page .profile-copy small,
.section-heading span,
.payment-sub,
.plan-subtitle,
.withdraw-sub,
.history-label,
.summary-card h3,
.class-chip small,
.panel-copy span,
.resource-tile small,
.shortcut-card .feature-copy span {
  color: #b6a9db;
}

.dashboard-page .profile-copy span,
.section-heading h3,
.class-explorer-card .section-heading h3,
.flow-content h3,
.withdraw-method-option .method-name span,
.plan-title,
.feature strong,
.history-date,
.history-user strong,
.card h3,
.card .title {
  color: #f7f1ff;
}

.dashboard-page .header-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #f7f1ff;
}

.balance-pill,
.plan-hero-badge,
.withdraw-badge,
.badge1,
.flow-arrow,
.withdraw-method-option .method-arrow,
.featured-button,
.copy-btn-modern,
.navLink.center {
  background: linear-gradient(145deg, #905cff, #ff4fd8);
  color: #fff;
}

.dashboard-page .dashboard-hero-card.featured-cta-card {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(145deg, #7d46ff, #d24dff 54%, #ff8a48 100%);
  box-shadow: 0 28px 48px rgba(96, 45, 195, 0.34);
}

.featured-button {
  box-shadow: 0 16px 28px rgba(144, 92, 255, 0.24);
}

.featured-cta-card .featured-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.ring-one {
  border-color: #52f2ff transparent #ffb84d #905cff;
}

.ring-two {
  border-color: #2ee6a6 #ff8c5a #ff4fd8 transparent;
}

.featured-dot {
  background: #f7f1ff;
  box-shadow:
    -22px 20px 0 0 #905cff,
    26px -8px 0 0 #2ee6a6,
    28px 28px 0 0 #ffb84d;
}

.class-explorer-card,
.dashboard-page .dashboard-chart-card,
.dashboard-page .dashboard-referral-card,
.dashboard-page .dashboard-summary-card,
.withdraw-methods-card {
  background:
    linear-gradient(180deg, rgba(35, 24, 70, 0.96), rgba(21, 15, 47, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 42px rgba(4, 0, 19, 0.36);
}

.shortcut-purple,
.chip-purple,
.panel-dark,
.resource-dark,
.team-card,
.game-btn {
  background: linear-gradient(145deg, #7d46ff, #b24fff 58%, #ff4fd8);
}

.shortcut-green,
.chip-green,
.resource-whatsapp {
  background: linear-gradient(145deg, #0fb7b9, #2ee6a6 58%, #52f2ff);
  color: #09121f;
}

.shortcut-orange,
.chip-orange,
.panel-gold,
.resource-gold,
.bonus-card {
  background: linear-gradient(145deg, #ff9a47, #ffb84d 58%, #ffd86e);
  color: #2d173b;
}

.chip-blue,
.deposit-card,
.stat-box.deposit-box {
  background: linear-gradient(145deg, #4774ff, #52a0ff 58%, #52f2ff);
}

.withdraw-card,
.resource-orange {
  background: linear-gradient(145deg, #ff6e9f, #ff8c5a 62%, #ffb84d);
}

.shortcut-card,
.class-chip,
.dashboard-page .dashboard-insights .info-panel,
.resource-tile,
.summary-card,
.action-btn,
.history-btn,
.method-card,
.flow-item,
.feature,
.stat,
.summary-box,
.ref-modern,
.history-card,
.filter-btn,
.deposit-card,
.timer-box,
.info-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 32px rgba(4, 0, 19, 0.28);
}

.ref-modern,
.method-card,
.flow-item,
.feature,
.stat,
.summary-box,
.timer-box,
.filter-btn {
  background: rgba(13, 10, 31, 0.74);
}

.dashboard-page .dashboard-chart-card,
.class-explorer-card,
.withdraw-methods-card {
  color: #f7f1ff;
}

.dashboard-page .dashboard-chart-card canvas {
  filter: saturate(1.08);
}

.navLink {
  color: rgba(255, 255, 255, 0.78);
}

.navLink.active {
  color: #52f2ff;
}

.sidebar-menu a:hover,
.method-card:hover,
.flow-item:hover,
.resource-tile:hover,
.summary-card:hover,
.info-panel:hover {
  box-shadow: 0 22px 38px rgba(4, 0, 19, 0.34);
}

/* 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 .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);
  }
}

@media (max-width: 480px) {
  .dashboard-page .dashboard-games,
  .dashboard-page .dashboard-actions-block .actions-primary,
  .dashboard-page .dashboard-insights,
  .dashboard-page .dashboard-support-block .resource-grid,
  .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 {
  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 {
    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;
  }
}

/* Final neon dashboard overrides */
.dashboard.dashboard-page,
.plan-page,
.withdraw-select-page {
  background: linear-gradient(180deg, rgba(24, 17, 52, 0.94), rgba(14, 10, 34, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(2, 0, 14, 0.5);
}

.dashboard-page .dashboard-topbar,
.appNavBar,
.sidebar,
.appHeader,
.header {
  background: rgba(51, 31, 96, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 44px rgba(4, 0, 19, 0.4);
}

.dashboard-page .header-btn,
.plan-name,
.filter-btn,
.ref-modern,
.flow-item,
.method-card,
.feature,
.stat,
.summary-box,
.timer-box {
  background: rgba(13, 10, 31, 0.74);
  border-color: rgba(255, 255, 255, 0.08);
}

.dashboard-page .dashboard-hero-card.featured-cta-card,
.withdraw-hero-card,
.plan-price {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(145deg, #7d46ff, #d24dff 54%, #ff8a48 100%);
  box-shadow: 0 28px 48px rgba(96, 45, 195, 0.34);
}

.class-explorer-card,
.dashboard-page .dashboard-chart-card,
.dashboard-page .dashboard-referral-card,
.dashboard-page .dashboard-summary-card,
.withdraw-methods-card,
.plan-card,
.history-card,
.deposit-card {
  background: linear-gradient(180deg, rgba(35, 24, 70, 0.96), rgba(21, 15, 47, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 42px rgba(4, 0, 19, 0.34);
}

.shortcut-purple,
.chip-purple,
.panel-dark,
.resource-dark,
.team-card,
.game-btn,
.balance-pill,
.plan-hero-badge,
.withdraw-badge,
.badge1,
.flow-arrow,
.withdraw-method-option .method-arrow,
.featured-button,
.copy-btn-modern,
.navLink.center,
.plan-btn,
.filter-btn.active {
  background: linear-gradient(145deg, #905cff, #ff4fd8);
  color: #fff;
}

.shortcut-green,
.chip-green,
.resource-whatsapp,
.daily-box,
.stat-box.commission-box {
  background: linear-gradient(145deg, #0fb7b9, #2ee6a6 58%, #52f2ff) !important;
  color: #09121f;
}

.shortcut-orange,
.chip-orange,
.panel-gold,
.resource-gold,
.bonus-card {
  background: linear-gradient(145deg, #ff9a47, #ffb84d 58%, #ffd86e);
  color: #2d173b;
}

.chip-blue,
.deposit-card,
.stat-box.deposit-box {
  background: linear-gradient(145deg, #4774ff, #52a0ff 58%, #52f2ff);
}

.withdraw-card,
.resource-orange,
.deposit-amount {
  color: #ff9cd0;
}

/* Dashboard modular boards */
.dashboard-stage {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dashboard-board {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(160deg, rgba(92, 57, 169, 0.94), rgba(39, 28, 82, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 52px rgba(3, 0, 16, 0.38);
  overflow: hidden;
}

.dashboard-board::before {
  content: "";
  position: absolute;
  inset: auto -60px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 40px;
  transform: rotate(28deg);
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.dashboard-board-secondary {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(160deg, rgba(95, 68, 173, 0.94), rgba(46, 33, 92, 0.98));
}

.board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.board-head small {
  display: block;
  font-size: 11px;
  color: rgba(239, 232, 255, 0.7);
  margin-bottom: 4px;
}

.board-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.04em;
}

.board-dots {
  display: flex;
  gap: 6px;
  padding-top: 4px;
}

.board-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.board-grid {
  display: grid;
  gap: 14px;
}

.board-grid-primary {
  grid-template-columns: 1.2fr 0.9fr;
}

.board-grid-secondary {
  grid-template-columns: 0.9fr 1fr 0.95fr;
}

.dashboard-box {
  position: relative;
  min-height: 120px;
  min-width: 0;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(59, 41, 115, 0.92), rgba(35, 24, 72, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 28px rgba(6, 0, 20, 0.24);
  overflow: hidden;
}

.dashboard-box::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.06);
}

.box-head {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.box-head small {
  display: block;
  font-size: 10px;
  color: rgba(234, 227, 255, 0.66);
  margin-bottom: 4px;
}

.box-head strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.box-chart {
  min-height: 212px;
}

.chart-glow {
  position: relative;
  z-index: 1;
  padding: 12px 10px 4px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 79, 216, 0.18), rgba(28, 22, 70, 0.3));
}

.chart-glow canvas {
  width: 100% !important;
}

.mini-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: rgba(234, 227, 255, 0.6);
  font-size: 10px;
}

.box-balance {
  min-height: 212px;
  display: flex;
  flex-direction: column;
}

.metric-value {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 14px;
}

.metric-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.metric-row div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-row span {
  display: block;
  font-size: 10px;
  color: rgba(234, 227, 255, 0.64);
  margin-bottom: 5px;
}

.metric-row b {
  color: #fff;
  font-size: 13px;
}

.metric-cta {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  background: linear-gradient(145deg, #905cff, #ff4fd8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.box-stats {
  grid-column: 1 / 2;
}

.stat-pills {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-pill {
  min-height: 82px;
  padding: 12px 10px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  text-align: center;
}

.stat-pill span {
  display: block;
  font-size: 10px;
  color: rgba(234, 227, 255, 0.7);
  margin-bottom: 6px;
}

.stat-pill strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.box-bars {
  display: flex;
  flex-direction: column;
}

.bar-meter {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  min-height: 114px;
  padding-top: 10px;
}

.meter-col {
  width: 34px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffb84d, #905cff);
  box-shadow: 0 14px 24px rgba(6, 0, 20, 0.24);
}

.meter-sm {
  height: 62px;
}

.meter-md {
  height: 94px;
  background: linear-gradient(180deg, #ff8a48, #ff4fd8);
}

.meter-lg {
  height: 118px;
  background: linear-gradient(180deg, #52f2ff, #4774ff);
}

.box-ring {
  min-height: 238px;
}

.ring-widget {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 16px 0 14px;
}

.ring-shell {
  width: 126px;
  height: 126px;
  padding: 14px;
  border-radius: 50%;
  background: conic-gradient(#52f2ff 0 70deg, #4774ff 70deg 145deg, #ffb84d 145deg 245deg, #ff4fd8 245deg 360deg);
  box-shadow: 0 18px 32px rgba(6, 0, 20, 0.28);
}

.ring-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(55, 39, 109, 0.96), rgba(30, 21, 61, 0.96));
  color: #fff;
}

.ring-core span {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.ring-core small {
  font-size: 11px;
  color: rgba(234, 227, 255, 0.66);
}

.box-ring p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #d7cdf3;
  font-size: 12px;
  line-height: 1.55;
}

.box-summary-stack {
  min-height: 238px;
}

.stack-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.stack-item span {
  display: block;
  font-size: 10px;
  color: rgba(234, 227, 255, 0.66);
  margin-bottom: 5px;
}

.stack-item b {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #fff;
}

.box-shortcuts {
  min-height: 238px;
}

.shortcut-matrix {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.matrix-btn {
  min-height: 48px;
  padding: 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.board-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.footer-strip {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(29, 20, 58, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-chip {
  min-height: 78px;
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.footer-chip span {
  display: block;
  font-size: 10px;
  color: rgba(234, 227, 255, 0.66);
  margin-bottom: 6px;
}

.footer-chip strong {
  display: block;
  font-size: 13px;
  color: #fff;
  overflow-wrap: anywhere;
}

.referral-strip {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.referral-copy-block small {
  display: block;
  font-size: 10px;
  color: rgba(234, 227, 255, 0.66);
  margin-bottom: 6px;
}

.dashboard-copy-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .board-grid-primary,
  .board-grid-secondary,
  .summary-strip {
    grid-template-columns: 1fr;
  }

  .box-stats {
    grid-column: auto;
  }

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

  .referral-strip {
    grid-template-columns: 1fr;
  }

  .dashboard-copy-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .dashboard-board {
    padding: 15px;
    border-radius: 24px;
  }

  .dashboard-box {
    padding: 14px;
    border-radius: 20px;
  }

  .board-head h2 {
    font-size: 20px;
  }

  .metric-value {
    font-size: 30px;
  }

  .board-grid-primary {
    grid-template-columns: 1fr 1fr;
  }

  .box-chart,
  .box-balance {
    grid-column: span 2;
  }

  .box-stats,
  .box-bars {
    grid-column: span 1;
  }

  .metric-row,
  .summary-strip {
    grid-template-columns: 1fr;
  }

  .box-chart,
  .box-balance,
  .box-ring,
  .box-summary-stack,
  .box-shortcuts,
  .box-bars,
  .box-stats {
    min-height: auto;
  }

  .stat-pills {
    grid-template-columns: 1fr;
  }

  .bar-meter {
    min-height: 92px;
    gap: 10px;
  }

  .meter-col {
    width: 30px;
  }

  .referral-strip {
    grid-template-columns: 1fr;
  }

  .dashboard-copy-btn {
    width: 100%;
  }
}

/* Final shared shell redesign */
.appHeader {
  height: 82px;
  padding: 0 12px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% -10%, rgba(82, 242, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(24, 16, 49, 0.96), rgba(13, 10, 31, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 56px rgba(3, 0, 16, 0.42);
}

.header-left,
.header-right {
  width: 54px;
}

.header-btn {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f1ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-header-copy {
  gap: 1px;
}

.app-header-copy small {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(170, 159, 203, 0.78);
}

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

.app-header-copy em {
  font-style: normal;
  font-size: 11px;
  color: rgba(216, 202, 250, 0.72);
}

.appNavBar {
  bottom: 12px;
  width: min(404px, calc(100% - 28px));
  height: 86px;
  padding: 12px 14px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(82, 242, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(19, 13, 40, 0.96), rgba(10, 8, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 58px rgba(3, 0, 16, 0.42);
}

.navLink {
  gap: 5px;
  color: rgba(214, 205, 239, 0.72);
}

.navIconShell {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.navLink i {
  margin-bottom: 0;
  font-size: 16px;
}

.navLink p {
  font-size: 10px;
  letter-spacing: 0.01em;
}

.navLink.active {
  color: #ffffff;
}

.navLink.active .navIconShell {
  background: linear-gradient(145deg, rgba(27, 216, 196, 0.24), rgba(79, 124, 255, 0.24));
  border-color: rgba(82, 242, 255, 0.18);
}

.navLink.active::after {
  bottom: -2px;
  width: 28px;
  height: 4px;
  background: linear-gradient(90deg, #1bd8c4, #4f7cff, #905cff);
}

.navLink.center {
  top: -26px;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 24px;
  background: linear-gradient(145deg, #1bd8c4, #4f7cff 54%, #905cff);
  box-shadow: 0 22px 38px rgba(38, 125, 214, 0.34);
}

.navLink.center .navIconShell {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

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

@media (max-width: 480px) {
  .appHeader {
    height: 78px;
    padding: 0 10px;
    border-radius: 26px;
  }

  .header-left,
  .header-right {
    width: 48px;
  }

  .header-btn {
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }

  .app-header-copy span {
    font-size: 16px;
  }

  .app-header-copy em {
    font-size: 10px;
  }

  .appNavBar {
    width: calc(100% - 18px);
    height: 82px;
    border-radius: 28px;
  }

  .navIconShell {
    width: 34px;
    height: 34px;
  }

  .navLink.center {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}

/* Final dashboard topbar redesign */
.dashboard-page .dashboard-topbar {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(82, 242, 255, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(36, 24, 71, 0.96), rgba(19, 14, 41, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 38px rgba(3, 0, 16, 0.3);
  backdrop-filter: blur(18px);
}

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

.dashboard-page .profile {
  flex: 1;
  min-width: 0;
  gap: 12px;
}

.profile-avatar-shell {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(144, 92, 255, 0.22), rgba(79, 124, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.dashboard-page .profile img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  border: 0;
}

.dashboard-page .profile-copy {
  min-width: 0;
}

.dashboard-page .profile-copy small {
  font-size: 11px;
  color: #a99dcf;
  margin-bottom: 3px;
}

.dashboard-page .profile-copy span {
  max-width: none;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.balance-pill {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 16px;
  background: linear-gradient(145deg, #b45cff, #8d59ff);
  box-shadow: 0 14px 24px rgba(141, 89, 255, 0.24);
  font-size: 13px;
  font-weight: 800;
}

.balance-pill i {
  font-size: 12px;
}

.dashboard-page .header-btn {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
  .dashboard-page .dashboard-topbar {
    padding: 10px 12px;
    border-radius: 22px;
  }

  .profile-avatar-shell {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .dashboard-page .profile img {
    width: 30px;
    height: 30px;
  }

  .dashboard-page .profile-copy span {
    font-size: 15px;
  }

  .balance-pill {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 12px;
  }

  .dashboard-page .header-btn {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
}

/* Shared header and bottom nav redesign */
.appHeader {
  height: 76px;
  padding: 0 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(23, 17, 42, 0.98), rgba(14, 11, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 36px rgba(3, 0, 16, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.modern-header-stack {
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1px;
}

.modern-header-copy small {
  color: rgba(185, 177, 208, 0.62);
  letter-spacing: 0.18em;
  font-size: 9px;
}

.modern-header-copy span {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  text-shadow: none;
}

.modern-header-copy em {
  color: rgba(163, 154, 190, 0.82);
  font-size: 11px;
}

.header-back-btn,
.header-logout-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.header-logout-btn {
  background: linear-gradient(135deg, rgba(217, 255, 49, 0.16), rgba(99, 242, 200, 0.12));
  color: #dff8b9;
}

.appNavBar {
  bottom: 10px;
  width: min(404px, calc(100% - 20px));
  height: 72px;
  padding: 8px 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 15, 39, 0.98), rgba(11, 9, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 34px rgba(2, 0, 14, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.navLink {
  gap: 4px;
  color: rgba(205, 196, 230, 0.74);
}

.navLink p {
  font-size: 9px;
  font-weight: 700;
}

.navIconShell {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.navLink i {
  font-size: 15px;
}

.navLink.active {
  color: #ffffff;
}

.navLink.active .navIconShell {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.09);
}

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

.appNavBar .navLink.center {
  top: -20px;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2fd8ff, #4a8dff 52%, #8b63ff);
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(86, 109, 255, 0.38);
  position: relative;
}

.appNavBar .navLink.center::after {
  display: none;
}

.appNavBar .navLink.center .navIconShell {
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

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

.center-ring {
  position: absolute;
  inset: 5px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

@media (max-width: 480px) {
  .appHeader {
    height: 72px;
    padding: 0 8px;
    border-radius: 22px;
  }

  .modern-header-copy span {
    font-size: 16px;
  }

  .header-back-btn,
  .header-logout-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .appNavBar {
    width: calc(100% - 16px);
    height: 68px;
    border-radius: 22px;
  }

  .navIconShell {
    width: 32px;
    height: 32px;
  }

  .appNavBar .navLink.center {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 18px;
  }

  .center-ring {
    inset: 4px;
    border-radius: 14px;
  }
}

/* Soft fintech dashboard */
.dashboard-soft {
  width: calc(100% - 24px);
  margin: 0 auto;
  padding: 0 0 118px;
  gap: 18px;
}

.dashboard.dashboard-page.dashboard-soft {
  width: min(100%, 460px);
  margin: 0 auto;
}

.soft-topbar {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0;
  padding: 14px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% -12%, rgba(255, 255, 255, 0.24), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #d7ff39, #adfb7a 50%, #72f4d0 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 34px rgba(128, 223, 124, 0.28);
}

.soft-topbar-row,
.soft-user,
.soft-topbar-actions {
  display: flex;
  align-items: center;
}

.soft-topbar-row {
  justify-content: space-between;
  gap: 12px;
}

.soft-topbar-row-modern {
  align-items: stretch;
  gap: 14px;
}

.soft-user {
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.soft-user-modern {
  align-items: center;
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(215, 255, 57, 0.62), rgba(173, 251, 122, 0.52), rgba(114, 244, 208, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.soft-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f8fdf8, #dfeae1);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.9),
    inset -1px -1px 0 rgba(170, 182, 175, 0.24);
  flex-shrink: 0;
}

.soft-user-avatar img {
  width: 30px;
  height: 30px;
}

.soft-user-copy {
  min-width: 0;
}

.soft-user-copy-modern {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.soft-user-copy small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: #6c8075;
}

.soft-user-copy-modern small {
  margin-bottom: 0;
  color: rgba(19, 32, 21, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
}

.soft-user-copy strong {
  display: block;
  font-size: 18px;
  color: #cfff4a;
  text-shadow: 0 1px 10px rgba(201, 255, 74, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soft-user-copy-modern strong {
  color: #132015;
  text-shadow: none;
}

.soft-user-copy-modern span {
  display: block;
  color: rgba(19, 32, 21, 0.74);
  font-size: 11px;
  line-height: 1.45;
  white-space: normal;
}

.soft-topbar-actions {
  gap: 10px;
}

.soft-topbar-actions-modern {
  align-items: stretch;
  gap: 0;
}

.soft-balance-chip,
.soft-icon-btn,
.soft-pill-badge,
.soft-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.soft-balance-chip {
  min-height: 42px;
  padding: 0 14px;
  gap: 8px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d9ff31, #9dff66 55%, #63f2c8);
  color: #132015;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(157, 255, 102, 0.34);
}

.soft-balance-chip-modern {
  min-width: 126px;
  padding: 10px 14px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(201, 255, 53, 0.34), rgba(147, 245, 111, 0.26), rgba(99, 242, 200, 0.24));
  color: #132015;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.soft-balance-chip-modern small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(19, 32, 21, 0.5);
}

.soft-balance-chip-modern div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.soft-balance-chip-modern span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.soft-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fdf8, #dde8df);
  color: #243223;
  box-shadow:
    8px 8px 18px rgba(173, 186, 177, 0.28),
    -6px -6px 14px rgba(255, 255, 255, 0.92);
}

.soft-icon-btn-modern {
  width: 56px;
  height: auto;
  min-height: 100%;
  margin-left: 12px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(215, 255, 57, 0.62), rgba(173, 251, 122, 0.52), rgba(114, 244, 208, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #132015;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.soft-icon-btn-modern i {
  font-size: 18px;
}

.soft-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soft-balance-card,
.soft-card {
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(28, 36, 31, 0.98), rgba(16, 22, 18, 0.98));
  border: 1px solid rgba(201, 255, 47, 0.08);
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.soft-balance-card {
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #d9ff31, #9dff66 55%, #63f2c8);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 20px 36px rgba(157, 255, 102, 0.28),
    inset 1px 1px 0 rgba(255, 255, 255, 0.34);
}

.soft-balance-copy small,
.soft-section-head small,
.soft-referral-box small,
.soft-mini-stat span,
.soft-summary-item span,
.soft-insight-box span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #8da08f;
}

.soft-balance-copy h1 {
  margin: 8px 0 8px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #132015;
}

.soft-balance-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(19, 32, 21, 0.74);
}

.soft-balance-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.soft-mini-stat,
.soft-summary-item,
.soft-insight-box,
.soft-resource-item {
  border-radius: 22px;
  background: linear-gradient(145deg, #2a332d, #202722);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.16);
}

.soft-mini-stat {
  padding: 14px;
  background: rgba(19, 32, 21, 0.2);
  border: 1px solid rgba(19, 32, 21, 0.12);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 20px rgba(19, 32, 21, 0.12);
  backdrop-filter: blur(8px);
}

.soft-balance-card .soft-mini-stat span {
  color: rgba(19, 32, 21, 0.6);
}

.soft-balance-card .soft-mini-stat strong {
  color: #132015;
}

.soft-mini-stat strong,
.soft-summary-item strong,
.soft-insight-box strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: #f3f8ee;
}

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

.soft-action-card {
  min-height: 120px;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(145deg, #2c3630, #1f2722);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f3f8ee;
}

.soft-action-card i {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d9ff31, #9dff66 58%, #63f2c8);
  color: #142017;
  box-shadow: 0 12px 22px rgba(157, 255, 102, 0.28);
}

.soft-action-card span {
  display: block;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
}

.soft-action-card small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9cb09d;
}

.soft-card {
  padding: 20px;
}

.soft-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.soft-section-head h2 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #f3f8ee;
}

.soft-pill-badge {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9ff31, #9dff66 55%, #63f2c8);
  color: #132015;
  font-size: 11px;
  font-weight: 700;
}

.soft-chart-wrap {
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(145deg, #242d27, #1a211d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.soft-summary-grid,
.soft-resource-grid,
.soft-insight-grid {
  display: grid;
  gap: 12px;
}

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

.soft-summary-item,
.soft-insight-box {
  padding: 16px;
}

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

.soft-referral-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(145deg, #242d27, #1a211d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.soft-referral-link {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #f3f8ee;
  overflow-wrap: anywhere;
}

.soft-copy-btn {
  width: 100%;
  margin-top: 14px;
  min-height: 46px;
  gap: 8px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #d9ff31, #9dff66 55%, #63f2c8);
  color: #132015;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(157, 255, 102, 0.3);
}

.soft-app-download {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #d9ff31, #9dff66 55%, #63f2c8);
  color: #132015;
  box-shadow: 0 14px 24px rgba(157, 255, 102, 0.24);
  animation: taskPulse 2.2s ease-in-out infinite;
}

.soft-app-download::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.28) 42%, transparent 62%);
  transform: translateX(-120%);
  animation: taskShine 2.8s ease-in-out infinite;
}

.soft-app-download-copy,
.soft-app-download-icon {
  position: relative;
  z-index: 1;
}

.soft-app-download-copy small {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(19, 32, 21, 0.56);
}

.soft-app-download-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.soft-app-download-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 32, 21, 0.12);
  border: 1px solid rgba(19, 32, 21, 0.08);
  font-size: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.soft-task-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(135deg, #d9ff31, #9dff66 55%, #63f2c8);
  color: #132015;
  box-shadow: 0 18px 30px rgba(157, 255, 102, 0.24);
  animation: taskPulse 2.2s ease-in-out infinite;
}

.soft-task-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.34) 42%, transparent 62%);
  transform: translateX(-120%);
  animation: taskShine 2.8s ease-in-out infinite;
}

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

.soft-task-cta-copy small {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(19, 32, 21, 0.58);
}

.soft-task-cta-copy strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.soft-task-cta-copy span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(19, 32, 21, 0.76);
  max-width: 220px;
}

.soft-task-cta-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 32, 21, 0.12);
  border: 1px solid rgba(19, 32, 21, 0.08);
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@keyframes taskPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 18px 30px rgba(157, 255, 102, 0.24);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(157, 255, 102, 0.32);
  }
}

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

  45%,
  100% {
    transform: translateX(120%);
  }
}

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

.soft-resource-item {
  min-height: 58px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #132015;
  text-align: center;
  background: linear-gradient(135deg, #d9ff31, #9dff66 55%, #63f2c8);
  box-shadow:
    0 12px 22px rgba(157, 255, 102, 0.3),
    inset 1px 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.soft-resource-item:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow:
    0 16px 28px rgba(157, 255, 102, 0.36),
    inset 1px 1px 0 rgba(255, 255, 255, 0.4);
}

.appNavBar .navLink.center {
  background: linear-gradient(135deg, #2fd8ff, #4a8dff 52%, #8b63ff);
  color: #ffffff;
  box-shadow: 0 20px 34px rgba(85, 120, 255, 0.34);
}

.appNavBar .navLink.center .navIconShell {
  background: transparent;
}

.appNavBar .navLink.active .navIconShell {
  background: linear-gradient(135deg, rgba(217, 255, 49, 0.2), rgba(99, 242, 200, 0.18));
  border-color: rgba(157, 255, 102, 0.18);
}

.appNavBar .navLink.active::after {
  background: linear-gradient(90deg, #d9ff31, #63f2c8);
}

@media (max-width: 480px) {
  .dashboard.dashboard-page.dashboard-soft {
    width: calc(100% - 12px);
    margin: 10px auto 0;
  }

  .dashboard-soft {
    width: calc(100% - 12px);
    margin: 0 auto;
    padding-bottom: 114px;
  }

  .soft-topbar {
    padding: 10px 12px;
    border-radius: 24px;
  }

  .soft-topbar-row-modern {
    gap: 10px;
  }

  .soft-user-modern {
    padding: 8px 10px;
    border-radius: 18px;
  }

  .soft-user-copy strong {
    font-size: 16px;
  }

  .soft-task-cta {
    padding: 16px;
    border-radius: 24px;
  }

  .soft-task-cta-copy strong {
    font-size: 20px;
  }

  .soft-task-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .soft-app-download {
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .soft-app-download-copy strong {
    font-size: 16px;
  }

  .soft-app-download-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 20px;
  }

  .soft-user-copy-modern span {
    font-size: 10px;
  }

  .soft-balance-chip {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .soft-balance-chip-modern {
    min-width: 108px;
    padding: 8px 12px;
    border-radius: 18px;
  }

  .soft-balance-chip-modern span {
    font-size: 16px;
  }

  .soft-icon-btn {
    width: 38px;
    height: 38px;
  }

  .soft-icon-btn-modern {
    width: 44px;
    margin-left: 10px;
    border-radius: 18px;
  }

  .soft-balance-card,
  .soft-card {
    border-radius: 24px;
  }

  .soft-balance-card,
  .soft-card,
  .soft-action-card {
    padding: 16px;
  }

  .soft-actions-grid,
  .soft-summary-grid,
  .soft-resource-grid,
  .soft-insight-grid,
  .soft-balance-stats {
    grid-template-columns: 1fr;
  }

  .soft-balance-copy h1 {
    font-size: 30px;
  }

  .soft-section-head h2 {
    font-size: 22px;
  }
}

/* Codex custom redesign overrides */
.dashboard-page,
.withdraw-select-page,
.deposit-select-page,
.home-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-page,
.withdraw-select-page,
.deposit-select-page {
  width: calc(100% - 24px);
  margin-left: auto;
  margin-right: auto;
  margin-top: 2px;
  padding: 0 0 118px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dashboard-topbar {
  position: relative;
  top: auto;
  width: calc(100% - 24px);
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(201, 255, 47, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(20, 32, 25, 0.98), rgba(11, 18, 14, 0.96));
  border: 1px solid rgba(201, 255, 47, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

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

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.profile-avatar-shell {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(201, 255, 47, 0.16), rgba(92, 242, 197, 0.12));
  border: 1px solid rgba(201, 255, 47, 0.1);
  flex-shrink: 0;
}

.dashboard-page .profile img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  background: transparent;
}

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

.profile-copy small,
.dashboard-page .profile-copy small {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
}

.profile-copy span,
.dashboard-page .profile-copy span {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-pill,
.dashboard-page .header-btn {
  min-height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(201, 255, 47, 0.1);
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #08110d;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(92, 242, 197, 0.18);
}

.dashboard-page .header-btn {
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  box-shadow: none;
}

.home-shell {
  width: calc(100% - 24px);
  margin: 0 auto;
  padding: 0 0 32px;
}

.home-hero {
  padding: 24px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(145deg, #19261e, #101913 48%, #0b120e);
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 255, 47, 0.12);
  border: 1px solid rgba(201, 255, 47, 0.18);
  color: #d8f88f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 16px 0 10px;
  font-size: 34px;
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 330px;
}

.hero-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(239, 247, 235, 0.78);
  margin-bottom: 18px;
  max-width: 310px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-points span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(239, 247, 235, 0.88);
  font-size: 12px;
}

.hero-visual {
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(201, 255, 47, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(201, 255, 47, 0.08);
}

.hero-visual .carousel-item img {
  height: 190px;
  object-fit: cover;
  width: 100%;
  border-radius: 20px;
  filter: saturate(0.9) contrast(1.05);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-stat {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 32, 25, 0.98), rgba(11, 18, 14, 0.96));
  border: 1px solid rgba(201, 255, 47, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.hero-stat span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-stat strong {
  display: block;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.03em;
}

.info-card,
.action-card {
  background:
    radial-gradient(circle at top right, rgba(92, 242, 197, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(18, 30, 23, 0.98), rgba(11, 18, 14, 0.96));
}

.info-card h3,
.action-card h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.info-card h2,
.action-card h2 {
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
  color: #fff;
}

.info-card p,
.action-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

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

.quick-actions .btn {
  margin-top: 0;
}

.entry-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #07110d;
  box-shadow: 0 22px 36px rgba(92, 242, 197, 0.18);
}

.entry-link small {
  display: block;
  font-size: 12px;
  color: rgba(7, 17, 13, 0.68);
  margin-bottom: 4px;
}

.entry-link span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.entry-link i {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 17, 13, 0.1);
  flex-shrink: 0;
}

.dashboard-stage {
  width: calc(100% - 24px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dashboard-board {
  position: relative;
  padding: 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(201, 255, 47, 0.12), transparent 22%),
    linear-gradient(160deg, rgba(18, 30, 23, 0.98), rgba(10, 16, 13, 0.98));
  border: 1px solid rgba(201, 255, 47, 0.1);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.dashboard-board::before {
  content: "";
  position: absolute;
  inset: auto -58px -64px auto;
  width: 170px;
  height: 170px;
  border-radius: 38px;
  transform: rotate(28deg);
  background: rgba(201, 255, 47, 0.05);
  pointer-events: none;
}

.dashboard-board-secondary {
  background:
    radial-gradient(circle at top right, rgba(110, 215, 255, 0.1), transparent 22%),
    linear-gradient(160deg, rgba(17, 28, 21, 0.98), rgba(10, 16, 13, 0.98));
}

.board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.board-head small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.board-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.05em;
}

.board-dots {
  display: flex;
  gap: 6px;
  padding-top: 6px;
}

.board-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 255, 47, 0.56);
}

.board-grid {
  display: grid;
  gap: 14px;
}

.board-grid-primary {
  grid-template-columns: 1.15fr 0.85fr;
}

.board-grid-secondary {
  grid-template-columns: repeat(3, 1fr);
}

.dashboard-box {
  position: relative;
  min-height: 120px;
  min-width: 0;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 26, 21, 0.94), rgba(8, 13, 11, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.dashboard-box::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  transform: rotate(20deg);
  background: rgba(201, 255, 47, 0.05);
}

.box-head {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.box-head small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

.box-head strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.chart-glow {
  position: relative;
  z-index: 1;
  padding: 12px 10px 4px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(92, 242, 197, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(92, 242, 197, 0.1);
}

.mini-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.metric-value {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 14px;
}

.metric-row div,
.stack-item,
.footer-chip,
.matrix-btn {
  background: rgba(255, 255, 255, 0.04);
}

.metric-row div {
  padding: 12px;
  border-radius: 18px;
}

.metric-row span,
.stack-item span,
.footer-chip span,
.referral-copy-block small,
.matrix-btn small {
  color: var(--muted);
}

.metric-row b,
.stack-item b,
.footer-chip strong,
.ref-text {
  color: #fff;
}

.metric-cta,
.copy-btn-modern {
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #07110d;
}

.stat-pills {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-pill {
  min-height: 88px;
  padding: 12px 10px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(201, 255, 47, 0.12), rgba(255, 255, 255, 0.03));
  text-align: center;
}

.stat-pill span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}

.stat-pill strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.bar-meter {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  min-height: 114px;
  padding-top: 10px;
}

.meter-col {
  width: 34px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--primary), #5abf58);
}

.meter-md {
  background: linear-gradient(180deg, var(--accent), #4abfce);
}

.meter-lg {
  background: linear-gradient(180deg, #6ed7ff, #5cf2c5);
}

.ring-shell {
  width: 126px;
  height: 126px;
  padding: 14px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 90deg, var(--accent) 90deg 180deg, #6ed7ff 180deg 265deg, #a7ff78 265deg 360deg);
}

.ring-core {
  background: linear-gradient(180deg, rgba(17, 28, 21, 0.98), rgba(8, 13, 11, 0.98));
}

.ring-core small,
.box-ring p {
  color: var(--muted);
}

.footer-strip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  .board-grid-primary,
  .board-grid-secondary,
  .summary-strip {
    grid-template-columns: 1fr;
  }

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

  .referral-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dashboard-page,
  .withdraw-select-page,
  .deposit-select-page,
  .home-shell {
    width: calc(100% - 12px);
  }

  .dashboard-topbar,
  .dashboard-stage {
    width: 100%;
  }

  .hero-title {
    font-size: 28px;
  }

  .stat-grid,
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .board-grid-primary {
    grid-template-columns: 1fr 1fr;
  }

  .box-chart,
  .box-balance {
    grid-column: span 2;
  }

  .stat-pills,
  .summary-strip {
    grid-template-columns: 1fr;
  }
}

/* Header/Footer v2 */
.appHeader-v2 {
  height: 90px;
  padding: 12px 12px 14px;
  border-radius: 26px 26px 22px 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 72% -10%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #c8ff35, #93f56f 52%, #63f2c8 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(105, 209, 112, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modern-header-stack-v2 {
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 2px;
}

.modern-header-stack-v2 small {
  color: rgba(19, 32, 21, 0.54);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.modern-header-stack-v2 span {
  color: #132015;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.08;
}

.modern-header-stack-v2 em {
  color: rgba(19, 32, 21, 0.68);
  font-size: 10px;
}

.header-left-v2 {
  width: auto;
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-right-v2 {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.header-left-v2 .header-title {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 14px;
  background: rgba(19, 32, 21, 0.12);
  border: 1px solid rgba(19, 32, 21, 0.08);
  color: #132015;
  box-shadow: none;
  flex-shrink: 0;
}

.header-icon-accent {
  background: rgba(56, 84, 46, 0.18);
  color: #132015;
  border-color: rgba(19, 32, 21, 0.08);
}

.appNavBar-v2 {
  bottom: 10px;
  width: min(404px, calc(100% - 18px));
  height: 84px;
  padding: 12px 14px 20px;
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #c8ff35, #93f56f 52%, #63f2c8 100%);
  border: 0;
  box-shadow: 0 18px 34px rgba(105, 209, 112, 0.24);
  overflow: visible;
}

.appNavBar-v2::before {
  content: "";
  position: absolute;
  left: 60px;
  top: -36px;
  width: 180px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.appNavBar-v2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.appNavBar-v2 .navLink {
  gap: 4px;
  color: rgba(19, 32, 21, 0.7);
  position: relative;
  z-index: 1;
}

.appNavBar-v2 .navLink p {
  font-size: 9px;
  font-weight: 700;
  color: inherit;
}

.appNavBar-v2 .navIconShell {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 0;
}

.appNavBar-v2 .navLink i {
  font-size: 15px;
}

.appNavBar-v2 .navLink.active {
  color: #132015;
}

.appNavBar-v2 .navLink.active .navIconShell {
  background: rgba(19, 32, 21, 0.08);
}

.appNavBar-v2 .navLink.active::after {
  display: none;
}

.appNavBar-v2 .navLink.center {
  top: -20px;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9a5e, #ff7b56 56%, #ff6c4c);
  box-shadow:
    0 12px 24px rgba(255, 108, 76, 0.32),
    0 0 0 4px rgba(255, 255, 255, 0.16);
  z-index: 3;
}

.appNavBar-v2 .navLink.center .navIconShell {
  background: transparent;
  border: 0;
}

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

.appNavBar-v2 .center-ring {
  inset: 4px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.38);
}

.center-label {
  display: none;
}

@media (max-width: 480px) {
  .remaining-page {
    padding-top: 100px;
    padding-bottom: 132px;
  }

  .appHeader-v2 {
    height: 82px;
    padding: 10px 10px 12px;
    border-radius: 22px 22px 18px 18px;
  }

  .header-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .modern-header-stack-v2 span {
    font-size: 15px;
  }

  .modern-header-stack-v2 em {
    font-size: 9px;
  }

  .appNavBar-v2 {
    width: calc(100% - 14px);
    height: 80px;
    padding: 10px 12px 18px;
    border-radius: 0 0 24px 24px;
    overflow: visible;
  }

  .appNavBar-v2 .navIconShell {
    width: 28px;
    height: 28px;
  }

  .appNavBar-v2 .navLink.center {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
}
