:root {
  --bg-dark: #03080d;
  --bg-surface: #07121b;
  --bg-card: rgba(7, 18, 27, 0.9);
  --bg-card-hover: rgba(11, 26, 38, 0.95);
  --border-subtle: rgba(0, 230, 118, 0.16);
  --border-glow: rgba(0, 230, 118, 0.45);
  --text-main: #f0fdf4;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #00e676;
  --primary-glow: rgba(0, 230, 118, 0.45);
  --primary-gradient: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
  --emerald-cash: #00e676;
  --emerald-glow: rgba(0, 230, 118, 0.45);
  --emerald-gradient: linear-gradient(135deg, #00e676 0%, #10b981 100%);
  --gold-accent: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.45);
  --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ff9100 100%);
  --cyan-accent: #00f0ff;
  --amber-accent: #ffd700;
  --rose-accent: #ff3366;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 230, 118, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 230, 118, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
}
.ambient-sphere {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}
.sphere-1 { top: -100px; left: -100px; background: #00e676; }
.sphere-2 { bottom: 50px; right: -120px; background: #00e676; }
.app-viewport {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: #050d14;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding-bottom: 95px; 
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}
@media (min-width: 768px) {
  body {
    padding: 16px 0 85px 0;
  }
  .app-viewport {
    border-radius: var(--radius-xl);
    min-height: calc(100vh - 100px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 13, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.35);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-square-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dashboard-poster-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 230, 118, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 230, 118, 0.15);
  background: rgba(14, 20, 36, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dashboard-poster-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 230, 118, 0.25);
}
.dashboard-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 20%, #00e676 60%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.balance-pill {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00e676;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.balance-pill:hover {
  transform: scale(1.04);
  background: rgba(0, 230, 118, 0.2);
}
.balance-pill .coin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}
.btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}
.tab-view {
  display: none;
  padding: 18px;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-view.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
}
.hero-balance-card {
  background: linear-gradient(135deg, rgba(7, 18, 27, 0.95) 0%, rgba(3, 8, 13, 0.98) 100%);
  border: 1px solid rgba(0, 230, 118, 0.25);
  position: relative;
}
.balance-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.balance-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.balance-amount .currency {
  color: var(--emerald-cash);
}
.total-earned-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  color: #00e676;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
}
.balance-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.btn-action-primary {
  background: var(--emerald-gradient);
  color: #ffffff;
  border: none;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--emerald-glow);
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-action-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn-action-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-action-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}
.task-banner {
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.35) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
  position: relative;
}
.task-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.task-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.task-reward-chip {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.task-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-whatsapp-join {
  background: #25d366;
  color: #0b1e11;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}
.btn-whatsapp-join:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn-claim-reward {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.task-footnote {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.withdrawal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: all 0.2s ease;
}
.withdrawer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.withdrawer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--border-subtle);
}
.withdrawer-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f8fafc;
}
.withdrawer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.withdrawer-meta .method-tag {
  color: #38bdf8;
  font-weight: 500;
}
.withdrawer-amount {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--emerald-cash);
}
.earn-header-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 18px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.earn-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.earn-stat-box {
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.earn-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #f8fafc;
}
.earn-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.ad-config-strip {
  background: rgba(0, 230, 118, 0.08);
  border: 1px dashed rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
}
.ad-watch-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ad-watch-modal-overlay.show {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  animation: modalBackdropFadeIn 0.2s ease forwards;
}
.ad-watch-modal-overlay.show .ad-modal-card {
  animation: modalBoxPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ad-modal-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.ad-timer-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(0, 230, 118, 0.3);
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.3);
  margin: 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  transition: border-color 0.5s ease;
}
.ad-timer-ring.counting {
  border-color: #00e676;
  animation: timerPulse 1s ease-in-out infinite;
}
@keyframes timerPulse {
  0% { box-shadow: 0 0 20px rgba(0, 230, 118, 0.3); }
  50% { box-shadow: 0 0 35px rgba(0, 230, 118, 0.65); }
  100% { box-shadow: 0 0 20px rgba(0, 230, 118, 0.3); }
}
.top-header-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 18px;
}
.podium-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 22px;
}
.podium-slot {
  background: rgba(18, 26, 44, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.podium-slot.rank-1 {
  order: 2;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.15) 0%, rgba(18, 26, 44, 0.9) 100%);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}
