/* Dashboard shell */
.dashboard.dashboard-page {
  width: min(100%, 420px);
  max-width: 420px;
  margin: 14px auto 0;
  padding: 20px 14px 140px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 85% 10%, rgba(195, 207, 0, 0.08), transparent 16%),
    radial-gradient(circle at 15% 12%, rgba(160, 124, 255, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(31, 8, 53, 0.98), rgba(15, 3, 26, 0.98));
  box-shadow: 0 38px 70px rgba(0, 0, 0, 0.42);
}

.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;
}

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

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

.profile img {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.profile-copy span {
  max-width: 150px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #2b2000;
  box-shadow: 0 12px 24px rgba(195, 207, 0, 0.22);
  font-size: 12px;
  font-weight: 800;
}

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

.dashboard-page .header-btn {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  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: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.shortcut-card::before,
.dashboard-hero-card::before,
.class-chip::before,
.info-panel::before,
.resource-tile::before,
.summary-card::before {
  content: "";
  position: absolute;
  inset: auto -20px -26px auto;
  width: 86px;
  height: 86px;
  border-radius: 26px;
  transform: rotate(26deg);
  background: rgba(255, 255, 255, 0.08);
}

.shortcut-purple,
.panel-dark,
.resource-dark,
.team-card {
  background: linear-gradient(145deg, #6a46a7, #47246f);
}

.shortcut-green,
.chip-green,
.resource-whatsapp {
  background: linear-gradient(145deg, #3f295f, #24113f);
}

.shortcut-orange,
.panel-gold,
.resource-gold,
.bonus-card {
  background: linear-gradient(145deg, var(--primary), #bac600);
  color: #2b2000;
}

.shortcut-icon,
.panel-icon,
.resource-tile i,
.copy-btn-modern,
.method-arrow,
.flow-arrow,
.copy-btn {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
}

.shortcut-card .feature-copy span,
.panel-copy span,
.resource-tile small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  opacity: 0.76;
}

.shortcut-card .feature-copy strong,
.panel-copy strong,
.resource-tile strong {
  display: block;
  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: 198px;
  padding: 24px 22px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.14), transparent 16%),
    linear-gradient(145deg, #49306f, #341754 62%, #26103c);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.featured-cta-card .featured-copy span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.featured-cta-card .featured-copy h1 {
  margin: 8px 0;
  font-size: 34px;
  line-height: 1;
  max-width: 190px;
  color: var(--text);
}

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

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-width: 240px;
}

.hero-mini-stats div {
  padding: 12px 12px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-mini-stats small {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.66);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-mini-stats strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
}

.featured-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #2b2000;
  font-size: 12px;
  font-weight: 800;
}

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

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

.ring-one {
  width: 78px;
  height: 78px;
  top: 14px;
  left: 8px;
  border-color: var(--primary) transparent #9f7cff #ffffff;
  transform: rotate(-18deg);
}

.ring-two {
  width: 48px;
  height: 48px;
  right: 12px;
  bottom: 16px;
  border-width: 8px;
  border-color: #ffffff var(--primary) #ff87a0 transparent;
  transform: rotate(28deg);
}

.featured-dot {
  position: absolute;
  top: 48px;
  left: 50px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    -22px 18px 0 0 #9f7cff,
    24px -8px 0 0 var(--primary),
    26px 24px 0 0 #ff87a0;
}

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

.power-chip {
  min-height: 84px;
  padding: 14px 14px 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(75, 45, 119, 0.92), rgba(40, 18, 66, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.18);
}

.power-chip span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.power-chip strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.class-explorer-card,
.dashboard-chart-card,
.dashboard-referral-card,
.dashboard-summary-card,
.method-card-shell,
.upload-card-shell,
.withdraw-status-card,
.withdraw-wallet-card,
.withdraw-form-card {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 24px;
}

.class-explorer-card,
.dashboard-chart-card,
.dashboard-referral-card,
.dashboard-summary-card {
  background:
    radial-gradient(circle at top right, rgba(195, 207, 0, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(75, 45, 119, 0.96), rgba(43, 22, 72, 0.96));
}

.class-explorer-card .section-heading h3,
.dashboard-chart-card .section-heading h3,
.dashboard-referral-card h3,
.dashboard-summary-card h3 {
  color: var(--text);
}

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

.class-chip {
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 20px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

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

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

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

.command-card {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  padding: 18px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.22);
}

.command-card::before {
  content: "";
  position: absolute;
  width: 94px;
  height: 94px;
  right: -26px;
  top: -26px;
  border-radius: 30px;
  transform: rotate(24deg);
  background: rgba(255, 255, 255, 0.08);
}

.command-primary {
  background: linear-gradient(145deg, var(--primary), #bac600);
  color: #2b2000;
}

.command-secondary {
  background: linear-gradient(145deg, #6a46a7, #47246f);
  color: var(--text);
}

.command-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}

.command-card small {
  display: block;
  margin: 14px 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.72;
  position: relative;
  z-index: 1;
}

.command-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.command-card p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.78;
  position: relative;
  z-index: 1;
}

.product-gallery-card {
  text-align: left;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(18, 6, 31, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.product-card-media {
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.04);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-copy {
  padding: 14px;
}

.product-card-copy small {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.product-card-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text);
}

.product-card-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.dashboard-everything-card {
  text-align: left;
  padding-top: 20px;
}

.icon-group-block + .icon-group-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-group-heading {
  margin-bottom: 12px;
}

.everything-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 10px;
  justify-items: center;
}

.everything-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 88px;
  text-align: center;
}

.everything-icon-shell {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.everything-icon-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.everything-icon-brand i {
  font-size: 34px;
  line-height: 1;
}

.brand-instagram i {
  background: linear-gradient(135deg, #ffd76a, #ff7b54 42%, #ff4fa2 72%, #8f63ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-linkedin i {
  color: #2fa8ff;
}

.brand-youtube i {
  color: #ff2d20;
}

.brand-email i {
  color: #ffc94d;
}

.brand-phone i {
  color: #9d7bff;
}

.everything-tile span {
  font-size: 12px;
  line-height: 1.3;
  color: var(--text-soft);
}

.chip-purple,
.deposit-card {
  background: linear-gradient(145deg, #6944a4, #4a2777);
}

.chip-orange {
  background: linear-gradient(145deg, var(--primary), #bac600);
  color: #2b2000;
}

.chip-blue {
  background: linear-gradient(145deg, #5b3d90, #39215f);
}

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

.dashboard-chart-card {
  padding-bottom: 22px;
}

.info-panel,
.resource-tile,
.summary-card {
  min-height: 116px;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.resource-orange,
.withdraw-card {
  background: linear-gradient(145deg, #74418a, #4d255f);
}

.panel-dark,
.resource-dark,
.team-card,
.deposit-card,
.withdraw-card {
  color: var(--text);
}

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

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

.copy-btn-modern,
.method-arrow,
.flow-arrow,
.copy-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #2b2000;
  box-shadow: 0 12px 22px rgba(195, 207, 0, 0.18);
}

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

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

.summary-card {
  min-height: 122px;
}

.resource-gold i,
.panel-gold .panel-icon,
.bonus-card {
  color: #2b2000;
}

.method-card,
.withdraw-method-option,
.flow-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(20, 8, 33, 0.7);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.method-card:hover,
.withdraw-method-option:hover,
.flow-item:hover,
.info-panel:hover,
.resource-tile:hover,
.summary-card:hover,
.shortcut-card:hover,
.class-chip:hover {
  transform: translateY(-3px);
}

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

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

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

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

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

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

.game-btn,
.action-btn.deposit-btn {
  background: linear-gradient(145deg, #6944a4, #47246f);
}

.action-btn.withdraw-btn,
.history-btn {
  background: linear-gradient(145deg, var(--primary), #bac600);
  color: #2b2000;
}

.action-btn.team-btn {
  background: linear-gradient(145deg, #5b3d90, #39215f);
}

.game-btn i,
.history-btn i,
.action-btn i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.12);
}

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

.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(145deg, #4a2c70, #2c143f);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

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

.status-icon.success {
  background: linear-gradient(135deg, #79f5c2, #26c58e);
  color: #062112;
}

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

.status-icon.warning {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #2b2000;
}

.appNavBar {
  left: 50%;
  bottom: 12px;
  width: calc(100% - 18px);
  max-width: 408px;
}

.navLink.active::after {
  top: -2px;
}

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

  .shortcut-strip,
  .power-strip,
  .product-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .command-deck,
  .class-chip-grid,
  .feature-grid,
  .resource-grid,
  .summary,
  .hero-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .everything-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 6px;
  }

  .everything-tile {
    max-width: 78px;
  }

  .everything-icon-shell {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    padding: 7px;
  }

  .everything-tile span {
    font-size: 11px;
  }

  .shortcut-strip .shortcut-card:last-child {
    min-height: 92px;
  }

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

  .hero-mini-stats {
    max-width: none;
  }

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

  .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% - 12px);
    bottom: 12px;
  }
}
