:root {
  --bg-main: #0c081e;
  --bg-gradient: radial-gradient(circle at 50% 0%, #311c6d 0%, #150e2e 45%, #090615 100%);
  --card-bg: rgba(30, 20, 58, 0.7);
  --card-border: rgba(138, 92, 246, 0.25);
  --card-glow: rgba(124, 58, 237, 0.15);
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-blue: #3b82f6;
  --accent-teal: #10b981;
  --accent-gold: #fbbf24;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  -webkit-tap-highlight-color: transparent;
}

body {
  background: #000000;
  color: var(--text-main);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  margin: 0;
  user-select: none;
  overflow-x: hidden;
}

/* App Container (Clean Edge-to-Edge Responsive Layout matching 2nd Image) */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
  overflow-x: hidden;
  padding-bottom: 96px;
}

/* Phone notch is hidden */
.phone-notch {
  display: none !important;
}

@media (max-width: 480px) {
  .app-container {
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
}

/* SVG Generic Utilities */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}

.svg-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Header Top */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 8px;
  position: relative;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(147, 197, 253, 0.3);
}

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

.icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.16);
}

/* User Info Bar */
.user-profile-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px 14px;
}

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

.avatar-wrapper {
  position: relative;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #8b5cf6;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.5);
  background: #1e153b;
}

.avatar-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: #10b981;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #0c081e;
}

.user-details .status-line {
  font-size: 0.72rem;
  color: #a78bfa;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.user-details .user-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c4b5fd;
}

/* Quick Action Bar */
.quick-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px 14px;
  gap: 12px;
}

.btn-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}

.btn-deposit {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-withdraw {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #ffffff;
  border: 1px solid rgba(167, 139, 250, 0.6);
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
  font-weight: 700;
  cursor: pointer;
  opacity: 1;
}

.btn-withdraw:hover {
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
  border-color: rgba(196, 181, 253, 0.8);
}

.btn-pill:active {
  transform: scale(0.95);
}

.balance-capsule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(20, 14, 44, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.94rem;
  font-weight: 800;
  flex: 1;
  max-width: 170px;
}

.balance-capsule.usdt {
  color: #34d399;
}

.token-coin-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.token-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.72rem;
}

.token-icon.tether {
  background: #10b981;
  color: #ffffff;
  font-weight: 900;
}

/* Global Ticker Banner */
.live-ticker-wrap {
  padding: 0 16px 12px;
}

