/* ==========================================================================
   Rozpay.pro - Core Design System & Mobile-First Styling
   Theme: Light Mode Only | Colors: Electric Purple-Blue, Warm Gold, Sky Blue
   ========================================================================== */

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

:root {
  /* Brand Color Tokens */
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --primary-light: #6366F1;
  --primary-subtle: #EEF2FF;
  
  --accent-gold: #F59E0B;
  --accent-gold-dark: #D97706;
  --accent-gold-light: #FEF3C7;
  --accent-orange: #F97316;

  --sky-blue: #0284C7;
  --sky-blue-light: #E0F2FE;
  --sky-blue-dark: #0369A1;

  --success: #10B981;
  --success-light: #D1FAE5;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --warning: #F59E0B;

  /* Surfaces & Backgrounds */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.94);
  --bg-muted: #F1F5F9;
  --bg-subtle: #F8FAFC;

  /* Borders & Dividers */
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --border-focus: #818CF8;

  /* Typography Colors */
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --text-white: #FFFFFF;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(79, 70, 229, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(79, 70, 229, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow-purple: 0 0 25px rgba(99, 102, 241, 0.35);
  --shadow-glow-gold: 0 0 20px rgba(245, 158, 11, 0.35);
  --shadow-glow-sky: 0 0 20px rgba(2, 132, 199, 0.35);

  /* Device frame dimensions */
  --phone-width: 430px;
  --phone-height: 890px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

/* ==========================================================================
   Desktop Outer Framing & External Header/Footer
   ========================================================================== */
.desktop-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.06) 0%, transparent 40%),
              #F8FAFC;
}

.external-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
}

.external-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--sky-blue) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 50%, var(--sky-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-pro-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
  color: white;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Crypto Live Ticker */
.crypto-ticker-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 8px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 2px 8px;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.ticker-gain {
  color: var(--success);
  font-size: 11px;
}

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

.btn-admin-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-admin-switch:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
}

/* Centered Desktop Frame Container */
.desktop-phone-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.phone-shell {
  width: 100%;
  max-width: var(--phone-width);
  height: var(--phone-height);
  background: #FFFFFF;
  border-radius: 44px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.18),
              0 0 0 10px #0F172A,
              0 0 0 12px #334155;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Phone Island / Notch */
.phone-island-bar {
  height: 36px;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  z-index: 50;
  user-select: none;
}

.dynamic-island-pill {
  width: 90px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.island-camera {
  width: 9px;
  height: 9px;
  background: #1E293B;
  border-radius: 50%;
  box-shadow: inset 0 0 2px #0EA5E9;
}

/* External Footer */
.external-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 16px 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.external-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.security-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-muted);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   Mobile App Internal Shell (The actual Native UI)
   ========================================================================== */
.app-screen-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg-page);
}

/* Authentication State Display Controls */
.auth-logged-in {
  display: none !important;
}
.user-authenticated .auth-logged-in {
  display: flex !important;
}
.user-authenticated .auth-logged-in.as-block {
  display: block !important;
}
.user-authenticated .auth-guest-only {
  display: none !important;
}
body:not(.user-authenticated) .auth-logged-in {
  display: none !important;
}
body:not(.user-authenticated) .auth-guest-only {
  display: flex !important;
}
body:not(.user-authenticated) .auth-guest-only.as-block {
  display: block !important;
}

/* Top In-App Header - Modern Fintech Glassmorphism */
.app-top-header {
  height: 68px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 40;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.header-user-badge {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 14px;
  transition: all 0.15s ease;
  user-select: none;
}
.header-user-badge:hover {
  background: var(--bg-muted);
}

.avatar-ring-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.avatar-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--sky-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3);
  border: 2px solid #FFFFFF;
}

.avatar-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.user-meta-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}

.user-greeting-sub {
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1;
}

.user-name-vip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.user-meta-name {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.vip-crown-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  color: #B45309;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.15);
}

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

.header-balance-chip {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 5px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.header-balance-chip:hover {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15);
}

.balance-chip-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.balance-chip-content {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.balance-chip-label {
  font-size: 8px;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.5px;
}

.balance-chip-val {
  font-size: 13px;
  font-weight: 800;
  color: #1E1B4B;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.2px;
}

.balance-chip-arrow {
  font-size: 9px;
  color: #94A3B8;
  margin-left: 2px;
}

.header-icon-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}
.header-icon-action-btn:hover {
  background: #EEF2FF;
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.3);
}

.header-action-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  border: 1.5px solid #FFFFFF;
}

/* Main Scrollable View Area */
.app-view-viewport {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 90px;
  -webkit-overflow-scrolling: touch;
}

.view-section {
  display: none;
  padding: 16px;
  animation: fadeInView 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.view-section.active {
  display: block;
}

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

/* ==========================================================================
   Bottom Navigation Bar & Glowing FAB
   ========================================================================== */
.app-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 45;
}