.podium-slot.rank-2 { order: 1; border-color: rgba(148, 163, 184, 0.3); }
.podium-slot.rank-3 { order: 3; border-color: rgba(217, 119, 6, 0.3); }
.podium-crown {
  position: absolute;
  top: -14px;
  font-size: 1.3rem;
}
.podium-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #07121b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
  border: 2px solid var(--border-subtle);
}
.podium-slot.rank-1 .podium-avatar {
  border-color: #f59e0b;
  background: #78350f;
  color: #fef3c7;
}
.podium-name {
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}
.podium-cash {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--emerald-cash);
  margin-top: 4px;
}
.podium-badge {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.leader-name-box {
  display: flex;
  flex-direction: column;
}
.leader-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: #f1f5f9;
}
.leader-withdraw-count {
  font-size: 0.72rem;
  color: var(--text-dim);
}
.leader-earning {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--emerald-cash);
}
.invite-header-center {
  text-align: center;
  padding: 10px 0 20px 0;
}
.invite-icon-glow {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(168, 85, 247, 0.3));
  border: 1px solid rgba(168, 85, 247, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
}
.referral-bonus-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.per-referral-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.per-referral-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #00e676;
  margin-top: 4px;
}
.invite-link-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.invite-link-text {
  font-family: monospace;
  font-size: 0.82rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.share-btn-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.share-btn-tile:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.share-btn-tile.whatsapp { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.3); color: #4ade80; }
.share-btn-tile.telegram { background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.3); color: #38bdf8; }
.share-btn-tile.facebook { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); color: #60a5fa; }
.share-btn-tile.messenger { background: rgba(217, 70, 239, 0.1); border-color: rgba(217, 70, 239, 0.3); color: #e879f9; }
.invite-stats-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-card-item {
  background: rgba(18, 26, 44, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.withdraw-limit-alert {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.withdraw-balance-panel {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.method-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 20px 0;
}
.method-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.method-tile.active {
  background: rgba(0, 230, 118, 0.18);
  border-color: #00e676;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.25);
}
.input-field-group {
  margin-bottom: 16px;
}
.input-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.custom-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.custom-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.15);
}
.reviews-card {
  margin-top: 24px;
}
.reviews-header-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.review-item {
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}
.review-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.review-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4338ca, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}
.review-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
}
.bottom-nav-bar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 440px;
  background: rgba(14, 20, 36, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px;
  z-index: 100;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 230, 118, 0.18);
}
.nav-tab-btn {
  background: none;
  border: none;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 8px 4px;
  border-radius: 14px;
  text-decoration: none;
}
.nav-tab-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.04);
}
.nav-tab-btn svg {
  transition: transform 0.2s ease, stroke 0.2s ease;
}
.nav-tab-btn.active {
  color: #ffffff;
  background: #4338ca;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.45);
}
.nav-tab-btn.active svg {
  stroke: #ffffff;
  transform: scale(1.06);
}
.nav-tab-btn .badge-dot {
  position: absolute;
  top: 3px;
  right: 18px;
  width: 6px;
  height: 6px;
  background: var(--rose-accent);
  border-radius: 50%;
}
.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 235px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 100;
  display: none;
  animation: menuFadeIn 0.2s ease forwards;
}
.profile-dropdown-menu.show {
  display: block;
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #cbd5e1;
  border-radius: 10px;
  transition: all 0.2s ease;
  user-select: none;
  text-decoration: none;
}
.profile-menu-item.clickable {
  cursor: pointer;
}
.profile-menu-item.clickable:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}
.profile-menu-item.user-info-item {
  font-weight: 700;
  color: #ffffff;
  padding-bottom: 4px;
}
.profile-menu-item.user-email-item {
  color: #94a3b8;
  font-size: 0.78rem;
  padding-top: 0px;
  padding-bottom: 8px;
  word-break: break-all;
}
.profile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 4px;
}
.language-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lang-swap-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}
.language-submenu {
  display: none;
  background: #07121b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 6px;
  margin: 6px 0;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.language-submenu.show {
  display: block;
}
.lang-option-item {
  padding: 8px 12px;
  font-size: 0.85rem;
  color: #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lang-option-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.lang-option-item.active {
  background: rgba(0, 230, 118, 0.22);
  color: #00e676;
  font-weight: 700;
}
.lang-option-item.active::after {
  content: '✓';
  color: #38bdf8;
  font-size: 0.8rem;
}
.logout-item {
  color: #f87171 !important;
}
.logout-item:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #ef4444 !important;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-box {
  background: #050d14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  padding: 24px;
}
.modal-close-x {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close-x:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.terms-content {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.terms-section-block {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.terms-section-title {
  font-weight: 700;
  color: #f8fafc;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}
.toast-pill {
  background: #07121b;
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast-pill.success {
  border-color: rgba(0, 230, 118, 0.4);
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
}
.toast-pill.warning {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #78350f 0%, #0f172a 100%);
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 230, 118, 0.2); }
  50% { box-shadow: 0 0 24px rgba(0, 230, 118, 0.45); }
}
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.whatsapp-gift-banner {
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.4) 0%, rgba(7, 18, 27, 0.95) 100%);
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}
.whatsapp-gift-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.gift-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 10px;
}
.tasks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.task-card {
  background: rgba(7, 18, 27, 0.95);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  min-height: 110px;
}
.task-card:hover {
  transform: translateY(-2px);
  border-color: #00e676;
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.25);
}
.task-card.completed {
  opacity: 0.55;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(7, 18, 27, 0.6);
  cursor: default;
}
.task-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.task-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 6px;
}
.task-reward-pill {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #00e676;
}
.task-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.task-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.task-duration-tag {
  font-size: 0.72rem;
  color: #94a3b8;
}
.task-action-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00e676;
}
.task-card.completed .task-action-indicator {
  color: #94a3b8;
}
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
}
.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(7, 18, 27, 0.95);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 14px;
  transition: all 0.2s ease;
}
.leaderboard-item:hover {
  border-color: rgba(0, 230, 118, 0.4);
}
.leader-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.leader-rank-badge {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #94a3b8;
  width: 28px;
}
.leader-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e676, #00b0ff);
  color: #03080d;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.leader-details {
  display: flex;
  flex-direction: column;
}
.leader-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}
.leader-meta {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}
.leader-amount {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #00e676;
}
.giftcode-launch-card {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15) 0%, rgba(7, 18, 27, 0.95) 100%);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 230, 118, 0.18);
  transition: all 0.25s ease;
}
.giftcode-launch-card:hover {
  transform: translateY(-2px);
  border-color: #00e676;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 230, 118, 0.3);
}
.giftcode-launch-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.giftcode-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00e676 0%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
  flex-shrink: 0;
}
.giftcode-launch-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}
.giftcode-launch-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.btn-giftcode-open {
  background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
  color: #03080d;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-giftcode-open:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
}
.giftcode-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.btn-back {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-back:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.giftcode-card {
  background: linear-gradient(135deg, rgba(7, 18, 27, 0.95) 0%, rgba(3, 8, 13, 0.98) 100%);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 230, 118, 0.2);
  margin-bottom: 22px;
  text-align: center;
}
.giftcode-banner-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px auto;
  border-radius: 20px;
  background: linear-gradient(135deg, #00e676 0%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.45);
}
.giftcode-input-box {
  margin: 20px 0 16px 0;
}
.giftcode-input {
  width: 100%;
  background: #040c12 !important;
  border: 2px dashed rgba(0, 230, 118, 0.5) !important;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #00e676 !important;
  text-transform: uppercase;
  outline: none;
  transition: all 0.2s ease;
}
.giftcode-input:focus {
  border-color: #00e676 !important;
  border-style: solid !important;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.4) !important;
}
.giftcode-input::placeholder {
  color: #64748b;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.modal-backdrop.show {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
  animation: modalBackdropFadeIn 0.2s ease forwards;
}
@keyframes modalBackdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-backdrop.show .modal-box {
  animation: modalBoxPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes modalBoxPop {
  from { transform: scale(0.92) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.task-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 6px;
}
.task-duration-tag {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.task-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
  background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
  color: #03080d;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 230, 118, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  pointer-events: auto !important;
  flex-shrink: 0;
}
.task-action-btn:active {
  transform: scale(0.97);
}
.task-row {
  display: flex;
  align-items: center;
  background: rgba(7, 18, 27, 0.9);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  gap: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.task-row:hover {
  border-color: rgba(0, 230, 118, 0.4);
  background: rgba(10, 24, 38, 0.97);
}
.task-row.completed {
  opacity: 0.55;
  cursor: default;
  border-color: rgba(255,255,255,0.06);
}
.task-row-lock {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.task-row.completed .task-row-lock {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.task-row-info {
  flex: 1;
  min-width: 0;
}
.task-row-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #f8fafc;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.task-row-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.task-row-reward {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--emerald-cash);
}
.task-row-num {
  font-size: 0.68rem;
  background: rgba(0,230,118,0.12);
  color: var(--emerald-cash);
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 700;
  border: 1px solid rgba(0,230,118,0.2);
}
.task-card:hover .task-action-btn:not(.claimed) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.45);
}
.task-action-btn.claimed {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.referral-welcome-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 176, 255, 0.2));
  border: 2px solid var(--emerald-cash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.35);
}
.referral-welcome-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 230, 118, 0.15);
  color: var(--emerald-cash);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 700;
  border: 1px solid rgba(0, 230, 118, 0.3);
}
.gift-history-card {
  border: 1px solid rgba(0, 230, 118, 0.25);
  background: rgba(7, 18, 27, 0.75);
}
.hero-balance-card {
  text-align: center;
}
.hero-balance-card .balance-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto;
}
.hero-balance-card .balance-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 8px 0 16px 0;
}
.earn-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px;
}
.task-card.completed {
  cursor: default !important;
  opacity: 0.65;
  border-color: rgba(255, 255, 255, 0.06);
}
.task-card.completed .task-action-btn {
  pointer-events: none;
  cursor: default;
}
.referral-combined-card {
  border: 1px solid rgba(0, 230, 118, 0.35);
  background: linear-gradient(135deg, rgba(7, 18, 27, 0.95) 0%, rgba(3, 8, 13, 0.98) 100%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 230, 118, 0.15);
}
.task-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  padding: 8px 4px 4px 4px;
  margin-top: 4px;
}
.task-locked {
  opacity: 0.5;
  cursor: default !important;
  border-color: rgba(255,255,255,0.05) !important;
  background: rgba(5, 12, 20, 0.7) !important;
}
.task-locked:hover {
  border-color: rgba(255,255,255,0.08) !important;
  background: rgba(5, 12, 20, 0.7) !important;
}
.task-btn-locked {
  background: rgba(255,255,255,0.06) !important;
  color: #64748b !important;
  box-shadow: none !important;
  cursor: default !important;
  pointer-events: auto !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.task-row:not(.task-locked):not(.completed) {
  border-color: rgba(0, 230, 118, 0.38) !important;
  background: rgba(0, 230, 118, 0.06) !important;
  animation: nextTaskGlow 2s ease-in-out infinite;
}
@keyframes nextTaskGlow {
  0% { box-shadow: 0 0 0 0 rgba(0,230,118,0); }
  50% { box-shadow: 0 0 16px 2px rgba(0,230,118,0.22); }
  100% { box-shadow: 0 0 0 0 rgba(0,230,118,0); }
}
.app-viewport.earn-mode,
.app-viewport:has(#view-earn.active) {
  padding-bottom: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
@media (min-width: 768px) {
  .app-viewport.earn-mode,
  .app-viewport:has(#view-earn.active) {
    height: calc(100vh - 100px) !important;
  }
}
#view-earn.tab-view.active {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: calc(100% - 69px) !important;
  padding: 12px 16px 0 16px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.earn-header-card {
  flex-shrink: 0 !important;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  padding: 14px 16px !important;
  border-radius: var(--radius-lg) !important;
  margin-bottom: 10px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  position: relative !important;
  z-index: 10 !important;
}
.earn-tasks-scroll-wrap {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 95px;
  padding-right: 2px;
  overscroll-behavior: contain;
}
.earn-tasks-scroll-wrap::-webkit-scrollbar {
  width: 4px;
}
.earn-tasks-scroll-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.earn-tasks-scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(0, 230, 118, 0.25);
  border-radius: 4px;
}
.withdrawal-reqs-card {
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.95) 0%, rgba(8, 12, 24, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}
.reqs-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.reqs-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reqs-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.reqs-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 4px;
  line-height: 1.35;
}
.reqs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.req-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}
.req-item:hover {
  background: rgba(22, 33, 58, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
}
.req-item.completed {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.req-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.req-status-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.req-item.completed .req-status-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.req-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}
.req-arrow {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.req-item:hover .req-arrow {
  transform: translateX(2px);
  color: #94a3b8;
}