.live-ticker {
  background: rgba(30, 20, 58, 0.45);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.ticker-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-text b {
  color: #e2e8f0;
}

.ticker-text .usdt-amt {
  color: #34d399;
  font-weight: 700;
}

/* Content Container & Tabs */
.tab-content {
  display: none;
  padding: 0 16px;
  flex: 1;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card-profit {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.5) 0%, rgba(30, 18, 64, 0.8) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.profit-decor-coins {
  position: absolute;
  right: 12px;
  top: 16px;
  width: 96px;
  height: 96px;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
  animation: floatCoins 4s ease-in-out infinite;
}

@keyframes floatCoins {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

.card-profit .label {
  font-size: 0.85rem;
  color: #d8b4fe;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-profit .profit-amount {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 6px 0 14px;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
  font-variant-numeric: tabular-nums;
}

.profit-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-claim {
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-claim:active {
  transform: scale(0.94);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.8);
}

.rate-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profit-footer-text {
  font-size: 0.72rem;
  color: #c4b5fd;
  opacity: 0.85;
}

/* Banner Speedup Card */
.card-speedup {
  background: linear-gradient(135deg, #c026d3 0%, #db2777 50%, #9333ea 100%);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(219, 39, 119, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card-speedup:active {
  transform: scale(0.98);
}

.speedup-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.speedup-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.speedup-info p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

/* =========================================
   10 NFT AI MINING INVESTMENT PLANS
========================================= */
.nft-plans-section {
  margin-top: 6px;
  margin-bottom: 24px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.section-title-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-title-text {
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #ffffff;
  text-transform: uppercase;
}

.section-tag-badge {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c084fc;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.plans-dep-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.plans-dep-badge .dep-badge-val {
  color: #fef08a;
  font-weight: 900;
}

.section-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 14px;
}

.nft-plans-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Plan Card Base */
.nft-plan-card {
  background: rgba(22, 15, 48, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 16px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.nft-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.45);
}

/* Tier Custom Left Accents */
.nft-plan-card.tier-1 { border-left: 3.5px solid #10b981; }
.nft-plan-card.tier-2 { border-left: 3.5px solid #38bdf8; }
.nft-plan-card.tier-3 { border-left: 3.5px solid #f59e0b; }
.nft-plan-card.tier-4 { border-left: 3.5px solid #94a3b8; }
.nft-plan-card.tier-5 { border-left: 3.5px solid #fbbf24; }
.nft-plan-card.tier-6 { border-left: 3.5px solid #c084fc; }
.nft-plan-card.tier-7 { border-left: 3.5px solid #22d3ee; }
.nft-plan-card.tier-8 { border-left: 3.5px solid #f43f5e; }
.nft-plan-card.tier-9 { border-left: 3.5px solid #e879f9; }
.nft-plan-card.tier-10 { border-left: 3.5px solid #facc15; }

/* Plan Purchased Dismiss Transition */
.nft-plan-card.plan-purchased-dismiss {
  transform: scale(0.92) translateY(-14px) !important;
  opacity: 0 !important;
  max-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  pointer-events: none !important;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* All Plans Purchased Empty State */
.all-miners-activated-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 10px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.all-miners-icon {
  font-size: 38px;
  margin-bottom: 8px;
  animation: pulse-glow 2s infinite ease-in-out;
}

.all-miners-title {
  font-size: 17px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.all-miners-desc {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Plan Top Row */
.plan-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.plan-avatar-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: #150e2e;
}

.plan-nft-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nft-badge-tier {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 6, 24, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
  padding: 1px 0;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-header-info {
  flex: 1;
  min-width: 0;
}

.plan-tag-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.plan-badge-pill {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.plan-badge-pill.starter { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.plan-badge-pill.popular { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.plan-badge-pill.hot { background: rgba(249, 115, 22, 0.2); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }
.plan-badge-pill.silver { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
.plan-badge-pill.gold { background: rgba(251, 191, 36, 0.2); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.plan-badge-pill.platinum { background: rgba(192, 132, 252, 0.2); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.3); }
.plan-badge-pill.diamond { background: rgba(34, 211, 238, 0.2); color: #22d3ee; border: 1px solid rgba(34, 211, 238, 0.3); }
.plan-badge-pill.master { background: rgba(244, 63, 94, 0.2); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.3); }
.plan-badge-pill.elite { background: rgba(232, 121, 249, 0.2); color: #e879f9; border: 1px solid rgba(232, 121, 249, 0.3); }
.plan-badge-pill.legendary { background: rgba(250, 204, 21, 0.2); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.4); }

.plan-roi-pill {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.plan-price-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.plan-price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.plan-price-val {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.token-coin-img-xs {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: contain;
  vertical-align: middle;
}

/* Metrics Grid */
.plan-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(12, 8, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

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

.metric-box .m-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.metric-box .m-val {
  font-size: 0.74rem;
  font-weight: 800;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-box .m-val.profit {
  color: #34d399;
}

.metric-box .m-val.highlight {
  color: #fbbf24;
}

/* Buy Plan Button */
.btn-buy-plan {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-buy-plan:hover {
  filter: brightness(1.1);
}

.btn-buy-plan:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.6);
}
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.card-bonuses:active {
  transform: scale(0.98);
}

.bonus-badge-count {
  width: 38px;
  height: 38px;
  background: #fbbf24;
  color: #1e1b4b;
  border-radius: 50%;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
  flex-shrink: 0;
}

.bonus-badge-count svg {
  width: 20px;
  height: 20px;
  stroke: #1e1b4b;
}

.bonus-text-content {
  flex: 1;
}

.bonus-pill {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonus-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2px 0;
}

.bonus-sub {
  font-size: 0.73rem;
  color: #cbd5e1;
}

/* Secondary Pages Styles */
.page-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 6px 0 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-title svg {
  width: 22px;
  height: 22px;
  color: #a78bfa;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.stat-box {
  background: rgba(30, 20, 58, 0.65);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
}

.stat-box .stat-label {
  font-size: 0.72rem;
  color: #a78bfa;
  font-weight: 600;
  text-transform: uppercase;
}

.stat-box .stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 4px;
  color: #ffffff;
}

/* Referral Section */
.ref-hero-card {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.7) 0%, rgba(20, 14, 44, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ref-tag-badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.ref-bonus-highlight {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #34d399 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 4px 0 8px;
  letter-spacing: -0.3px;
}

.ref-hero-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 14px;
}

.ref-hero-desc b {
  color: #34d399;
}

/* 3 Referral Perks Breakdown */
.ref-perks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px;
  text-align: left;
}

.ref-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 8px 12px;
}

.perk-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-text {
  flex: 1;
}

.perk-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.perk-sub {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 1px;
}

.ref-link-box {
  background: rgba(15, 10, 30, 0.85);
  border: 1px dashed rgba(168, 85, 247, 0.45);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 12px;
  gap: 8px;
}

.ref-link-text {
  font-size: 0.75rem;
  color: #c4b5fd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: monospace;
}

.btn-copy {
  background: #7c3aed;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-copy svg {
  width: 14px;
  height: 14px;
}

.btn-copy:active {
  transform: scale(0.92);
}

.btn-share-tg {
  width: 100%;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-share-tg svg {
  width: 18px;
  height: 18px;
}

.friends-list-card {
  background: rgba(25, 17, 50, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.friends-list-header {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
}

.friend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.friend-item:last-child {
  border-bottom: none;
}

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

.friend-avatar {
  width: 36px;
  height: 36px;
  background: #3b2d68;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
}

.friend-avatar svg {
  width: 18px;
  height: 18px;
}

.friend-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.friend-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.friend-reward {
  font-size: 0.82rem;
  font-weight: 800;
  color: #34d399;
}

/* History List */
.history-item {
  background: rgba(30, 20, 58, 0.65);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.history-type-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.history-type-badge.claim { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.history-type-badge.referral { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; }
.history-type-badge.bonus { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.history-type-badge.gift { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.history-type-badge.deposit { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.history-type-badge.withdraw { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.history-left h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0;
}

.history-left p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.history-amount {
  font-size: 0.95rem;
  font-weight: 800;
  color: #34d399;
}

/* ================= NEW PROFILE & FINANCIAL PORTFOLIO VIEW ================= */
.profile-hero-card {
  background: linear-gradient(135deg, rgba(28, 18, 62, 0.9) 0%, rgba(16, 11, 38, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 20px;
  padding: 18px 16px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.profile-hero-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.profile-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-avatar-container {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.profile-avatar-glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  filter: blur(4px);
  opacity: 0.75;
}

.profile-avatar-lg {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2.5px solid #a855f7;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.profile-status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #160f30;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 8px #10b981;
}

.profile-user-info {
  flex: 1;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
}

.profile-badge-vip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e1b4b;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2.5px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.4px;
}

.profile-id-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  color: #c4b5fd;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.profile-id-chip:active {
  transform: scale(0.95);
  background: rgba(139, 92, 246, 0.28);
}

.profile-id-chip .id-label {
  color: #94a3b8;
  font-weight: 600;
}

.profile-id-chip .id-val {
  font-weight: 700;
  color: #ffffff;
  font-family: monospace;
}

.profile-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-profile-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-profile-action.deposit {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-profile-action.deposit:active {
  transform: scale(0.96);
}

.btn-profile-action.withdraw {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #e0e7ff;
}

.btn-profile-action.withdraw:active {
  transform: scale(0.96);
  background: rgba(139, 92, 246, 0.35);
}

/* Financial Overview Section Header */
.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.section-badge-live {
  font-size: 0.62rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.5px;
}

/* 4 Financial Stat Boxes Grid (2x2) */
.profile-finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.finance-stat-card {
  background: rgba(24, 16, 52, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 16px;
  padding: 13px 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

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

.finance-stat-card.deposit-total-card {
  border-top: 3px solid #10b981;
}

.finance-stat-card.withdraw-total-card {
  border-top: 3px solid #f59e0b;
}

.finance-stat-card.withdraw-bal-card {
  border-top: 3px solid #38bdf8;
  background: linear-gradient(135deg, rgba(30, 24, 66, 0.9) 0%, rgba(18, 28, 54, 0.9) 100%);
}

.finance-stat-card.deposit-bal-card {
  border-top: 3px solid #c084fc;
}

.finance-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.finance-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.finance-icon-circle.green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.finance-icon-circle.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.finance-icon-circle.cyan  { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.finance-icon-circle.purple{ background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.finance-tag-pill {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.finance-tag-pill.green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.finance-tag-pill.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.finance-tag-pill.cyan  { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.finance-tag-pill.purple{ background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.finance-label {
  font-size: 0.64rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.finance-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 3px;
}

.finance-val {
  font-size: 1.12rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  letter-spacing: -0.3px;
}

.finance-val.green { color: #34d399; }
.finance-val.amber { color: #fbbf24; }
.finance-val.cyan  { color: #38bdf8; }
.finance-val.purple{ color: #c084fc; }

.finance-unit {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
}

.finance-meta-desc {
  font-size: 0.63rem;
  color: #94a3b8;
  line-height: 1.2;
}

/* Account Settings Menu */
.profile-menu {
  background: rgba(24, 16, 52, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:active {
  background: rgba(139, 92, 246, 0.12);
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
}

.menu-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-icon.green  { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.menu-icon.amber  { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.menu-icon.cyan   { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.menu-icon.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.menu-icon.pink   { background: rgba(244, 114, 182, 0.15); color: #f472b6; }

.menu-chevron {
  color: #64748b;
}

.wallet-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.15);
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-family: monospace;
}

/* ================= FLOATING WHITE PILL BOTTOM NAVIGATION BAR (MATCHING USER SCREENSHOT) ================= */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 440px;
  height: 64px;
  background: #ffffff;
  border-radius: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  padding: 0 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  border: none;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  flex: 1;
  height: 100%;
  padding: 4px 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #1e1b4b;
  text-decoration: none;
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  pointer-events: none;
  transition: all 0.25s ease;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: #1e1b4b;
  stroke-width: 2.2;
  transition: all 0.25s ease;
}

/* Inactive Button Text Labels */
.nav-label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-top: 2px;
  line-height: 1;
  letter-spacing: -0.2px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transition: all 0.25s ease;
}

.nav-item:hover {
  color: #0f172a;
}

.nav-item:hover .nav-icon svg {
  stroke: #0f172a;
}

.nav-item:hover .nav-label {
  color: #0f172a;
}

/* Active State: Red Circular Button matching screenshot */
.nav-item.active {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff2a5f 0%, #f43f5e 50%, #e11d48 100%);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  padding: 0;
  transform: scale(1.02);
}

.nav-item.active .nav-icon {
  width: 24px;
  height: 24px;
  transform: none;
}

.nav-item.active .nav-icon svg {
  stroke: #ffffff !important;
  width: 24px;
  height: 24px;
  filter: none;
}

/* Active button hides label completely (matching reference screenshot) */
.nav-item.active .nav-label {
  display: none !important;
}

.nav-item:active:not(.active) {
  transform: scale(0.92);
  opacity: 0.75;
}

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  background: #140f29;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 24px 20px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-close svg {
  width: 14px;
  height: 14px;
}

.modal-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.92rem;
  margin: 12px 0;
  outline: none;
  transition: border-color 0.2s ease;
}

.modal-input:focus {
  border-color: #8b5cf6;
}

.modal-btn-submit {
  width: 100%;
  height: 46px;
  background: #8b5cf6;
  color: #ffffff;
  border: none;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.15s ease;
}

.modal-btn-submit:hover {
  background: #7c3aed;
}

.modal-btn-submit:active {
  transform: scale(0.98);
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid #10b981;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 300;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

.toast-icon svg {
  width: 18px;
  height: 18px;
}

/* ================= 100% STARTUP LOADER SCREEN ================= */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #080516;
  background-image: radial-gradient(circle at 50% 35%, #2a175c 0%, #110926 55%, #05030d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.loader-logo-ring {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: rgba(139, 92, 246, 0.12);
  border: 1.5px solid rgba(139, 92, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.35);
  animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(139, 92, 246, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 45px rgba(236, 72, 153, 0.5); }
}

.loader-brand {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-top: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.loader-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 6px;
  min-height: 20px;
}

/* Glowing Progress Bar Line (0% to 100%) */
.loader-bar-wrap {
  width: 250px;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  margin-top: 22px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  position: relative;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 50%, #10b981 100%);
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.7);
  transition: width 0.04s linear;
}

.loader-percent {
  font-size: 0.88rem;
  font-weight: 800;
  color: #e2e8f0;
  font-family: monospace;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

/* ================= MANDATORY TELEGRAM CHANNEL JOIN TASK MODAL (PREMIUM NO GLOW) ================= */
.task-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 3, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.task-modal-overlay.open {
  display: flex;
  animation: modalOverlayFade 0.25s ease forwards;
}

@keyframes modalOverlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.task-modal-card {
  background: #140f29;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  padding: 26px 20px 22px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  animation: modalScaleUpClean 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUpClean {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.task-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #f472b6;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.task-badge-tag .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ec4899;
}

.task-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 158, 217, 0.12);
  border: 1px solid rgba(34, 158, 217, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.task-modal-card .task-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.task-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 18px;
  padding: 0 6px;
}

/* Channel Card */
.channel-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  text-align: left;
}

.channel-icon-tg {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #24a1de;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.channel-text-meta {
  flex: 1;
  min-width: 0;
}

.channel-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.channel-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.verified-badge-icon {
  flex-shrink: 0;
}

.channel-link-tag {
  font-size: 0.73rem;
  color: #38bdf8;
  font-family: monospace;
  margin-top: 1px;
}

.btn-channel-join {
  background: #24a1de;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
  border: none;
}

.btn-channel-join:hover {
  background: #1b8ec6;
}

.btn-channel-join:active {
  transform: scale(0.96);
}

/* Verify Button */
.btn-task-verify {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #10b981;
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-task-verify:hover {
  background: #059669;
}

.btn-task-verify:active {
  transform: scale(0.98);
}

.btn-task-verify:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.channel-alert-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.78rem;
  padding: 9px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  text-align: left;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeInAlert 0.25s ease forwards;
}

@keyframes fadeInAlert {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-channel-join.clicked {
  background: rgba(36, 161, 222, 0.25);
  border: 1px solid #24a1de;
  color: #38bdf8;
}

.channel-info-card.unjoined {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.05);
}

.channel-info-card.verified-joined {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.05);
}

/* ========================================================
   FULLSCREEN WITHDRAW USDT (Clean, Modern, No Glow Effect)
   ======================================================== */
.fullscreen-withdraw-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #090d16;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}

.fullscreen-header {
  height: 60px;
  background: #0d1322;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
}

.fullscreen-btn-back {
  background: #172033;
  border: 1px solid #2b3952;
  color: #f1f5f9;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.fullscreen-btn-back:active {
  transform: scale(0.94);
  background: #202c45;
}

.fullscreen-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: 0.3px;
}

.fullscreen-header-spacer {
  width: 38px;
}

.fullscreen-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

/* Available Balance Card */
.withdraw-balance-banner {
  background: #111827;
  border: 1px solid #1f293d;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
}

.w-bal-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.w-bal-val-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.w-bal-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.5px;
}

.w-bal-cur {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
}

.w-bal-desc {
  font-size: 0.74rem;
  color: #64748b;
}

/* Form Groups */
.withdraw-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.withdraw-field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
}

.min-limit-text, .address-network-tip {
  font-size: 0.72rem;
  color: #64748b;
}

/* Network Select Cards */
.network-select-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.network-card {
  background: #111827;
  border: 1px solid #1f293d;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.network-card.selected {
  border-color: #f59e0b;
  background: #141c2e;
}

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

.network-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.network-coin-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

.network-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.network-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.network-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
}

.network-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}

.network-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

.network-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inputs */
.withdraw-input-container {
  background: #111827;
  border: 1px solid #1f293d;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 4px 12px;
  height: 52px;
  transition: border-color 0.15s ease;
}

.withdraw-input-container:focus-within {
  border-color: #3b82f6;
}

.input-currency-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  margin-right: 8px;
}

.withdraw-text-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  width: 100%;
}

.withdraw-text-input.address-input {
  font-family: monospace;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
}

.withdraw-text-input::placeholder {
  color: #475569;
}

.btn-input-max {
  background: #1e293b;
  border: 1px solid #334155;
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  margin-left: 8px;
  flex-shrink: 0;
}

.btn-input-max:active {
  background: #334155;
}

.btn-input-paste {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.btn-input-paste:active {
  background: #334155;
}

/* Cloudflare Turnstile Box (Authentic Styling, No Glow) */
.cloudflare-turnstile-box {
  background: #121927;
  border: 1px solid #232f48;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cloudflare-turnstile-box:hover {
  border-color: #3b82f6;
}

.cloudflare-turnstile-box.verified {
  border-color: #10b981;
  background: #0f1c22;
  cursor: default;
}

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

.cf-checkbox {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  border: 2px solid #475569;
  background: #0a0f1d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cloudflare-turnstile-box.verified .cf-checkbox {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
}

.cf-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #38bdf8;
  border-top-color: transparent;
  border-radius: 50%;
  animation: cfSpin 0.7s linear infinite;
}

@keyframes cfSpin {
  100% { transform: rotate(360deg); }
}

.cf-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #e2e8f0;
}

.cf-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-brand-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.cf-brand-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.1;
}

.cf-brand-links {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.1;
}

/* Notice Box */
.withdraw-info-notice {
  background: #111827;
  border: 1px solid #1f293d;
  border-left: 3px solid #eab308;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.notice-icon {
  margin-top: 2px;
  flex-shrink: 0;
}

.notice-text {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
}

.notice-text strong {
  color: #f1f5f9;
}

.notice-text b {
  color: #facc15;
}

/* Submit Button */
.btn-submit-withdraw-fullscreen {
  width: 100%;
  height: 52px;
  background: #059669;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: none;
}

.btn-submit-withdraw-fullscreen:hover {
  background: #047857;
}

.btn-submit-withdraw-fullscreen:active {
  transform: scale(0.98);
}

.btn-submit-withdraw-fullscreen:disabled {
  background: #1e293b;
  color: #64748b;
  cursor: not-allowed;
  transform: none;
}

/* Withdrawal Success Popup Modal (Clean, No Glow) */
.withdraw-success-box {
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  text-align: center;
  max-width: 360px !important;
  width: 90% !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.withdraw-success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.success-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}

.success-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.4;
}

.success-summary-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.summary-row .s-label {
  color: #94a3b8;
  font-weight: 500;
}

.summary-row .s-val {
  color: #f1f5f9;
  font-weight: 600;
}

.summary-row .s-val.green {
  color: #34d399;
  font-weight: 700;
}

.summary-row .s-val.amber {
  color: #fbbf24;
  font-weight: 600;
}

.summary-row .s-val.mono {
  font-family: monospace;
  font-size: 0.75rem;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.success-bot-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.73rem;
  color: #38bdf8;
  text-align: left;
  margin-bottom: 18px;
}

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

.btn-success-history {
  flex: 1;
  height: 44px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.btn-success-history:active {
  background: #334155;
}

.btn-success-done {
  flex: 1;
  height: 44px;
  background: #10b981;
  border: none;
  color: #ffffff;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-success-done:hover {
  background: #059669;
}

.btn-success-done:active {
  transform: scale(0.98);
}

/* Withdrawal Daily Limit Popup Modal */
.withdraw-limit-box {
  background: #0f172a !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  text-align: center;
  max-width: 360px !important;
  width: 90% !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6) !important;
}

.withdraw-limit-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.limit-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}

.limit-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.4;
}

.limit-summary-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  text-align: left;
}

.highlight-clock {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
}

.limit-bot-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.73rem;
  color: #fbbf24;
  text-align: left;
  margin-bottom: 18px;
}

.btn-limit-close {
  width: 100%;
  height: 44px;
  background: #f59e0b;
  border: none;
  color: #0f172a;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-limit-close:hover {
  background: #d97706;
}

.btn-limit-close:active {
  transform: scale(0.98);
}

/* Withdrawal Require Miner Purchase Popup Modal */
.withdraw-upgrade-box {
  background: #0f172a !important;
  border: 1px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  text-align: center;
  max-width: 360px !important;
  width: 90% !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6) !important;
}

.withdraw-upgrade-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.12);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.upgrade-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}

.upgrade-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.4;
}

.upgrade-summary-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  text-align: left;
}

.purple-bold {
  color: #c084fc !important;
  font-weight: 700 !important;
}

.cyan-bold {
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

.upgrade-actions-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-upgrade-purchase {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #9333ea 0%, #6366f1 100%);
  border: none;
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.35);
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn-upgrade-purchase:hover {
  opacity: 0.95;
}

.btn-upgrade-purchase:active {
  transform: scale(0.98);
}

.btn-upgrade-cancel {
  width: 100%;
  height: 40px;
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-upgrade-cancel:hover {
  background: #1e293b;
  color: #f1f5f9;
}

/* Plan Card Highlighting Effect when navigated from withdraw */
@keyframes highlightCardPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(147, 51, 234, 0); }
  50% { transform: scale(1.03); box-shadow: 0 0 25px rgba(147, 51, 234, 0.8); border-color: #a855f7; }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(147, 51, 234, 0); }
}

.highlight-pulse {
  animation: highlightCardPulse 1.2s ease-in-out 2 !important;
}

/* ========================================================
   FULLSCREEN DEPOSIT USDT (Matching Screenshot & Site Theme)
   ======================================================== */
.fullscreen-deposit-overlay.user-style,
.fullscreen-deposit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-main, #0c081e);
  background-image: var(--bg-gradient, radial-gradient(circle at 50% 0%, #201344 0%, #0e0924 60%, #070412 100%));
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}

.deposit-header-bar {
  height: 48px;
  background: rgba(13, 9, 28, 0.95);
  border-bottom: 1px solid rgba(138, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
}

.deposit-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.deposit-back-btn:active {
  transform: scale(0.94);
}

.deposit-page-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.2px;
}

.deposit-header-dummy {
  width: 34px;
}

.deposit-page-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Common Card Style matching site aesthetic */
.deposit-card {
  background: rgba(20, 14, 42, 0.85);
  border: 1px solid rgba(138, 92, 246, 0.25);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.qr-section-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.deposit-qr-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 18px;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.deposit-qr-image {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 8px;
}

.deposit-address-row {
  width: 100%;
  background: rgba(10, 6, 24, 0.92);
  border: 1px solid rgba(138, 92, 246, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.deposit-address-text {
  font-family: monospace;
  font-size: 0.74rem;
  color: #e2e8f0;
  word-break: break-all;
  line-height: 1.32;
  text-align: left;
  user-select: all;
  flex: 1;
}

.deposit-copy-action-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #f59e0b;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.deposit-copy-action-btn:hover {
  background: rgba(245, 158, 11, 0.22);
}

.deposit-copy-action-btn:active {
  transform: scale(0.96);
}

.deposit-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.deposit-bep20-pill {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #f59e0b;
  padding: 3px 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.deposit-bep20-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Amount & TxID Section Card */
.amount-section-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

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

.section-title-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f8fafc;
}

.section-min-badge {
  font-size: 0.68rem;
  color: #94a3b8;
}

/* Custom Amount Section Box - Cyber Glassmorphism */
.deposit-custom-amount-box {
  background: rgba(11, 7, 26, 0.95);
  border: 1.5px solid rgba(138, 92, 246, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4), 0 4px 15px rgba(138, 92, 246, 0.1);
  transition: all 0.2s ease;
}

.deposit-custom-amount-box:focus-within {
  border-color: #f59e0b;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 16px rgba(245, 158, 11, 0.25);
}

.amount-input-control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 14, 44, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.amount-currency-symbol {
  font-size: 1.35rem;
  font-weight: 900;
  color: #f59e0b;
  line-height: 1;
}

.deposit-amount-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  font-family: inherit;
  min-width: 0;
}

.deposit-amount-field::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.amount-currency-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.crypto-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Quick Increment Chips */
.deposit-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.quick-chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(138, 92, 246, 0.25);
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.quick-chip-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #f59e0b;
  transform: translateY(-1px);
}

.quick-chip-btn:active {
  transform: scale(0.95);
}

.quick-chip-btn.chip-reset {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  margin-left: auto;
}

.quick-chip-btn.chip-reset:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ffffff;
}

/* Info Note Banner */
.deposit-info-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 0.68rem;
  color: #e2e8f0;
  line-height: 1.35;
  margin-bottom: 8px;
}

.deposit-info-note b {
  color: #f59e0b;
  font-family: monospace;
  font-weight: 700;
}

.info-shield-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.deposit-custom-input-row:focus-within {
  border-color: #f59e0b;
}

.custom-amt-prefix {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 8px;
}

.custom-amt-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

/* TxID Section */
.txid-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.txid-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #cbd5e1;
}

.hash-icon {
  color: #f59e0b;
  font-weight: 900;
}

.btn-quick-paste {
  background: transparent;
  border: none;
  color: #f59e0b;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.15s ease;
}

.btn-quick-paste:hover {
  opacity: 0.85;
}

.deposit-txid-input {
  width: 100%;
  height: 42px;
  background: rgba(10, 6, 24, 0.85);
  border: 1px solid rgba(138, 92, 246, 0.25);
  border-radius: 10px;
  padding: 0 12px;
  color: #f8fafc;
  font-family: monospace;
  font-size: 0.78rem;
  outline: none;
  margin-bottom: 8px;
  transition: border-color 0.15s ease;
}

.deposit-txid-input:focus {
  border-color: #f59e0b;
}

.deposit-txid-input::placeholder {
  color: #475569;
}

/* Timer Note */
.deposit-timer-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #cbd5e1;
}

.timer-dot-blink {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: timerBlink 1s infinite alternate;
}

/* Bottom Gold Button Matching Screenshot */
.btn-confirm-deposit-gold {
  width: 100%;
  height: 48px;
  background: #f59e0b;
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-confirm-deposit-gold:hover {
  background: #eab308;
}

.btn-confirm-deposit-gold:active {
  transform: scale(0.98);
}

.btn-confirm-deposit-gold:disabled {
  background: #1e293b;
  color: #64748b;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-arrow-down {
  font-size: 1.15rem;
  font-weight: 900;
}

/* =========================================
   ACTIVE WELCOME STARTER MINER CARD (0.5$ Bonus)
========================================= */
.active-starter-miner-card {
  background: linear-gradient(135deg, rgba(24, 16, 52, 0.9) 0%, rgba(14, 9, 32, 0.95) 100%);
  border: 1px solid rgba(138, 92, 246, 0.28);
  border-left: 4px solid #10b981;
  border-radius: 16px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  margin-top: 14px;
  margin-bottom: 14px;
}

.starter-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.starter-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.4px;
}

.starter-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: timerBlink 1.5s infinite alternate;
}

.starter-duration-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.starter-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.starter-avatar-box {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(138, 92, 246, 0.35);
  flex-shrink: 0;
  background: #000000;
}

.starter-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.starter-free-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 900;
  text-align: center;
  line-height: 14px;
  letter-spacing: 0.3px;
}

.starter-info-content {
  flex: 1;
  min-width: 0;
}

.starter-tag-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.starter-gift-pill {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.starter-roi-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.starter-miner-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  margin: 1px 0 3px 0;
}

.starter-capital-tag {
  font-size: 0.74rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.starter-cap-val {
  color: #38bdf8;
  font-weight: 800;
  font-family: monospace;
}

.starter-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.s-metric-item {
  background: rgba(10, 6, 24, 0.75);
  border: 1px solid rgba(138, 92, 246, 0.18);
  border-radius: 10px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.sm-label {
  font-size: 0.62rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.sm-val {
  font-size: 0.88rem;
  font-weight: 800;
}

.sm-val.cyan { color: #38bdf8; }
.sm-val.green { color: #34d399; }
.sm-val.gold { color: #fbbf24; }

.starter-card-footer {
  background: rgba(10, 6, 24, 0.6);
  border-top: 1px solid rgba(138, 92, 246, 0.15);
  margin: 0 -14px -14px -14px;
  padding: 9px 14px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.starter-live-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.sparkle-icon {
  color: #fbbf24;
  font-size: 0.85rem;
}

/* =========================================================================
   TASK CENTER & REWARD SYSTEM STYLES
   ========================================================================= */
.task-hero-banner {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.55) 0%, rgba(30, 16, 68, 0.75) 50%, rgba(15, 10, 35, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.task-hero-banner::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.task-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.task-hero-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

.task-hero-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
  max-width: 280px;
}

.task-hero-icon-coin {
  font-size: 2.2rem;
  filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.4));
  animation: floatTaskCoin 3s ease-in-out infinite;
}

@keyframes floatTaskCoin {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

.tasks-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.tasks-section-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.tasks-section-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
}

/* Telegram Channel Task Card */
.task-card {
  background: rgba(26, 17, 52, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.task-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25);
}

.task-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.telegram-icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0088cc 0%, #00aaff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.45);
}

.task-info {
  flex: 1;
  min-width: 0;
}

.task-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.task-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.task-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 1px 6px;
  border-radius: 10px;
}

.task-target-name {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 2px;
}

.task-channel-url-wrap {
  margin-top: 2px;
}

.task-handle {
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Reward Pill */
.task-reward-pill {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.3) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 6px 10px;
  text-align: center;
  flex-shrink: 0;
}

.task-reward-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: #34d399;
  letter-spacing: 0.3px;
}

.task-reward-currency {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #a7f3d0;
  text-transform: uppercase;
}

/* Task Buttons */
.task-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-task-action {
  height: 40px;
  border: none;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-task-join {
  background: linear-gradient(135deg, #0088cc 0%, #00aaff 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35);
}

.btn-task-join:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 136, 204, 0.5);
  color: #ffffff;
}

.btn-task-join:active {
  transform: scale(0.96);
}

.btn-task-claim {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.btn-task-claim:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.55);
}

.btn-task-claim:active:not(:disabled) {
  transform: scale(0.96);
}

/* Claimed / Completed State */
.btn-task-claim.claimed {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
  box-shadow: none !important;
  cursor: default !important;
  opacity: 0.95;
}

.btn-task-claim:disabled:not(.claimed) {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Feedback alert */
.task-feedback-box {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.25s ease;
}

.task-feedback-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.task-feedback-box.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

/* More tasks card */
.more-tasks-card {
  background: rgba(20, 14, 42, 0.5);
  border: 1px dashed rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.more-tasks-icon {
  font-size: 1.8rem;
  opacity: 0.85;
}

.more-tasks-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 3px;
}

.more-tasks-content p {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.35;
}