.nav-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  height: 100%;
  gap: 3px;
  transition: color 0.15s ease;
}

.nav-tab-btn i {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.nav-tab-btn.active {
  color: var(--primary);
  font-weight: 700;
}
.nav-tab-btn.active i {
  transform: scale(1.15);
  color: var(--primary);
}

/* Center Floating Action Button (FAB) for Mining */
.fab-center-container {
  position: relative;
  top: -18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fab-mine-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--sky-blue) 100%);
  border: 3px solid #FFFFFF;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-mine-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.4);
  animation: pulseFabRing 2.4s infinite;
}

@keyframes pulseFabRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.2; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.fab-mine-btn:hover, .fab-mine-btn:active {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 26px rgba(79, 70, 229, 0.5);
}

.fab-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Home View Elements: Banners, Quick Actions, Streak, Feed
   ========================================================================== */
.hero-banner-card {
  position: relative;
  width: 100%;
  height: 170px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.hero-banner-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-banner-subtitle {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 3px;
}

/* Quick Action Horizontal Strip */
.quick-actions-strip {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 4px 2px 8px;
  margin-bottom: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.quick-actions-strip::-webkit-scrollbar { display: none; }

.quick-action-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
  min-width: 58px;
}
.quick-action-pill:hover { transform: translateY(-2px); }
.quick-action-pill:active { transform: scale(0.95); }

.qap-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.quick-action-pill span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  white-space: nowrap;
}

.quick-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.icon-purple { background: var(--primary-subtle); color: var(--primary); }
.icon-gold { background: var(--accent-gold-light); color: var(--accent-gold-dark); }
.icon-sky { background: var(--sky-blue-light); color: var(--sky-blue); }
.icon-green { background: var(--success-light); color: var(--success); }

.quick-action-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

/* Telegram Official Channel Banner */
.telegram-banner-card {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-glow-sky);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.telegram-banner-card:hover {
  transform: translateY(-2px);
}
.telegram-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.telegram-title {
  font-size: 14px;
  font-weight: 800;
}
.telegram-sub {
  font-size: 11px;
  opacity: 0.9;
}
.btn-join-tg {
  background: white;
  color: #0284C7;
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* 7-Day Check-in Streak Widget */
.checkin-streak-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.checkin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.checkin-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.streak-fire-icon {
  color: var(--accent-orange);
  font-size: 20px;
  animation: fireFlicker 1.8s infinite alternate;
}
@keyframes fireFlicker {
  0% { transform: scale(1); }
  100% { transform: scale(1.15) rotate(3deg); }
}

.streak-days-row,
.checkin-step-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.checkin-streak-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-gold-dark);
  background: var(--accent-gold-light);
  border: 1px solid #FDE68A;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.checkin-today-reward-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  margin-bottom: 12px;
}

.streak-day-item {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-muted) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 2px 7px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  overflow: hidden;
}
.streak-day-item::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,163,184,0.18) 0%, transparent 70%);
}

.streak-day-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
  box-shadow: 0 3px 8px rgba(124, 58, 237, 0.35);
}

.streak-day-item.claimed {
  background: linear-gradient(180deg, #ECFDF5 0%, #D1FAE5 100%);
  border-color: #6EE7B7;
  color: #065F46;
}
.streak-day-item.claimed .streak-day-icon {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.35);
}

.streak-day-item.today-claimable {
  background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #FCD34D;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
  animation: pulseGold 2s infinite;
}
.streak-day-item.today-claimable .streak-day-icon {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.5);
}
@keyframes pulseGold {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.streak-day-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.streak-day-reward {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
}
.streak-day-item.claimed .streak-day-reward { color: #065F46; }
.streak-day-item.today-claimable .streak-day-reward { color: #92400E; }

.btn-claim-streak {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: all 0.15s ease;
}
.btn-claim-streak:disabled {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  cursor: not-allowed;
  box-shadow: 0 4px 14px rgba(16,185,129,0.3);
  opacity: 0.85;
}

/* ==========================================================================
   Mining View & Hashrate Live Orb
   ========================================================================== */
.mining-hero-card {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #1E3A8A 100%);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}

.mining-hero-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.mining-orb-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 10px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mining-ring-svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.mining-orb-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4338CA 0%, #1E1B4B 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.8),
              0 0 30px rgba(99, 102, 241, 0.4);
  position: relative;
}

.mining-live-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(14, 165, 233, 0.6);
  animation: orbPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes orbPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

.mining-ticking-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}
.mining-ticking-currency {
  font-size: 11px;
  font-weight: 700;
  color: #93C5FD;
}

.mining-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-top: 16px;
}
.mining-stat-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mining-stat-label {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 600;
}
.mining-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
}

