/* ================= DASHBOARD REDESIGN ================= */
.dashboard-page {
  --dash-bg: #081208;
  --dash-panel: #111d0f;
  --dash-panel-soft: rgba(22, 34, 15, 0.92);
  --dash-border: rgba(224, 255, 111, 0.14);
  --dash-muted: rgba(226, 239, 176, 0.72);
  --dash-text: #f6ffd7;
  --dash-accent: #e7ff63;
  --dash-accent-strong: #c6ea45;
  --dash-dark: #10170a;
  --dash-chip: rgba(231, 255, 99, 0.12);
  --dash-shadow: rgba(0, 0, 0, 0.42);
  --text-color: var(--dash-text);
  --primary: #e7ff63;
  --primary-dark: #11190b;
  --primary-light: #f4ff96;
  --bg-start: #dbff58;
  --bg-mid: #b7e530;
  --bg-end: #738f17;
  --btn-deposit: #6f9114;
  --btn-withdraw: #21300d;
  --btn-history: #18220c;
  --btn-team: #495f13;
  background:
    linear-gradient(180deg, rgba(5, 13, 5, 0.28), rgba(10, 18, 9, 0.5)),
    url("../images/plan-bg.png") center center / cover no-repeat fixed;
  min-height: 100vh;
  color: var(--dash-text);
  position: relative;
  overflow-x: hidden;
}

.dashboard-page::before,
.dashboard-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.dashboard-page::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(235, 255, 145, 0.12), transparent 20rem),
    radial-gradient(circle, rgba(235, 255, 145, 0.08) 0, transparent 2px) 0 0 / 24px 24px,
    radial-gradient(circle, rgba(235, 255, 145, 0.05) 0, transparent 1px) 12px 12px / 18px 18px;
  opacity: 0.28;
}

.dashboard-page::after {
  background: radial-gradient(circle at center, rgba(227, 255, 99, 0.08), transparent 42%);
}

.dashboard-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 18px 14px 110px;
  position: relative;
}

.dashboard-device-glow {
  position: absolute;
  inset: 14px 6px 78px;
  border-radius: 42px;
  background:
    radial-gradient(circle at center, rgba(224, 255, 111, 0.3), transparent 48%),
    radial-gradient(circle at 50% 0%, rgba(224, 255, 111, 0.2), transparent 20rem);
  filter: blur(22px);
  pointer-events: none;
}

.dashboard {
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 18px;
  position: relative;
  z-index: 1;
}

.header {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  z-index: 2;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

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

.profile img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(231, 255, 99, 0.24);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

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

.profile-meta strong {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dash-text);
}

.profile-meta span {
  font-size: 0.78rem;
  color: var(--dash-muted);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.header-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 32, 12, 0.88);
  border: 1px solid rgba(224, 255, 111, 0.12);
  color: var(--dash-text);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.header-btn:hover {
  background: rgba(231, 255, 99, 0.12);
  color: var(--dash-accent);
}

.balance-card {
  background: linear-gradient(180deg, #eeff74 0%, #d7f54f 100%);
  border-radius: 30px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 26px 44px rgba(163, 202, 50, 0.24),
    inset 0 -6px 14px rgba(116, 147, 23, 0.08);
  position: relative;
  color: #172108;
  overflow: hidden;
}

.balance-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 48px;
  height: 20px;
  background: linear-gradient(180deg, #dcfb54, #bedd31);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 6px 12px rgba(93, 119, 17, 0.14);
}

.balance-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.balance-label {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(23, 33, 8, 0.72);
  margin-bottom: 4px;
}

.balance-card h1 {
  font-size: clamp(1.9rem, 8vw, 2.7rem);
  line-height: 1;
  margin: 0;
  color: #172108;
}

.balance-more {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  border: none;
  background: rgba(21, 31, 8, 0.1);
  color: #172108;
}

.balance-subrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(45, 104, 14, 0.16);
  color: #21510e;
  font-size: 0.76rem;
  font-weight: 700;
}

.balance-note,
.balance-ref {
  font-size: 0.78rem;
  color: rgba(23, 33, 8, 0.72);
}

.actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.actions-primary {
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.action-btn {
  padding: 12px 8px;
  border-radius: 18px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--dash-text);
  background: rgba(15, 21, 10, 0.92);
  border: 1px solid rgba(224, 255, 111, 0.08);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  transition: 0.25s ease;
}

.actions-primary .action-btn {
  min-height: 92px;
  border-radius: 22px;
  background: rgba(18, 27, 10, 0.96);
  border: 1px solid rgba(224, 255, 111, 0.06);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
  color: #f6ffd7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.actions-primary .action-btn i {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #f4ff96;
}

.actions-primary .action-btn div {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.15;
}

