/* ===================================================
   CRYPTO-INVEST VIP - ULTRA LUXURY WHITE & GOLD THEME
   Global Decentralized Cloud Mining & VIP Staking
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Luxury White, Golden & Off-White Color System */
  --gold-gradient: linear-gradient(135deg, #FFF9D2 0%, #FFD700 25%, #F59E0B 65%, #B45309 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFFBEB 0%, #FDE047 30%, #D97706 70%, #92400E 100%);
  --gold-sheen: linear-gradient(90deg, #D4AF37 0%, #FFF5A6 30%, #FFD700 60%, #D4AF37 100%);
  
  --primary-gold: #D4AF37;
  --gold-bright: #F59E0B;
  --gold-dark: #B45309;
  --gold-light: #FFFBEB;
  --gold-soft: #FEF3C7;
  --gold-border: rgba(212, 175, 55, 0.35);
  --gold-border-strong: rgba(212, 175, 55, 0.65);
  
  --bg-desktop: #F0F2F6;
  --bg-app: #FBFBFC;
  --bg-offwhite: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-card-inner: #FCFCFD;
  
  --text-dark: #0F172A;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-gold: #B45309;
  
  --accent-green: #10B981;
  --accent-emerald: #059669;
  --accent-blue: #2563EB;
  --accent-purple: #8B5CF6;
  --accent-red: #EF4444;
  
  --shadow-sm: 0 4px 12px rgba(212, 175, 55, 0.08);
  --shadow-md: 0 10px 25px rgba(212, 175, 55, 0.12);
  --shadow-lg: 0 16px 36px rgba(180, 83, 9, 0.14);
  --shadow-gold-glow: 0 0 20px rgba(245, 158, 11, 0.35);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-desktop);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(254, 243, 199, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(254, 243, 199, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, #F8F9FB 0%, #EDF0F5 100%);
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-dark);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ===================================================
   DESKTOP / MOBILE RESPONSIVE FRAME
   =================================================== */
.desktop-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-app);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.15), 0 0 30px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  border-left: 1px solid rgba(212, 175, 55, 0.2);
  border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.screen {
  display: none;
  width: 100%;
  flex-direction: column;
  padding-bottom: 96px;
  animation: fadeIn 0.25s ease-out;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.screen.active {
  display: flex;
}

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

/* ===================================================
   SCREEN 1: AUTHENTICATION (LOGIN & REGISTER)
   =================================================== */
#screen-auth {
  padding-bottom: 30px;
  min-height: 100vh;
  background: linear-gradient(180deg, #FFFDF5 0%, #F8F9FA 50%, #F1F3F7 100%);
  display: none;
  flex-direction: column;
  align-items: center;
}

#screen-auth.active {
  display: flex;
}

.auth-hero-banner {
  width: 100%;
  height: 230px;
  position: relative;
  background: linear-gradient(180deg, #FFFDF5 0%, #FEF3C7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--gold-border-strong);
  overflow: hidden;
}

.auth-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.auth-card-container {
  width: 100%;
  padding: 0 16px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.auth-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 38px 20px 24px 20px;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(212, 175, 55, 0.1);
  position: relative;
}

.auth-brand-badge {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid var(--primary-gold);
  position: absolute;
  top: -41px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
  overflow: hidden;
}

.auth-brand-badge img,
.auth-brand-badge svg {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.auth-title-wrap {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 18px;
}

.auth-main-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.auth-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.auth-tabs {
  display: flex;
  background: var(--gold-soft);
  padding: 4px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab-btn.active {
  background: #FFFFFF;
  color: var(--gold-dark);
  box-shadow: 0 3px 10px rgba(180, 83, 9, 0.15);
  font-weight: 900;
}

.auth-input-group {
  margin-bottom: 14px;
}

.auth-input-wrapper {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0 14px;
  height: 50px;
  transition: all 0.2s;
}

.auth-input-wrapper:focus-within {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.auth-input-icon {
  color: var(--gold-bright);
  font-size: 16px;
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.auth-prefix {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-right: 8px;
}

.auth-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
}

.auth-action-icon {
  color: var(--text-light);
  cursor: pointer;
  font-size: 15px;
  margin-left: 8px;
}

.auth-terms {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin: 14px 4px 18px 4px;
  cursor: pointer;
}

.auth-terms input[type="checkbox"] {
  accent-color: var(--gold-bright);
  width: 16px;
  height: 16px;
}

.auth-terms a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.btn-gold-primary {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: all 0.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-gold-primary:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.55);
}

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

.circle-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.auth-footer-toggle {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.auth-footer-toggle a {
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.auth-footer-toggle a:hover {
  text-decoration: underline;
}

/* ===================================================
   TOP HEADER (BRANDING, ANNOUNCEMENT, STATS)
   =================================================== */
.main-app-header {
  background: #FFFFFF;
  border-bottom: 1.5px solid var(--gold-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.08);
}

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

.header-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-gold);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.header-logo-icon img,
.header-logo-icon svg {
  width: 28px;
  height: 28px;
}

.header-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.4px;
}

.header-badge-tag {
  font-size: 9px;
  font-weight: 800;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-wallet-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-soft);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-weight: 900;
  font-size: 13.5px;
  color: var(--gold-dark);
  cursor: pointer;
}

.header-wallet-pill i {
  color: var(--gold-bright);
}

.header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.header-icon-btn:hover {
  border-color: var(--gold-bright);
  color: var(--gold-dark);
}

/* Announcement Ticker Strip */
.announcement-ticker {
  background: linear-gradient(90deg, #FFFDF0 0%, #FEF3C7 50%, #FFFDF0 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-dark);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-icon {
  color: var(--gold-bright);
  font-size: 13px;
  flex-shrink: 0;
}

.ticker-marquee {
  display: inline-block;
  animation: marquee 26s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ===================================================
   HERO / HASHRATE CAROUSEL & BANNER
   =================================================== */
.home-hero-card {
  margin: 12px 14px 6px 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.home-hero-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.hero-stat-box {
  background: var(--bg-offwhite);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
}

.hero-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hero-stat-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: var(--gold-dark);
  margin-top: 2px;
}

/* Quick Action 4-Grid Buttons (Deposit, Withdraw, Mine, Invite) */
.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px 14px 6px 14px;
}

.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}

.quick-action-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-md);
}