.btn-mining-claim {
  width: 100%;
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  margin-top: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-mining-claim:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}
.btn-mining-claim:disabled {
  background: #334155;
  color: #94A3B8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.claim-btn-success {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid #6EE7B7 !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.7) !important;
  transform: scale(1.02) !important;
  animation: claimSuccessBounce 0.4s ease-out;
}

@keyframes claimSuccessBounce {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1.02); }
}

/* Floating Claim Reward Particle Badge */
.floating-claim-reward-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.7);
  border: 2px solid #A7F3D0;
  z-index: 25;
  pointer-events: none;
  animation: floatClaimRewardAnim 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

@keyframes floatClaimRewardAnim {
  0% {
    opacity: 0;
    transform: translate(-50%, 15px) scale(0.6);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
  30% {
    transform: translate(-50%, -50%) scale(1);
  }
  75% {
    opacity: 1;
    transform: translate(-50%, -85px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -130px) scale(0.85);
  }
}

/* Balance Glow Pulse Animation */
.balance-glow-pulse {
  animation: balancePulseAnim 2s ease-in-out !important;
}

@keyframes balancePulseAnim {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
  25% { transform: scale(1.1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.85); background: #D1FAE5 !important; border-color: #10B981 !important; }
  60% { transform: scale(1.03); box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
}

/* Booster Shop Packages */
.section-title-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}
.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.booster-list-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.booster-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.booster-item-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.booster-badge-multiplier {
  background: linear-gradient(135deg, var(--primary-subtle) 0%, #E0E7FF 100%);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 14.5px;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.3);
  text-align: center;
  min-width: 48px;
  flex-shrink: 0;
  white-space: nowrap;
}

.booster-details {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.booster-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}
.booster-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.booster-tag {
  font-size: 8px;
  font-weight: 800;
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  padding: 1.5px 5px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.2px;
}
.booster-sub-est {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-purchase-booster {
  background: linear-gradient(135deg, var(--primary) 0%, var(--sky-blue) 100%);
  color: white;
  border: none;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-purchase-booster:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

/* ==========================================================================
   Task Hall Elements
   ========================================================================== */
.task-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.task-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.task-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.plat-youtube { background: #FEE2E2; color: #DC2626; }
.plat-twitter { background: #E0F2FE; color: #0284C7; }
.plat-telegram { background: #E0F2FE; color: #0369A1; }
.plat-whatsapp { background: #DCFCE7; color: #15803D; }
.plat-facebook { background: #DBEAFE; color: #1D4ED8; }
.plat-other { background: #F1F5F9; color: #475569; }

.task-reward-pill {
  font-size: 13px;
  font-weight: 800;
  color: var(--success);
  background: var(--success-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.task-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.task-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.task-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-task-go {
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-task-upload {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Profile Section & Account Management Styles
   ========================================================================== */
.profile-hero-card {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(49, 46, 129, 0.25);
  margin-bottom: 16px;
}
.profile-hero-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.profile-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  color: white;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 8px 16px rgba(0, 0, 0, 0.2);
}

.profile-username {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.profile-uid-pill {
  font-size: 11px;
  color: #C7D2FE;
  font-family: monospace;
  margin-bottom: 8px;
}

.profile-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.profile-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.profile-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}
.profile-stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.profile-card-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.profile-group-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 12px;
}
.profile-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.profile-info-label {
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-info-value {
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.15s ease;
}
.profile-menu-item:hover {
  background: #F1F5F9;
  border-color: var(--primary-light);
  transform: translateX(2px);
}
.profile-menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.profile-admin-card {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1px solid #F59E0B;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #92400E;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  transition: transform 0.15s ease;
}
.profile-admin-card:hover {
  transform: translateY(-2px);
}

.btn-profile-logout {
  width: 100%;
  padding: 14px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-md);
  color: #DC2626;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}
.btn-profile-logout:hover {
  background: #FEE2E2;
  border-color: #EF4444;
}

/* ==========================================================================
   Modals, Slide Captcha, and Overlays
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.active {
  display: flex;
}

.modal-content-card {
  width: 100%;
  max-width: 400px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: popModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popModal {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

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

/* Slide Puzzle Captcha Styling */
.captcha-modal-card {
  width: 100%;
  max-width: 340px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
  position: relative;
  animation: popModal 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.captcha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.captcha-header-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.captcha-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.captcha-action-btn {
  background: var(--bg-muted);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.15s ease;
}
.captcha-action-btn:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.captcha-box-container {
  margin: 0;
}
.captcha-canvas-wrap {
  position: relative;
  width: 280px;
  height: 155px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #1E293B;
}

.captcha-slider-track {
  position: relative;
  width: 280px;
  height: 44px;
  background: #F1F5F9;
  border-radius: 24px;
  margin: 14px auto 0;
  border: 1px solid var(--border-color);
  user-select: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.captcha-slider-track.success {
  background: #ECFDF5;
  border-color: #10B981;
}
.captcha-slider-track.error {
  background: #FEF2F2;
  border-color: #EF4444;
}

.captcha-slider-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 40px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--sky-blue) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: grab;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4);
  transition: background 0.2s, transform 0.05s ease-out;
  touch-action: none;
}
.captcha-slider-knob:active {
  cursor: grabbing;
}
.captcha-slider-knob.success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}
.captcha-slider-knob.error {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

.captcha-track-hint {
  text-align: center;
  line-height: 44px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

.captcha-status-text {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  min-height: 18px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.captcha-shake {
  animation: captchaShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes captchaShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Responsive adjustments for real mobile screens */
@media (max-width: 768px) {
  .desktop-wrapper {
    background: var(--bg-page);
  }
  .external-header, .external-footer {
    display: none;
  }
  .desktop-phone-stage {
    padding: 0;
  }
  .desktop-wrapper {
    min-height: 100vh;
    min-height: var(--app-vh, 100vh);
  }
  .phone-shell {
    max-width: 100vw;
    height: var(--phone-height);
    max-height: 100vh;
    max-height: var(--app-vh, 100vh);
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
  .phone-island-bar {
    display: none;
  }
}

/* Compact screens & small mobile devices (<=420px) */
@media (max-width: 420px) {
  .booster-item-card {
    padding: 8px 10px;
    gap: 8px;
  }
  .booster-badge-multiplier {
    font-size: 13px;
    padding: 5px 7px;
    min-width: 42px;
  }
  .booster-title {
    font-size: 11.5px;
  }
  .booster-tag {
    font-size: 7.5px;
    padding: 1px 4px;
  }
  .booster-sub-est {
    font-size: 9.5px;
  }
  .btn-purchase-booster {
    padding: 6px 9px;
    font-size: 11px;
  }
  
  .quick-action-label {
    font-size: 9.5px;
  }
  .quick-action-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .task-title {
    font-size: 12.5px;
  }
  .task-desc {
    font-size: 11px;
  }
  
  .mining-ticking-val {
    font-size: 22px;
  }
  .btn-mining-claim {
    font-size: 13.5px;
    padding: 12px;
  }
  
  .streak-day-item {
    padding: 7px 0 5px;
  }
  .streak-day-icon {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }
  .streak-day-num, .streak-day-reward {
    font-size: 8.5px;
  }
}

/* Extra small devices (<=360px) */
@media (max-width: 360px) {
  .booster-item-card {
    padding: 6px 8px;
    gap: 6px;
  }
  .booster-badge-multiplier {
    font-size: 12px;
    padding: 4px 6px;
    min-width: 36px;
  }
  .booster-title {
    font-size: 11px;
  }
  .booster-sub-est {
    font-size: 9px;
  }
  .btn-purchase-booster {
    padding: 5px 8px;
    font-size: 10.5px;
  }
  .quick-action-label {
    font-size: 9px;
  }
  .power-toggle-btn {
    font-size: 10.5px;
    padding: 7px 6px;
  }
  .vip-matrix-title {
    font-size: 11px;
  }
  .vip-roadmap-name {
    font-size: 11.5px;
  }
}

/* ==========================================================================
   VIP MINING POWER ACCELERATOR & ROADMAP STYLING
   ========================================================================== */
.increase-power-card {
  margin-top: 18px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.increase-power-header {
  margin-bottom: 12px;
}

.increase-power-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.increase-power-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.power-method-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #F1F5F9;
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.power-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.power-toggle-btn.active {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
}

.power-toggle-btn i {
  font-size: 12px;
}

.power-toggle-btn.active i {
  color: var(--primary);
}

.vip-power-promo-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.vip-promo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.vip-promo-heading {
  font-size: 12px;
  font-weight: 800;
  color: #312E81;
}

.vip-promo-desc {
  font-size: 10.5px;
  color: #4338CA;
  line-height: 1.35;
  margin-top: 2px;
}

.vip-current-highlight-box {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
}

.vip-highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vip-current-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
  flex-shrink: 0;
}

.vip-status-active-pill {
  padding: 3px 8px;
  background: #F59E0B;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.vip-progress-rail {
  height: 6px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.vip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* VIP Matrix Mini Cards (in Mining View) */
.vip-tiers-matrix-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vip-matrix-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.vip-matrix-card.is-current {
  border-color: #6366F1;
  background: #F5F3FF;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.12);
}

.vip-matrix-card.is-unlocked {
  border-color: #A7F3D0;
  background: #F0FDF4;
}

.vip-matrix-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vip-multiplier-pill {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.2px;
  flex-shrink: 0;
}

.vip-matrix-info {
  min-width: 0;
}

.vip-matrix-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-matrix-req {
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* VIP Roadmap Full Cards (in Team View) */
.vip-roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-roadmap-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  position: relative;
}

.vip-roadmap-card.is-current {
  border: 1.5px solid #6366F1;
  background: linear-gradient(135deg, #FAF5FF 0%, #FFFFFF 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.14);
}

.vip-roadmap-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.vip-roadmap-badge-mult {
  font-size: 14.5px;
  line-height: 1;
}

.vip-roadmap-badge-label {
  font-size: 7.5px;
  font-weight: 700;
  opacity: 0.9;
  margin-top: 2px;
}

.vip-roadmap-body {
  flex: 1;
  min-width: 0;
}

.vip-roadmap-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.vip-roadmap-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-roadmap-perks {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-roadmap-status-col {
  flex-shrink: 0;
  text-align: right;
}

.vip-status-current {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #6366F1;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.vip-status-unlocked {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #10B981;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
}

.btn-vip-unlock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-vip-unlock:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* Social Fast Share Buttons */
.btn-social-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .btn-social-share {
    font-size: 10px;
    padding: 8px 6px;
  }
}

.btn-social-share:active {
  transform: scale(0.97);
}

.btn-tg-share {
  background: linear-gradient(135deg, #0088CC 0%, #29B6F6 100%);
  box-shadow: 0 2px 8px rgba(0, 136, 204, 0.25);
}

.btn-wa-share {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

/* ==========================================================================
   VIP INVESTMENT PLANS & DAILY YIELD REVENUE HUB STYLES
   ========================================================================== */

/* Home Screen VIP Yield Highlight Widget */
.vip-home-yield-widget {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.vip-yield-widget-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.vip-yield-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}

.vip-yield-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.vip-yield-sub {
  font-size: 11px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.vip-yield-rate-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}

.vip-yield-widget-action {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
}

.btn-vip-action-glow {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-vip-action-glow:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-vip-action-glow:active {
  transform: scale(0.98);
}

.btn-vip-action-glow:disabled {
  background: #334155;
  color: #94A3B8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-vip-action-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F1F5F9;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-vip-action-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Dedicated VIP Plans Hero Master Card */
#view-vipplans {
  padding-bottom: 110px !important;
  overflow-x: hidden;
}

.vip-hero-master-card {
  background: linear-gradient(145deg, #0F172A 0%, #1E1B4B 50%, #311042 100%);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: #FFFFFF;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.vip-hero-master-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.vip-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.vip-hero-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.vip-hero-sub {
  font-size: 11px;
  color: #CBD5E1;
  line-height: 1.4;
  margin-bottom: 14px;
}

/* Daily Revenue Claim Master Box */
.vip-claim-master-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 14px 12px;
}

.vip-claim-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.vip-stat-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.vip-stat-number {
  font-size: 15px;
  font-weight: 800;
  color: #F8FAFC;
  white-space: nowrap;
}

.btn-vip-master-claim {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

.btn-vip-master-claim:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-vip-master-claim:active {
  transform: scale(0.98);
}

.btn-vip-master-claim:disabled {
  background: #334155;
  color: #94A3B8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.vip-timer-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  color: #94A3B8;
  font-weight: 600;
  margin-top: 8px;
}

/* Active Contracts List */
.vip-my-plans-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-active-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.vip-active-plan-card:hover {
  border-color: #CBD5E1;
}

.vip-active-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.vip-active-plan-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-active-plan-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.vip-active-plan-yield {
  font-size: 12.5px;
  font-weight: 800;
  color: #10B981;
}

.vip-active-plan-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.vip-active-plan-bar {
  width: 100%;
  height: 6px;
  background: #F1F5F9;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.vip-active-plan-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #3B82F6 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* VIP Plans Store Catalog Grid */
.vip-plans-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 360px) {
  .vip-plans-catalog-grid {
    grid-template-columns: 1fr;
  }
}

.vip-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.vip-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

.vip-plan-badge-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 8.5px;
  font-weight: 800;
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  z-index: 2;
}

.vip-plan-card-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  padding-right: 44px;
  min-width: 0;
}

.vip-plan-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.vip-plan-title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-plan-price-tag {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-plan-metric-box {
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 6px;
  padding: 5px 7px;
  margin-bottom: 8px;
  min-width: 0;
}

.vip-plan-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-plan-metric-row:last-child {
  margin-bottom: 0;
}

.vip-plan-metric-lbl {
  color: #64748B;
  font-weight: 600;
  white-space: nowrap;
}

.vip-plan-metric-val {
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

/* Sleek Modern Fintech CTA Button */
.btn-vip-buy-card {
  width: 100%;
  padding: 8px 6px;
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  color: #FFFFFF;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(30, 27, 75, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-vip-buy-card:hover {
  background: linear-gradient(135deg, #312E81 0%, #4338CA 100%);
  border-color: #818CF8;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.btn-vip-buy-card:active {
  transform: scale(0.98);
}

/* Crypto Selector & Checkout Styles */
.vip-crypto-pill {
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #475569;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.vip-crypto-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.vip-crypto-pill.active {
  background: #EEF2FF;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.btn-vip-checkout-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.2s ease;
}

.btn-vip-checkout-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

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

/* ==========================================================================
   Mobile Typography & Single-Line Layout Protections
   ========================================================================== */
@media (max-width: 480px) {
  .vip-matrix-title, .booster-title, .task-item-title, .profile-nav-title, .vip-plan-title {
    font-size: 11.5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .vip-matrix-req, .booster-sub-est, .task-item-reward, .profile-nav-sub {
    font-size: 9.5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .quick-stat-label, .mining-stat-label, .profile-stat-lbl {
    font-size: 9px !important;
    white-space: nowrap;
  }
  .quick-stat-val, .profile-stat-val {
    font-size: 13px !important;
  }
  .btn-vip-unlock, .btn-purchase-booster, .btn-vip-buy-card {
    font-size: 10.5px !important;
    padding: 6px 8px !important;
    white-space: nowrap;
  }
  .header-bal-num {
    font-size: 13px !important;
  }
  .header-level-badge {
    font-size: 9.5px !important;
    padding: 3px 7px !important;
  }
}

@media (max-width: 360px) {
  .quick-stats-grid {
    gap: 6px !important;
  }
  .quick-stat-card {
    padding: 8px 6px !important;
  }
  .header-app {
    padding: 8px 12px !important;
  }
  .header-brand-title {
    font-size: 14px !important;
  }
}



/* ============================================================
   v2.5 — Conversion signup screen, Watch & Earn, Support
   ============================================================ */

/* Shared small utilities ------------------------------------ */
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 10px;
}
.section-heading-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}
.btn-inline-refresh {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
}
.btn-inline-refresh:active { transform: scale(0.94); }

/* ============================================================
   1. AUTH / SIGNUP SCREEN
   ============================================================ */
.auth-screen-wrap {
  padding: 4px 2px 28px;
  max-width: 420px;
  margin: 0 auto;
}

.auth-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  background: linear-gradient(150deg, #1E1B4B 0%, #312E81 55%, #4338CA 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-bottom: 12px;
}
.auth-hero-glow {
  position: absolute;
  top: -70px;
  right: -50px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.45), transparent 70%);
  pointer-events: none;
}
.auth-hero-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7DD3FC;
  margin-bottom: 10px;
}
.auth-hero-title {
  position: relative;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 7px;
}
.auth-hero-sub {
  position: relative;
  font-size: 12.5px;
  line-height: 1.5;
  color: #C7D2FE;
  margin-bottom: 14px;
}
.auth-benefit-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.auth-benefit {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  padding: 8px 9px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #E0E7FF;
}
.auth-benefit i {
  font-size: 12px;
  color: #FBBF24;
  flex-shrink: 0;
}

.auth-bonus-ribbon {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1px solid #FCD34D;
  margin-bottom: 10px;
}
.auth-bonus-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.auth-bonus-title { font-size: 14px; font-weight: 800; color: #78350F; }
.auth-bonus-sub { font-size: 11px; color: #92400E; margin-top: 1px; }

.auth-ref-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 10px;
}
.auth-ref-banner i { font-size: 13px; }

.auth-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.auth-proof-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 9px 6px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.auth-proof-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.4px;
}
.auth-proof-lbl {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-subtle);
  margin-top: 1px;
}

.auth-mode-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 16px;
}
.auth-mode-btn {
  flex: 1;
  padding: 9px 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.auth-mode-btn.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.auth-form-stack { display: block; }
.auth-field { margin-bottom: 14px; }
.auth-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}
.auth-input-wrap { position: relative; }
.auth-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--text-subtle);
  pointer-events: none;
}
.auth-input {
  width: 100%;
  padding: 13px 14px 13px 38px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  background: var(--bg-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}
.auth-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.auth-input.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
select.auth-input, textarea.auth-input { padding-left: 14px; }
.auth-eye-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--text-subtle);
  font-size: 13px;
  cursor: pointer;
  border-radius: 8px;
}
.auth-field-hint {
  font-size: 10.5px;
  color: var(--text-subtle);
  margin-top: 5px;
  min-height: 13px;
  line-height: 1.35;
}
.auth-field-hint.error { color: var(--danger); font-weight: 600; }

.auth-ref-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.btn-auth-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  margin-top: 4px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.32);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-auth-primary:active { transform: scale(0.98); }
.btn-auth-primary:disabled { opacity: 0.65; cursor: not-allowed; }

.auth-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.auth-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}
.auth-trust-row i { color: var(--success); font-size: 10px; }

.auth-switch-line {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 16px;
}
.auth-switch-line a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-live-feed {
  margin-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-xs);
}
.auth-live-feed-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.auth-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.auth-live-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}
.auth-live-row:last-child { border-bottom: none; }
.auth-live-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.auth-live-name {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  font-family: monospace;
}
.auth-live-time { font-size: 10px; color: var(--text-subtle); }

/* ============================================================
   2. WELCOME GIFT MODAL
   ============================================================ */
.welcome-gift-card { max-width: 340px; text-align: center; }
.welcome-gift-header { margin-bottom: 14px; }
.welcome-gift-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 8px;
}
.welcome-gift-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}
.welcome-gift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.welcome-gift-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 8px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, #312E81, #4338CA);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.welcome-gift-box i { font-size: 26px; color: #FBBF24; }
.welcome-gift-box span { font-size: 11px; font-weight: 800; color: #C7D2FE; }
.welcome-gift-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-purple);
}
.welcome-gift-box:active { transform: scale(0.96); }

.welcome-gift-result { padding: 6px 0; }
.welcome-gift-result-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-glow-gold);
}
.welcome-gift-result-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--success);
  margin-bottom: 6px;
}
.welcome-gift-result-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.welcome-gift-skip {
  display: block;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--text-subtle);
  text-decoration: none;
}

/* ============================================================
   3. WATCH ADS & EARN
   ============================================================ */
.qap-hot-dot {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}
.quick-action-pill { position: relative; }

.ads-home-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #4C1D95 0%, #6D28D9 100%);
  color: #fff;
  margin-bottom: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.25);
}
.ads-home-banner-glow {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 70%);
  pointer-events: none;
}
.ads-home-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.ads-home-banner-title { font-size: 14px; font-weight: 800; }
.ads-home-banner-sub { font-size: 10.5px; color: #DDD6FE; margin-top: 2px; }
.ads-home-progress {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  margin-top: 7px;
  overflow: hidden;
}
.ads-home-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #34D399, #A7F3D0);
  transition: width 0.4s ease;
}
.ads-home-banner-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #DDD6FE;
  flex-shrink: 0;
}