.action-btn i {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.action-btn:hover {
  transform: translateY(-2px);
}

.dashboard-section,
.card,
.earn-card {
  width: 100%;
  margin: 16px 0 0;
}

.dashboard-page .card::before,
.dashboard-page .dashboard-section::before,
.dashboard-page .earn-card::before,
.dashboard-page .profit-card::before,
.dashboard-page .live-bet-btn::before,
.dashboard-page .summary-card::before,
.dashboard-page .grid-item::before {
  display: none !important;
}

.dashboard-section,
.card {
  background: linear-gradient(180deg, rgba(18, 29, 13, 0.95), rgba(12, 21, 11, 0.98));
  border-radius: 26px;
  border: 1px solid var(--dash-border);
  padding: 18px;
  box-shadow:
    0 18px 34px var(--dash-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.section-head h3,
.card h3,
.card .title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dash-text);
}

.section-head span {
  font-size: 0.78rem;
  color: var(--dash-muted);
}

.game-grid,
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.game-btn,
.history-btn {
  min-height: 92px;
  padding: 16px 12px;
  border-radius: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--dash-text);
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.1), rgba(86, 108, 21, 0.06));
  border: 1px solid rgba(224, 255, 111, 0.1);
  position: relative;
  transition: 0.25s ease;
}

.game-btn i,
.history-btn i {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--dash-accent);
}

.game-btn:hover,
.history-btn:hover {
  transform: translateY(-2px);
}

.cluster-grid {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.profit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 29, 13, 0.96), rgba(12, 21, 11, 0.98));
  border: 1px solid var(--dash-border);
  color: var(--dash-text);
  text-decoration: none;
  box-shadow: 0 16px 30px var(--dash-shadow);
}

.profit-card-yellow {
  background: linear-gradient(180deg, #ecff73 0%, #d8f650 100%);
  color: #172108;
}

.profit-card-yellow .profit-text span,
.profit-card-yellow .profit-text strong,
.profit-card-yellow .profit-icon,
.profit-card-yellow .profit-arrow {
  color: #172108;
}

.profit-icon,
.profit-arrow {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(231, 255, 99, 0.1);
  color: var(--dash-accent);
  flex: 0 0 46px;
}

.profit-card-yellow .profit-icon,
.profit-card-yellow .profit-arrow {
  background: rgba(23, 33, 8, 0.08);
}

.profit-text {
  flex: 1;
  margin-left: 0;
}

.profit-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--dash-muted);
  margin-bottom: 4px;
}

.profit-text strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dash-text);
}

.live-bet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 60px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.16), rgba(122, 157, 31, 0.12));
  border: 1px solid rgba(224, 255, 111, 0.16);
  color: var(--dash-text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
  animation: pulseGlow 1.6s infinite;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--dash-accent);
  border-radius: 50%;
  animation: blink 1s infinite;
}

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

.earn-card {
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #eefb78 0%, #d9f553 100%);
  color: #172108;
  box-shadow: 0 18px 34px rgba(156, 192, 42, 0.18);
}

.earn-top,
.earn-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.earn-top span,
.earn-bottom span {
  font-size: 0.9rem;
  font-weight: 600;
}

.earn-top i {
  font-size: 1.05rem;
}

.actions-secondary {
  padding: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
}

.grid-item {
  text-align: center;
  font-size: 0.72rem;
  color: var(--dash-text);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.14), rgba(78, 99, 18, 0.08));
  border: 1px solid rgba(224, 255, 111, 0.12);
  color: var(--dash-accent);
  font-size: 1rem;
}