.quick-action-item:active {
  transform: scale(0.95);
}

.action-circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.icon-recharge {
  background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 100%);
  color: #FFFFFF;
}

.icon-withdraw {
  background: linear-gradient(135deg, #E0E7FF 0%, #4F46E5 100%);
  color: #FFFFFF;
}

.icon-rigs {
  background: linear-gradient(135deg, #D1FAE5 0%, #10B981 100%);
  color: #FFFFFF;
}

.icon-team {
  background: linear-gradient(135deg, #FCE7F3 0%, #EC4899 100%);
  color: #FFFFFF;
}

.action-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-dark);
}

/* ===================================================
   CRYPTO MINING PLANS / RIGS SECTION
   =================================================== */
.section-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 8px 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title span.gold-tag {
  color: var(--gold-bright);
}

.plans-container {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.mining-plan-card,
.plan-card {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  touch-action: pan-y;
  margin-bottom: 14px;
}

.mining-plan-card:hover,
.plan-card:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.16);
  transform: translateY(-2px);
}

.plan-card-top,
.plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

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

.plan-coin-avatar,
.plan-img-container {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  max-height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-border);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.plan-coin-avatar img,
.plan-coin-avatar svg,
.plan-img-container img,
.plan-img-container svg {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  display: block;
}

.plan-title-block h3 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-dark);
}

.plan-hashrate-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 3px;
}

.plan-badge-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent-emerald);
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.plan-financials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg-offwhite);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.plan-fin-item {
  text-align: center;
}

.plan-fin-item .fin-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.plan-fin-item .fin-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: var(--text-dark);
  margin-top: 2px;
}

.plan-fin-item .fin-val.gold {
  color: var(--gold-dark);
}

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

.plan-price-block {
  display: flex;
  flex-direction: column;
}

.plan-price-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.plan-price-amount {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  color: var(--gold-dark);
}

.btn-deploy-miner,
.btn-buy-plan {
  flex: 1;
  max-width: 170px;
  height: 42px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-deploy-miner:hover,
.btn-buy-plan:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5);
}

.btn-deploy-miner:active,
.btn-buy-plan:active {
  transform: scale(0.96);
}

/* ===================================================
   RECHARGE / DEPOSIT SCREEN
   =================================================== */
.recharge-card {
  margin: 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.recharge-gateway-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.gateway-pill {
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-offwhite);
}

.gateway-pill.active {
  border-color: var(--gold-bright);
  background: #FFFDF0;
  color: var(--gold-dark);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.qr-display-box {
  background: #FFFFFF;
  border: 2px dashed rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.qr-image-wrap {
  width: 190px;
  height: 190px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 12px;
}

.qr-image-wrap img,
.qr-image-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.copy-field-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-offwhite);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 8px;
}

.copy-field-val {
  font-family: monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 270px;
}

.btn-copy-tag {
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.timer-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* ===================================================
   MY MINING RIGS (INCOME SCREEN)
   =================================================== */
.income-hero-card {
  margin: 14px;
  background: linear-gradient(135deg, #FFFDF0 0%, #FEF3C7 50%, #FDE68A 100%);
  border: 1.5px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.income-metric-title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.income-metric-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #78350F;
  margin: 4px 0 12px 0;
}

.btn-claim-yield {
  height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}

.btn-claim-yield:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

.btn-claim-yield:active {
  transform: scale(0.96);
}

/* Active Mining Rig Item */
.active-rig-card {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin: 0 14px 12px 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.active-rig-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-emerald);
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

/* ===================================================
   PROFILE SCREEN (VIP GOLD MEDAL)
   =================================================== */
.profile-hero {
  margin: 14px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF0 40%, #FEF3C7 100%);
  border: 1.5px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold-bright);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.profile-info h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.profile-phone {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.profile-vip-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--gold-gradient);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.3);
}

.profile-wallets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 14px 14px 14px;
}

.wallet-tile {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.wallet-tile-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.wallet-tile-amount {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--gold-dark);
  margin-top: 3px;
}

/* Menu List */
.profile-menu-list {
  margin: 0 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background 0.15s;
}

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

.menu-item-row:hover {
  background: #FFFDF5;
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.menu-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.menu-item-arrow {
  color: var(--text-light);
  font-size: 12px;
}

/* ===================================================
   BOTTOM NAVIGATION DOCK (5 ICONS)
   =================================================== */
.bottom-nav-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 68px;
  background: #FFFFFF;
  border-top: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(212, 175, 55, 0.12);
  touch-action: manipulation;
}

.nav-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.15s;
  flex: 1;
  height: 100%;
}

.nav-dock-item i {
  font-size: 19px;
  transition: all 0.2s;
}

.nav-dock-item span {
  font-size: 10.5px;
  font-weight: 700;
}

.nav-dock-item.active {
  color: var(--gold-dark);
}

.nav-dock-item.active i {
  color: var(--gold-bright);
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 5px rgba(245, 158, 11, 0.4));
}

.nav-dock-item.active span {
  font-weight: 900;
}

/* Modal Popup Overlays */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card-box {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-offwhite);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
}