.ads-hero-card {
  border-radius: var(--radius-lg);
  padding: 18px;
  background: linear-gradient(150deg, #2E1065 0%, #5B21B6 60%, #7C3AED 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-bottom: 12px;
}
.ads-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.ads-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.7px;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  color: #DDD6FE;
  margin-bottom: 8px;
}
.ads-hero-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.ads-hero-sub { font-size: 11px; color: #DDD6FE; margin-top: 4px; line-height: 1.4; }
.ads-progress-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(#34D399 0deg, rgba(255, 255, 255, 0.18) 0deg);
  position: relative;
}
.ads-progress-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #3B0764;
}
.ads-progress-ring span {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.ads-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ads-stat-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 9px 6px;
  text-align: center;
}
.ads-stat-val { font-size: 15px; font-weight: 800; color: #fff; }
.ads-stat-lbl {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #C4B5FD;
  margin-top: 2px;
}

.ads-reset-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}
.ads-reset-bar strong { font-family: monospace; font-size: 13px; color: var(--primary); }

.ads-slot-skeleton,
.ads-empty-note {
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-subtle);
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.ads-slot-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 9px;
  box-shadow: var(--shadow-xs);
}
.ads-slot-card.active {
  border-color: #A78BFA;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.16);
}
.ads-slot-card.done { background: #F0FDF4; border-color: #BBF7D0; }
.ads-slot-card.locked { opacity: 0.62; }
.ads-slot-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  background: var(--bg-muted);
  color: var(--text-muted);
}
.ads-slot-card.active .ads-slot-icon {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: #fff;
}
.ads-slot-card.done .ads-slot-icon { background: var(--success-light); color: var(--success); }
.ads-slot-title { font-size: 13px; font-weight: 800; color: var(--text-main); }
.ads-slot-sub { font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.ads-slot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.ads-slot-reward { font-size: 13px; font-weight: 800; color: var(--success); }
.ads-slot-btn {
  padding: 7px 14px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.ads-slot-btn:active { transform: scale(0.95); }
.ads-slot-done-pill,
.ads-slot-lock-pill {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: var(--radius-full);
}
.ads-slot-done-pill { background: var(--success-light); color: #047857; }
.ads-slot-lock-pill { background: var(--bg-muted); color: var(--text-subtle); }

.ads-alldone-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border: 1px solid #A7F3D0;
  margin-top: 4px;
}
.ads-alldone-card i { font-size: 22px; color: #059669; }
.ads-alldone-title { font-size: 13px; font-weight: 800; color: #065F46; }
.ads-alldone-sub { font-size: 11px; color: #047857; margin-top: 2px; }

.ads-rules-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}
.ads-rules-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 9px;
}
.ads-rules-title i { color: var(--primary); }
.ads-rules-list {
  margin: 0 0 10px 16px;
  padding: 0;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--text-muted);
}
.ads-rules-warn {
  display: flex;
  gap: 8px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  border: 1px solid #FECACA;
  font-size: 10.5px;
  line-height: 1.45;
  color: #991B1B;
}
.ads-rules-warn i { color: var(--danger); margin-top: 1px; }

.ads-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 7px;
}
.ads-history-left { display: flex; align-items: center; gap: 10px; }
.ads-history-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #F5F3FF;
  color: #7C3AED;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.ads-history-title { font-size: 12px; font-weight: 700; color: var(--text-main); }
.ads-history-time { font-size: 10px; color: var(--text-subtle); }
.ads-history-amount { font-size: 13px; font-weight: 800; color: var(--success); }

/* Ad player modal ------------------------------------------- */
.ad-timer-wrap { display: flex; justify-content: center; margin: 18px 0 14px; }
.ad-timer-circle {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(#8B5CF6 0deg, rgba(139, 92, 246, 0.15) 0deg);
  position: relative;
  transition: background 0.9s linear;
}
.ad-timer-inner {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ad-timer-seconds {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}
.ad-timer-label {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-subtle);
  margin-top: 3px;
}
.ad-embed-slot { min-height: 0; text-align: center; }
.ad-embed-slot:not(:empty) { margin-bottom: 12px; }
.ad-reward-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-size: 12px;
  color: #065F46;
}
.ad-reward-preview i { color: var(--accent-gold); }
.ad-reward-preview strong { font-size: 14px; font-weight: 800; }
.ad-player-note {
  font-size: 10.5px;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 10px;
  line-height: 1.45;
}

/* ============================================================
   4. CONTACT US / SUPPORT
   ============================================================ */
.support-hero-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0C4A6E 0%, #0369A1 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-bottom: 12px;
}
.support-hero-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.support-hero-title { font-size: 17px; font-weight: 800; }
.support-hero-sub { font-size: 11.5px; color: #BAE6FD; margin-top: 3px; line-height: 1.4; }

.btn-support-new {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
}
.btn-support-new:active { transform: scale(0.98); }

.support-faq-card {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}
.support-faq-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.support-faq-item {
  border-top: 1px solid var(--border-light);
  padding: 9px 0 8px;
  cursor: pointer;
}
.support-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}
.support-faq-q i {
  font-size: 10px;
  color: var(--text-subtle);
  transition: transform 0.2s ease;
}
.support-faq-item.open .support-faq-q i { transform: rotate(180deg); }
.support-faq-a {
  display: none;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 7px;
}
.support-faq-item.open .support-faq-a { display: block; }