.ref-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.ref-text {
  flex: 1;
  font-size: 0.82rem;
  color: var(--dash-text);
  overflow: hidden;
  word-break: break-all;
  background: rgba(231, 255, 99, 0.06);
  border: 1px solid rgba(224, 255, 111, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
}

.copy-btn-modern {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(224, 255, 111, 0.12);
  background: rgba(231, 255, 99, 0.1);
  color: var(--dash-accent);
  cursor: pointer;
}

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

.summary-card {
  min-height: 96px;
  padding: 14px;
  border-radius: 20px;
  transition: 0.25s ease;
  color: var(--dash-text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.summary-card:hover {
  transform: translateY(-2px);
}

.summary-card h3 {
  font-size: 0.76rem;
  font-weight: 500;
  opacity: 0.88;
  margin: 0;
}

.summary-card h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 6px;
}

.team-card {
  background: linear-gradient(180deg, rgba(126, 162, 26, 0.42), rgba(52, 73, 16, 0.92));
}

.deposit-card {
  background: linear-gradient(180deg, rgba(95, 125, 24, 0.48), rgba(36, 54, 14, 0.94));
}

.withdraw-card {
  background: linear-gradient(180deg, rgba(39, 53, 14, 0.94), rgba(17, 23, 10, 0.98));
}

.bonus-card {
  background: linear-gradient(180deg, #ecff73 0%, #d7f650 100%);
  color: #172108;
}

.bonus-card h3,
.bonus-card h2 {
  color: #172108;
}

.appNavBar {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 402px;
  height: 78px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(240, 255, 130, 0.98), rgba(214, 239, 88, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.36),
    inset 0 -6px 12px rgba(96, 123, 18, 0.14),
    inset 0 2px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  overflow: visible;
}

.navLink {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: rgba(57, 74, 19, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  position: relative;
  min-height: 100%;
  transition: transform 0.2s ease, color 0.2s ease;
}

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

.navLink p {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 500;
}

.navLink.active {
  color: #172108;
}

.navLink.center {
  top: -22px;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fbffbe, #d9f55c 58%, #87a51f 100%);
  color: #172108;
  box-shadow:
    0 18px 30px rgba(126, 156, 28, 0.38),
    0 0 0 8px rgba(219, 243, 92, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.navLink.center i {
  font-size: 1.28rem;
  margin-bottom: 0;
}

.navLink.center p {
  display: none;
}

.navLink:not(.center):hover {
  transform: translateY(-1px);
  color: #2f4311;
}

.nav-home-indicator {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 122px;
  height: 5px;
  border-radius: 999px;
  background: rgba(55, 71, 17, 0.62);
  z-index: 10000;
  pointer-events: none;
}

.appHeader {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 406px;
  min-height: 78px;
  padding: 12px 14px 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% -30%, rgba(231, 255, 99, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(17, 28, 11, 0.96), rgba(10, 17, 8, 0.98));
  border: 1px solid rgba(224, 255, 111, 0.12);
  box-shadow:
    0 20px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  z-index: 1100;
  overflow: hidden;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
}

.appHeader .header-left,
.appHeader .header-right {
  width: auto;
  position: relative;
  z-index: 1;
}

.appHeader .header-center {
  min-width: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(231, 255, 99, 0.08);
  border: 1px solid rgba(224, 255, 111, 0.1);
  color: var(--dash-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 auto 7px;
}

.header-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dash-accent);
  box-shadow: 0 0 10px rgba(231, 255, 99, 0.36);
}

.appHeader .header-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dash-text);
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appHeader .header-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(231, 255, 99, 0.08);
  border: 1px solid rgba(224, 255, 111, 0.12);
  color: var(--dash-text);
  box-shadow: none;
}

.appHeader .header-btn:hover {
  background: rgba(231, 255, 99, 0.16);
  color: var(--dash-accent);
}

.appHeader .logout-btn {
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.12), rgba(92, 116, 21, 0.12));
}

.header-accent-line {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(231, 255, 99, 0), rgba(231, 255, 99, 0.68), rgba(231, 255, 99, 0));
  pointer-events: none;
}

.sidebar {
  background: rgba(11, 18, 9, 0.98);
  border-right: 1px solid rgba(224, 255, 111, 0.1);
}

.sidebar-header {
  border-bottom: 1px solid rgba(224, 255, 111, 0.08);
}

.sidebar-menu a:hover {
  background: rgba(231, 255, 99, 0.08);
}

.sidebar-menu .logout {
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.14), rgba(90, 114, 20, 0.18));
}

.success-screen {
  background:
    linear-gradient(180deg, rgba(5, 13, 5, 0.22), rgba(10, 18, 9, 0.38)),
    url("../images/plan-bg.png") center center / cover no-repeat fixed;
  min-height: 100vh;
}

.success-dashboard {
  max-width: 430px;
  padding-top: 110px;
  padding-bottom: 110px;
}

.success-card {
  text-align: center;
  padding: 32px 22px !important;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(15, 28, 11, 0.92), rgba(10, 20, 9, 0.96)) !important;
  border: 1px solid rgba(224, 255, 111, 0.16);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(231, 255, 99, 0.08);
}

.success-kicker {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dash-accent);
}

.success-card h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--dash-text);
}

.success-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dash-muted);
}

.success-btn {
  margin-top: 22px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #efff77 0%, #ceef4d 100%) !important;
  color: #172108 !important;
  font-weight: 700;
  box-shadow:
    0 18px 28px rgba(201, 255, 84, 0.18),
    inset 0 -3px 0 rgba(88, 117, 18, 0.14);
}

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

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

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

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(231, 255, 99, 0.16); }
  50% { box-shadow: 0 0 24px rgba(231, 255, 99, 0.26); }
  100% { box-shadow: 0 0 10px rgba(231, 255, 99, 0.16); }
}

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