.support-ticket-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.support-ticket-row.unread { border-color: var(--primary-light); background: #FAFAFF; }
.support-ticket-main { min-width: 0; flex: 1; }
.support-ticket-subject {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}
.support-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.support-ticket-preview {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support-ticket-meta { font-size: 10px; color: var(--text-subtle); margin-top: 4px; }

.support-status-pill {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  background: var(--bg-muted);
  color: var(--text-muted);
}
.support-status-pill.open { background: #FEF3C7; color: #B45309; }
.support-status-pill.answered { background: var(--success-light); color: #047857; }
.support-status-pill.closed { background: var(--bg-muted); color: var(--text-subtle); }

.support-empty-card {
  padding: 26px 20px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
}
.support-empty-card i { font-size: 28px; color: var(--text-subtle); margin-bottom: 10px; }
.support-empty-title { font-size: 13.5px; font-weight: 800; color: var(--text-main); }
.support-empty-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.5;
}

.support-thread-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
  box-shadow: var(--shadow-xs);
}
.btn-thread-back {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-muted);
  color: var(--text-main);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.support-thread-subject {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support-thread-meta { font-size: 10px; color: var(--text-subtle); margin-top: 2px; }

.support-message-scroll {
  max-height: 46vh;
  overflow-y: auto;
  padding: 4px 2px;
  margin-bottom: 10px;
}
.support-bubble-row { display: flex; margin-bottom: 9px; }
.support-bubble-row.mine { justify-content: flex-end; }
.support-bubble-row.theirs { justify-content: flex-start; }
.support-bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  box-shadow: var(--shadow-xs);
}
.support-bubble-row.mine .support-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-bottom-right-radius: 5px;
}
.support-bubble-row.theirs .support-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-bottom-left-radius: 5px;
}
.support-bubble-author {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  color: var(--sky-blue);
  margin-bottom: 4px;
}
.support-bubble-text { white-space: pre-wrap; word-break: break-word; }
.support-bubble-attach {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: inherit;
  opacity: 0.85;
  text-decoration: underline;
}
.support-bubble-time { font-size: 9.5px; opacity: 0.6; margin-top: 5px; }

.support-reply-box {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 9px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.support-reply-input {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-main);
  padding: 6px 4px;
  background: transparent;
  max-height: 110px;
}
.btn-support-send {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.btn-support-send:active { transform: scale(0.94); }
.support-closed-note {
  padding: 12px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.profile-menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--danger);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  margin-right: 6px;
}