@media (max-width: 520px) {
  .dashboard-shell {
    padding: 14px 12px 108px;
  }

  .appHeader {
    width: calc(100% - 20px);
    padding: 10px 10px 14px;
    min-height: 72px;
    border-radius: 24px;
  }

  .balance-card {
    border-radius: 28px;
    padding: 20px 16px 18px;
  }

  .actions-secondary,
  .grid,
  .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .actions-primary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .actions-primary .action-btn {
    min-height: 84px;
    padding: 10px 4px;
    border-radius: 20px;
  }

  .actions-primary .action-btn i {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .actions-primary .action-btn div {
    font-size: 0.74rem;
  }

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

  .navLink.center {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    top: -20px;
  }

  .nav-home-indicator {
    width: 116px;
    bottom: 14px;
  }

  .header-chip {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 0 8px;
  }

  .appHeader .header-title {
    font-size: 0.9rem;
  }
}

/* ================= HOME PAGE ================= */
.home-page {
  --dash-bg: #081208;
  --dash-panel: #111d0f;
  --dash-panel-soft: rgba(22, 34, 15, 0.92);
  --dash-border: rgba(224, 255, 111, 0.14);
  --dash-muted: rgba(226, 239, 176, 0.72);
  --dash-text: #f6ffd7;
  --dash-accent: #e7ff63;
  --dash-shadow: rgba(0, 0, 0, 0.42);
  background:
    linear-gradient(180deg, rgba(5, 13, 5, 0.28), rgba(10, 18, 9, 0.5)),
    url("../images/plan-bg.png") center center / cover no-repeat fixed;
  min-height: 100vh;
  color: var(--dash-text);
}

.home-page .dashboard {
  max-width: 430px;
  padding-top: 102px;
  padding-bottom: 108px;
}

.home-page .card::before,
.home-page .dashboard-section::before,
.home-page .profit-card::before,
.home-page .summary-card::before {
  display: none !important;
}

.home-hero {
  padding: 28px 22px !important;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(15, 28, 11, 0.9), rgba(10, 20, 9, 0.95)) !important;
  border: 1px solid rgba(224, 255, 111, 0.16);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(231, 255, 99, 0.08);
  text-align: center;
}

.home-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dash-accent);
  margin-bottom: 10px;
}

.home-page .home-hero .title {
  font-size: 2rem;
  line-height: 1.08;
  color: var(--dash-text);
  margin-bottom: 10px;
}

.home-subtitle {
  font-size: 0.95rem;
  color: var(--dash-muted);
}

.home-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.home-primary-btn,
.home-secondary-btn {
  min-height: 54px;
  border-radius: 999px;
}

.home-primary-btn {
  background: linear-gradient(180deg, #eeff74 0%, #d7f54f 100%) !important;
  color: #172108 !important;
  box-shadow:
    0 18px 28px rgba(163, 202, 50, 0.22),
    inset 0 -6px 12px rgba(116, 147, 23, 0.08);
}

.home-secondary-btn {
  background: linear-gradient(180deg, rgba(27, 40, 14, 0.96), rgba(19, 29, 11, 0.98)) !important;
  color: var(--dash-text) !important;
  border: 1px solid rgba(224, 255, 111, 0.14);
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.home-metric {
  padding: 14px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.08), rgba(92, 116, 21, 0.05));
  border: 1px solid rgba(224, 255, 111, 0.1);
}

.home-metric span {
  display: block;
  font-size: 0.72rem;
  color: var(--dash-muted);
  margin-bottom: 6px;
}

.home-metric strong {
  font-size: 0.88rem;
  color: var(--dash-text);
}

.home-slider-card {
  padding: 0 !important;
  overflow: hidden;
}

.home-slider-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.home-highlight-card {
  min-height: 174px;
  padding: 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 29, 13, 0.95), rgba(12, 21, 11, 0.98));
  border: 1px solid rgba(224, 255, 111, 0.12);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.home-highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(231, 255, 99, 0.1);
  color: var(--dash-accent);
  margin-bottom: 14px;
}

.home-highlight-card h4,
.home-process-step h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--dash-text);
}

.home-highlight-card p,
.home-process-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--dash-muted);
}

.home-info-card {
  margin-bottom: 12px;
}

.home-process-card {
  padding: 20px 18px !important;
}

.home-process-grid {
  display: grid;
  gap: 12px;
}

.home-process-step {
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(224, 255, 111, 0.1);
  background: linear-gradient(180deg, rgba(231, 255, 99, 0.08), rgba(92, 116, 21, 0.05));
}

.home-step-no {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: rgba(231, 255, 99, 0.12);
  color: var(--dash-accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.home-plan-hero {
  margin-top: 16px;
}

.home-benefits-grid .summary-card {
  min-height: 140px;
}

.home-benefits-grid .summary-card h2 {
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .home-page .dashboard {
    padding-top: 96px;
  }

  .home-page .appHeader {
    width: calc(100% - 20px);
  }
}
